/* ============================================================
   House of Language - design tokens
   ============================================================ */
:root{
  --ink:        #26313A;
  --ink-soft:   #667078;
  --bg:         #F7F2EA;
  --card:       #FFFCF8;
  --teal-deep:  #405A73;
  --teal-mid:   #6F879C;
  --teal-pale:  #E8EDF2;
  --gold:       #A97878;
  --gold-soft:  #F1E4E0;
  --sage:       #B8C2B4;
  --line:       #DDD6CC;

  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(28,43,48,0.18);
  --container: 1120px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; margin:0 0 .5em; line-height:1.15; letter-spacing:-0.01em; }
p{ margin:0 0 1em; color:var(--ink-soft); }
ul{ margin:0; padding:0; }
button{ font-family:inherit; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 28px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--teal-deep); font-weight:600; margin-bottom:14px;
}
.eyebrow::before{
  content:""; width:22px; height:2px; background:var(--gold); display:inline-block;
}

:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; border-radius:4px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 28px; border-radius:999px; font-weight:600; font-size:15px;
  border:2px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{ background:var(--teal-deep); color:#fff; }
.btn-primary:hover{ background:var(--teal-mid); transform:translateY(-1px); box-shadow:0 10px 24px -10px rgba(64,90,115,.45); }
.btn-ghost{ background:transparent; color:var(--teal-deep); border-color:var(--teal-deep); }
.btn-ghost:hover{ background:var(--teal-pale); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,242,234,0.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-size:21px; font-weight:600; color:var(--teal-deep);
}
.brand .mark{ color:var(--gold); }
.nav-links{ display:flex; align-items:center; gap:34px; list-style:none; }
.nav-links a{
  font-size:15px; font-weight:500; color:var(--ink); position:relative; padding:4px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--gold);
  transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--teal-deep); font-weight:600; }
.nav-cta{ display:flex; align-items:center; gap:22px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; transition:.2s; }

