/* ==========================================================================
   Neraca Consulting — stylesheet
   Palette: navy #0A2E52 · teal #126C6F · gold #CA9932 · cream #F8F0DB · white
   ========================================================================== */

:root {
  --navy: #0A2E52;
  --navy-deep: #071F38;
  --teal: #126C6F;
  --gold: #CA9932;
  --gold-soft: #DDB867;
  --cream: #F8F0DB;
  --cream-light: #FCF8EE;
  --white: #FFFFFF;
  --ink: #1D2B3A;
  --muted: #5A6878;
  --line: rgba(10, 46, 82, .14);
  --line-light: rgba(248, 240, 219, .22);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 11vw, 160px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 10px 18px;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(34px, 4.4vw, 60px); }
h3 { font-size: clamp(24px, 2.2vw, 32px); }
h4 { font-size: 22px; }
p { margin: 0 0 1.2em; }
em, .italic { font-style: italic; }
h1 em, h2 em { color: var(--gold); font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 28px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: var(--gold-soft); }

.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.8; color: var(--muted); font-weight: 300; }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  line-height: 1.2; text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #b5862a; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--teal); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap .35s var(--ease), color .3s;
}
.link-arrow::after { content: "→"; font-size: 15px; letter-spacing: 0; }
.link-arrow:hover { gap: 22px; color: var(--teal); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 40px; width: auto; }
.brand .brand-mark--light { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .14em; color: var(--navy); }
.brand-sub { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--gold); letter-spacing: .04em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-list { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative; display: inline-block; padding: 6px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 13px 20px; }

/* solid state (inner content pages + scrolled) */
.site-header.is-solid {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled { height: 70px; }

/* overlay state (transparent over hero) */
.site-header.is-overlay:not(.is-solid) .brand-name,
.site-header.is-overlay:not(.is-solid) .nav-list a { color: var(--white); }
.site-header.is-overlay:not(.is-solid) .brand-sub { color: var(--gold-soft); }
.site-header.is-overlay:not(.is-solid) .brand-mark--dark { display: none; }
.site-header.is-overlay:not(.is-solid) .brand-mark--light { display: block; }
.site-header.is-overlay:not(.is-solid) .menu-toggle span { background: var(--white); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative; z-index: 120; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--navy);
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span { background: var(--white) !important; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: 100px var(--gutter) 48px;
    background: var(--navy);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 6px; }
  .nav-list a { font-family: var(--serif); font-size: 38px; letter-spacing: .01em; text-transform: none; color: var(--white) !important; font-weight: 500; }
  .menu-open .brand-name { color: var(--white); position: relative; z-index: 120; }
  .menu-open .brand { position: relative; z-index: 120; }
  .menu-open .brand .brand-mark--dark { display: none; }
  .menu-open .brand .brand-mark--light { display: block; }
  .menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { height: 34px; }
  .brand-name { font-size: 21px; }
  .brand-sub { font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate;
  background: var(--navy-deep);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,31,56,.92) 0%, rgba(7,31,56,.72) 42%, rgba(7,31,56,.25) 100%),
    linear-gradient(0deg, rgba(7,31,56,.85) 0%, rgba(7,31,56,0) 45%);
}
.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { color: var(--white); max-width: 14ch; margin-bottom: 28px; font-weight: 400; }
.hero h1 em { color: var(--gold-soft); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 44px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line-light);
}
.hero-meta div { padding: 22px 24px 0 0; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.6; }
.hero-meta div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.hero-meta strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--white); letter-spacing: .01em; margin-bottom: 2px; }
@media (max-width: 720px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div, .hero-meta div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate; background: var(--navy);
}
.page-hero .hero-media img { animation-duration: 10s; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(7,31,56,.92) 0%, rgba(7,31,56,.6) 55%, rgba(7,31,56,.7) 100%);
}
.page-hero .container { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero h1 { color: var(--white); font-size: clamp(42px, 5.6vw, 78px); max-width: 16ch; margin-bottom: 18px; font-weight: 400; }
.page-hero h1 em { color: var(--gold-soft); }
.page-hero p:not(.eyebrow) { color: rgba(255,255,255,.8); max-width: 620px; margin: 0; font-weight: 300; font-size: 18px; }

/* Plain band header (articles) */
.band {
  background: var(--cream); padding: calc(var(--header-h) + 72px) 0 64px; border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span[aria-hidden] { margin: 0 10px; color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.section--cream-light { background: var(--cream-light); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro h2 { font-size: clamp(34px, 4vw, 56px); }
.intro-copy { padding-top: 12px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred { padding: 40px 32px 40px 0; }
.cred + .cred { padding-left: 32px; border-left: 1px solid var(--line); }
.cred-label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; display: block; }
.cred-value { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); color: var(--navy); line-height: 1.25; display: block; }
.cred-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; display: block; line-height: 1.6; }
@media (max-width: 860px) {
  .creds { grid-template-columns: 1fr; }
  .cred, .cred + .cred { padding: 28px 0; border-left: 0; }
  .cred + .cred { border-top: 1px solid var(--line); }
}

/* Service grid */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  position: relative; padding: clamp(32px, 3.4vw, 52px) clamp(26px, 2.8vw, 44px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: transparent; transition: background .5s var(--ease), color .5s var(--ease);
  display: flex; flex-direction: column; min-height: 340px;
}
.service-num { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--gold); margin-bottom: 40px; display: block; }
.service h3 { font-size: clamp(26px, 2.2vw, 32px); margin-bottom: 6px; transition: color .5s var(--ease); }
.service-en { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 20px; display: block; transition: color .5s; }
.service p { font-size: 15px; color: var(--muted); margin: 0 0 28px; transition: color .5s; }
.service .link-arrow { margin-top: auto; align-self: flex-start; }
.service:hover { background: var(--navy); }
.service:hover h3, .service:hover .link-arrow { color: var(--white); }
.service:hover p { color: rgba(255,255,255,.75); }
.service:hover .service-en { color: var(--gold-soft); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .service { min-height: 0; } .service-num { margin-bottom: 20px; } }

/* Split (image + text) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media--wide img { aspect-ratio: 5 / 4; }
.split-media::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: -1;
}
.split--reverse .split-media::after { inset: 22px 22px -22px -22px; }
.split-media { z-index: 0; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media::after { inset: 14px -14px -14px 14px !important; }
  .split-media img { aspect-ratio: 4 / 3; }
}

/* Steps */
.steps { list-style: none; margin: 36px 0 44px; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 20px;
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold);
}
.steps strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.steps span { font-size: 15px; color: var(--muted); }
.section--navy .steps li { border-color: var(--line-light); }
.section--navy .steps strong { color: var(--white); }
.section--navy .steps span { color: rgba(255,255,255,.7); }

