/* ---------- Tokens: #268184 and white ---------- */
:root {
  --teal: #268184;        /* base colour */
  --teal-deep: #1c6467;   /* hover states */
  --text-soft: #3f6b6d;   /* body text on white */
  --tint: #d6e8e8;        /* rules, secondary type on teal */
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Mulish", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 76rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--teal);
  background: var(--white);
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.on-teal :focus-visible { outline-color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.on-teal { background: var(--teal); color: var(--white); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.btn-white { background: var(--white); color: var(--teal); }
.btn-white:hover { background: var(--tint); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); }

/* ---------- Header ---------- */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.45em;
  background: var(--white);
  border-radius: 50%;
  vertical-align: 0.08em;
}
.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { opacity: 1; border-bottom-color: var(--white); }
.site-nav .cta a {
  opacity: 1;
  padding: 0.6rem 1rem;
  border: 1px solid var(--white);
  border-radius: 2px;
}
.site-nav .cta a:hover { background: var(--white); color: var(--teal); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--white);
  color: var(--white);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  cursor: pointer;
}
@media (max-width: 52rem) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-header .wrap { flex-wrap: wrap; padding-block: 1rem; }
  .site-nav > ul { flex-direction: column; align-items: flex-start; gap: 0.9rem; padding-block: 0.75rem 1rem; }
  .site-nav .cta { margin-top: 0.5rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(4rem, 12vw, 9rem) clamp(4rem, 10vw, 8rem); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.5rem, 7.2vw, 6.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 14ch;
}
.hero h1 span { display: block; }
.hero h1 .turn { font-weight: 300; font-style: italic; color: var(--tint); }
.hero p {
  max-width: var(--measure);
  margin: 2rem 0 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--tint);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  margin-top: 2.75rem;
}
.link-quiet {
  font-weight: 500;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.link-quiet:hover { text-decoration-thickness: 2px; }

/* ---------- Services ---------- */
.services { padding-block: clamp(4rem, 10vw, 7.5rem); }
.services-intro { max-width: var(--measure); margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.services-intro p { margin: 0; color: var(--text-soft); font-size: 1.1rem; }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.service { border-top: 3px solid var(--teal); padding-top: 1.5rem; }
.service h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 48;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.service p { margin: 0 0 1rem; color: var(--text-soft); max-width: 48ch; }
.service .for { margin-bottom: 1.25rem; font-weight: 700; }
.service ul { margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; max-width: 48ch; }
.service li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem; color: var(--text-soft); }
.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5rem;
  height: 2px;
  background: var(--teal);
}

/* ---------- Contact ---------- */
.contact { padding-block: clamp(4rem, 10vw, 7.5rem); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-intro p { margin: 0 0 1.25rem; color: var(--tint); max-width: 44ch; }
.contact-direct { margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.3); list-style: none; }
.contact-direct li { margin-bottom: 0.6rem; }
.contact-direct span { display: block; font-size: 0.85rem; color: var(--tint); }
.contact-direct a { font-weight: 700; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.contact-form {
  background: var(--white);
  color: var(--teal);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 2px;
}
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
.contact-form .optional { font-weight: 400; color: var(--text-soft); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--teal);
  background: var(--white);
  border: 1px solid #a9c9ca;
  border-radius: 2px;
  padding: 0.75rem 0.85rem;
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-thanks {
  background: var(--white);
  color: var(--teal);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 2px;
}
.form-thanks h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin: 0 0 0.75rem; }
.form-thanks p { margin: 0; color: var(--text-soft); }
.form-thanks:focus { outline: none; }
.form-status { margin: 1rem 0 0; font-weight: 700; }
.form-status:empty { display: none; }

@media (max-width: 52rem) {
  .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 3rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 3.5rem 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin: 0 0 0.75rem; }
.site-footer p { margin: 0; max-width: 38ch; color: var(--text-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tint);
  font-size: 0.875rem;
}
.footer-legal p { max-width: none; }
@media (max-width: 52rem) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Report page ---------- */
.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tint);
}
.report-hero h1 { max-width: 16ch; }
.key-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
}
.key-stats li { margin: 0; }
.key-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.key-stats span { display: block; margin-top: 0.5rem; font-size: 0.95rem; color: var(--tint); }

