/* ==========================================================================
   Spheroid Engineering Limited
   Brand carried over from the 2026 company profile: petrol teal + orange,
   Montserrat headings over Source Sans body, orange rule under every heading.
   ========================================================================== */

:root {
  --teal-900: #0a3743;
  --teal-800: #0f4c5c;
  --teal-700: #16697a;
  --teal-600: #2a8296;
  --orange:   #e27b1c;
  --orange-d: #c26510;
  --amber:    #f0a24a;
  --ink:      #1f2a37;
  --grey:     #5b6b7c;
  --mist:     #eef6f7;
  --line:     #cfe3e6;
  --paper:    #ffffff;

  --font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shell: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 76, 92, .06), 0 4px 14px rgba(15, 76, 92, .06);
  --shadow-md: 0 2px 6px rgba(15, 76, 92, .08), 0 18px 40px rgba(15, 76, 92, .12);
  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* --- base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .18vw, 1.075rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--teal-800); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.012em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.1vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.45rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange-d); }

img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }

ul, ol { margin: 0 0 1em; padding-left: 1.15rem; }
li + li { margin-top: .3em; }

strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--amber); color: var(--teal-900); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--orange); color: #fff; padding: .7rem 1.1rem;
  font-family: var(--font-head); font-weight: 700; text-decoration: none; border-radius: 0 0 4px 4px;
  transition: top .18s var(--ease);
}
.skip:focus { top: 0; color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--solid { fill: currentColor; stroke: none; }

/* --- layout primitives --------------------------------------------------- */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--teal { background: var(--teal-800); color: #fff; }
.section--teal h2, .section--teal h3 { color: #fff; }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }

.kicker {
  font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  margin: 0 0 .55rem;
}
.section--teal .kicker { color: var(--amber); }

.rule { display: block; width: 64px; height: 3px; background: var(--orange); border: 0; margin: 1rem 0 1.5rem; }

.lead {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(1.1rem, 1rem + .55vw, 1.35rem);
  line-height: 1.5; color: var(--teal-700); max-width: 58ch;
}
.section--teal .lead { color: #cfe3e6; }

.head { max-width: 44rem; }
.head--wide { max-width: none; }

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  padding: .78rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: var(--orange-d); color: #fff; }
.btn--teal { background: var(--teal-800); color: #fff; }
.btn--teal:hover { background: var(--teal-700); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--teal-800); background: #fff; }
.btn--outline:hover { border-color: var(--orange); color: var(--orange-d); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  color: var(--orange-d); text-decoration: none;
}
.textlink .icon { transition: transform .18s var(--ease); }
.textlink:hover .icon { transform: translateX(3px); }

/* --- masthead ------------------------------------------------------------ */

.masthead { position: sticky; top: 0; z-index: 60; }
.masthead__bar { background: var(--teal-800); transition: box-shadow .2s var(--ease); }
.masthead.is-stuck .masthead__bar { box-shadow: 0 6px 24px rgba(10, 55, 67, .3); }
.masthead__rule { height: 3px; background: var(--orange); }

.masthead__inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); min-height: 74px; }

.brand { display: block; flex: none; }
.brand__mark { width: clamp(140px, 17vw, 190px); height: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(.9rem, 2vw, 1.7rem); list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  position: relative; display: block; padding: .35rem 0;
  font-family: var(--font-head); font-weight: 600; font-size: .875rem;
  color: rgba(255, 255, 255, .82); text-decoration: none;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--orange); transition: right .22s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.is-current::after { right: 0; }
.nav__link.is-current { color: #fff; }

.masthead__cta { flex: none; padding: .6rem 1.05rem; font-size: .82rem; }

.burger {
  display: none; flex: none; background: none; border: 0; cursor: pointer;
  color: #fff; padding: .5rem; margin-left: auto;
}
.burger .icon { width: 1.7rem; height: 1.7rem; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.drawer {
  position: fixed; inset: 77px 0 0; z-index: 55;
  background: var(--teal-900); padding: 1.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.drawer__list li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer__list .nav__link { padding: 1rem 0; font-size: 1.15rem; font-weight: 700; }
.drawer__contact { display: grid; gap: .9rem; }
.drawer__contact a {
  display: flex; align-items: center; gap: .65rem;
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.drawer__contact .icon { color: var(--orange); }

@media (max-width: 940px) {
  .nav, .masthead__cta { display: none; }
  .burger { display: block; }
}

/* --- hero ---------------------------------------------------------------- */

.hero { position: relative; isolation: isolate; background: var(--teal-900); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 55, 67, .85) 0%, rgba(10, 55, 67, .38) 42%, rgba(10, 55, 67, .95) 100%),
    linear-gradient(90deg, rgba(15, 76, 92, .92) 0%, rgba(15, 76, 92, .35) 68%);
}
.hero__rings { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__rings span {
  position: absolute; top: 50%; right: -6vw; translate: 0 -50%;
  border-radius: 50%; aspect-ratio: 1;
}
.hero__rings span:nth-child(1) { width: 62vw; border: 1px solid rgba(255, 255, 255, .16); }
.hero__rings span:nth-child(2) { width: 49vw; border: 2px solid rgba(226, 123, 28, .55); }
.hero__rings span:nth-child(3) { width: 36vw; border: 1px solid rgba(255, 255, 255, .12); }

.hero__inner { padding-block: clamp(4rem, 12vw, 8.5rem); position: relative; }
.hero__kicker { color: var(--amber); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .35em; }
.hero h1 .thin { font-weight: 300; display: block; }
.hero__sub { max-width: 46ch; color: rgba(255, 255, 255, .88); font-size: clamp(1.02rem, .97rem + .35vw, 1.18rem); }
.hero__lines {
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1.75rem; padding: 0; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .78);
}
.hero__lines li { margin: 0; display: flex; align-items: center; gap: 1.1rem; }
.hero__lines li:not(:last-child)::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

.hero__strip { background: var(--orange); }
.hero__stripinner {
  display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; justify-content: space-between;
  padding-block: .7rem; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}

/* --- page banner (inner pages) ------------------------------------------- */

.banner { position: relative; isolation: isolate; background: var(--teal-800); color: #fff; overflow: hidden; }
.banner__media { position: absolute; inset: 0; z-index: -2; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 55, 67, .95) 10%, rgba(10, 55, 67, .62) 100%);
}
.banner__inner { padding-block: clamp(2.75rem, 7vw, 5rem); }
.banner h1 { color: #fff; margin-bottom: .3em; }
.banner__sub { max-width: 56ch; color: rgba(255, 255, 255, .85); margin: 0; }
.banner .rule { margin-bottom: 1.1rem; }

/* --- generic grids ------------------------------------------------------- */

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
.grid--cards { align-items: start; }
@media (max-width: 860px) { .grid--split { grid-template-columns: 1fr; } }

.prose-2col { columns: 2; column-gap: clamp(1.75rem, 4vw, 3rem); }
.prose-2col > * { break-inside: avoid; }
@media (max-width: 760px) { .prose-2col { columns: 1; } }

/* --- cards --------------------------------------------------------------- */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--teal-600); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--orange); color: #fff; border-radius: 4px; margin-bottom: 1rem;
}
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { margin-bottom: .55rem; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 1.15rem; font-size: .95rem; color: var(--grey); margin-top: .4em; }
.card li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }

/* --- stats --------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1.5rem; text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); color: var(--orange); line-height: 1; }
.stat__label { font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-800); margin-top: .5rem; }
.section--teal .stat__label { color: rgba(255, 255, 255, .8); }

/* --- pills --------------------------------------------------------------- */

.pills { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.pills li { margin: 0; }
.pill {
  display: inline-block; padding: .34rem .8rem; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--line);
  font-size: .84rem; color: var(--teal-800); line-height: 1.4;
}
.section--teal .pill, .pill--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }

/* --- fact list (at a glance) --------------------------------------------- */

.factbox { background: var(--teal-800); color: #fff; border-radius: var(--radius); padding: 1.75rem 1.6rem; position: relative; overflow: hidden; }
.factbox::after {
  content: ''; position: absolute; top: -30px; right: -30px; width: 130px; height: 130px;
  border: 2px solid rgba(226, 123, 28, .6); border-radius: 50%;
}
.factbox h2, .factbox h3 { color: #fff; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; position: relative; }
.facts li { margin: 0; display: grid; grid-template-columns: 1.5rem 1fr; gap: .1rem .6rem; }
.facts .icon { color: var(--orange); grid-row: span 2; margin-top: .2rem; }
.facts dt, .facts .fact__k { font-family: var(--font-head); font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.facts dd, .facts .fact__v { margin: 0; font-weight: 600; font-size: .95rem; }

/* --- photo band ---------------------------------------------------------- */

.band { position: relative; }
.band img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; }
.band__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(15, 76, 92, .88); color: #fff;
  padding: .7rem var(--gutter);
  font-family: var(--font-head); font-size: .8rem; line-height: 1.4;
  display: flex; align-items: center; gap: .55rem;
}
.band__caption .icon { color: var(--orange); width: 1.05rem; height: 1.05rem; }

/* --- timeline ------------------------------------------------------------ */

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 3.6rem 1fr; gap: .9rem;
  margin: 0; padding: .72rem 0; border-bottom: 1px solid var(--line);
  break-inside: avoid;
}
.timeline li:first-child { padding-top: 0; }
.timeline time { font-family: var(--font-head); font-weight: 800; font-size: .82rem; color: var(--orange); padding-top: .18rem; }
.timeline p { margin: 0; font-size: .95rem; }
.timeline--cols { columns: 2; column-gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 760px) { .timeline--cols { columns: 1; } }