@media (max-width:860px){
  .nav-links{
    position:fixed; inset:66px 0 0 0; background:var(--bg); flex-direction:column;
    justify-content:flex-start; padding:30px 28px; gap:22px; transform:translateX(100%);
    transition:transform .25s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:19px; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-primary{ display:none; }
}

/* ---------- Hero ---------- */
.hero{ padding:76px 0 60px; }
.hero .wrap{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(34px,4.6vw,54px); color:var(--teal-deep); }
.hero .lede{ font-size:18px; max-width:46ch; }
.hero-actions{ display:flex; gap:16px; margin-top:28px; flex-wrap:wrap; }

.wave-art{ position:relative; }
.wave-bars{ display:flex; align-items:center; justify-content:center; gap:6px; height:220px; }
.wave-bars span{
  width:8px; border-radius:6px; background:linear-gradient(180deg,var(--teal-mid),var(--teal-deep));
  animation:sway 2.6s ease-in-out infinite;
}
.wave-bars span:nth-child(odd){ background:linear-gradient(180deg,var(--gold),var(--gold-soft)); }
.wave-bars span:nth-child(1){ height:40%; animation-delay:.1s; }
.wave-bars span:nth-child(2){ height:70%; animation-delay:.3s; }
.wave-bars span:nth-child(3){ height:50%; animation-delay:.5s; }
.wave-bars span:nth-child(4){ height:90%; animation-delay:.2s; }
.wave-bars span:nth-child(5){ height:35%; animation-delay:.6s; }
.wave-bars span:nth-child(6){ height:100%; animation-delay:.15s; }
.wave-bars span:nth-child(7){ height:55%; animation-delay:.45s; }
.wave-bars span:nth-child(8){ height:75%; animation-delay:.25s; }
.wave-bars span:nth-child(9){ height:45%; animation-delay:.55s; }
.wave-bars span:nth-child(10){ height:65%; animation-delay:.35s; }
.wave-bars span:nth-child(11){ height:30%; animation-delay:.5s; }
@keyframes sway{ 0%,100%{ transform:scaleY(1); } 50%{ transform:scaleY(.55); } }
@media (prefers-reduced-motion:reduce){ .wave-bars span{ animation:none; } }

/* ---------- Section divider (waveform rule) ---------- */
.divider{ width:100%; height:26px; margin:0 auto; opacity:.55; }

/* ---------- Sections ---------- */
section{ padding:64px 0; }
.section-alt{ background:var(--card); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head{ max-width:640px; margin-bottom:40px; }
.section-head h2{ font-size:clamp(26px,3.2vw,36px); color:var(--teal-deep); }

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:860px){ .grid-3, .grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.card .icon{
  width:44px; height:44px; border-radius:10px; background:var(--teal-pale);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px; color:var(--teal-deep);
}
.card h3{ font-size:19px; color:var(--ink); }
.card p{ font-size:15px; margin-bottom:0; }

/* ---------- Photo frame ---------- */
.photo-frame{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--line);
}
.photo-frame img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-banner{ border-radius: var(--radius); overflow:hidden; margin:40px 0; }
.photo-banner img{ width:100%; display:block; max-height:340px; object-fit:cover; }

/* ---------- Team ---------- */
.team-card{ display:flex; gap:22px; align-items:flex-start; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:28px; }
.team-card img{ width:110px; height:110px; border-radius:50%; object-fit:cover; flex-shrink:0; border:3px solid var(--teal-pale); }
.team-card h3{ margin-bottom:2px; color:var(--teal-deep); }
.team-role{ color:var(--gold); font-weight:600; font-size:14px; margin-bottom:10px; display:block; }

/* ---------- FAQ accordion ---------- */
.faq-list{ width:100%; max-width:none; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:22px 0; display:flex; justify-content:space-between; align-items:center;
  font-family:var(--font-display); font-size:18px; color:var(--ink); gap:20px;
}
.faq-q .plus{
  flex-shrink:0; width:26px; height:26px; border-radius:50%; border:2px solid var(--teal-deep);
  color:var(--teal-deep); display:flex; align-items:center; justify-content:center; font-size:16px;
  transition:transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item.open .faq-q .plus{ background:var(--teal-deep); color:#fff; transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a-inner{ padding-bottom:22px; font-size:15.5px; max-width:70ch; }
.faq-a p{ margin-bottom:12px; }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--teal-deep); color:#fff; border-radius:24px; padding:56px 44px;
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; margin-bottom:8px; }
.cta-band p{ color:rgba(255,255,255,.8); margin-bottom:0; }
.cta-band .btn-primary{ background:var(--gold); }
.cta-band .btn-primary:hover{ background:#8F6262; }

/* ---------- Contact / form ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:6px; }
.field input, .field textarea, .field select{
  width:100%; padding:13px 14px; border:1.5px solid var(--line); border-radius:10px;
  font-family:inherit; font-size:15px; background:#fff; color:var(--ink);
}
.field select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  cursor:pointer;
  padding-right:42px;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231F5C57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 8 10 13 15 8'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:16px;
}
.field select:hover{ border-color:var(--teal-mid); }
.field input:focus, .field textarea:focus, .field select:focus{ border-color:var(--teal-mid); outline:none; }
.form-note{ font-size:13px; color:var(--ink-soft); margin-top:10px; }
.form-note.is-error{ color:#B3261E; }

.form-confirmation{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:44px 36px; text-align:center;
}
.form-confirmation .confirm-icon{
  width:56px; height:56px; border-radius:50%; background:var(--teal-pale); color:var(--teal-deep);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
}
.form-confirmation h3{ color:var(--teal-deep); font-size:22px; margin-bottom:8px; }
.form-confirmation p{ margin-bottom:0; }
.contact-info-card{ background:var(--teal-pale); border-radius:var(--radius); padding:32px; }
.contact-info-card h3{ color:var(--teal-deep); }
.contact-info-row{ display:flex; gap:12px; align-items:flex-start; margin-bottom:18px; }
.contact-info-row .icon{ width:36px; height:36px; border-radius:8px; background:#fff; display:flex; align-items:center; justify-content:center; color:var(--teal-deep); flex-shrink:0; }

/* ---------- Footer ---------- */
footer{ background:var(--ink); color:rgba(255,255,255,.75); padding:52px 0 26px; margin-top:20px; }
.footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:34px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-brand{ font-family:var(--font-display); font-size:20px; color:#fff; margin-bottom:10px; }
.footer-cols{ display:flex; gap:56px; flex-wrap:wrap; }
.footer-col h4{ color:#fff; font-size:14px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:14px; }
.footer-col a{ display:block; font-size:14.5px; color:rgba(255,255,255,.7); margin-bottom:10px; }
.footer-col a:hover{ color:var(--gold-soft); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:22px; flex-wrap:wrap; gap:14px; font-size:13px; }
.social-row{ display:flex; gap:14px; }
.social-row a{ width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.social-row a:hover{ background:var(--teal-mid); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ padding:56px 0 24px; }
.page-hero h1{ color:var(--teal-deep); font-size:clamp(30px,4vw,44px); }
.page-hero p{ max-width:60ch; font-size:17px; }

/* ---------- Utility ---------- */
.mt-0{ margin-top:0; }
.center{ text-align:center; }


/* ---------- Brand refinements ---------- */
.header-logo{ height:48px; width:auto; display:block; }
.hero-brand{
  min-height:260px; padding:38px; border-radius:28px;
  background:linear-gradient(145deg,var(--card),var(--teal-pale));
  border:1px solid var(--line); box-shadow:var(--shadow);
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
}
.hero-brand img{ width:min(100%,360px); height:auto; }
.hero-brand span{ margin-top:18px; color:var(--teal-deep); font-weight:600; letter-spacing:.04em; }
.service-icon{
  width:64px; height:64px; border-radius:16px; background:var(--teal-pale);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.service-icon svg{ width:36px; height:36px; fill:none; stroke:var(--teal-deep); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.social-row svg{ width:17px; height:17px; fill:currentColor; }
.social-row a{ color:#fff; }
@media (max-width:860px){
  .header-logo{ height:42px; }
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-brand{ min-height:210px; padding:28px; }
}


/* ---------- Premium layout refresh ---------- */
body{ background:linear-gradient(180deg,#FAF6F0 0%,var(--bg) 28%,#F4EFE7 100%); }
.site-header{ box-shadow:0 8px 28px rgba(38,49,58,.04); }
.nav{ min-height:76px; }
.header-logo{ height:54px; }
.hero{ padding:96px 0 82px; position:relative; overflow:hidden; }
.hero::before{ content:""; position:absolute; width:420px; height:420px; border-radius:50%; background:rgba(169,120,120,.09); right:-180px; top:-180px; pointer-events:none; }
.hero .wrap{ grid-template-columns:1.08fr .92fr; gap:72px; }
.hero h1{ font-size:clamp(42px,5.4vw,68px); max-width:11ch; color:var(--ink); }
.hero .lede{ font-size:19px; line-height:1.75; }
.hero-brand{ min-height:330px; padding:52px; background:linear-gradient(145deg,#FFFCF8 0%,#F1E8E2 100%); border-color:#E6DDD3; box-shadow:0 24px 60px -28px rgba(38,49,58,.35); }
.hero-brand span{ color:var(--ink-soft); font-weight:500; }
section{ padding:82px 0; }
.section-alt{ background:rgba(255,252,248,.76); }
.card{ padding:32px; border-color:#E5DED4; box-shadow:0 10px 30px -24px rgba(38,49,58,.32); }
.card:hover{ transform:translateY(-6px); box-shadow:0 22px 44px -28px rgba(38,49,58,.38); }
.card .icon,.service-icon{ background:linear-gradient(145deg,var(--teal-pale),#F2E9E5); }
.cta-band{ background:linear-gradient(135deg,#405A73 0%,#53697D 100%); box-shadow:0 22px 50px -30px rgba(38,49,58,.55); }
.cta-band .btn-primary{ background:#F4E8E2; color:#4A3E3E; }
.cta-band .btn-primary:hover{ background:#FFFFFF; }
.contact-info-card{ background:linear-gradient(145deg,#EEF1F4,#F5EAE6); }
footer{ background:#27323B; }
.footer-bottom{ justify-content:flex-start; }
.page-hero{ padding:78px 0 34px; }
.page-hero h1,.section-head h2,.team-card h3{ color:var(--ink); }
.team-role{ color:var(--gold); }
@media (max-width:860px){
  .hero{ padding:66px 0 54px; }
  .hero .wrap{ gap:40px; }
  .hero h1{ max-width:none; }
  .hero-brand{ min-height:230px; padding:34px; }
  section{ padding:62px 0; }
  .header-logo{ height:46px; }
}


/* ---------- July content and layout refresh ---------- */
.hero-brand{
  padding:0;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto 1fr;
  min-height:430px;
  background:var(--card);
}
.hero-brand-logo{
  min-height:150px;
  padding:30px 38px 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg,#FFFCF8 0%,#F1E8E2 100%);
}
.hero-brand-logo img{ width:min(100%,330px); height:auto; }
.hero-brand-photo{
  width:100%;
  height:280px;
  object-fit:cover;
  object-position:center;
  border-top:1px solid var(--line);
}
.card .icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.about-story{
  padding:44px 44px 44px 30px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 18px 48px -32px rgba(38,49,58,.35);
}
.about-story h2{ color:var(--teal-deep); font-size:clamp(28px,3.5vw,40px); }
.about-story > p{ max-width:none; font-size:16.5px; }
.about-highlights{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:30px;
}
.about-highlights div{
  padding:20px;
  border-radius:16px;
  background:var(--bg);
  border:1px solid var(--line);
}
.about-highlights strong{ display:block; color:var(--teal-deep); margin-bottom:5px; }
.about-highlights span{ display:block; color:var(--ink-soft); font-size:13.5px; line-height:1.45; }
.footer-wordmark{
  display:inline-block;
  white-space:nowrap;
  font-family:var(--font-body);
  font-size:22px;
  font-weight:600;
  letter-spacing:.06em;
  color:#fff;
  margin-bottom:8px;
}
@media (max-width:860px){
  .hero-brand{ min-height:350px; }
  .hero-brand-logo{ min-height:125px; padding:24px; }
  .hero-brand-photo{ height:225px; }
  .about-story{ padding:30px 24px; }
  .about-highlights{ grid-template-columns:1fr; }
}


/* ---------- Contact page spacing refinements ---------- */
.contact-page .page-hero{
  padding-bottom:12px;
}
.contact-page .page-hero + section{
  padding-top:28px;
}
.contact-info-card h3{
  margin-bottom:24px;
}
.contact-info-card .contact-info-row:first-of-type{
  margin-top:4px;
}

/* Keep the replacement homepage image framed cleanly */
.hero-brand-photo{
  object-position:center 42%;
}


/* ---------- Final image and spacing fixes ---------- */
.hero-brand{
  grid-template-rows:auto minmax(0,1fr);
}
.hero-brand .hero-brand-photo{
  width:100%;
  max-width:none;
  height:100%;
  min-height:280px;
  display:block;
  object-fit:cover;
  object-position:center 42%;
  align-self:stretch;
}
.about-image-section{
  padding:18px 0 10px;
}
.about-story-section{
  padding-top:28px;
}
.about-banner{
  margin:0;
  height:330px;
}
.about-banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
}
.faq-page .page-hero{
  padding-bottom:10px;
}
.faq-page .page-hero + section{
  padding-top:22px;
}
@media (max-width:860px){
  .hero-brand .hero-brand-photo{ min-height:225px; }
  .about-banner{ height:230px; }
  .about-image-section{ padding-top:8px; }
  .about-story-section{ padding-top:20px; }
}

/* ---------- Final polish: services spacing, bubbles and reveal motion ---------- */
body{
  position:relative;
  overflow-x:hidden;
}

.page-hero h1{
  font-size:clamp(34px,4.6vw,50px);
}
.page-hero p{
  max-width:54ch;
}

.photo-banner,
.about-banner,
.services-banner{
  border-radius:24px;
}

.about-page .page-hero p{
  max-width:none;
}

.grid{
  gap:30px;
}
.card{
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.card:hover{
  transform:translateY(-7px);
  border-color:rgba(64,90,115,.25);
  box-shadow:0 24px 48px -28px rgba(38,49,58,.42);
}

.services-page .page-hero{
  padding-bottom:8px;
}
.services-content{
  padding-top:22px;
}
.services-banner{
  margin:0 0 44px;
  height:300px;
  overflow:hidden;
}
.services-banner img{
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center 46%;
}

/* ---------- Decorative circles ---------- */
.page-circles{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}
.site-header,
main,
section,
footer{
  position:relative;
  z-index:1;
}
.decor-circle{
  position:absolute;
  display:block;
  border-radius:50%;
  background:rgba(184,132,128,.075);
}
.decor-circle:nth-child(2){ background:rgba(64,90,115,.055); }
.decor-circle:nth-child(3){ background:rgba(190,169,145,.075); }

.home-page .circle-one{ top:120px; right:-170px; width:430px; height:430px; }
.home-page .circle-two{ top:880px; left:-210px; width:360px; height:360px; }
.home-page .circle-three{ bottom:180px; right:7%; width:150px; height:150px; }

.about-page .circle-one{ top:155px; left:-220px; width:420px; height:420px; }
.about-page .circle-two{ top:900px; right:-190px; width:390px; height:390px; }
.about-page .circle-three{ bottom:190px; left:8%; width:145px; height:145px; }

.services-page .circle-one{ top:145px; right:-205px; width:410px; height:410px; }
.services-page .circle-two{ top:1020px; left:-220px; width:380px; height:380px; }
.services-page .circle-three{ bottom:220px; right:9%; width:155px; height:155px; }

.faq-page .circle-one{ top:165px; left:-230px; width:430px; height:430px; }
.faq-page .circle-two{ top:760px; right:-210px; width:400px; height:400px; }
.faq-page .circle-three{ bottom:170px; left:10%; width:150px; height:150px; }

.contact-page .circle-one{ top:135px; right:-215px; width:420px; height:420px; }
.contact-page .circle-two{ top:760px; left:-225px; width:390px; height:390px; }
.contact-page .circle-three{ bottom:190px; right:8%; width:145px; height:145px; }

.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

@media (prefers-reduced-motion:reduce){
  .reveal,
  .reveal.is-visible{
    opacity:1;
    transform:none;
    transition:none;
  }
}

@media (max-width:860px){
  .page-hero h1{ font-size:clamp(32px,10vw,42px); }
  .services-content{ padding-top:14px; }
  .services-banner{ height:220px; margin-bottom:32px; }
  .grid{ gap:22px; }
  .decor-circle{ opacity:.75; }
}


/* ---------- Apple-inspired page transitions ---------- */
html.js body{
  opacity:0;
  transform:translateY(5px);
}
html.js body.page-loaded{
  opacity:1;
  transform:none;
  transition:opacity .42s cubic-bezier(.25,.1,.25,1), transform .42s cubic-bezier(.25,.1,.25,1);
}
html.js body.page-leaving{
  opacity:0;
  transform:translateY(-3px);
  transition:opacity .22s cubic-bezier(.4,0,1,1), transform .22s cubic-bezier(.4,0,1,1);
  pointer-events:none;
}

@media (prefers-reduced-motion:reduce){
  html.js body,
  html.js body.page-loaded,
  html.js body.page-leaving{
    opacity:1;
    transform:none;
    transition:none;
  }
}
