/* chloescottweb.com · Robin design
   cream ground, warm brown ink, orange-red accent, egg-window hero */

:root {
  --bg: #fdf8f0;
  --bg-tint: #f7ecdd;
  --bg-card: #fffdf8;
  --ink: #5a4632;
  --ink-soft: #7a6550;
  --accent: #c96a3f;
  --accent-deep: #8a4a2b;
  --line: #e6d8c4;
  --line-strong: #d8c4a8;
  --shell: 1200px;
  --display: 'Concert One', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --body: 'Imprima', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent-deep); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .55rem;
}

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 248, 240, .95);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-feather {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .93rem;
  letter-spacing: .01em;
}

.main-nav a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.main-nav a[aria-current="page"] {
  color: var(--accent-deep);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: .62rem 1.35rem;
  font-family: var(--display);
  font-size: .96rem;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:hover {
  background: #3d2f1f;
  border-color: #3d2f1f;
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-sm { padding: .46rem 1.05rem; font-size: .88rem; }
.btn-lg { padding: .82rem 1.95rem; font-size: 1.06rem; }

/* explicit button colours inside the nav: .main-nav a would win otherwise */
.main-nav a.btn {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}

.main-nav a.btn:hover,
.main-nav a.btn:focus-visible {
  color: var(--bg);
  background: #3d2f1f;
  border-color: #3d2f1f;
  text-decoration: none;
}

/* --------------------------------------------------------------- hero --- */
.hero {
  padding: 44px 0 10px;
  text-align: center;
  background: linear-gradient(180deg, #fdf8f0 0%, #fbf1e2 58%, #fdf8f0 100%);
}

.hero-kicker {
  margin: 0 0 .35rem;
  font-size: .8rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 .5rem;
  color: var(--ink);
}

.hero-tag {
  max-width: 46ch;
  margin: 0 auto 2.4rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.egg-stage {
  position: relative;
  width: min(356px, 78vw);
  margin: 0 auto;
}

.arc {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  border: 2px solid var(--line-strong);
  pointer-events: none;
}

.arc-top {
  width: calc(100% + 30px);
  height: 76px;
  top: -20px;
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.arc-bottom {
  width: calc(100% + 44px);
  height: 62px;
  bottom: -24px;
  border-top: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.egg-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 340 / 470;
  border: 6px solid var(--bg-card);
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: 0 18px 40px rgba(90, 70, 50, .16);
}

.egg-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
}

.hero-intro {
  max-width: 64ch;
  margin: 2.6rem auto 1.4rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ sections -- */
.section { padding: 60px 0; }

.section + .section { border-top: 1px solid var(--line); }

.section-partners { padding-top: 34px; }

.eyebrow {
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section-sub {
  max-width: 62ch;
  margin: 0 0 1.9rem;
  color: var(--ink-soft);
}

.section-note {
  max-width: 74ch;
  margin: 1.5rem 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ partners -- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.partner-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(90, 70, 50, .12);
  transform: translateY(-2px);
}

.partner-card img {
  width: 250px;
  height: 150px;
  object-fit: contain;
}

/* --------------------------------------------------------- fact cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.fact-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px 20px;
  overflow: hidden;
}

.fact-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.fact-card .feather {
  position: absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 62px;
  background: linear-gradient(215deg, rgba(201, 106, 63, .2), rgba(201, 106, 63, .03));
  border-bottom-left-radius: 62px;
}

.fact-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.12rem;
  margin: 0 0 .85rem;
  color: var(--ink);
}

.fact-list { margin: 0; }

.fact-row {
  display: flex;
  gap: 12px;
  padding: .42rem 0;
  border-bottom: 1px dashed var(--line);
}

.fact-row:last-child { border-bottom: 0; }

.fact-row dt {
  flex: 0 0 45%;
  color: var(--ink-soft);
  font-size: .92rem;
}

.fact-row dd {
  margin: 0;
  font-size: .95rem;
  color: var(--ink);
}

.card-note {
  max-width: 76ch;
  margin: 1.5rem 0 0;
  font-size: .88rem;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------- about --- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 42px;
  align-items: start;
}

.about-copy p { margin: 0 0 1.1rem; }

.about-copy .pull { margin: 1.7rem 0 0; }

.about-photo {
  margin: 0 0 18px;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--bg-card);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: 0 14px 34px rgba(90, 70, 50, .14);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

.pull {
  margin: 0;
  padding: 20px 22px;
  background: var(--bg-tint);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
}

.pull p {
  margin: 0 0 .6rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.4;
  color: var(--ink);
}

.pull cite {
  font-style: normal;
  font-size: .84rem;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------- timeline --- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 42px;
  max-width: 78ch;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--line-strong) 0%, var(--accent) 100%);
}

.timeline li {
  position: relative;
  padding: 0 0 24px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}

.twig {
  position: absolute;
  left: -22px;
  top: 12px;
  width: 14px;
  height: 2px;
  background: var(--line-strong);
}

.timeline .when {
  display: block;
  font-family: var(--display);
  font-size: .96rem;
  letter-spacing: .02em;
  color: var(--accent-deep);
  margin-bottom: .2rem;
}

.timeline .what {
  display: block;
  color: var(--ink);
}

/* ------------------------------------------------------------ gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 940px;
  margin: 0 auto;
  align-items: start;
}

.shot {
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: 0 14px 30px rgba(90, 70, 50, .13);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot.s1 img { object-position: 50% 12%; }
.shot.s2 img { object-position: 50% 8%; }
.shot.s3 img { object-position: 50% 0%; }
.shot.s4 img { object-position: 50% 14%; }

/* -------------------------------------------------------- subpage top --- */
.page-top {
  padding: 52px 0 34px;
  background: linear-gradient(180deg, #fbf1e2 0%, #fdf8f0 100%);
  border-bottom: 1px solid var(--line);
}

.page-top h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.1;
  margin: .25rem 0 .6rem;
  color: var(--ink);
}

.page-top .lead {
  max-width: 64ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.prose-stack {
  padding: 44px 0 56px;
  display: grid;
  gap: 44px;
}

.prose h2 { margin-bottom: .9rem; }

.prose-body p {
  max-width: 78ch;
  margin: 0 0 1rem;
}

.prose-body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- tables --- */
.year-table {
  display: grid;
  gap: 11px;
  max-width: 660px;
}

.year-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 104px;
  align-items: center;
  gap: 14px;
}

.year-row .year {
  font-family: var(--display);
  color: var(--ink);
}

.year-row .bar {
  height: 11px;
  min-width: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, #e0a97f 100%);
}

.year-row .count {
  text-align: right;
  font-size: .92rem;
  color: var(--ink-soft);
}

.label-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.label-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}

.label-block h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.02rem;
  margin: 0 0 .5rem;
  color: var(--ink);
}

.label-block p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
}

.award-list,
.faq-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.award-row,
.qa {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.award-row dt,
.qa dt {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
}

.award-row dd,
.qa dd {
  margin: 0;
  color: var(--ink-soft);
}

.text-link {
  color: var(--accent-deep);
  text-underline-offset: 4px;
}

/* -------------------------------------------------------------- footer -- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #f8efe2;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--ink);
}

.brand-line {
  display: block;
  margin-top: .3rem;
  font-size: .88rem;
  color: var(--ink-soft);
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem 1rem;
}

.language-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
}

.language-nav a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.language-nav a[aria-current="page"] {
  color: var(--accent-deep);
  border-bottom: 2px solid var(--accent);
}

.footer-legal {
  margin: 0;
  text-align: right;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 1020px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .label-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .shell { padding: 0 18px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 9px; }
  .main-nav { gap: .55rem .95rem; }
  .main-nav a { font-size: .88rem; }
  .section { padding: 44px 0; }
  .section-partners { padding-top: 26px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .partner-card { height: 122px; }
  .partner-card img { width: 100%; height: 100%; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { gap: 16px; }
  .egg-frame { border-width: 5px; }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    justify-items: start;
    padding-top: 26px;
    padding-bottom: 26px;
  }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .award-row,
  .qa { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .year-row { grid-template-columns: 56px minmax(0, 1fr) 88px; gap: 10px; }
}

@media (max-width: 420px) {
  .partner-grid { grid-template-columns: minmax(0, 1fr); }
  .partner-card { height: 132px; }
}