/* --- featured project ---------------------------------------------------- */

.featured { background: var(--mist); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
@media (max-width: 800px) { .featured { grid-template-columns: 1fr; } }
.featured__img { height: 100%; min-height: 240px; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.featured dl { display: grid; gap: .6rem; margin: 1.1rem 0 1.2rem; }
.featured dl > div { display: flex; gap: .6rem; align-items: baseline; font-size: .93rem; }
.featured dt { font-weight: 600; color: var(--teal-800); flex: none; }
.featured dd { margin: 0; color: var(--grey); }
.featured .icon { color: var(--orange); align-self: center; }

/* --- steps --------------------------------------------------------------- */

.step__num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--orange); line-height: 1; }
.step h3 { margin: .4rem 0 .35rem; font-size: 1.02rem; }
.step p { font-size: .93rem; color: var(--grey); margin: 0; }

/* --- people -------------------------------------------------------------- */

.person {
  display: grid; grid-template-columns: 74px 1fr; gap: 1.25rem;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem;
}
@media (max-width: 560px) { .person { grid-template-columns: 1fr; gap: .9rem; } }
.person__avatar {
  width: 74px; height: 74px; border-radius: 50%; background: var(--teal-800); color: var(--orange);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
}
.person__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem; margin-bottom: .1rem; }
.person__name h3 { margin: 0; font-size: 1.22rem; font-weight: 800; }
.person__creds { font-family: var(--font-head); font-weight: 600; font-size: .78rem; color: var(--grey); }
.person__role { font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--orange); margin-bottom: .75rem; }
.person__bio { font-size: .96rem; }
.person__memb { display: flex; gap: .5rem; margin-top: .9rem; font-size: .82rem; color: var(--grey); }
.person__memb .icon { color: var(--orange); margin-top: .15rem; }

/* --- gallery ------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .75rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(10, 55, 67, .9));
  color: #fff; font-family: var(--font-head); font-size: .78rem; line-height: 1.35;
}
.gallery--wide figure:first-child, .gallery--wide figure:nth-child(2) { grid-column: span 1; }

/* --- table --------------------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .92rem; }
thead th {
  background: var(--teal-800); color: #fff; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .75rem .95rem;
}
tbody td { padding: .7rem .95rem; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--mist); }
tbody td:first-child { font-weight: 600; color: var(--teal-800); }
.table-note { font-size: .84rem; color: var(--grey); margin-top: .7rem; }

/* --- callout ------------------------------------------------------------- */

.callout {
  background: var(--mist); border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.35rem; font-family: var(--font-head); font-style: italic; color: var(--teal-800);
}

/* --- CTA band ------------------------------------------------------------ */

