/* ===========================================================
   SAGARA INTERNATIONAL — Design System
   White-forward, black/graphite ink, a controlled touch of red.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* ---- Palette ---- */
  --ink:        #0b0b0c;
  --ink-2:      #26262a;
  --ink-soft:   #55565c;
  --paper:      #ffffff;
  --paper-soft: #f7f6f4;
  --paper-dim:  #efeeea;
  --line:       #e6e4e0;
  --line-soft:  #f0efeb;
  --red:        #dc1e25;
  --red-dim:    #f6d9da;

  /* ---- Type ---- */
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* ---- Shape / rhythm ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.16,.84,.24,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  --dur-fast: .22s;
  --dur-med: .5s;
  --dur-slow: .9s;
}

*,*::before,*::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; overflow-wrap: anywhere; }

/* Prevent CSS Grid / Flex "blowout": long unbreakable tokens (emails, addresses)
   must not force a track wider than its container on small screens. */
.grid > *, .contact-layout > *, .footer-top > *, .split > *, .hero-grid > *,
.service-detail > *, .card-grid > *, .hero-strip > * { min-width: 0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:1rem; }
svg{ display:block; }

::selection{ background: var(--ink); color: var(--paper); }

/* ---- Focus visibility (accessibility) ---- */
:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible{ outline-color: var(--red); }

/* ---- Layout helpers ---- */
.wrap{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section{ padding-block: clamp(64px, 10vw, 128px); }
.section--tight{ padding-block: clamp(40px, 6vw, 72px); }
.section--soft{ background: var(--paper-soft); }
.section--ink{ background: var(--ink); color: var(--paper); }

.grid{ display:grid; gap: 24px; }

/* ---- Eyebrow / kicker ---- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  font-weight:600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before{
  content:'';
  width:7px; height:7px;
  border-radius:50%;
  background: var(--red);
  flex-shrink:0;
  box-shadow: 0 0 0 3px var(--red-dim);
}
.section--ink .eyebrow{ color: #b9b9bd; }

/* ---- Typography ---- */
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}
.section--ink h1, .section--ink h2, .section--ink h3{ color: var(--paper); }

h1{ font-size: clamp(2.4rem, 3.4vw + 1.2rem, 4.6rem); }
h2{ font-size: clamp(1.9rem, 2vw + 1.2rem, 3rem); }
h3{ font-size: clamp(1.25rem, .6vw + 1.05rem, 1.6rem); }

p{ margin:0 0 1em; color: var(--ink-soft); }
.section--ink p{ color: #c7c7cc; }
p:last-child{ margin-bottom:0; }

.lede{
  font-size: clamp(1.05rem, .4vw + 1rem, 1.3rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.text-ink{ color: var(--ink) !important; }
.text-red{ color: var(--red) !important; }

.accent-underline{
  position:relative;
  display:inline-block;
}
.accent-underline::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:.04em;
  height:.22em;
  background: linear-gradient(90deg, var(--red), transparent 92%);
  z-index:-1;
  transform-origin:left;
  border-radius: 2px;
  opacity:.9;
}

/* ---- Buttons ---- */
.btn{
  --btn-pad-y: 15px;
  --btn-pad-x: 30px;
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius-pill);
  font-weight:600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  min-height:44px;
  isolation:isolate;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px) scale(.99); }

