/* Emliss Consulting website
   Built from Brand Guidelines v1.0 (September 2026)
   Palette: ink, copper, paper, slate, mist, blush
   Type: Poppins Light (display), Regular (body), Medium (labels)
*/

:root {
  --ink: #0F2340;
  --copper: #B9703F;
  --paper: #F4EDE9;
  --slate: #5A6577;
  --mist: #DDD6CB;
  --blush: #EBD6C8;
  --white: #FFFFFF;

  --font: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1200px;
  --section: clamp(4rem, 9vw, 8rem);
  --track: 0.28em;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }

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

/* Layout */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.grid-2 {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Type */
.label {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1.25rem;
}
.label--slate { color: var(--slate); }

h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 400; }

.rule {
  width: 56px;
  height: 1px;
  background: var(--copper);
  border: 0;
  margin: 1.5rem 0 1.75rem;
}

p { margin: 0 0 1.25rem; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.standfirst {
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: var(--slate);
  max-width: 52ch;
}
.lead {
  font-weight: 300;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.5;
}
.muted { color: var(--slate); }
.small { font-size: 0.9rem; }

strong { font-weight: 500; }

/* Buttons and links */
.btn {
  display: inline-block;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  padding: 1rem 1.6rem 0.95rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  transition: background 160ms ease, color 160ms ease;
}
.btn:hover { background: #1a3358; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--white); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; }

.textlink {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 0.3rem;
  transition: border-color 160ms ease;
}
.textlink:hover { border-color: var(--ink); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--mist);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
}
.brand img { width: 170px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.nav a {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav a.nav-cta { color: var(--copper); }
.nav a.nav-cta:hover { border-bottom-color: var(--copper); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--mist);
  padding: 0.6rem 0.9rem;
  font: inherit;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--mist);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem var(--gutter) 1.5rem;
    gap: 0.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0; width: 100%; border-bottom: 1px solid var(--mist); }
  .nav a[aria-current="page"] { border-bottom-color: var(--mist); }
}

/* Hero: the convergence image on ink, copy in paper */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  min-height: min(80vh, 760px);
  display: flex;
  align-items: center;
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 7rem); }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
}
.hero-copy { max-width: 40rem; }
.hero h1 { max-width: 14ch; }
.hero .label { color: var(--copper); }
.hero .standfirst { color: #C9CDD6; }

@media (max-width: 1100px) {
  .hero-img { left: auto; width: 58%; object-position: left center; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; display: block; }
  .hero .wrap { padding-bottom: 2.5rem; }
  .hero-img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    display: block;
  }
}

