/* Thakur N' Associates — site styles. Palette taken from the original site. */
:root {
  --navy: #10284d;
  --navy-deep: #081427;
  --blue: #0285ce;
  --blue-dark: #015989;
  --ink: #1a1a1a;
  --black: #0d0d0d;
  --grey: #f0f2f4;
  --grey-2: #e4e8ed;
  --text: #2b3440;
  --muted: #5e6875;
  --line: #d6dbe2;
  --white: #fff;
  --serif: "Source Serif 4", "Kepler Std", Georgia, serif;
  --script: "Playfair Display", "Didot", Georgia, serif;
  --sans: "Figtree", "Proxima Nova", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 18px 40px -20px rgba(16, 40, 77, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 16px/1.7 var(--sans); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .75em; }
.script { font-family: var(--script); font-style: italic; color: inherit; }
.lead { font-size: 1.075rem; }
.row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 24px; border: 1px solid var(--blue); border-radius: 2px; background: var(--blue); color: #fff; font: 500 15px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--grey); border-color: var(--grey); color: var(--navy); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-ghost-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }
.link svg { transition: transform .2s; }
.link:hover svg { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 64px; height: 64px; }
.brand-text { display: flex; flex-direction: column; font: 500 17px/1.15 var(--serif); color: var(--ink); }
.brand-text small { font: italic 13px/1.3 var(--script); color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-size: 15px; padding: 6px 0; position: relative; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--navy); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle svg + svg { display: none; }
@media (max-width: 1140px) { .nav-cta span { display: none; } .nav-cta { padding: 8px 12px; } }
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 84px 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--grey-2); font-size: 18px; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .nav-cta { margin-top: 24px; } .nav-cta span { display: inline; }
  .nav-open .site-nav { display: flex; }
  .nav-open .nav-toggle svg { display: none; } .nav-open .nav-toggle svg + svg { display: block; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-text { font-size: 15px; } .brand img { width: 52px; height: 52px; } .header-inner { min-height: 72px; } .site-nav { inset: 72px 0 0; } }

/* Hero (home) — same proportions as the original: 1280px wide on desktop,
   full-bleed on phones. The chair's top edge sits at 45.7% of the photo's
   height, so the copy is kept in the top 42% of the frame; site.js grows
   the frame if the copy ever needs more room. */