.cta { background: var(--teal-800); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; top: 50%; right: -60px; translate: 0 -50%;
  width: 300px; aspect-ratio: 1; border: 2px solid rgba(226, 123, 28, .5); border-radius: 50%;
}
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; padding-block: clamp(2.5rem, 6vw, 3.75rem); position: relative; }
.cta h2 { color: #fff; margin: 0; max-width: 18ch; }
.cta p { color: rgba(255, 255, 255, .82); max-width: 42ch; margin: .6rem 0 0; }

/* --- contact / form ------------------------------------------------------ */

.contact-card {
  display: grid; grid-template-columns: 2.1rem 1fr; gap: .15rem .75rem;
  padding: 1.15rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.contact-card .icon { grid-row: span 2; color: var(--orange); width: 1.4rem; height: 1.4rem; margin-top: .25rem; }
.contact-card__k { font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--grey); }
.contact-card__v { font-weight: 600; color: var(--teal-800); }
.contact-card__v a { color: inherit; text-decoration: none; }
.contact-card__v a:hover { color: var(--orange-d); }

.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--teal-800); }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; color: var(--ink);
  padding: .68rem .8rem; border: 1px solid var(--line); border-radius: 4px; background: #fff;
  width: 100%; transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(42, 130, 150, .16);
}
.field--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 560px) { .field--pair { grid-template-columns: 1fr; } }
.field--hp { position: absolute; left: -9999px; }
.form__note { font-size: .83rem; color: var(--grey); margin: 0; }
.form__status { padding: .8rem 1rem; border-radius: 4px; font-size: .93rem; }
.form__status[hidden] { display: none; }
.form__status.is-ok { background: #e7f4ee; border: 1px solid #9dcdb5; color: #17593c; }
.form__status.is-err { background: #fdeee4; border: 1px solid #f0b78a; color: #8f3f0c; }

/* --- footer -------------------------------------------------------------- */

.footer { background: var(--teal-900); color: rgba(255, 255, 255, .78); font-size: .92rem; }
.footer__grid {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { width: 175px; margin-bottom: 1rem; }
.footer__tag { font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; }
.footer__blurb { color: rgba(255, 255, 255, .62); font-size: .89rem; max-width: 40ch; }
.footer__head { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__links li, .footer__contact li { margin: 0; }
.footer__links .nav__link { color: rgba(255, 255, 255, .72); font-weight: 400; font-family: var(--font-body); font-size: .92rem; padding: 0; }
.footer__links .nav__link::after { display: none; }
.footer__links .nav__link:hover { color: var(--amber); }
.footer__contact li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .55rem; align-items: start; }
.footer__contact .icon { color: var(--orange); margin-top: .22rem; }
.footer__contact a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer__contact a:hover { color: var(--amber); }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__baseinner {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  padding-block: 1.1rem; font-size: .78rem; color: rgba(255, 255, 255, .55);
}
.footer__baseinner p { margin: 0; }
.footer__baseinner a { color: rgba(255, 255, 255, .7); }
.footer__regs { font-family: var(--font-head); letter-spacing: .04em; }

/* --- whatsapp fab -------------------------------------------------------- */

.whatsapp-fab {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 50;
  width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform .18s var(--ease);
}
.whatsapp-fab .icon { width: 26px; height: 26px; }
.whatsapp-fab:hover { transform: scale(1.07); color: #fff; }

/* --- reveal on scroll ---------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .whatsapp-fab:hover { transform: none; }
  .gallery figure:hover img { transform: none; }
}

/* --- print --------------------------------------------------------------- */

@media print {
  .masthead, .drawer, .whatsapp-fab, .cta, .skip { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .banner { background: #fff; color: #000; }
  .hero__media, .banner__media, .hero__scrim, .hero__rings { display: none; }
  .hero h1, .banner h1 { color: #000; }
  a { text-decoration: none; color: #000; }
}

/* --- utilities ----------------------------------------------------------- */

.mt-xs { margin-top: .75rem; }
.mt-sm { margin-top: 1.15rem; }
.mt-md { margin-top: 1.75rem; }
.mt-lg { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.mb-md { margin-bottom: 1.75rem; }
.flow > * + * { margin-top: 1rem; }

.muted { color: var(--grey); font-size: .95rem; }
.section--teal .muted, .cta .muted { color: rgba(255, 255, 255, .8); }

.feature-icon { width: 2rem; height: 2rem; color: var(--orange); margin-bottom: .85rem; }
.rule--sm { width: 48px; margin: .55rem 0 1.35rem; }
.factbox__title { font-size: 1.28rem; margin: 0; }
.callout a { font-style: normal; }
.band { margin: 0; }
.cta__actions { margin-top: 0; }

/* --- numbered sub-heading + standalone figure ---------------------------- */

.num { color: var(--orange); margin-right: .5rem; font-variant-numeric: tabular-nums; }

.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption { font-size: .82rem; color: var(--grey); margin-top: .5rem; }
.figure--tall img { max-height: 400px; object-fit: cover; }
