/* Origin Design & Build — site styles
   Mobile first: base styles are for ~375px, then 768px and 1024px up. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours */
  --charcoal: #2B2B2B;
  --gold: #C8A25A;
  --gold-on-dark: #D3B075;
  --warm-white: #F8F8F8;
  --concrete: #7A7A7A;
  --stone: #EFECE6;

  /* Derived tones (mixes of the brand colours above) */
  --text-on-dark-soft: color-mix(in srgb, var(--warm-white) 78%, var(--charcoal));
  --header-bg: color-mix(in srgb, var(--warm-white) 88%, transparent);

  /* Type */
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-label: 13px;
  --fs-h1: 40px;
  --fs-h2: 32px;
  --fs-h3: 20px;
  --fs-lead: 21px;
  --fs-statement: 26px;
  --fs-fact: 26px;
  --fs-section-number: 64px;
  --fs-step-number: 56px;
  --lh-body: 1.6;
  --lh-heading: 1.15;
  --tracking-label: 0.18em;
  --measure: 68ch;

  /* Space */
  --gutter: 16px;
  --container: 1200px;
  --section-space: 88px;
  --header-height: 88px;
  --rule: 1px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --fs-h1: 56px;
    --fs-h2: 40px;
    --fs-fact: 30px;
    --fs-section-number: 88px;
    --fs-step-number: 64px;
    --section-space: 112px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
    --fs-body: 18px;
    --fs-h1: 72px;
    --fs-h2: 52px;
    --fs-h3: 22px;
    --fs-lead: 24px;
    --fs-statement: 34px;
    --fs-fact: 34px;
    --fs-section-number: 128px;
    --fs-step-number: 72px;
    --section-space: 144px;
    --header-height: 88px;
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: var(--lh-heading);
}

h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Elements switched off with the hidden attribute stay hidden, whatever their display style */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--charcoal);
  color: var(--warm-white);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Section label: a short drawn line, then the label */
.label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: 1.5;
}

.label::before,
.eyebrow::before {
  content: "";
  flex: 0 0 32px;
  height: var(--rule);
  background: currentColor;
}

/* ---------- Scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0ms);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 150;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--charcoal);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  border: var(--rule) solid var(--charcoal);
  border-radius: 2px;
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
  background: var(--charcoal);
  color: var(--warm-white);
}

/* The one gold moment on a button: hover */
.btn-primary:hover,
.btn-light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

/* Light button for charcoal sections */
.btn-light {
  background: var(--warm-white);
  border-color: var(--warm-white);
  color: var(--charcoal);
}

.btn-small {
  min-height: 44px;
  padding: 10px 20px;
}

.btn-large {
  width: 100%;
  min-height: 60px;
}

.btn .icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* A drawn arrow that lengthens on hover */
.btn-arrow {
  position: relative;
  width: 18px;
  height: var(--rule);
  background: currentColor;
  transition: width 0.25s var(--ease);
}

.btn-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.btn:hover .btn-arrow {
  width: 28px;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .button-row {
    flex-direction: row;
  }
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: 32px 24px;
  border: var(--rule) solid transparent;
  background: var(--stone);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

/* Gold corner bracket that draws in on hover, like a dimension mark */
.card::before,
.card::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  background: var(--gold);
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
}

.card::before {
  width: 0;
  height: 2px;
}

.card::after {
  width: 2px;
  height: 0;
}

.card:hover {
  border-color: var(--charcoal);
}

.card:hover::before {
  width: 40px;
}

.card:hover::after {
  height: 40px;
}

@media (min-width: 1024px) {
  .card {
    padding: 40px 36px;
  }
}

/* ---------- 0 · Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: var(--rule) solid transparent;
  transition: border-color 0.3s var(--ease);
}

/* Frosted background on its own layer, so the phone menu can still cover the screen */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--stone);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  min-height: var(--header-height);
  padding-top: 12px;
  padding-bottom: 12px;
  transition: min-height 0.3s var(--ease);
}

.is-scrolled .header-inner {
  min-height: calc(var(--header-height) - 12px);
}

.header-logo {
  display: block;
  flex: none;
}

.header-logo img {
  width: 220px;
  height: auto;
}

/* Without JavaScript: links sit in a row under the logo */
.site-nav {
  flex: 1 0 100%;
}

.site-nav ul {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.site-nav li a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
}

.nav-whatsapp,
.menu-toggle,
.header-whatsapp {
  display: none;
}