.hero { padding: 0 0 24px; }
.hero-frame { position: relative; width: min(1280px, 100% - 2 * var(--gutter)); margin: 0 auto; aspect-ratio: 1600 / 1085; overflow: hidden; background: #eceef1; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero-copy { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: clamp(56px, 7.5vw, 104px) 24px 0; text-align: center; }
.hero-copy h1 { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.22; margin: 0 0 22px; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.hero-link:hover { color: var(--blue-dark); }
.hero-below { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 36px clamp(28px, 5vw, 72px) 0 0; }
.hero-stats li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.hero-stats li:nth-child(odd) { padding-right: 16px; }
.hero-stats strong { display: block; font: 400 clamp(30px, 3vw, 40px)/1 var(--serif); color: var(--navy); }
.hero-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.hero-card { position: relative; z-index: 1; margin: -150px 0 0 clamp(24px, 4vw, 48px); background: var(--ink); color: #e9ecf0; padding: clamp(28px, 3.2vw, 44px); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card h2 { color: #fff; font-size: 26px; }
.hero-card p { font-size: 15px; }
.link-light { color: #7cc6f2; }
.link-light:hover { color: #fff; }
@media (max-width: 900px) {
  .hero-below { grid-template-columns: 1fr; }
  .hero-card { order: -1; margin: -48px 0 0; }
  .hero-stats { padding: 16px 0 0; }
}
@media (max-width: 720px) {
  .hero-frame { width: 100%; aspect-ratio: auto; height: 600px; }
  .hero-img { object-position: 36% 100%; }
  .hero-copy { padding: 44px 20px 0; }
  .hero-copy h1 { font-size: 26px; margin-bottom: 14px; }
}
@media (max-width: 360px) {
  .hero-copy h1 { font-size: 24px; }
}

/* Founder */
.founder { padding: 64px 0; }
.founder-grid { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--grey); align-items: stretch; }
.founder-text { padding: clamp(32px, 6vw, 72px) clamp(24px, 8vw, 110px); align-self: center; }
.founder-text h2 { font-size: clamp(24px, 2.6vw, 30px); font-family: var(--sans); font-weight: 400; color: var(--navy); }
.founder-text .eyebrow { font: 400 clamp(34px, 4vw, 48px)/1.1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--navy); }
.founder-photo { margin: 0; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.founder-about .founder-grid { grid-template-columns: 1.2fr 1fr; background: none; }
.founder-about .founder-text { text-align: left; padding-left: 0; }
.founder-about .founder-photo { background: var(--grey); padding: clamp(20px, 4vw, 48px); }
@media (max-width: 860px) { .founder-grid, .founder-about .founder-grid { grid-template-columns: 1fr; } .founder-photo { order: -1; } .founder-photo img { max-height: 520px; } .founder-about .founder-text { padding: 32px 0 0; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-grey { background: var(--grey); }
.section-title { text-align: center; font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 1em; }
.section-title::after { content: ""; display: block; width: 36px; height: 2px; background: var(--navy); margin: 18px auto 0; }
.section-intro { max-width: 720px; margin: -8px auto 48px; text-align: center; color: var(--muted); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 1.5em; }
.section-head .section-title { margin: 0; text-align: left; }
.section-head .section-title::after { margin-left: 0; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 40px; }
.service-card { background: var(--grey); padding: 40px 28px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .25s, box-shadow .25s, background .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.service-card .num { font: italic 400 46px/1 var(--script); color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid var(--navy); min-width: 72px; margin-bottom: 24px; }
.service-card h3 { font: italic 400 21px/1.3 var(--script); min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.service-card h3 a { color: inherit; }
.service-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* Quote band */
.quote-band { background: var(--grey); padding: clamp(56px, 7vw, 88px) 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 640px; }
.quote-band p { font: 400 clamp(26px, 3.2vw, 38px)/1.25 var(--serif); color: var(--navy); }
.quote-band cite { font-style: normal; color: var(--blue); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 22px 24px 26px; }
.post-card h3 { font-size: 20px; line-height: 1.35; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { font-size: 15px; color: var(--muted); margin: 0; }
.meta { display: flex; gap: 10px; align-items: center; font-size: 13px !important; margin-bottom: 10px !important; }
.tag { background: var(--grey); color: var(--navy); padding: 2px 8px; border-radius: 20px; font-size: 12px; }
.post { padding: 56px 0 72px; }
.post-wrap { max-width: 820px; }
.crumbs { font-size: 14px; color: var(--muted); }
.post h1 { font-size: clamp(28px, 3.6vw, 42px); }
.post-cover { margin: 28px 0 36px; }
.post-cover img { width: 100%; max-height: 560px; object-fit: contain; background: var(--grey); }
.post-body { font-size: 18px; line-height: 1.8; }
.post-body h2 { font-size: 26px; margin-top: 1.4em; }
.post-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--blue); font: italic 400 21px/1.6 var(--serif); color: var(--navy); }
.post-body figure { margin: 32px 0; }
.post-body figure img { margin: 0 auto; max-height: 720px; width: auto; }
.source { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.post-share { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--muted); font-size: 14px; }
.post-share a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grey); color: var(--navy); }
.post-share a:hover { background: var(--navy); color: #fff; }
[lang="hi"] { font-family: "Noto Sans Devanagari", var(--sans); }
[lang="hi"] h1, [lang="hi"] h3 { font-family: "Noto Serif Devanagari", var(--serif); }

/* Page band */
.page-band { padding: clamp(56px, 8vw, 88px) 0; text-align: center; color: #e9ecf0; }
.page-band-dark { background: var(--black); }
.page-band-navy { background: var(--navy); }
.page-band .wrap { max-width: 860px; }
.page-band h1 { color: #fff; font-size: clamp(32px, 4vw, 46px); }
.page-band .lead { color: #d3d9e1; margin: 0 auto; max-width: 640px; }
.founded { font: italic 18px var(--script); color: #fff; }
.founded span { color: #4fb3ec; }

/* Feature (about intro) */
.feature-frame { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.feature-img { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 620px; object-fit: cover; }
.feature-card { grid-column: 2; grid-row: 1; margin-right: 8%; background: var(--ink); color: #e1e5ea; padding: 44px 48px; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-card h2 { color: #fff; font-size: 36px; }
.feature-card .script { color: #c6cfdb; margin: 0 0 4px; }
@media (max-width: 860px) { .feature-frame { grid-template-columns: 1fr; } .feature-img { height: 360px; } .feature-card { grid-column: 1; grid-row: 2; margin: -80px 12px 0; padding: 28px 24px; } }

/* Credentials */
.credentials { background: var(--grey); margin: 0; padding: clamp(24px, 4vw, 48px) clamp(20px, 8vw, 110px); }
.credentials div { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 28px 0; align-items: center; }
.credentials div + div { border-top: 1px solid var(--line); }
.credentials dt { font: 500 15px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.credentials dd { margin: 0; }
@media (max-width: 720px) { .credentials div { grid-template-columns: 1fr; gap: 6px; } }

.quote-big { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.quote-big svg { width: 44px; height: 34px; color: var(--navy); margin: 0 auto 28px; }
.quote-big p { font: 400 clamp(28px, 3.4vw, 40px)/1.2 var(--serif); color: var(--navy); }

.vision { padding-bottom: clamp(56px, 8vw, 96px); }
.vision-frame { display: grid; grid-template-columns: 1fr 1fr; }
.vision-img { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 560px; object-fit: cover; margin-top: 90px; }
.vision-card { grid-column: 1; grid-row: 1; margin-left: 8%; background: var(--navy); color: #dfe5ee; padding: 48px 48px 40px; align-self: start; box-shadow: var(--shadow); }
.vision-card h2 { color: #fff; font-size: 34px; }
.vision-card p { font-size: 15px; margin: 0; }
@media (max-width: 860px) { .vision-frame { grid-template-columns: 1fr; } .vision-img { margin: 0; height: 300px; } .vision-card { grid-row: 2; margin: -60px 12px 0; padding: 32px 24px; } }

/* Team */
.team-lead { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; background: var(--grey); padding: 28px; margin-bottom: 40px; }
.team-lead img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-lead h2 { font-size: 32px; }
@media (max-width: 720px) { .team-lead { grid-template-columns: 1fr; gap: 20px; } .team-lead img { max-width: 320px; } }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.team-card { background: var(--grey); display: flex; flex-direction: column; }
.team-photo { aspect-ratio: 1; overflow: hidden; background: var(--grey-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.03); }
.monogram { display: grid; place-items: center; width: 100%; height: 100%; font: 400 84px var(--serif); color: #fff; background: linear-gradient(135deg, var(--navy), #24477c); }
.team-body { padding: 22px 24px 28px; }
.team-body h3 { font-size: 22px; margin-bottom: 4px; }
.role { color: var(--blue); font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.team-body p:last-child { font-size: 15px; margin: 0; }

/* NRI */
.nri { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.nri-list article { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.nri-list article:first-child { padding-top: 0; }
.nri-list .num { font: italic 34px/1 var(--script); color: var(--blue); }
.nri-list h2 { font-size: clamp(24px, 2.6vw, 32px); }
.nri-list p { margin: 0; }
.nri-aside { position: sticky; top: 110px; background: var(--grey); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.nri-aside h2 { font-size: 24px; margin: 0; }
.nri-aside h3 { font-size: 19px; margin: 12px 0 0; }
.nri-aside p { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: 14px; color: var(--navy); }
@media (max-width: 900px) { .nri { grid-template-columns: 1fr; } .nri-aside { position: static; } }

/* Why */
.why { max-width: 860px; text-align: center; }

/* Gallery */
.gallery { display: flex; flex-direction: column; }
.gallery-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.gallery-row.flip .gallery-img { order: 2; }
.gallery-img { display: block; overflow: hidden; background: var(--grey); aspect-ratio: 1 / .92; cursor: zoom-in; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-img:hover img { transform: scale(1.04); }
.gallery-text { padding: clamp(28px, 6vw, 80px); }
.gallery-text h2 { font: italic 400 clamp(22px, 2.4vw, 28px)/1.3 var(--script); }
.gallery-text p { margin: 0; }
@media (max-width: 720px) { .gallery-row { grid-template-columns: 1fr; } .gallery-row.flip .gallery-img { order: 0; } .gallery-text { padding: 20px 4px 40px; } }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 10, 20, .92); display: grid; place-items: center; padding: 24px; }
.lightbox figure { margin: 0; text-align: center; color: #fff; }
.lightbox img { max-height: 82vh; max-width: 92vw; width: auto; margin: 0 auto 12px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.lightbox-close svg { width: 28px; height: 28px; }

/* Offices */
.office-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.office-cards li { background: #fff; border: 1px solid var(--line); padding: 26px 24px; display: flex; flex-direction: column; }
.section-grey .office-cards li { border-color: transparent; }
.office-cards h3 { font-size: 24px; }
.office-cards p:not(.eyebrow) { font-size: 15px; color: var(--muted); flex: 1; }
.map { margin-top: 32px; aspect-ratio: 16 / 6; min-height: 320px; background: var(--grey); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* CTA band */
.cta-band { background: var(--navy); color: #d9e0ea; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-bottom: .25em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact */
.contact-hero { background: var(--black); color: #d8dde4; padding: clamp(56px, 8vw, 96px) 0; }
.contact-hero h1 { color: #fff; text-align: center; font-size: clamp(32px, 4vw, 44px); }
.contact-hero > .wrap > .lead { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 7vw, 96px); max-width: 1000px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #c3cad4; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: 16px var(--sans); color: #fff; background: transparent; border: 1px solid #8a94a3; border-radius: 2px; padding: 12px 14px; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,133,206,.35); }
.contact-form [aria-invalid="true"] { border-color: #ff8a80; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-actions .btn { flex: 1 1 200px; }
.form-error { color: #ff8a80; margin: 0; font-size: 14px; }
.form-note { font-size: 13px; color: #8e98a6; margin: 0; }
.contact-side .contact-list { margin: 24px 0; }
@media (max-width: 760px) { .contact-grid, .field-row { grid-template-columns: 1fr; } }

/* Social + contact lists */
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; transition: background .2s; }
.social a:hover { background: var(--blue); color: #fff; }
.social svg { width: 16px; height: 16px; }
.social-light a { background: rgba(255,255,255,.1); }
.contact-list li { display: flex; gap: 12px; align-items: center; padding: 4px 0; }
.contact-list svg { color: var(--blue); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c0ca; font-size: 14px; line-height: 1.65; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.site-footer h3 { font: 500 17px var(--sans); color: #fff; margin: 24px 0 8px; }
.footer-grid > div > h3:first-child { margin-top: 0; }
.footer-brand img { width: 72px; height: 72px; margin-bottom: 12px; }
.footer-brand .script { font-size: 20px; color: #fff; }
.footer-brand .script span { color: #9aa5b4; }
.office-list li { padding: 0 0 12px; }
.office-list strong { display: block; color: #fff; font-weight: 500; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.quick-links a, .site-footer a { color: #d0d6de; text-decoration: none; }
.quick-links a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact .social { margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; border-top: 1px solid #333; padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: #8a93a0; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline !important; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Disclaimer */
.disclaimer { position: fixed; inset: 0; z-index: 100; background: rgba(8, 20, 39, .78); display: grid; place-items: center; padding: 16px; }
.disclaimer-box { background: #fff; max-width: 620px; width: 100%; max-height: 90vh; overflow-y: auto; padding: clamp(24px, 5vw, 44px); border-top: 4px solid var(--navy); }
.disclaimer-box h2 { font-size: 30px; }
.disclaimer-box ul { list-style: disc; padding-left: 20px; margin-bottom: 24px; font-size: 15px; }
.disclaimer-box li { margin-bottom: 8px; }
.disclaimer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.disclaimer .btn-ghost { color: var(--navy); border-color: var(--line); }
.disclaimer .btn-ghost:hover { background: var(--grey); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Mobile quick-contact bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -14px rgba(0,0,0,.35); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; font-size: 12px; font-weight: 500; color: var(--navy); text-decoration: none; }
  .mobile-bar a + a { border-left: 1px solid var(--grey-2); }
  .mobile-bar svg { width: 20px; height: 20px; color: var(--blue); }
  .mobile-bar a:nth-child(2) svg { color: #1faa53; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .nav-open .mobile-bar { display: none; }
}

/* ---------- Phone refinements ---------- */
.map { aspect-ratio: auto; height: clamp(300px, 38vw, 460px); min-height: 0; }
.link { min-height: 44px; }
.contact-list a { display: inline-block; padding: 8px 0; }
@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 30px; margin-bottom: .8em; }
  .section-intro { margin-bottom: 28px; }
  .page-band { padding: 44px 0; }
  .founder { padding: 32px 0; }
  .quote-band { padding: 44px 0; }
  .quote-big { padding: 48px 0 24px; }
  .cta-band { padding: 40px 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }

  /* Service cards: compact, left-aligned rows instead of tall centred blocks */
  .service-grid { gap: 10px; margin-bottom: 28px; }
  .service-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; text-align: left; align-items: start; padding: 20px 18px; }
  .service-card .num { grid-row: 1 / span 2; font-size: 30px; border: 0; padding: 0; margin: 0; min-width: 0; }
  .service-card h3 { min-height: 0; display: block; font-size: 20px; margin-bottom: 6px; }
  .service-card:hover { transform: none; }

  /* Team: shorter photos so cards don't fill the whole screen */
  .team-grid { gap: 16px; }
  .team-photo { aspect-ratio: 4 / 3; }
  .team-lead { padding: 16px; margin-bottom: 24px; }
  .team-lead img { max-width: none; aspect-ratio: 4 / 3; }

  .post-grid { gap: 16px; }
  .office-cards { gap: 12px; }
  .credentials { padding: 8px 20px; }
  .credentials div { padding: 20px 0; }
  .site-footer { padding-top: 44px; }
}

/* ---------- Page transitions ----------
   Cross-document View Transitions: page content cross-fades while the
   header and the fixed contact buttons stay put. Browsers without support
   just navigate normally. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.wa-float { view-transition-name: wa-float; }
.mobile-bar { view-transition-name: mobile-bar; }
::view-transition-old(root) { animation: 160ms cubic-bezier(.4, 0, 1, 1) both page-out; }
::view-transition-new(root) { animation: 280ms cubic-bezier(0, 0, .2, 1) 60ms both page-in; }
@keyframes page-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
