/* ==========================================================================
   NORDHOLM — LP-HOME-001 / warm-ivory
   Single-page template · light editorial furniture theme
   --------------------------------------------------------------------------
   01. Fonts
   02. Tokens
   03. Reset & base
   04. Utilities
   05. Buttons & links
   06. Header
   07. Hero
   08. Assurance strip
   09. Craft
   10. Collections
   11. Numbers
   12. Quote
   13. Studio
   14. Enquiry & form
   15. Footer
   16. Motion & reveal
   17. Responsive
   ========================================================================== */

/* 01. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 02. Tokens --------------------------------------------------------------- */
:root {
  /* palette */
  --ivory: #fbfaf6;
  --white: #ffffff;
  --sand: #f2eee4;
  --sand-deep: #e8e1d2;
  --sage: #dde4d9;
  --line: #e3ddd0;
  --line-strong: #d3cab8;

  --ink: #1b201c;
  --ink-soft: #454b45;
  --muted: #787e75;

  --green: #23483a;
  --green-deep: #183328;
  --green-mid: #3a6a55;
  --green-tint: #eef2ec;

  /* type */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --container: 1240px;
  --gutter: 40px;
  --section-y: 120px;
  --radius: 2px;

  /* effects */
  --shadow-card: 0 18px 48px -28px rgba(27, 32, 28, 0.45);
  --shadow-note: 0 28px 60px -30px rgba(24, 51, 40, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 03. Reset & base --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

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

::selection { background: var(--green); color: var(--ivory); }

/* 04. Utilities ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  top: -100px; left: 24px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--green);
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  line-height: 1.4;
}
.eyebrow--light { color: rgba(251, 250, 246, 0.72); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-top: 18px;
  text-wrap: balance;
}

.lede {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 56ch;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.section-head--tight { padding-bottom: 48px; margin-bottom: 48px; }
.section-head__side {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 34ch;
  justify-self: end;
  padding-bottom: 6px;
}

/* 05. Buttons & links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--ivory);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn--solid:hover { background: var(--green-deep); }
.btn--solid:active { transform: translateY(1px); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--outline:hover { background: var(--green); border-color: var(--green); color: var(--ivory); }

.btn--text {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
}
.btn--text:hover { color: var(--green-mid); border-color: var(--green-mid); }

.btn--sm { padding: 12px 22px; font-size: 11.5px; }
.btn--block { width: 100%; justify-content: center; }

.btn__icon { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(35, 72, 58, 0.35);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { border-color: var(--green); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--ivory); border-color: rgba(251, 250, 246, 0.4); }
.link-arrow--light:hover { border-color: var(--ivory); }

/* 06. Header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 24px;
  background: transparent;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
              box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  padding-block: 14px;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -26px rgba(27, 32, 28, 0.6);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.site-header__inner > .brand { justify-self: start; }
.site-header__inner > .nav { justify-self: center; }
.site-header__inner > .site-header__aside { justify-self: end; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand__mark { width: 24px; height: 24px; color: var(--green); flex: none; }
.brand__type {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.1;
  color: var(--ink);
}
.brand__sub {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 4px;
}
.brand--light .brand__type { color: var(--ivory); }
.brand--light .brand__sub { color: rgba(251, 250, 246, 0.5); }
.brand--light .brand__mark { color: var(--sage); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__link {
  position: relative;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

.nav__foot { display: none; }

.site-header__aside {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-header__phone {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.site-header__phone:hover { color: var(--green-mid); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px; height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* 07. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: calc(var(--section-y) + 40px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 68px;
  align-items: center;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.1vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 22px;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  color: var(--green-mid);
}

.hero__lede {
  margin-top: 26px;
  max-width: 44ch;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 38px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero__meta li {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 22px;
  margin-right: 22px;
  border-right: 1px solid var(--line-strong);
  line-height: 1.4;
}
.hero__meta li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.hero__media {
  position: relative;
  z-index: 1;
}
.hero__media > img {
  width: 100%;
  aspect-ratio: 5 / 4.35;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero__note {
  position: absolute;
  left: 0;
  bottom: -52px;
  width: min(320px, 84%);
  padding: 30px 32px 32px;
  background: var(--green);
  color: rgba(251, 250, 246, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow-note);
}
.hero__note p {
  font-family: var(--serif);
  font-size: 19.5px;
  line-height: 1.42;
  color: var(--ivory);
  margin: 12px 0 18px;
}
.hero__note .link-arrow { color: var(--ivory); border-color: rgba(251, 250, 246, 0.4); }

/* 08. Assurance strip ----------------------------------------------------- */
.assurance {
  padding-block: var(--section-y) calc(var(--section-y) - 16px);
  border-top: 1px solid var(--line);
  background: var(--ivory);
}
.assurance__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.assurance__item {
  padding: 8px 44px 0;
  border-left: 1px solid var(--line);
}
.assurance__item:first-child { padding-left: 0; border-left: 0; }
.assurance__item:last-child { padding-right: 0; }

.assurance__icon {
  width: 30px; height: 30px;
  color: var(--green-mid);
  margin-bottom: 22px;
}
.assurance__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.assurance__item p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 34ch;
}

/* 09. Craft --------------------------------------------------------------- */
.craft {
  padding-block: var(--section-y);
  background: var(--white);
}
.craft__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 84px;
  align-items: start;
}