/* Photographic hero: copy on paper, photograph bleeding off the right edge */
.hero-photo {
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 820px) minmax(0, 540px) minmax(0, 1fr);
  grid-template-areas: ". copy media media";
  align-items: center;
  column-gap: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
}
.hero-photo .hero-copy { grid-area: copy; padding-block: clamp(3rem, 6vw, 5rem); max-width: 52rem; }
.hero-photo h1 { max-width: none; font-size: clamp(1.6rem, 2.5vw, 2.6rem); text-wrap: initial; }
@media (max-width: 860px) { .hero-photo h1 br { display: none; } .hero-photo h1 { text-wrap: balance; } }
.hero-photo-media { grid-area: media; align-self: stretch; min-height: 520px; }
.hero-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
  mask-image: linear-gradient(to right, transparent, #000 22%);
}
/* Hero loop: the still stays in place; the video fades over it once it is actually playing */
.hero-photo-media { position: relative; }
.hero-photo-media .hero-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
  mask-image: linear-gradient(to right, transparent, #000 22%);
}
.hero-photo-media .hero-loop.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-photo-media .hero-loop { display: none; } }
@media (max-width: 1100px) {
  .hero-photo { grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 8fr) minmax(0, 5fr); grid-template-areas: ". copy media"; }
}
@media (max-width: 860px) {
  .hero-photo { display: block; }
  .hero-photo .hero-copy { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-block: 3rem 2rem; }
  .hero-photo-media { min-height: 0; }
  .hero-photo-media img {
    aspect-ratio: 4 / 3;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
    mask-image: linear-gradient(to bottom, transparent, #000 18%);
  }
  .hero-photo-media .hero-loop {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
    mask-image: linear-gradient(to bottom, transparent, #000 18%);
  }
}

/* Experience strip under the hero */
.roles {
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.roles .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 2.5rem;
  padding-block: 1.1rem;
}
.roles-label {
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--copper);
}
.roles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
}
.roles-list li {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.roles-note { font-size: 0.85rem; color: var(--slate); margin-left: auto; }
@media (max-width: 860px) {
  .roles-note { margin-left: 0; }
}

/* Page hero for inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--mist);
  background-image:
    linear-gradient(to right, rgba(221, 214, 203, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(221, 214, 203, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero h1 { max-width: 16ch; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero--img { background-image: none; min-height: min(56vh, 520px); display: flex; align-items: center; }
.page-hero--img .copy { max-width: 40rem; }
.page-hero--ink { background: var(--ink); color: var(--paper); border-bottom: 0; }
.page-hero--ink .standfirst { color: #C9CDD6; }
.page-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
}
@media (max-width: 1100px) {
  .page-hero .bg { left: auto; width: 55%; object-position: left center; }
}
@media (max-width: 860px) {
  .page-hero--img { display: block; min-height: 0; padding-bottom: 0; }
  .page-hero--img .copy { padding-bottom: 2.5rem; }
  .page-hero .bg { position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; }
}

/* Wide figure: a full-width image between sections */
.wide-figure { margin: 0; }
.wide-figure img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid var(--mist);
}
.wide-figure--bleed { width: 100%; }
.wide-figure--bleed img {
  border: 0;
  aspect-ratio: 16 / 8;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.wide-figure--bleed figcaption { display: block; }
.wide-figure--short img { aspect-ratio: 16 / 5; object-position: center 40%; }

/* The name: copy on paper, fluid image bleeding off the right */
.name-section {
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 560px) minmax(0, 640px) minmax(0, 1fr);
  grid-template-areas: ". copy media media";
  align-items: center;
  column-gap: clamp(2rem, 4vw, 4rem);
}
.name-copy { grid-area: copy; }
.name-media { grid-area: media; }
.name-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 40% 60%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 25%);
  mask-image: linear-gradient(to right, transparent, #000 25%);
}
@media (max-width: 860px) {
  .name-section { display: block; }
  .name-copy { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; margin-bottom: 1.5rem; }
  .name-media img {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
    mask-image: linear-gradient(to bottom, transparent, #000 18%);
  }
}
.wide-figure figcaption {
  margin-top: 0.9rem;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--slate);
}
@media (max-width: 860px) { .wide-figure img { aspect-ratio: 4 / 3; } }