.btn-primary{
  color: var(--paper);
  background: linear-gradient(135deg, #232326, var(--ink) 55%, #000 100%);
  background-size: 160% 160%;
  background-position: 0% 0%;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 24px -12px rgba(0,0,0,.55);
}
.btn-primary::before{
  content:'';
  position:absolute; inset:0;
  border-radius: inherit;
  padding:1px;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.btn-primary:hover{
  background-position: 100% 100%;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 16px 30px -12px rgba(0,0,0,.6);
  transform: translateY(-1px);
}

.btn-ghost{
  color: var(--ink);
  background: var(--paper);
  border-color: var(--ink);
}
.btn-ghost:hover{
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.section--ink .btn-ghost{
  color: var(--paper);
  border-color: rgba(255,255,255,.4);
  background: transparent;
}
.section--ink .btn-ghost:hover{
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-sm{ --btn-pad-y: 11px; --btn-pad-x: 22px; font-size: .85rem; }

.btn svg{ width:16px; height:16px; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

/* ===========================================================
   HEADER / NAV
   =========================================================== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  padding-block: 20px;
  transition: padding var(--dur-med) var(--ease), background var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  padding-block: 12px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(0,0,0,.25);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.brand img{ height: 34px; width:auto; transition: height var(--dur-med) var(--ease); }
.is-scrolled .brand img{ height: 28px; }
.brand-word{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height:1.05;
}
.brand-word small{
  display:block;
  font-family: var(--font-body);
  font-weight:600;
  font-size:.58rem;
  letter-spacing:.2em;
  color: var(--red);
  text-transform:uppercase;
  margin-top:1px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: clamp(20px, 2vw, 36px);
}
.nav-links a{
  position:relative;
  font-size: .92rem;
  font-weight:500;
  color: var(--ink-2);
  padding-block: 6px;
}
.nav-links a::after{
  content:'';
  position:absolute; left:0; bottom:0;
  width:100%; height:2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin:right;
  transition: transform var(--dur-fast) var(--ease-soft);
}
.nav-links a:hover::after,
.nav-links a.is-active::after{
  transform: scaleX(1);
  transform-origin:left;
}
.nav-links a.is-active{ color: var(--ink); font-weight:600; }

.nav-cta{ display:flex; align-items:center; gap:14px; }

.nav-toggle{
  display:none;
  width:44px; height:44px;
  align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--line);
  border-radius: 50%;
  flex-shrink:0;
}
.nav-toggle span{
  position:relative;
  width:18px; height:2px; background: var(--ink);
  display:block;
}
.nav-toggle span::before,.nav-toggle span::after{
  content:'';
  position:absolute; left:0; width:18px; height:2px; background: var(--ink);
  transition: transform var(--dur-fast) var(--ease), top var(--dur-fast) var(--ease);
}
.nav-toggle span::before{ top:-6px; }
.nav-toggle span::after{ top:6px; }
.nav-open .nav-toggle span{ background:transparent; }
.nav-open .nav-toggle span::before{ top:0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after{ top:0; transform: rotate(-45deg); }

.mobile-panel{
  position:fixed; inset:0;
  background: var(--paper);
  z-index: 90;
  display:flex; flex-direction:column;
  padding: 100px var(--gutter) 40px;
  transform: translateY(-8px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med);
}
.nav-open .mobile-panel{
  opacity:1; visibility:visible; transform: translateY(0); pointer-events:auto;
}
.mobile-panel a{
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight:700;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.mobile-panel a.btn{
  margin-top: 28px; align-self:flex-start;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-bottom: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.mobile-contact{ margin-top:auto; padding-top: 30px; color: var(--ink-soft); font-size:.92rem; }
.mobile-contact a{ font-size:inherit; font-family:var(--font-body); font-weight:600; color:var(--ink); border:0; padding:0; display:block; margin-top:4px; }

@media (max-width: 900px){
  .nav-links, .nav-cta .btn{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero{
  position:relative;
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: clamp(70px, 9vw, 120px);
  overflow:hidden;
  background: var(--paper);
}
.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 5vw, 60px);
  align-items:center;
}
.hero-eyebrow{ margin-bottom: 22px; }
.hero h1{ margin-bottom: 22px; }
.hero h1 .line{ display:block; overflow:hidden; }
.hero h1 .line span{ display:inline-block; will-change: transform; }
.hero-sub{
  font-size: clamp(1.05rem, .3vw + 1rem, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.hero-note{ font-size:.85rem; color: var(--ink-soft); display:flex; align-items:center; gap:8px; }
.hero-note svg{ width:16px; height:16px; color: var(--red); flex-shrink:0; }

.hero-visual{
  position:relative;
  aspect-ratio: 1/1;
  display:flex; align-items:center; justify-content:center;
}
.hero-visual svg{ width:100%; height:100%; }

.hero-strip{
  position:relative;
  z-index:2;
  margin-top: clamp(50px, 7vw, 90px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hero-strip-item{ display:flex; align-items:flex-start; gap:14px; }
.hero-strip-item .ico{
  width:42px; height:42px; flex-shrink:0;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}
.hero-strip-item .ico svg{ width:20px; height:20px; color: var(--ink); }
.hero-strip-item h4{ font-size: .98rem; margin-bottom:2px; }
.hero-strip-item p{ font-size:.86rem; margin:0; }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; max-width: 340px; margin-inline:auto; aspect-ratio:1/1; }
  .hero-strip{ grid-template-columns: 1fr; gap:22px; }
}

/* Background wash */
.bg-wash{
  position:absolute; inset:0; z-index:1; pointer-events:none;
}
.bg-wash svg{ position:absolute; }

/* ===========================================================
   PAGE HEADER (About / Services / Contact)
   =========================================================== */
.page-header{
  position:relative;
  padding-top: clamp(150px, 16vw, 190px);
  padding-bottom: clamp(56px, 8vw, 90px);
  background: var(--ink);
  color: var(--paper);
  overflow:hidden;
}
.page-header .wrap{ position:relative; z-index:2; }
.page-header h1{ color: var(--paper); max-width: 16ch; }
.page-header .lede{ color:#c7c7cc; margin-top:18px; }
.page-header .eyebrow{ color:#b9b9bd; }
.page-header .breadcrumb{
  display:flex; gap:8px; align-items:center;
  font-size:.82rem; color:#9d9da2; margin-bottom:20px;
}
.page-header .breadcrumb a:hover{ color: var(--paper); }
.page-header-lines{
  position:absolute; inset:0; z-index:1; opacity:.5;
}

/* ===========================================================
   CARDS — Services grid
   =========================================================== */
.card-grid{
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px){ .card-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .card-grid{ grid-template-columns: 1fr; } }

.service-card{
  position:relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  overflow:hidden;
}
.service-card::before{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(0,0,0,.03), transparent 40%);
  opacity:0;
  transition: opacity var(--dur-med) var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(0,0,0,.35);
  border-color: var(--ink);
}
.service-card:hover::before{ opacity:1; }
.service-card .num{
  position:absolute; top:20px; right:24px;
  font-family: var(--font-display);
  font-size:.78rem; font-weight:600;
  color: var(--line);
}
.card-ico{
  width:56px; height:56px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: var(--ink);
  margin-bottom: 22px;
  position:relative;
  flex-shrink:0;
}
.card-ico svg{ width:26px; height:26px; color:var(--paper); }
.card-ico::after{
  content:'';
  position:absolute; right:-4px; bottom:-4px;
  width:11px; height:11px; border-radius:50%;
  background: var(--red);
  border: 2px solid var(--paper);
}
.service-card h3{ margin-bottom:10px; }
.service-card p{ font-size:.95rem; margin-bottom:18px; }
.card-link{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.86rem; font-weight:600; color: var(--ink);
}
.card-link svg{ width:14px; height:14px; transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .card-link svg{ transform: translateX(4px); }

/* ===========================================================
   SPLIT SECTIONS (Intro / Story / Approach)
   =========================================================== */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px,5vw,80px);
  align-items:center;
}
.split.reverse .split-media{ order:2; }
@media (max-width:900px){
  .split{ grid-template-columns: 1fr; }
  .split.reverse .split-media{ order:-1; }
}
.split-media{ position:relative; }
.split-media svg{ width:100%; height:auto; }
.stat-row{
  display:grid; grid-template-columns: repeat(3,1fr);
  gap:18px; margin-top:34px; padding-top:28px; border-top:1px solid var(--line);
}
.stat-row .stat b{ display:block; font-family:var(--font-display); font-size:1.7rem; color:var(--ink); }
.stat-row .stat span{ font-size:.82rem; color:var(--ink-soft); }

/* ===========================================================
   DETAILED SERVICES (services.html list)
   =========================================================== */
.service-detail{
  display:grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px,5vw,70px);
  align-items:center;
  padding-block: clamp(50px,7vw,90px);
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child{ border-bottom:0; }
.service-detail.reverse{ direction: rtl; }
.service-detail.reverse > *{ direction: ltr; }
.service-detail.reverse .sd-media{ order:2; }
@media (max-width:860px){
  .service-detail, .service-detail.reverse{ grid-template-columns:1fr; direction:ltr; }
  .service-detail.reverse .sd-media{ order:-1; }
}
.sd-index{
  font-family:var(--font-display); font-weight:700;
  font-size:.85rem; color:var(--red); letter-spacing:.12em;
  margin-bottom:14px; display:block;
}
.sd-media{
  position:relative; aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.sd-media svg{ width:58%; height:58%; color:var(--ink); }
.sd-tags{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.sd-tags span{
  font-size:.78rem; font-weight:600; padding:7px 14px;
  border-radius:var(--radius-pill); border:1px solid var(--line); color:var(--ink-2);
}

/* ===========================================================
   CTA BAND
   =========================================================== */
.cta-band{
  position:relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(40px,6vw,72px);
  overflow:hidden;
  display:flex; align-items:center; justify-content:space-between;
  gap: 30px; flex-wrap:wrap;
}
.cta-band h2{ color:var(--paper); margin-bottom:10px; max-width: 20ch;}
.cta-band p{ color:#c7c7cc; max-width: 46ch; }
.cta-band-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.cta-band-lines{ position:absolute; inset:0; opacity:.35; pointer-events:none; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer{ background: var(--ink); color:#c7c7cc; padding-top: clamp(60px,8vw,96px); }
.footer-top{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 860px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}
.footer-brand img{ height:34px; margin-bottom:16px; }
.footer-brand p{ max-width:34ch; }
.footer-col h4{
  font-family:var(--font-body); color:var(--paper);
  font-size:.82rem; letter-spacing:.1em; text-transform:uppercase;
  margin-bottom:18px; font-weight:600;
}
.footer-col li{ margin-bottom:12px; }
.footer-col a{ font-size:.92rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover{ color: var(--paper); }
.footer-col address{ font-style:normal; font-size:.92rem; line-height:1.7; }
.social-row{ display:flex; gap:10px; margin-top:20px; }
.social-row a{
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.social-row a:hover{ background: var(--red); border-color:var(--red); transform: translateY(-2px); }
.social-row svg{ width:16px; height:16px; }

.footer-bottom{
  display:flex; align-items:center; justify-content:space-between;
  padding-block: 26px; font-size:.82rem; color:#8f8f95; gap:16px; flex-wrap:wrap;
}
.footer-bottom a:hover{ color:var(--paper); }

/* ===========================================================
   CONTACT PAGE
   =========================================================== */
.contact-layout{
  display:grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px,5vw,70px);
  align-items:flex-start;
}
@media (max-width:900px){ .contact-layout{ grid-template-columns:1fr; } }

.info-card{
  background: var(--ink); color:var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(30px,4vw,42px);
}
.info-card h3{ color:var(--paper); }
.info-list{ margin-top:22px; display:flex; flex-direction:column; gap:22px; }
.info-list li{ display:flex; gap:16px; }
.info-list .ico{
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
}
.info-list .ico svg{ width:20px; height:20px; color: var(--red); }
.info-list .label{ font-size:.76rem; letter-spacing:.1em; text-transform:uppercase; color:#9d9da2; margin-bottom:4px;}
.info-list a, .info-list span.value{ font-weight:600; color:var(--paper); font-size:.98rem; }

.form-card{
  background: var(--paper);
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px,4vw,44px);
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:20px; }
.field label{
  display:block; font-size:.82rem; font-weight:600; margin-bottom:8px; color: var(--ink);
}
.field input, .field select, .field textarea{
  width:100%; padding:14px 16px;
  border:1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea{ resize:vertical; min-height:120px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--ink); background: var(--paper);
  box-shadow: 0 0 0 4px var(--paper-dim);
}
.field.has-error input, .field.has-error select, .field.has-error textarea{
  border-color: var(--red);
}
.field-error{ display:none; font-size:.78rem; color: var(--red); margin-top:6px; font-weight:600; }
.field.has-error .field-error{ display:block; }
.field-hint{ font-size:.78rem; color:var(--ink-soft); margin-top:6px; }

.form-status{
  display:none; align-items:center; gap:10px;
  padding:14px 16px; border-radius: var(--radius-sm);
  background: #eef7ee; color:#1f6b2c; font-size:.9rem; font-weight:600;
  margin-bottom:20px;
}
.form-status.is-visible{ display:flex; }
.form-status.is-error{ background:#fdecec; color:#a3161c; }
.form-status svg{ width:18px; height:18px; flex-shrink:0; }

/* map / office visual on contact */
.map-strip{
  margin-top: 26px; border-radius: var(--radius-lg); overflow:hidden;
  border:1px solid var(--line); aspect-ratio: 16/6;
}
.map-strip iframe{ width:100%; height:100%; border:0; filter: grayscale(1) contrast(1.05); }

.globe-stage{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  aspect-ratio: 1/1;
}
.globe-stage::before{
  content:'';
  position:absolute;
  width:76%; height:76%;
  border-radius:50%;
  background: radial-gradient(circle at 40% 35%, #ffffff, var(--paper-dim) 72%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.globe-stage::after{
  content:'';
  position:absolute;
  width:76%; height:76%;
  border-radius:50%;
  border: 1px dashed var(--line);
  animation: spin-slow 40s linear infinite;
}
@media (prefers-reduced-motion: reduce){ .globe-stage::after{ animation:none; } }
.globe-stage img{ position:relative; z-index:1; width:62%; height:auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.12)); transition: transform 1s var(--ease); }
.globe-stage:hover img{ transform: scale(1.04) rotate(2deg); }
@keyframes spin-slow{ to{ transform: rotate(360deg); } }

/* ===========================================================
   PHOTO MEDIA — real photography, framed and blended in
   =========================================================== */
.media-frame{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  isolation:isolate;
}
.media-frame img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.001); /* avoid seam aliasing */
  transition: transform 1s var(--ease), filter .6s var(--ease);
  will-change: transform;
}
.media-frame:hover img{ transform: scale(1.055); }
.media-frame.no-frame{ background:none; border:0; border-radius:0; }

.media-frame::after{
  content:'';
  position:absolute; inset:0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
  pointer-events:none;
}

/* Fade-in-on-load, so photos never pop in abruptly */
.media-frame img{ opacity:0; transition: opacity .7s var(--ease), transform 1s var(--ease), filter .6s var(--ease); }
.media-frame img.is-loaded{ opacity:1; }
html:not(.js) .media-frame img{ opacity:1; }

/* Floating caption chip over a photo */
.media-chip{
  position:absolute; left:20px; bottom:20px; z-index:2;
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  padding:10px 16px 10px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.4);
  font-size:.82rem; font-weight:600; color:var(--ink);
}
.media-chip .dot{ width:8px; height:8px; border-radius:50%; background:var(--red); flex-shrink:0; box-shadow:0 0 0 3px var(--red-dim); }

/* Photo page-header (About / Services) — dark overlay for legible white text */
.page-header.has-photo{ background: var(--ink); }
.page-header-photo{
  position:absolute; inset:0; z-index:0;
}
.page-header-photo img{
  width:100%; height:100%; object-fit:cover;
  opacity:0; transition: opacity 1.1s var(--ease);
}
.page-header-photo img.is-loaded{ opacity:.55; }
html:not(.js) .page-header-photo img{ opacity:.55; }
.page-header-photo::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,11,12,.55), rgba(11,11,12,.88) 70%), linear-gradient(90deg, rgba(11,11,12,.5), rgba(11,11,12,.15) 55%);
}

/* Photo CTA band */
.cta-band.has-photo{ background: var(--ink); }
.cta-band-photo{ position:absolute; inset:0; z-index:0; }
.cta-band-photo img{
  width:100%; height:100%; object-fit:cover;
  opacity:0; transition: opacity 1.1s var(--ease);
}
.cta-band-photo img.is-loaded{ opacity:.85; }
html:not(.js) .cta-band-photo img{ opacity:.85; }
.cta-band-photo::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(11,11,12,.92) 15%, rgba(11,11,12,.55) 55%, rgba(11,11,12,.3));
}
.cta-band > *:not(.cta-band-photo){ position:relative; z-index:1; }

/* ===========================================================
   REVEAL ANIMATION UTILITY (GSAP hooks)
   =========================================================== */
html.js [data-reveal]{ opacity:0; transform: translateY(28px); }
html.js [data-reveal-item]{ opacity:0; }

/* Loader */
.page-loader{
  position:fixed; inset:0; z-index:999;
  background: var(--paper);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.page-loader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.page-loader img{ width:56px; height:56px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ transform:scale(1); opacity:1;} 50%{ transform:scale(.86); opacity:.6;} }

/* Back to top */
.to-top{
  position:fixed; right:22px; bottom:22px; z-index:60;
  width:46px; height:46px; border-radius:50%;
  background: var(--ink); color:var(--paper);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
}
.to-top.is-visible{ opacity:1; visibility:visible; transform:none; }
.to-top svg{ width:18px; height:18px; }
.to-top:hover{ background: var(--red); }

/* Utility */
.center{ text-align:center; margin-inline:auto; }
.mt-0{ margin-top:0; }
.max-w-content{ max-width: 68ch; }
.hairline{ height:1px; background:var(--line); border:0; margin: 0; }
.tag-pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:600; padding:8px 16px;
  border:1px solid var(--line); border-radius: var(--radius-pill);
  color: var(--ink-2);
}
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ margin-top:14px; }