.craft__figure {
  position: relative;
  margin: 0;
}
.craft__frame {
  position: relative;
}
.craft__frame::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  z-index: 0;
}
.craft__frame > img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.craft__caption {
  position: relative;
  z-index: 1;
  margin-top: 46px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.craft__body .lede { margin-top: 26px; }

.craft__list {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.craft__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.craft__num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--green-mid);
  padding-top: 4px;
}
.craft__list h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.craft__list p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 46ch;
}

.craft__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 40px;
}
.craft__note {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 10. Collections --------------------------------------------------------- */
.collections {
  padding-block: var(--section-y);
  background: var(--ivory);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.card {
  display: flex;
  flex-direction: column;
  color: var(--ink-soft);
}
.card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.card__media img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--line);
}
.card__index {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--green-mid);
}
.card__count {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 18px;
  transition: color 0.3s var(--ease);
}
.card:hover .card__title { color: var(--green-mid); }
.card__desc {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34ch;
}
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__cta svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.card:hover .card__cta svg { transform: translateX(5px); }

/* 11. Numbers ------------------------------------------------------------- */
.numbers {
  padding-block: 92px;
  background: var(--green);
  position: relative;
  overflow: hidden;
}
.numbers::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 140% at 88% 0%, rgba(221, 228, 217, 0.1), transparent 58%);
  pointer-events: none;
}
.numbers__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.numbers__item {
  padding-inline: 40px;
  border-left: 1px solid rgba(251, 250, 246, 0.16);
}
.numbers__item:first-child { padding-left: 0; border-left: 0; }

.numbers__value {
  display: flex;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--ivory);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.numbers__unit { font-size: 0.62em; margin-left: 2px; color: rgba(251, 250, 246, 0.7); }
.numbers__label {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 250, 246, 0.62);
}

/* 12. Quote --------------------------------------------------------------- */
.quote {
  padding-block: 116px;
  background: var(--sand);
}
.quote__inner { max-width: 940px; }
.quote__figure { margin: 0; }
.quote blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.9vw, 2.35rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.quote blockquote p::before {
  content: "";
  display: block;
  width: 44px; height: 1px;
  background: var(--green-mid);
  margin-bottom: 34px;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 34px;
  padding-left: 2px;
}
.quote__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.quote__role {
  font-size: 13.5px;
  color: var(--muted);
}

/* 13. Studio ------------------------------------------------------------- */
.studio {
  padding-block: var(--section-y);
  background: var(--ivory);
}
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team__photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.team__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.team__member:hover .team__photo img { transform: scale(1.04); filter: saturate(1) contrast(1.03); }
.team__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--ink);
  margin-top: 20px;
}
.team__role {
  margin-top: 4px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.team__join {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 30px;
  background: var(--green);
  border-radius: var(--radius);
  min-height: 100%;
}
.team__join-text {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  color: var(--ivory);
  margin: 14px 0 22px;
}

/* 14. Enquiry ------------------------------------------------------------- */
.enquiry {
  padding-block: var(--section-y);
  background: var(--white);
  border-top: 1px solid var(--line);
}
.enquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 88px;
  align-items: start;
}
.enquiry__intro .lede { margin-top: 24px; }

.enquiry__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.enquiry__details dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.enquiry__details dd {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}
.enquiry__details a { border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.enquiry__details a:hover { border-bottom-color: var(--green-mid); }

.form {
  padding: 48px 46px 44px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
}
.field { position: relative; margin-bottom: 26px; }
.field label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field label span { color: var(--green-mid); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder,
.field textarea::placeholder { color: #a9aea6; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--green);
}
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 28px;
}
.field select:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 4px; }

.select-wrap { position: relative; }
.select-wrap svg {
  position: absolute;
  right: 2px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--muted);
  pointer-events: none;
}

.field__error {
  position: absolute;
  left: 0; bottom: -18px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #a4432f;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.field.has-error input,
.field.has-error textarea { border-bottom-color: #a4432f; }
.field.has-error .field__error { opacity: 1; }

.form__note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}
.form__success {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--green-tint);
  border-left: 2px solid var(--green-mid);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--green-deep);
}

/* 15. Footer -------------------------------------------------------------- */
.site-footer {
  background: #141a16;
  color: rgba(251, 250, 246, 0.6);
  padding-top: 88px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 68px;
  border-bottom: 1px solid rgba(251, 250, 246, 0.12);
}
.site-footer__blurb {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.75;
  max-width: 34ch;
  color: rgba(251, 250, 246, 0.52);
}