.report-section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.report-section + .report-section { padding-top: 0; }
.report-section .lead { max-width: var(--measure); margin: 0 0 2.5rem; color: var(--text-soft); font-size: 1.1rem; }
.report-section h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}
.two-col > * { min-width: 0; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.facts { margin: 0; padding: 0; list-style: none; }
.facts li {
  padding: 1rem 0;
  border-top: 1px solid var(--tint);
  color: var(--text-soft);
}
.facts li:last-child { border-bottom: 1px solid var(--tint); }
.facts b { color: var(--teal); }

/* Bar charts: one row per value, number shown as text */
.bars { margin: 0; padding: 0; list-style: none; }
.bars li {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) 1fr 3rem;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.bars .track { height: 0.7rem; background: #edf5f5; border-radius: 1px; overflow: hidden; }
.bars .fill { display: block; height: 100%; width: var(--v); background: var(--teal); }
.bars .val { font-weight: 700; color: var(--teal); text-align: right; font-variant-numeric: tabular-nums; }
.chart-note { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--text-soft); }

.numbered { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.numbered li {
  counter-increment: n;
  position: relative;
  padding: 1rem 0 1rem 3rem;
  border-top: 1px solid var(--tint);
  color: var(--text-soft);
}
.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal);
}
.numbered b { display: block; color: var(--teal); }

.tension { padding-block: clamp(4rem, 9vw, 6.5rem); }
.tension blockquote {
  margin: 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.tension p { max-width: var(--measure); margin: 1.75rem 0 0; color: var(--tint); font-size: 1.1rem; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.quotes li {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.35;
  padding-top: 1rem;
  border-top: 3px solid var(--teal);
}

.method-note {
  max-width: var(--measure);
  padding: 1.5rem;
  background: #edf5f5;
  border-left: 3px solid var(--teal);
  color: var(--text-soft);
  font-size: 0.95rem;
}
.method-note p { margin: 0 0 0.5rem; }
.method-note p:last-child { margin: 0; }

.report-cta .btn { margin-top: 0.5rem; }
.report-cta .cta-row { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; margin-top: 2rem; }

@media (max-width: 52rem) {
  .key-stats { grid-template-columns: repeat(2, 1fr); }
  .two-col, .quotes { grid-template-columns: minmax(0, 1fr); }
  .bars li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.75rem; }
  .bars .label { flex: 0 0 100%; }
  .bars .track { flex: 1 1 auto; min-width: 0; }
  .bars .val { flex: 0 0 3rem; }
}

/* ---------- Form extras: checkboxes, privacy line, next-edition box ---------- */
.contact-form .check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-soft);
  margin: 0 0 0.6rem;
  cursor: pointer;
}
.contact-form .check input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--teal);
}
.contact-form fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; }
.contact-form legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6rem; padding: 0; }
.form-privacy { margin: 1rem 0 0; font-size: 0.85rem; color: var(--text-soft); }
.cta-next {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.cta-next .eyebrow { margin-bottom: 0.5rem; }
.cta-next .btn { margin-top: 0.5rem; }

/* ---------- 2027 page ---------- */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.ways li { border-top: 3px solid var(--teal); padding-top: 1.25rem; color: var(--text-soft); }
.ways b {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--teal);
}
@media (max-width: 52rem) {
  .ways { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Language switch ---------- */
.lang-switch { display: flex; gap: 0.25rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; }
.lang-switch a {
  text-decoration: none;
  padding: 0.3rem 0.45rem;
  border-radius: 2px;
  opacity: 0.7;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current] { opacity: 1; background: rgba(255, 255, 255, 0.18); }
@media (max-width: 52rem) {
  .site-header .wrap { column-gap: 0.75rem; }
  .lang-switch { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
  .site-nav { order: 4; }
}
@media (max-width: 24rem) {
  .wordmark { font-size: 1.15rem; }
  .lang-switch a { padding: 0.3rem 0.35rem; }
  .nav-toggle { padding: 0.45rem 0.65rem; }
}

/* ---------- The problem ---------- */
.problem { background: #edf5f5; padding-block: clamp(4rem, 9vw, 7rem); }
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}
.eyebrow-dot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow-dot::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(38, 129, 132, 0.18);
}
.problem-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}
.problem-title span { display: block; }
.problem-title em { font-style: italic; font-weight: 300; color: var(--teal); }
.problem-text {
  max-width: 64ch;
  margin: 1.75rem 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-soft);
}
.problem-text strong { color: var(--teal-deep); }

