/* carmenraeweb.com · Lantern
   night-white paper #FBF8F2 · lantern bronze #8A6234 hairlines · warm glow #D9A437 as dots only
   Lobster Two (display) + STIX Two Text (body, self-hosted) */

:root {
  --night: #FBF8F2;
  --paper: #F3EDE1;
  --card: #FFFDF8;
  --ink: #2B2620;
  --muted: #6E655A;
  --bronze: #8A6234;
  --bronze-deep: #6E4C24;
  --glow: #D9A437;
  --line: rgba(138, 98, 52, 0.34);
  --line-soft: rgba(138, 98, 52, 0.17);
  --display: 'Lobster Two', 'Iowan Old Style', Georgia, serif;
  --body: 'STIX Two Text', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
}

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

a { color: inherit; }

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

/* ---------------------------------------------------------------- header -- */
.site-header { border-bottom: 1px solid var(--line-soft); background: var(--night); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.62rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.main-nav a:hover { color: var(--bronze); border-bottom-color: var(--line); }

.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--bronze); }

/* the CTA button sits inside .main-nav, so it needs explicit colours in both states */
.main-nav a.btn { color: var(--night); border-bottom: 0; padding: 11px 20px; }

.main-nav a.btn:hover {
  color: var(--night);
  background: var(--bronze-deep);
  border-bottom: 0;
}

/* ----------------------------------------------------------------- button -- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--bronze);
  color: var(--night);
  border: 1px solid var(--bronze);
  border-radius: 2px;
  padding: 15px 28px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); color: var(--night); }

.btn-sm { padding: 11px 20px; font-size: 0.76rem; }

.btn-hero { padding: 16px 32px; }

.btn-hero:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }

/* ------------------------------------------------------------------- hero -- */
.hero { padding: 68px 0 58px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 66px;
  align-items: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 3px rgba(217, 164, 55, 0.16);
  flex: none;
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.9rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0.035em;
  margin: 0 0 18px;
}

.hero-title .accent { color: var(--bronze); }

.hero-tagline { font-size: 1.3rem; line-height: 1.5; margin: 0 0 16px; }

.hero-intro { color: var(--muted); margin: 0 0 32px; max-width: 34em; }

.hero-photo, .about-photo, .gallery figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px;
}

.hero-photo { position: relative; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
}

.lantern {
  position: absolute;
  top: -60px;
  left: -38px;
  width: 104px;
  height: auto;
  color: var(--bronze);
  pointer-events: none;
}

/* --------------------------------------------------------------- sections -- */
.section { padding: 56px 0; border-top: 1px solid var(--line-soft); }

.section-tight { padding-top: 30px; }

.section-last { padding-bottom: 72px; }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow .num { color: var(--bronze); }

.eyebrow .num::after { content: "·"; margin: 0 0.6em; color: var(--bronze); }

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.section-sub { color: var(--muted); max-width: 58ch; margin: 0 0 30px; }

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

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 5 / 3;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.partner-card:hover { border-color: var(--line); transform: translateY(-2px); }

.partner-card img { max-width: 92%; max-height: 78%; width: auto; height: auto; object-fit: contain; }

/* ------------------------------------------------------- 02 quick profile -- */
.profile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 58px;
}

.profile-list li {
  display: grid;
  grid-template-columns: minmax(0, 186px) 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.pf-k {
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pf-v { color: var(--ink); }

/* -------------------------------------------------------------- 03 about --- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 54px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  object-position: center 10%;
}

.about-body .lead { font-size: 1.14rem; margin: 0 0 1.05em; }

.about-cols { column-count: 2; column-gap: 48px; }

.about-cols p { margin: 0 0 1.05em; }

.pull {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.35;
  letter-spacing: 0.015em;
}

.pull p { margin: 0; }

.pull-src {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 12px 0 0;
}

/* ------------------------------------------------------------- 04 career --- */
.career-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 58px;
  align-items: start;
}

.career-text p { color: var(--muted); margin: 0 0 1.05em; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 168px) 1fr;
  gap: 18px;
  padding: 0 0 20px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 3px rgba(217, 164, 55, 0.16);
}

