:root {
  --ink: #16302f;
  --muted: #5b6f6e;
  --bg: #fcfaf6;
  --tint: #eef6f4;
  --accent: #1f8a80;
  --accent-dark: #156b63;
  --deep: #0f4c47;
  --blush: #f6ddd2;
  --gold: #d9a35b;
  --line: #dde7e4;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(15, 76, 71, .28);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.18rem; margin-bottom: .3em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }

/* Placeholders: delete the class once real content is in */
.placeholder { color: #b0712f; background: #fdf1e3; border-radius: 6px; padding: 0 .3em; font-style: italic; }
.placeholder.light { color: #fff3e4; background: rgba(255,255,255,.12); }

.section-label {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .76rem; font-weight: 600; color: var(--accent); margin-bottom: .9em;
}
.section-label::before { content: ""; display: inline-block; width: 24px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.section-label.light { color: #bfe7e2; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .section-label::after { content: ""; display: inline-block; width: 24px; height: 2px; background: currentColor; vertical-align: middle; margin-left: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(252, 250, 246, .8); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { position: relative; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 500; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 2px solid var(--accent); box-shadow: 0 10px 24px -12px rgba(31,138,128,.7);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-small { padding: 9px 20px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: none; }
.btn-ghost:hover { background: var(--tint); color: var(--accent-dark); }
.btn-light { background: #fff; color: var(--deep); border-color: #fff; }
.btn-light:hover { background: var(--blush); border-color: var(--blush); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Hero */
.hero { position: relative; padding: 84px 0 100px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; }
.blob-1 { width: 520px; height: 520px; background: #cfece7; top: -160px; right: -120px; }
.blob-2 { width: 380px; height: 380px; background: var(--blush); bottom: -160px; left: -120px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--accent-dark);
  background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 1.4em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 0 rgba(43,182,115,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(43,182,115,0); } 100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); } }
.credentials { font-size: 1.05rem; font-weight: 500; color: var(--muted); }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 400px; }
.photo-frame {
  position: relative; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow);
  outline: 10px solid #fff;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.photo-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(160deg, #d8efeb 0%, #bfe1db 55%, var(--blush) 100%);
  font-family: var(--serif); font-size: 5.5rem; color: var(--deep);
}
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow);
  color: var(--accent); text-decoration: none; animation: float 5s ease-in-out infinite;
}
.float-badge strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.float-badge span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.badge-top { top: 14%; left: -48px; }
.badge-bottom { bottom: 10%; right: -28px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Stats */
.container.stats-grid { width: calc(100% - 40px); max-width: 1100px; }
.stats { margin-top: -40px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow); padding: 28px 12px;
}
.stat { text-align: center; padding: 4px 12px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 600; color: var(--accent); line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: .9rem; margin-top: 6px; }
.langs { margin-top: 20px; color: var(--muted); }

/* Research */
.research-list { display: grid; gap: 20px; }
.research { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.research h3 { font-size: 1.15rem; line-height: 1.4; margin: 10px 0 12px; }
.research a { font-weight: 600; text-decoration: none; }
.research a:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--accent-dark); background: var(--tint); padding: 4px 12px; border-radius: 999px; }

/* Sections */
.section { padding: 100px 0; }
.section-tint { background: var(--tint); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.values li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.values span { color: var(--gold); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--tint), #d3ece8); color: var(--accent);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Experience + Education */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.two-col h2 { margin-bottom: 1.1em; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -39px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent); box-shadow: 0 0 0 5px var(--tint);
}
.when { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--accent); margin-bottom: .4em; }
.where { color: var(--muted); margin-bottom: .4em; }
.cards { display: grid; gap: 16px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 28px; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent), var(--gold)); }
.card p { margin: 0; color: var(--muted); }

/* Booking */
.book { padding-top: 40px; }
.book-panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
  padding: 64px; border-radius: 28px; color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.14), transparent 40%), linear-gradient(135deg, var(--deep), var(--accent));
  box-shadow: var(--shadow);
}
.book-panel::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); right: -90px; bottom: -120px; }
.book-panel h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 14px; color: #e3f4f1; }
.steps span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); font-weight: 600; color: #fff; }
.book-actions { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: stretch; }
.book-actions .btn { justify-content: center; }
.book-note { margin: 6px 0 0; text-align: center; color: #cdeae6; font-size: .92rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-item p { margin: 2px 0 0; color: var(--muted); }
.ci-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent); font-weight: 700; }