.newsletter {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  max-width: min(360px, 100%);
  border-bottom: 1px solid rgba(251, 250, 246, 0.22);
  transition: border-color 0.3s var(--ease);
}
.newsletter:focus-within { border-bottom-color: rgba(251, 250, 246, 0.6); }
.newsletter input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 13.5px;
}
.newsletter input::placeholder { color: rgba(251, 250, 246, 0.38); }
.newsletter input:focus { outline: none; }
.newsletter button {
  padding: 8px;
  background: none;
  border: 0;
  color: var(--ivory);
  cursor: pointer;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.newsletter button svg { width: 16px; height: 16px; }
.newsletter button:hover { transform: translateX(3px); color: var(--sage); }
.newsletter__msg {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  font-size: 11.5px;
  color: var(--sage);
}

.site-footer__head {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 250, 246, 0.42);
  margin-bottom: 22px;
}
.site-footer__col ul { display: grid; gap: 12px; }
.site-footer__col a {
  font-size: 14px;
  color: rgba(251, 250, 246, 0.72);
  transition: color 0.25s var(--ease);
}
.site-footer__col a:hover { color: var(--ivory); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px 34px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(251, 250, 246, 0.4);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.site-footer__legal a { transition: color 0.25s var(--ease); }
.site-footer__legal a:hover { color: var(--ivory); }

/* 16. Motion & reveal ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* 17. Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --gutter: 32px; --section-y: 100px; }
  .hero__grid { gap: 48px; }
  .craft__grid { gap: 60px; }
  .enquiry__grid { gap: 56px; }
  .site-header__phone { display: none; }
}

@media (max-width: 1024px) {
  .nav__list { gap: 28px; }
  .hero { padding-top: 144px; }
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__media { max-width: 640px; }
  .hero__note { bottom: -44px; }
  .assurance__item { padding-inline: 28px; }
  .craft__grid { grid-template-columns: 1fr; gap: 56px; }
  .craft__figure { max-width: 520px; }
  .craft__frame::before { inset: 16px -16px -16px 16px; }
  .enquiry__grid { grid-template-columns: 1fr; gap: 48px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 860px) {
  :root { --section-y: 84px; }

  .site-header__aside { display: none; }
  .burger { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px var(--gutter) 48px;
    background: var(--ivory);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.55s var(--ease), opacity 0.4s var(--ease), visibility 0.55s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nav__link {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink);
    padding-block: 10px;
  }
  .nav__link::after { display: none; }
  .nav__foot {
    display: block;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .nav__foot .btn { width: 100%; justify-content: center; }
  .nav__foot-note {
    margin-top: 14px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  body.nav-open { overflow: hidden; }

  .assurance__grid { grid-template-columns: 1fr; gap: 0; }
  .assurance__item {
    padding: 30px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .assurance__item:first-child { border-top: 0; padding-top: 0; }
  .assurance__icon { margin-bottom: 16px; }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 36px;
    margin-bottom: 40px;
  }
  .section-head__side { justify-self: start; max-width: 46ch; }

  .cards { grid-template-columns: 1fr; gap: 48px; }
  .card__media img { aspect-ratio: 4 / 3.4; }

  .numbers { padding-block: 68px; }
  .numbers__grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .numbers__item { padding-inline: 0 24px; }
  .numbers__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .numbers__item:nth-child(3) { border-left: 0; padding-left: 0; }

  .quote { padding-block: 80px; }

  .form { padding: 36px 28px 32px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .hero__note {
    position: relative;
    left: auto; bottom: auto;
    width: 100%;
    margin-top: -34px;
    margin-left: 0;
    max-width: none;
  }
  .hero__media { display: flex; flex-direction: column; }
  .hero { padding-bottom: var(--section-y); }
}

@media (max-width: 620px) {
  :root { --gutter: 22px; --section-y: 72px; }

  body { font-size: 15.5px; }
  .hero { padding-top: 122px; }
  .hero__title { font-size: clamp(2.35rem, 9.4vw, 3rem); }
  .hero__lede { font-size: 15.5px; margin-top: 20px; }
  .hero__actions { margin-top: 30px; gap: 12px 24px; }
  .hero__meta { margin-top: 34px; gap: 12px 0; }
  .hero__meta li { font-size: 10.5px; padding-right: 14px; margin-right: 14px; }

  .assurance__title { font-size: 20px; }

  .craft__frame::before { inset: 12px -12px -12px 12px; }

  .cards { gap: 40px; }
  .card__title { font-size: 24px; }

  /* team: compact rows instead of a 2-col grid with a hole */
  .team { grid-template-columns: 1fr; gap: 4px; }
  .team__member {
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto auto;
    gap: 2px 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .team__photo { grid-row: 1 / span 2; }
  .team__photo img { aspect-ratio: 1 / 1; }
  .team__name { grid-column: 2; margin-top: 0; font-size: 19px; }
  .team__role { grid-column: 2; font-size: 10.5px; letter-spacing: 0.06em; }
  .team__join {
    grid-column: auto;
    min-height: 0;
    margin-top: 26px;
    padding: 30px 26px;
  }
  .team__join-text { font-size: 18px; }

  .enquiry__details { grid-template-columns: 1fr; gap: 24px; }
  .form { padding: 28px 20px 26px; }

  .site-footer { padding-top: 64px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 44px; }
  .site-footer__bottom { flex-direction: column; }

  .quote blockquote p::before { margin-bottom: 26px; }
}