.timeline .when {
  color: var(--bronze);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 1px;
}

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

/* ------------------------------------------------------------ 05 gallery --- */
.gallery {
  display: grid;
  grid-template-columns: 1.14fr 0.74fr 0.98fr;
  gap: 26px;
  align-items: start;
}

.gallery .g-a { margin-top: 46px; }
.gallery .g-b { margin-top: 0; }
.gallery .g-c { margin-top: 24px; }

/* ------------------------------------------------------------- 06 social --- */
.social-list { display: flex; flex-wrap: wrap; gap: 16px; }

.social-link {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.social-link .platform {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-link .handle { color: var(--ink); }

.social-link:hover { border-color: var(--bronze); }

.social-link:hover .handle { color: var(--bronze); }

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr auto;
  gap: 30px 44px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
}

.footer-brand { display: flex; flex-direction: column; gap: 5px; }

.brand-name { font-family: var(--display); font-size: 1.32rem; letter-spacing: 0.03em; }

.brand-line { color: var(--muted); font-size: 0.9rem; }

.language-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.92rem; }

.language-nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.language-nav a:hover { color: var(--bronze); }

.language-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--bronze); }

.footer-legal { margin: 0; justify-self: end; text-align: right; color: var(--muted); font-size: 0.9rem; }

/* ---------------------------------------------------------------- subpage -- */
.page-top { padding: 58px 0 10px; }

.page-top h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  letter-spacing: 0.035em;
  line-height: 1.08;
  margin: 0 0 14px;
}

.page-top .lead { color: var(--muted); font-size: 1.14rem; max-width: 62ch; margin: 0; }

.reading { max-width: 820px; padding: 10px 0 64px; }

.story { padding: 32px 0; border-top: 1px solid var(--line-soft); }

.story:first-child { border-top: 0; }

.story h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }

.story p { margin: 0 0 1.05em; }

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

.dot-list { list-style: none; margin: 0; padding: 0; }

.dot-list li { position: relative; padding: 0 0 13px 26px; }

.dot-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 3px rgba(217, 164, 55, 0.16);
}

.note { color: var(--muted); font-size: 0.92rem; margin: 4px 0 0; }

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

.credit-col h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.26rem;
  letter-spacing: 0.025em;
  margin: 20px 0 10px;
}

.credit-col:first-child h3 { margin-top: 0; }

.credit-col ul { list-style: none; margin: 0; padding: 0; }

.credit-col li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }

.qa { padding: 28px 0; border-top: 1px solid var(--line-soft); }

.qa:first-child { border-top: 0; padding-top: 6px; }

.qa h2 { font-family: var(--body); font-weight: 700; font-size: 1.28rem; letter-spacing: 0; margin: 0 0 10px; }

.qa h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  margin-right: 12px;
  vertical-align: 0.18em;
}

.qa p { margin: 0; color: var(--ink); }

.err-actions { margin: 26px 0 0; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero { padding: 46px 0 42px; }
  .hero-grid, .about-grid, .career-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gallery .g-a { margin-top: 0; }
  .gallery .g-c { grid-column: 1 / -1; margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-legal { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .profile-list { gap: 0 40px; }
}

@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 0; }
  .main-nav { gap: 12px 18px; }
  .main-nav a { font-size: 0.84rem; }
  .hero-photo img { aspect-ratio: 4 / 4.9; }
  /* on small screens the lantern sits above the photo as a printed motif instead of
     overlapping the frame corner, where at 74px it read like a stray icon */
  .lantern { position: static; width: 78px; margin: 2px 0 16px; }
  .about-cols { column-count: 1; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .credit-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell { padding: 0 20px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .profile-list { grid-template-columns: minmax(0, 1fr); }
  .profile-list li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 14px 22px; }
}