/* Footer */
.site-footer { padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

/* Floating mobile booking button */
.fab {
  display: none; position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: 14px 22px; border-radius: 999px; box-shadow: 0 12px 28px -10px rgba(15,76,71,.6);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-badge, .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .book-panel { grid-template-columns: 1fr; padding: 48px 36px; }
  .badge-top { left: -16px; }
  .badge-bottom { right: -8px; }
}

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; }
  .nav-links .btn { justify-content: center; margin-top: 8px; }

  .hero { padding: 40px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { order: -1; justify-self: center; max-width: 260px; }
  .float-badge { padding: 9px 14px; }
  .badge-top { left: -40px; top: 8%; }
  .badge-bottom { right: -40px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .section { padding: 72px 0; }
  .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { margin-top: -32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 20px; padding: 22px 8px; }
  .stat:nth-child(2) { border-right: 0; }
  .research { padding: 22px; }
  .book-panel { padding: 40px 24px; border-radius: 22px; }
  .fab { display: inline-block; }
}
@media (max-width: 400px) {
  .badge-top, .badge-bottom { display: none; }
}

/* ================= Cases page ================= */
.nav-links a.active { color: var(--accent); }
.center-text { text-align: center; }
.center-text .lead { margin-left: auto; margin-right: auto; }
.cases-hero { padding: 80px 0 110px; }
.privacy-note { display: inline-block; margin-top: 8px; font-size: .88rem; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.impact { display: flex; align-items: center; gap: 16px; background: var(--tint); border-radius: var(--radius); padding: 18px 22px; }
.impact strong { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--accent); min-width: 1.2em; }
.impact span { display: block; font-weight: 600; }
.impact small { display: block; color: var(--muted); font-size: .85rem; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .2s; }
.filter:hover { border-color: var(--accent); }
.filter.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.case-list { display: grid; gap: 32px; }
.case {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 10px 30px -24px rgba(15,76,71,.4);
}
.case:nth-child(even) .case-media { order: 2; }
.case-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .7em; }
.case-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.case-num { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.status { font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #e3f6ec; color: #1d7a4b; }
.status.s-in, .status.s-progress { background: #fdf1e3; color: #a0662b; }
.status.s-phase { background: #e8eefc; color: #3858a8; }
.case-facts { margin: 0 0 18px; display: grid; gap: 10px; }
.case-facts div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.case-facts dt { font-weight: 600; font-size: .85rem; color: var(--accent); padding-top: 2px; }
.case-facts dd { margin: 0; color: var(--muted); font-size: .97rem; }
.impact-label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.impact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.impact-list li { font-size: .88rem; font-weight: 500; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--tint); color: var(--deep); }
.impact-list li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Before / after slider */
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #222; user-select: none; touch-action: pan-y; }
.ba-tall { aspect-ratio: 3 / 4; max-width: 380px; margin: 0 auto; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-tag { position: absolute; top: 12px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.ba-tag-l { left: 12px; }
.ba-tag-r { right: 12px; background: rgba(31,138,128,.9); }
.view-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.view-tab { font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); }
.view-tab.active { background: var(--deep); border-color: var(--deep); color: #fff; }
.book-sub { color: #d6efeb; margin-top: 12px; }

/* Homepage teaser */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.teaser { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.teaser-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.teaser-pair div { position: relative; }
.teaser-pair img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.teaser-pair span { position: absolute; left: 8px; bottom: 8px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: rgba(0,0,0,.55); padding: 3px 9px; border-radius: 999px; }
.teaser-pair div:last-child span { background: rgba(31,138,128,.9); }
.teaser figcaption { padding: 14px 18px; font-weight: 600; font-family: var(--serif); }
.center-btn { text-align: center; }
.section-sub { color: var(--muted); max-width: 52ch; margin: -.4em auto 0; }

@media (max-width: 980px) {
  .case { grid-template-columns: 1fr; gap: 24px; }
  .case:nth-child(even) .case-media { order: 0; }
  .impact-grid, .teaser-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .impact-grid { gap: 10px; margin-bottom: 40px; }
  .impact { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
  .impact strong { font-size: 1.8rem; }
  .case { padding: 16px; border-radius: 20px; }
  .case-facts div { grid-template-columns: 1fr; gap: 2px; }
  .cases-hero { padding: 48px 0 80px; }
}