/* With JavaScript, on phones and tablets: a full-screen menu */
@media (max-width: 1023px) {
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--charcoal);
    font-family: inherit;
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-toggle-lines {
    position: relative;
    width: 24px;
    height: 8px;
  }

  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
  }

  .menu-toggle-lines::before {
    top: 0;
  }

  .menu-toggle-lines::after {
    top: 6.5px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
    top: 3.25px;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
    top: 3.25px;
    transform: rotate(-45deg);
  }

  .js .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px var(--gutter) 40px;
    background: var(--warm-white);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .js .site-header.menu-is-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .js .site-nav li {
    border-bottom: var(--rule) solid var(--stone);
  }

  .js .site-nav li a {
    min-height: 72px;
    font-size: 28px;
    letter-spacing: -0.01em;
  }

  .js .nav-whatsapp {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    flex: 0 1 auto;
    margin-left: auto;
  }

  .site-nav ul {
    gap: 36px;
  }

  /* Underline that draws in from the left */
  .site-nav li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: var(--rule);
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }

  .site-nav li a:hover::after {
    transform: scaleX(1);
  }

  .header-whatsapp {
    display: inline-flex;
  }
}

/* ---------- 1 · Hero ---------- */

.hero {
  padding: 40px 0 56px;
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 24px;
}

.hero-sub {
  margin-top: 28px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 30em;
}

/* The drawing sheet: stone panel, faint grid, crop marks in the corners */
.plan-sheet {
  position: relative;
  padding: 32px 20px 20px;
  background-color: var(--stone);
  background-image:
    linear-gradient(var(--warm-white) var(--rule), transparent var(--rule)),
    linear-gradient(90deg, var(--warm-white) var(--rule), transparent var(--rule));
  background-size: 24px 24px;
  background-position: -1px -1px;
}

.crop {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--charcoal);
  border-style: solid;
  border-width: 0;
}

.crop-tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.crop-tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.crop-bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.crop-br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }

.plan-drawing {
  width: 100%;
  height: auto;
  overflow: visible;
}

.plan-drawing path,
.plan-drawing rect {
  fill: none;
}

.plan-wall {
  stroke: var(--charcoal);
  stroke-width: 2;
}

.plan-fine,
.plan-dim {
  stroke: var(--charcoal);
  stroke-width: 1.25;
}

.plan-tick {
  stroke: var(--charcoal);
  stroke-width: 2;
}

.plan-extension {
  stroke: var(--concrete);
  stroke-width: 1.25;
}

.plan-swing {
  stroke: var(--gold);
  stroke-width: 2;
}

.plan-label {
  fill: var(--charcoal);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.plan-caption {
  display: flex;
  justify-content: space-between;
  max-width: none;
  margin: 12px 4px 0;
  padding-top: 10px;
  border-top: var(--rule) solid var(--charcoal);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* The drawing draws itself, then the door swings open.
   main.js measures each line into --len; without it the drawing just shows. */
@media (prefers-reduced-motion: no-preference) {
  .plan-drawing .draw,
  .plan-swing {
    stroke-dasharray: var(--len, 0);
  }

  .plan-drawing .draw {
    animation: draw-line 1.4s var(--ease) both;
  }

  .plan-drawing .fade {
    opacity: 0;
    animation: fade-in 0.8s var(--ease) forwards;
  }

  .plan-drawing .d0 { animation-delay: 0.2s; }
  .plan-drawing .d1 { animation-delay: 0.5s; }
  .plan-drawing .d2 { animation-delay: 0.8s; }
  .plan-drawing .d3 { animation-delay: 1.1s; }
  .plan-drawing .d4 { animation-delay: 1.4s; }

  .plan-door {
    transform-box: view-box;
    transform-origin: 160px 356px;
    transform: rotate(90deg);
    animation: door-open 1.2s var(--ease) 1.9s forwards;
  }

  .plan-swing {
    animation: draw-line 1.2s var(--ease) 1.9s both;
  }
}

@keyframes draw-line {
  from { stroke-dashoffset: var(--len, 0); }
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes door-open {
  to { transform: rotate(0deg); }
}

/* Facts strip: real figures from how we work */
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin-top: 56px;
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-top: var(--rule) solid var(--charcoal);
}

.facts strong {
  font-size: var(--fs-fact);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.facts span {
  font-size: var(--fs-small);
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .hero {
    padding: 72px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 7fr 5fr;
    gap: 72px;
  }

  .plan-sheet {
    padding: 44px 32px 24px;
  }

  .facts {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 32px;
    margin-top: 88px;
  }

  .facts li {
    padding: 24px 0 0;
  }
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  border-top: var(--rule) solid var(--charcoal);
  border-bottom: var(--rule) solid var(--charcoal);
  background: var(--stone);
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker ul {
  display: flex;
  flex: none;
}

.ticker li {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0 18px 32px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  white-space: nowrap;
}

/* A small door-swing arc between items */
.ticker li::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1.5px solid var(--charcoal);
  border-right: 1.5px solid var(--charcoal);
  border-top-right-radius: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: ticker 50s linear infinite;
  }

  .ticker:hover .ticker-track {
    animation-play-state: paused;
  }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  padding: var(--section-space) 0;
}

.section-stone {
  background: var(--stone);
}

.section-dark {
  background: var(--charcoal);
  color: var(--warm-white);
}

.section-dark :focus-visible {
  outline-color: var(--warm-white);
}

/* Section heading with a large outlined number, drawn not filled */
.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 48px;
}

.section-number {
  font-size: var(--fs-section-number);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--charcoal);
}