/* Image under a section heading */
.service-media {
  margin-top: 2.5rem;
  margin-left: calc(-1 * var(--edge));
  width: calc(100% + var(--edge));
}
.service-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 55% 50%;
  -webkit-mask-image: linear-gradient(to right, #000 78%, transparent);
  mask-image: linear-gradient(to right, #000 78%, transparent);
}
@media (max-width: 860px) {
  .service-media { margin-left: calc(-1 * var(--gutter)); width: calc(100% + var(--gutter)); }
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: var(--slate); }
.card .textlink { margin-top: auto; align-self: flex-start; padding-top: 1.5rem; }

/* Ink block (paper on ink) */
.ink {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.ink .label { color: var(--copper); }
.ink .muted, .ink .standfirst { color: #C9CDD6; }
.ink .rule { background: var(--copper); }
.ink-edge { border-top: 1px solid var(--copper); }

/* Statement block: large light type on blush, from the guidelines' insight layout */
.statement {
  background: var(--blush);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
}
.statement h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 22ch; }

/* Lists as rows with hairlines */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--mist);
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.rows li:last-child { border-bottom: 1px solid var(--mist); }
.rows .num {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: var(--track);
  color: var(--copper);
}
.rows h4 { margin: 0 0 0.35rem; }
.rows p { color: var(--slate); font-size: 0.97rem; }
.ink .rows li { border-color: rgba(244, 237, 233, 0.18); }
.ink .rows p { color: #C9CDD6; }

.rows--traits li { grid-template-columns: 6.5rem 1fr; }
.rows--traits .num { color: var(--slate); text-transform: uppercase; }
.rows--wide li { grid-template-columns: 9rem 1fr; }

.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 0.8rem 0; border-top: 1px solid var(--mist); }
.plain li:last-child { border-bottom: 1px solid var(--mist); }

/* Proof figures */
.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--mist);
  padding-top: 2rem;
}
.figure-stat { display: flex; flex-direction: column; gap: 0.5rem; }
.figure-stat .num {
  font-weight: 300;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.figure-stat .cap { font-size: 0.85rem; color: var(--slate); max-width: 24ch; }
@media (max-width: 860px) { .figures { grid-template-columns: 1fr 1fr; } }

/* Portrait frames */
.figure, .portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.figure img, .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }

/* Contact details */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--mist);
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
}
.contact-list li:last-child { border-bottom: 1px solid var(--mist); }
.contact-list .k {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 0.35rem;
}
.contact-list a { border-bottom: 1px solid var(--mist); }
.contact-list a:hover { border-color: var(--ink); }
@media (max-width: 600px) {
  .contact-list li { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* CTA band */
.cta { min-height: 380px; display: flex; align-items: center; }
.cta .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}
.cta .wrap { position: relative; z-index: 1; }
.cta .copy { max-width: 40rem; }
.cta .actions { margin-top: 2rem; }
@media (max-width: 860px) {
  .cta { min-height: 0; }
  .cta .bg { object-position: 85% center; opacity: 0.55; }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--copper);
  padding-block: 3.5rem 2.5rem;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}
.site-footer img { width: 190px; }
.site-footer .label { color: var(--copper); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { border-bottom: 1px solid transparent; }
.site-footer a:hover { border-color: var(--paper); }
.site-footer .colophon {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(244, 237, 233, 0.18);
  padding-top: 1.5rem;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: #C9CDD6;
}
.site-footer .colophon a { border-bottom: 1px solid rgba(244, 237, 233, 0.4); margin-left: 0.25rem; }
.site-footer .colophon a:hover { border-color: var(--paper); }
.site-footer .colophon .tag {
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  font-size: 0.68rem;
}
@media (max-width: 860px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Brand film: click to play, poster until then */
.film-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.film-note { max-width: 32ch; margin: 0; font-size: 0.95rem; }
.film-frame { position: relative; aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid var(--mist); overflow: hidden; }
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--paper); }
.film-play { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--ink); font: inherit; }
.film-play-ring { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--ink); background: rgba(244, 237, 233, 0.82); display: flex; align-items: center; justify-content: center; transition: background 160ms ease, transform 160ms ease; }
.film-play-tri { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent var(--ink); margin-left: 5px; }
.film-play-label { font-weight: 500; font-size: 0.72rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--copper); background: rgba(244, 237, 233, 0.82); padding: 0.45rem 0.9rem; }
.film-play:hover .film-play-ring, .film-play:focus-visible .film-play-ring { background: var(--paper); transform: scale(1.05); }
.film-play:focus-visible { outline: 2px solid var(--copper); outline-offset: -6px; }
.film-frame.is-playing .film-play { display: none; }
@media (max-width: 860px) { .film-play-ring { width: 64px; height: 64px; } }