/* Testimonials */
.rating { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rating-score { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--white); }
.stars { color: var(--gold); letter-spacing: 4px; font-size: 18px; }
.rating small { display: block; font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: .04em; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.quote { margin: 0; padding: clamp(36px, 4vw, 56px) clamp(0px, 3vw, 48px) clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; }
.quote:nth-child(even) { padding-left: clamp(24px, 3vw, 48px); padding-right: 0; border-left: 1px solid var(--line-light); }
.quote-mark { font-family: var(--serif); font-size: 80px; line-height: .6; color: var(--gold); height: 34px; display: block; }
.quote blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.45; color: var(--white); font-weight: 400; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); flex-wrap: wrap; }
.quote figcaption .stars { font-size: 13px; letter-spacing: 2px; }
.quote figcaption b { font-weight: 600; color: var(--gold-soft); }
@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; }
  .quote, .quote:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* Article cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(10,46,82,.35); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; gap: 12px; align-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.card-meta .cat { color: var(--teal); font-weight: 600; }
.card-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.card h3 { font-size: clamp(24px, 2vw, 28px); margin-bottom: 14px; }
.card h3 a:hover { color: var(--teal); }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 26px; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* CSS art for card thumbnails (no stock photos) */
.art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.art--navy { background: radial-gradient(120% 90% at 85% 10%, #134a7a 0%, var(--navy) 55%, var(--navy-deep) 100%); }
.art--teal { background: radial-gradient(120% 90% at 15% 15%, #1b8a8d 0%, var(--teal) 50%, #0b4a4c 100%); }
.art--cream { background: radial-gradient(120% 90% at 80% 20%, #fffaf0 0%, var(--cream) 60%, #efdfb8 100%); }
.art::before, .art::after { content: ""; position: absolute; border: 1px solid rgba(202,153,50,.55); border-radius: 50%; }
.art::before { width: 70%; aspect-ratio: 1; right: -18%; top: -30%; }
.art::after { width: 46%; aspect-ratio: 1; left: -10%; bottom: -24%; }
.art span { font-family: var(--serif); font-style: italic; font-size: clamp(54px, 6vw, 84px); color: var(--gold-soft); line-height: 1; position: relative; }
.art--cream span { color: var(--gold); }

/* CTA */
.cta { position: relative; color: var(--white); isolation: isolate; overflow: hidden; background: var(--navy-deep); }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,31,56,.94) 0%, rgba(7,31,56,.82) 50%, rgba(7,31,56,.55) 100%); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.cta h2 { color: var(--white); }
.cta h2 em { color: var(--gold-soft); }
.cta p { color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.field label .opt { color: var(--muted); font-weight: 400; letter-spacing: .08em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(10,46,82,.3);
  background: transparent; font-size: 16px; color: var(--ink); border-radius: 0;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 12px) 22px, calc(100% - 6px) 22px; background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 28px; cursor: pointer;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.field .error { font-size: 12.5px; color: #B3261E; min-height: 0; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: #B3261E; }
.field.invalid .error { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-status { font-size: 14px; color: var(--teal); margin: 0; min-height: 1em; }

/* dark variant (CTA mini form) */
.form--dark .field label { color: rgba(255,255,255,.85); }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea { color: var(--white); border-bottom-color: rgba(255,255,255,.35); }
.form--dark .field select option { color: var(--ink); }
.form--dark .field .error { color: #FFB4A9; }
.form--dark .field.invalid input, .form--dark .field.invalid select, .form--dark .field.invalid textarea { border-bottom-color: #FFB4A9; }
.form--dark ::placeholder { color: rgba(255,255,255,.45); }
.form-panel { background: rgba(7,31,56,.55); border: 1px solid var(--line-light); padding: clamp(28px, 3.5vw, 48px); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.info-list li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.info-list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 4px; }
.info-list .k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.info-list .v { font-family: var(--serif); font-size: 21px; color: var(--navy); line-height: 1.4; }
.info-list a.v:hover { color: var(--teal); }
.form-card { background: var(--cream-light); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.map-wrap { position: relative; border: 1px solid var(--line); background: var(--cream); }
.map-wrap iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: grayscale(.25) contrast(1.02); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--navy); font-weight: 500; }
.hours td { text-align: right; color: var(--muted); }

/* ---------- About ---------- */
.vision {
  font-family: var(--serif); font-size: clamp(28px, 3.3vw, 46px); line-height: 1.32; color: var(--navy);
  font-weight: 400; margin: 0; max-width: 24ch;
}
.vision-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 860px) { .vision-wrap { grid-template-columns: 1fr; } .vision { max-width: none; } }
.missions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.mission { padding: 44px 36px 44px 0; border-bottom: 1px solid var(--line); }
.mission:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.mission .service-num { margin-bottom: 22px; }
.mission h3 { font-size: 26px; }
.mission p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .missions { grid-template-columns: 1fr 1fr; }
  .mission, .mission:not(:nth-child(3n+1)) { padding: 36px 28px 36px 0; border-left: 0; }
  .mission:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .missions { grid-template-columns: 1fr; }
  .mission, .mission:nth-child(even), .mission:not(:nth-child(3n+1)) { padding: 30px 0; border-left: 0; }
}

.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }
.monogram {
  position: relative; aspect-ratio: 4 / 5; background: var(--navy);
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
}
.monogram::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(202,153,50,.6); z-index: -1; }
.monogram::after { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(202,153,50,.22); right: -60%; top: -40%; z-index: -1; }
.monogram-inner { text-align: center; }
.monogram-letters { font-family: var(--serif); font-size: clamp(88px, 11vw, 150px); line-height: 1; color: var(--gold-soft); font-weight: 400; letter-spacing: .04em; display: block; }
.monogram-letters i { font-style: italic; }
.monogram-cap { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.founder-name { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 8px; }
.founder-title { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 32px; display: block; line-height: 1.6; }
.cred-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.cred-tags li { font-size: 12px; letter-spacing: .1em; padding: 7px 14px; border: 1px solid var(--gold); color: var(--navy); }

.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline .yr { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--gold); line-height: 1.3; }
.timeline strong { display: block; font-weight: 600; color: var(--navy); font-size: 16px; }
.timeline span { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
@media (max-width: 860px) { .cols-2 { grid-template-columns: 1fr; } }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 1px; background: var(--gold); }

.license-box { border: 1px solid var(--gold); padding: clamp(28px, 3vw, 44px); background: var(--white); }
.license-box + .license-box { margin-top: 20px; }
.license-box .cred-label { margin-bottom: 10px; }
.license-box .cred-value { font-size: clamp(22px, 2.2vw, 30px); }

/* ---------- Services detail ---------- */
.svc-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
.svc-detail .service-num { font-size: 44px; margin: 0; line-height: 1; }
.svc-detail h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 8px; }
.svc-detail .service-en { margin-bottom: 22px; }
.svc-detail p { color: var(--muted); }
.svc-detail .plain-list { margin-top: 6px; }
.svc-detail h3 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
@media (max-width: 960px) { .svc-detail { grid-template-columns: 1fr; gap: 16px; } }

.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip-nav a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; border: 1px solid rgba(255,255,255,.4); color: var(--white); transition: background .3s, color .3s, border-color .3s; }
.chip-nav a:hover { background: var(--gold); border-color: var(--gold); }

/* ---------- Article ---------- */
.article-head h1 { font-size: clamp(38px, 5vw, 66px); max-width: 20ch; }
.article-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.article-meta .cat { color: var(--teal); font-weight: 600; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.prose { font-size: 17.5px; line-height: 1.85; color: #2a3846; }
.prose > p:first-child { font-size: 21px; line-height: 1.7; font-family: var(--serif); color: var(--navy); }
.prose h2 { font-size: clamp(28px, 2.8vw, 38px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 24px; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .6em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose blockquote { margin: 2em 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 24px; line-height: 1.5; color: var(--navy); font-style: italic; }
.prose a { color: var(--teal); border-bottom: 1px solid currentColor; }
.disclaimer { margin-top: 48px; padding: 24px 28px; background: var(--cream-light); border: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.7; }
.article-cta { margin-top: 56px; padding: clamp(32px, 4vw, 52px); background: var(--navy); color: rgba(255,255,255,.82); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta h2 { color: var(--white); font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 6px; }
.article-cta p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-top { padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(32px, 4vw, 64px); }
.footer-logo { width: 150px; margin-bottom: 26px; }
.footer-tagline { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--white); line-height: 1.4; margin-bottom: 26px; max-width: 18ch; }
.site-footer h2 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 22px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-licenses p { margin: 0 0 16px; line-height: 1.6; }
.footer-licenses span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.footer-contact p { margin: 0 0 12px; line-height: 1.6; }
.social { display: flex; gap: 12px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; color: var(--white); transition: background .3s, border-color .3s, color .3s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 26px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: .06em; color: rgba(255,255,255,.5); }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: var(--white);
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(7,31,56,.55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 36px -12px rgba(7,31,56,.6); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-label {
  position: absolute; right: 74px; white-space: nowrap; background: var(--navy); color: var(--white);
  font-size: 12px; letter-spacing: .08em; padding: 9px 14px; opacity: 0; transform: translateX(8px);
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }
.js .reveal-d3 { transition-delay: .3s; }
.js .reveal-line { position: relative; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

@media print {
  .site-header, .wa-float, .site-footer, .cta { display: none !important; }
  body { color: #000; }
}

/* numerals: lining figures for license numbers & data */
.cred-value, .hero-meta strong, .rating-score, .license-box .cred-value, .info-list .v, .timeline .yr { font-variant-numeric: lining-nums; }
.card-meta { letter-spacing: .14em; gap: 10px; }

.founder > div:first-child { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .founder > div:first-child { position: static; }
  .monogram { aspect-ratio: 16 / 10; }
}
.card-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
.card-meta .dot { display: none; }
.card-meta .cat { order: -1; }
.prose > p:first-child { font-size: 24px; line-height: 1.6; }