.section-dark .section-number {
  -webkit-text-stroke-color: var(--warm-white);
}

.section-head .label {
  margin-bottom: 12px;
}

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 40px;
    margin-bottom: 80px;
  }

  .section-head-stacked {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- 2 · Services ---------- */

.services-grid {
  display: grid;
  gap: 16px;
}

.service {
  background: var(--stone);
}

.glyph {
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
}

.glyph path,
.glyph rect,
.glyph circle {
  fill: none;
  stroke: var(--charcoal);
  stroke-width: 1.5;
}

.glyph .glyph-dashed {
  stroke-dasharray: 3 3;
}

.glyph .glyph-arc {
  transition: stroke 0.3s var(--ease);
}

.service:hover .glyph-arc {
  stroke: var(--gold);
}

.service h3 {
  margin-bottom: 16px;
}

.service p {
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.tags li {
  padding: 8px 16px;
  border: var(--rule) solid var(--charcoal);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .tags {
    justify-content: center;
    margin-top: 48px;
  }
}

/* ---------- 3 · Commitments ---------- */

.commitments {
  display: grid;
  gap: 16px;
}

.commitments .card {
  background: var(--warm-white);
}

.commitment-number {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* A short dimension line after the number */
.commitment-number::after {
  content: "";
  flex: 0 0 40px;
  height: var(--rule);
  background: var(--charcoal);
}

.commitments h3 {
  margin-bottom: 12px;
}

.commitments p {
  margin: 0;
}

@media (min-width: 768px) {
  .commitments {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .commitments {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ---------- 4 · How a project runs ---------- */

/* A chain of dimension lines: each step starts with a tick */
.steps {
  display: grid;
}

.step {
  position: relative;
  padding: 32px 0 40px;
  border-top: var(--rule) solid var(--concrete);
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: var(--rule);
  height: 13px;
  background: var(--warm-white);
  transform: rotate(45deg);
}

.step-number {
  display: block;
  margin-bottom: 20px;
  font-size: var(--fs-step-number);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--warm-white);
  transition: color 0.4s var(--ease);
}

.step:hover .step-number {
  color: var(--warm-white);
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  margin: 0;
  color: var(--text-on-dark-soft);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step {
    padding-right: 40px;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .step {
    padding: 40px 48px 0 0;
  }

  /* End tick on the last step of each row */
  .step:nth-child(3n)::after {
    content: "";
    position: absolute;
    right: 0;
    top: -7px;
    width: var(--rule);
    height: 13px;
    background: var(--warm-white);
    transform: rotate(45deg);
  }
}

/* ---------- 5 · About ---------- */

.about-grid {
  display: grid;
  gap: 48px;
}

.about-text .lead {
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.45;
}

.statement {
  margin: 1.4em 0;
  padding-left: 24px;
  border-left: 2px solid var(--charcoal);
  font-size: var(--fs-statement);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.about-photo figcaption {
  margin-top: 16px;
  font-size: var(--fs-small);
}

.credentials-card {
  align-self: start;
  padding: 8px 24px;
  background: var(--stone);
}

.credentials {
  margin: 0;
}

.credentials div {
  padding: 20px 0;
}

.credentials div + div {
  border-top: var(--rule) solid var(--charcoal);
}

.credentials dt,
.contact-details dt {
  margin-bottom: 4px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.credentials dd,
.contact-details dd {
  margin: 0;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 7fr 5fr;
    grid-template-areas:
      "text photo"
      "text credentials";
    grid-template-rows: auto 1fr;
    column-gap: 80px;
    row-gap: 48px;
  }

  .about-text {
    grid-area: text;
  }

  .about-photo {
    grid-area: photo;
  }

  .credentials-card {
    grid-area: credentials;
    padding: 16px 36px;
  }
}

/* ---------- 6 · FAQ ---------- */

.faq-grid {
  display: grid;
}

.faq-list {
  border-bottom: var(--rule) solid var(--charcoal);
}

.faq-list details {
  border-top: var(--rule) solid var(--charcoal);
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

/* Plus sign drawn with two lines; the vertical one turns flat when open */
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list details p {
  padding-bottom: 24px;
  margin: 0;
}

/* Smooth open and close, in browsers that support it */
@media (prefers-reduced-motion: no-preference) {
  .faq-list details::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete;
  }

  .faq-list details[open]::details-content {
    height: auto;
  }
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 4fr 8fr;
    column-gap: 80px;
    align-items: start;
  }

  .faq-grid .section-head {
    position: sticky;
    top: calc(var(--header-height) + 32px);
  }

  .faq-list summary {
    padding: 28px 56px 28px 0;
  }
}

/* ---------- 7 · Contact ---------- */

.contact-grid {
  display: grid;
  gap: 48px;
}

.contact-intro .btn-large {
  margin: 16px 0 32px;
}

.contact-details div {
  padding: 14px 0;
  border-top: var(--rule) solid var(--concrete);
}

.contact-details a {
  overflow-wrap: anywhere;
}

.form-card {
  padding: 28px 20px;
  background: var(--warm-white);
  color: var(--charcoal);
}

.form-card :focus-visible {
  outline-color: var(--charcoal);
}

.form-title {
  margin: 0;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.enquiry-form {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  gap: 24px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  padding: 0;
  font-size: 16px;
  font-weight: 600;
}

.field legend {
  margin-bottom: 8px;
}

.optional {
  font-weight: 500;
}

.hint {
  margin: 0;
  font-size: var(--fs-small);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  border-bottom: var(--rule) solid var(--charcoal);
  border-radius: 0;
  background: transparent;
  color: var(--charcoal);
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

textarea {
  padding: 12px 14px;
  border: var(--rule) solid var(--charcoal);
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 1px 0 0 var(--charcoal);
}

::placeholder {
  color: var(--charcoal);
  opacity: 0.7;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 2px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

/* Chevron drawn with two borders */
.select-wrap::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--charcoal);
  border-bottom: 1.5px solid var(--charcoal);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.radio-row {
  display: flex;
  gap: 32px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}

.field .choice {
  font-weight: 500;
}

.choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
  accent-color: var(--charcoal);
}

.consent {
  align-items: flex-start;
  font-size: var(--fs-small);
}

.consent input {
  margin-top: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-error {
  margin: 0;
  padding: 16px;
  border: var(--rule) solid var(--charcoal);
}

.form-thanks h3 {
  margin-bottom: 16px;
}

.form-thanks:focus {
  outline: none;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-card {
    padding: 40px;
  }

  .contact-intro .btn-large {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    column-gap: 80px;
    align-items: start;
  }

  .form-card {
    padding: 48px;
  }

  .enquiry-form .btn-large {
    width: auto;
    justify-self: start;
  }
}

/* ---------- Privacy page ---------- */

.legal {
  padding: 48px 0 var(--section-space);
}

.legal-inner {
  max-width: calc(760px + 2 * var(--gutter));
}

.legal-head {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: var(--rule) solid var(--charcoal);
}

.legal-meta {
  margin: 16px 0 28px;
  font-size: var(--fs-small);
  font-weight: 600;
}

.legal .lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  margin: 0;
}

.legal section {
  margin-bottom: 48px;
}

.legal h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 24px;
}

/* Section number in gold: the one gold moment, decorative only */
.legal h2 span {
  flex: none;
  color: var(--gold);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  list-style: disc;
  max-width: var(--measure);
}

.legal li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-back {
  margin-top: 64px;
}

@media (min-width: 1024px) {
  .legal {
    padding-top: 80px;
  }

  .legal h2 {
    font-size: 28px;
  }
}

/* ---------- 8 · Footer ---------- */

.site-footer {
  padding: 72px 0 112px;
  background: var(--charcoal);
  color: var(--warm-white);
  font-size: var(--fs-small);
  border-top: var(--rule) solid var(--concrete);
}

.site-footer :focus-visible {
  outline-color: var(--warm-white);
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-logo {
  width: 220px;
  height: auto;
  margin-bottom: 24px;
}

.footer-reg {
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.footer-heading {
  margin-bottom: 12px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.footer-col li {
  padding: 6px 0;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: var(--rule) solid var(--concrete);
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: 40px;
  }
}

/* ---------- Sticky WhatsApp button ---------- */

.sticky-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: var(--rule) solid var(--warm-white);
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--warm-white);
  transition: transform 0.25s var(--ease);
}

.sticky-whatsapp:hover {
  transform: scale(1.06);
}

.sticky-whatsapp .icon {
  width: 30px;
  height: 30px;
}

.sticky-whatsapp:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}

body.menu-open .sticky-whatsapp {
  display: none;
}

@media (min-width: 1024px) {
  .sticky-whatsapp {
    display: none;
  }
}