/* Hero: the logo signs itself in above the strapline */
.hero-sign { width: min(340px, 70%); margin-bottom: 1.75rem; }
.hero-sign video { width: 100%; height: auto; display: block; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { .hero-sign video { display: none; } .hero-sign { background: url("assets/logo-horizontal.png") no-repeat left center / contain; aspect-ratio: 1600 / 400; } }
@media (max-width: 860px) { .hero-sign { width: 240px; margin-bottom: 1.25rem; } }

/* Book a consultation: copper pill with an ink outline */
.btn-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.8rem 1.4rem 0.75rem; border-radius: 999px;
  background: var(--copper); color: var(--paper); border: 1.5px solid var(--ink);
  transition: background 160ms ease, transform 160ms ease; cursor: pointer; font-family: inherit; line-height: 1;
}
.btn-cta:hover, .btn-cta:focus-visible { background: #a8633a; transform: translateY(-1px); }
.btn-cta span { font-size: 1.05em; transition: transform 160ms ease; }
.btn-cta:hover span { transform: translateX(3px); }
.btn-cta--large { font-size: 0.82rem; padding: 1rem 1.7rem 0.95rem; }
.nav a.nav-cta.btn-cta { color: var(--paper); border-bottom: 1.5px solid var(--ink); padding: 0.75rem 1.3rem 0.7rem; }
.nav a.nav-cta.btn-cta:hover { border-bottom-color: var(--ink); }
@media (max-width: 860px) { .nav a.nav-cta.btn-cta { display: inline-flex; width: auto; margin-top: 0.75rem; border-bottom: 1.5px solid var(--ink); } }

/* Enquiry dialog */
body.enquiry-open { overflow: hidden; }
.enquiry[hidden] { display: none; }
.enquiry { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.enquiry-backdrop { position: absolute; inset: 0; background: rgba(15, 35, 64, 0.55); backdrop-filter: blur(2px); }
.enquiry-panel { position: relative; background: var(--paper); border-top: 2px solid var(--copper); width: min(100%, 680px); max-height: calc(100vh - 2rem); overflow: auto; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 30px 80px rgba(15, 35, 64, 0.35); }
.enquiry-panel h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.5rem; }
.enquiry-intro { margin-bottom: 1.5rem; }
.enquiry-close { position: absolute; top: 0.9rem; right: 1rem; background: none; border: 0; font-size: 1.75rem; line-height: 1; color: var(--slate); cursor: pointer; padding: 0.25rem 0.5rem; }
.enquiry-close:hover { color: var(--ink); }
.enquiry-hp { position: absolute; left: -9999px; }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--wide { grid-column: 1 / -1; }
.field span { font-weight: 500; font-size: 0.68rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--slate); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--mist); border-radius: 0; padding: 0.8rem 0.9rem; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
.field textarea { resize: vertical; min-height: 7rem; }
.enquiry-error { color: #8a2f1f; margin-top: 1rem; }
@media (max-width: 600px) { .enquiry-grid { grid-template-columns: 1fr; } .enquiry { padding: 0; align-items: stretch; } .enquiry-panel { width: 100%; max-height: 100vh; border-top-width: 3px; } }

/* Contact page: the form inline */
.enquiry-inline .enquiry-panel { position: static; box-shadow: none; border-top: 0; padding: 0; max-height: none; width: 100%; }

/* FAQ */
.faq-list { border-top: 1px solid var(--mist); }
.faq { border-bottom: 1px solid var(--mist); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.15rem; font-weight: 400; margin: 0; }
.faq-mark { position: relative; width: 14px; height: 14px; flex: none; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; background: var(--copper); left: 0; top: 6px; width: 14px; height: 1px; transition: transform 160ms ease; }
.faq-mark::after { transform: rotate(90deg); }
.faq[open] .faq-mark::after { transform: rotate(0); }
.faq-body { padding: 0 0 1.4rem; }
.faq-body p { color: var(--slate); max-width: 62ch; }
.faq summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