.familiar-label {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.familiar-quotes { margin: 0; padding: 0; list-style: none; }
.familiar-quotes li {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}
/* With JavaScript: one quote at a time */
.familiar-quotes.is-rotating { display: grid; }
.familiar-quotes.is-rotating li {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.familiar-quotes.is-rotating li.is-active { opacity: 1; transform: none; }
.familiar-bar {
  display: none;
  height: 3px;
  margin-top: 1.75rem;
  max-width: 18rem;
  background: var(--tint);
  border-radius: 2px;
  overflow: hidden;
}
.familiar-bar.is-running { display: block; }
.familiar-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--teal);
}
.familiar-bar.is-running span { animation: familiar-progress 4.5s linear forwards; }
@keyframes familiar-progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 52rem) {
  .problem-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- How it works ---------- */
.how {
  padding-block: clamp(4rem, 9vw, 7rem);
  background-color: var(--teal);
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.how .eyebrow { letter-spacing: 0.24em; }
.how-title {
  max-width: 22ch;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.how-title em { font-style: italic; font-weight: 300; color: var(--tint); }
.how-sub { margin: 1.25rem 0 0; font-size: 1.15rem; color: var(--tint); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(10, 60, 62, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.5); }
.step-key { border-color: rgba(255, 255, 255, 0.55); background: rgba(10, 60, 62, 0.45); }
.step-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tint);
}
.step-icon {
  width: 7.5rem;
  height: 7.5rem;
  margin: 2.25rem auto 2.5rem;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-icon .dot { fill: var(--white); stroke: none; }
.step h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.step h3 span { color: var(--tint); }
.step p { margin: 0; color: var(--tint); font-size: 0.98rem; line-height: 1.6; }

@media (max-width: 64rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-icon { margin-block: 1.5rem 1.75rem; width: 6rem; height: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .step, .step:hover { transition: none; transform: none; }
}

/* ---------- Services dropdown ---------- */
.has-sub { position: relative; }
.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  cursor: pointer;
}
.sub-toggle::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 0.2s ease;
}
.sub-toggle:hover, .has-sub.is-open .sub-toggle { opacity: 1; }
.has-sub.is-open .sub-toggle::after { transform: translateY(0.1rem) rotate(225deg); }

.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  z-index: 20;
  min-width: 15rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(14, 50, 52, 0.22);
}
/* invisible bridge so the menu stays open while the mouse moves down */
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.75rem; height: 0.75rem; }
.has-sub.is-open .sub-menu { display: block; }
@media (hover: hover) and (min-width: 52.01rem) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
}
.site-nav .sub-menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-radius: 4px;
  color: var(--teal);
  opacity: 1;
  font-weight: 700;
}
.site-nav .sub-menu a:hover { background: #edf5f5; }

@media (max-width: 52rem) {
  .has-sub { width: 100%; }
  .sub-toggle { pointer-events: none; opacity: 1; }
  .sub-toggle::after { display: none; }
  .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 0.4rem 0 0 1rem;
    background: none;
    box-shadow: none;
  }
  .sub-menu::before { display: none; }
  .site-nav .sub-menu a { color: var(--white); font-weight: 500; padding: 0.4rem 0; opacity: 0.85; }
  .site-nav .sub-menu a:hover { background: none; opacity: 1; }
}

/* ---------- Header order: links, language, then the call to action on the far right ---------- */
@media (min-width: 52.01rem) {
  .site-header .wrap { justify-content: flex-start; }
  .site-nav { margin-left: auto; }
  .site-nav .cta { display: none; }
  .lang-switch { margin-left: 0.75rem; }
}
.header-cta {
  padding: 0.6rem 1rem;
  border: 1px solid var(--white);
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--white); color: var(--teal); }
@media (max-width: 52rem) {
  .header-cta { display: none; }
}

/* ---------- About page ---------- */
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
}
.anchor-quote {
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.anchor-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
}
.anchor-quote figcaption {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tint);
}
.timeline { margin: 0; padding: 0; list-style: none; max-width: 52rem; }
.timeline li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--tint);
  color: var(--text-soft);
}
.timeline li:last-child { border-bottom: 1px solid var(--tint); }
.timeline .year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--teal);
}
.timeline b { display: block; margin-bottom: 0.3rem; color: var(--teal-deep); font-size: 1.05rem; }
.timeline a { color: var(--teal); font-weight: 700; }
.bring { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2rem, 5vw, 3rem); }
@media (max-width: 52rem) {
  .about-hero-grid, .bring { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
}
.about-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 5.6vw, 4.75rem); }

/* ---------- About: photos ---------- */
.about-hero-grid { align-items: center; }
.about-hero .anchor-quote { margin-top: 2.5rem; max-width: 34rem; }
.portrait { margin: 0; }
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(8, 40, 42, 0.35);
}
.wide-photo { margin: 0; }
.wide-photo img { display: block; width: 100%; height: clamp(16rem, 42vw, 34rem); object-fit: cover; object-position: center 35%; }
.wide-photo figcaption { padding-block: 0.85rem; font-size: 0.85rem; color: var(--text-soft); }
.pattern-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.pattern-photo { display: block; width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 52rem) {
  .pattern-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 26rem; }
}
.about-hero { padding-top: clamp(3rem, 7vw, 5.5rem); }

/* ---------- Logo ---------- */
.wordmark { display: inline-flex; align-items: center; line-height: 0; }
.wordmark img { display: block; height: 2.75rem; width: auto; }
.footer-brand { line-height: 0; }
.footer-brand img { display: block; height: 3.25rem; width: auto; margin-bottom: 0.5rem; }
@media (max-width: 24rem) {
  .wordmark img { height: 2.3rem; }
}
.footer-brand img { margin-bottom: 1rem; }
.wordmark img { height: 3rem; }
@media (max-width: 24rem) { .wordmark img { height: 2.4rem; } }
.wide-photo img { height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center top; }
