/* ==========================================================================
   Craftora · Home
   Built from Figma "CRAFTORA / Website / Direction 1"
   Desktop frame 1440 (≥1024px here), mobile frame 390 (<1024px here).
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */
:root {
  --ink: #100f0f;
  --ink-soft: #3a3633;
  --muted: #6e675f;
  --paper: #f5f0e9;
  --stone: #e9dfd7;
  --line: #dcd2c6;
  --line-dark: #2e2a27;
  --gold: #cf9b48;
  --gold-deep: #8c6326;
  --on-dark-muted: #b9b2a6;

  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5.13vw, 40px);
  --container: 1440px;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
  :root {
    --gutter: clamp(40px, 5.556vw, 80px);
  }
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

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

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.custom :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

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

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

@media (min-width: 1024px) {
  .only-mobile { display: none !important; }
}

@media (max-width: 1023.98px) {
  .only-desktop { display: none !important; }
}

/* Type -------------------------------------------------------------------- */

/* Label/Eyebrow: Montserrat Medium 12/16, +22%, with the gold rule */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--gold);
  transform-origin: left center;
}

.eyebrow--dark {
  color: var(--gold);
}

/* Very narrow phones: let long labels wrap instead of pushing the page sideways */
@media (max-width: 359.98px) {
  .eyebrow,
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* Display/L: Cormorant Garamond Medium 56/62 (mobile 36/42) */
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 2.6vw + 26px, 48px);
  line-height: 1.1667;
  letter-spacing: 0;
  color: var(--ink);
}

@media (min-width: 1024px) {
  .display {
    font-size: clamp(44px, 3.889vw, 56px);
    line-height: 1.1071;
    letter-spacing: -0.005em;
  }
}

/* Body/L desktop 17/30, Body/M mobile 15/26 */
.lead {
  font-size: 15px;
  line-height: 26px;
}

@media (min-width: 1024px) {
  .lead {
    font-size: 17px;
    line-height: 30px;
  }
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.12s var(--ease-out-quart);
}

.btn:active {
  transform: scale(0.98);
}

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

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--ink-soft);
}

.btn--secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn--secondary:hover {
  background: rgba(16, 15, 15, 0.06);
}

.btn--on-dark {
  background: var(--stone);
  color: var(--ink);
}

.btn--on-dark:hover {
  background: var(--paper);
}

.btn--on-dark-secondary {
  border: 1px solid var(--stone);
  color: var(--stone);
}

.btn--on-dark-secondary:hover {
  background: rgba(233, 223, 215, 0.1);
}

.btn--block {
  display: flex;
  width: 100%;
}

.cta-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 1023.98px) {
  .cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .cta-row .btn {
    width: 100%;
  }
}

/* Text link with arrow (Label/Nav) */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}

.text-link img {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.text-link:hover img {
  transform: translateX(3px);
}

/* Cropped photos ------------------------------------------------------------
   Each photo keeps the exact crop set in Figma: the image is sized and offset
   as a percentage of a fixed-ratio frame. --w/--h/--x/--y are the desktop
   crop; --mw/--mh/--mx/--my override it below 1024px. */
.crop {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}

.crop > img {
  position: absolute;
  max-width: none;
  left: var(--x, 0%);
  top: var(--y, 0%);
  width: var(--w, 100%);
  height: var(--h, 100%);
  transform: scale(var(--zoom, 1));
}

@media (max-width: 1023.98px) {
  .crop > img {
    left: var(--mx, var(--x, 0%));
    top: var(--my, var(--y, 0%));
    width: var(--mw, var(--w, 100%));
    height: var(--mh, var(--h, 100%));
  }
}

/* Header -------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: transform 0.45s var(--ease-out-quart), box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px -20px rgba(15, 15, 15, 0.28);
}

.site-header.is-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.logo-mark {
  width: 34.633px;
  height: 32px;
}

.logo-word {
  width: 150px;
  height: 14.98px;
}

.nav {
  display: none;
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  margin: -10px -10px -10px 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* Both icons stay rendered (visibility, not display) so neither flashes in late */
.menu-toggle img {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 24px;
  height: 24px;
}

.menu-icon-close,
.menu-toggle[aria-expanded="true"] .menu-icon-open {
  visibility: hidden;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  visibility: visible;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(15, 15, 15, 0.08);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav.is-open {
    transform: none;
    transition: none;
  }
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
  padding-block: 8px 24px;
}

.mobile-nav-link {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
}

.mobile-nav .btn {
  margin-top: 24px;
}

@media (min-width: 1024px) {
  .header-inner {
    padding-block: 22px;
  }

  .logo {
    gap: 14px;
  }

  .logo-mark {
    width: 43.292px;
    height: 40px;
  }

  .logo-word {
    width: 188px;
    height: 18.775px;
  }
}

@media (min-width: 1120px) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3.056vw, 44px);
  }

  .nav-link {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat;
    padding-bottom: 3px;
    margin-bottom: -3px;
    transition: background-size 0.25s ease;
  }

  .nav-link:hover {
    background-size: 100% 1px;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero ------------------------------------------------------------------ */
.hero {
  padding-block: 36px 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "text"
    "figure"
    "facts";
}

.hero-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(42px, 4.2vw + 26px, 60px);
  line-height: 1.0952;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-deep);
}

/* Each line is a mask; the padding keeps italic overhangs and descenders unclipped */
.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0 0.12em 0.14em;
  margin: 0 -0.12em -0.14em;
}

.hero-title .line > * {
  display: block;
}

.hero-intro {
  margin-top: 20px;
  max-width: 560px;
  font-size: 15px;
  line-height: 26px;
  color: var(--ink-soft);
}

.hero-text .cta-row {
  margin-top: 28px;
  width: 100%;
}

.hero-figure {
  grid-area: figure;
  margin-top: 36px;
}

.hero-image {
  aspect-ratio: 350 / 438;
}

.hero-caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.hero-caption-meta::before {
  content: " · ";
}

.facts {
  grid-area: facts;
  position: relative;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.facts::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left center;
}

.fact {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.fact-value {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  white-space: nowrap;
}

.fact-label {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

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

  .hero-grid {
    grid-template-columns: minmax(0, 640fr) minmax(0, 560fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      ".     figure"
      "text  figure"
      "facts figure"
      ".     figure";
    column-gap: clamp(40px, 5.556vw, 80px);
  }

  .hero-title {
    margin-top: 28px;
    font-size: clamp(52px, 5.278vw, 76px);
    line-height: 1.0526;
    letter-spacing: -0.01em;
  }

  .hero-intro {
    margin-top: 28px;
    max-width: 500px;
    font-size: 17px;
    line-height: 30px;
  }

  .hero-text .cta-row {
    margin-top: 40px;
    width: auto;
  }

  .hero-figure {
    margin-top: 0;
  }

  .hero-image {
    aspect-ratio: 560 / 700;
  }

  .hero-caption {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 16px;
  }

  .hero-caption-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
  }

  .hero-caption-meta::before {
    content: none;
  }

  .facts {
    margin-top: 56px;
    padding-top: 28px;
    flex-direction: row;
    gap: 48px;
  }

  .fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .fact-value {
    font-size: 30px;
    font-weight: 500;
    line-height: 34px;
  }
}

/* Steps (process + custom work) -------------------------------------------- */
.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid transparent;
}

.step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--line);
  transform-origin: left center;
}

.step-num {
  flex: none;
  width: 32px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  color: var(--gold-deep);
}

.step-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: var(--ink);
}

.step-body {
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-soft);
}

.steps--dark .step {
  padding-block: 18px;
}

.steps--dark .step::after {
  background: var(--line-dark);
}

.steps--dark .step-num {
  color: var(--gold);
}

.steps--dark .step-title {
  color: var(--stone);
}

.steps--dark .step-body {
  color: var(--on-dark-muted);
}

@media (min-width: 1024px) {
  .step {
    gap: 32px;
    padding-block: 24px;
    border-bottom: 0;
    border-top: 1px solid transparent;
  }

  .step::after {
    top: -1px;
    bottom: auto;
  }

  .step-num {
    width: 44px;
    font-size: 30px;
    font-weight: 500;
    line-height: 34px;
  }

  .step-copy {
    gap: 6px;
  }

  .step-title {
    font-size: 24px;
    line-height: 30px;
  }

  .step-body {
    font-size: 15px;
    line-height: 26px;
  }

  .steps--dark .step {
    gap: 24px;
    padding-block: 24px;
  }
}

/* Process --------------------------------------------------------------- */
.process {
  background: var(--stone);
  padding-block: 64px;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "image"
    "steps";
}

.process-head {
  grid-area: head;
}

.process-head .display {
  margin-top: 16px;
}

.process-image {
  grid-area: image;
  margin-top: 28px;
  aspect-ratio: 350 / 300;
}

.process .steps {
  grid-area: steps;
  margin-top: 12px;
}

@media (min-width: 1024px) {
  .process {
    padding-block: 112px;
  }

  .process-grid {
    grid-template-columns: minmax(0, 520fr) minmax(0, 664fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      "image ."
      "image head"
      "image steps"
      "image .";
    column-gap: clamp(48px, 6.667vw, 96px);
  }

  .process-head .display {
    margin-top: 24px;
  }

  .process-image {
    margin-top: 0;
    aspect-ratio: 520 / 640;
  }

  .process .steps {
    margin-top: 48px;
  }
}

/* Section heads (themes, pieces, installed) -------------------------------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.heading .display {
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .heading .display {
    margin-top: 20px;
  }
}

/* Themes ---------------------------------------------------------------- */
.themes {
  padding-top: 64px;
}

.theme-scroller {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.theme-scroller::-webkit-scrollbar {
  display: none;
}

.theme-tile {
  flex: none;
  width: 240px;
  scroll-snap-align: start;
}

.theme-image {
  aspect-ratio: 296 / 400;
}

.theme-image img,
.piece-image img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.theme-tile:hover .theme-image img {
  --zoom: 1.03;
}

.tile-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  white-space: nowrap;
}

.tile-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.tile-count {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

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

  .theme-scroller {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: 48px;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }

  .theme-tile {
    width: auto;
  }
}

/* Selected pieces -------------------------------------------------------- */
.pieces {
  padding-block: 56px 64px;
}

.piece-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 12px;
  margin-top: 24px;
}

.piece-image {
  aspect-ratio: 296 / 370;
}

.piece-card:hover .piece-image img {
  --zoom: 1.03;
}

.piece-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
}

.piece-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.piece-meta {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.piece-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.piece-price {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

.enquire-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-deep);
}

.enquire-link img {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.enquire-link:hover img {
  transform: translateX(3px);
}

.pieces-more {
  margin-top: 32px;
}

/* Tablets: the four mobile cards sit in one row */
@media (min-width: 700px) and (max-width: 1023.98px) {
  .piece-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 16px;
  }
}

@media (min-width: 1024px) {
  .pieces {
    padding-block: 112px;
  }

  .piece-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 56px 32px;
    margin-top: 48px;
  }

  .piece-title {
    font-size: 24px;
    line-height: 30px;
  }
}

/* In your space ------------------------------------------------------------ */
.installed {
  padding-bottom: 64px;
}

.installed-head {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.installed-intro {
  color: var(--ink-soft);
  max-width: 560px;
}

.room {
  margin-top: 24px;
}

.room-photo {
  aspect-ratio: 350 / 280;
}

.room-caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .installed {
    padding-bottom: 112px;
  }

  .installed-head {
    flex-direction: row;
    align-items: flex-end;
    gap: 32px;
  }

  .installed-intro {
    flex: 0 1 480px;
    max-width: 480px;
  }

  .room {
    position: relative;
    margin-top: 48px;
  }

  .room-photo {
    aspect-ratio: 1280 / 640;
  }

  .room-caption {
    position: absolute;
    left: 32px;
    bottom: 32px;
    margin-top: 0;
    padding: 20px 24px;
    background: var(--paper);
    white-space: nowrap;
  }

  .room-caption-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
  }
}

/* Custom work ------------------------------------------------------------ */
.custom {
  background: var(--ink);
  padding-block: 64px;
}

.custom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "steps"
    "ctas";
}

.custom-head {
  grid-area: head;
}

.custom-head .display {
  margin-top: 16px;
  color: var(--stone);
}

.custom-intro {
  margin-top: 16px;
  color: var(--on-dark-muted);
}

.custom .steps {
  grid-area: steps;
  margin-top: 20px;
}

.custom-ctas {
  grid-area: ctas;
  margin-top: 28px;
}

@media (min-width: 1024px) {
  .custom {
    padding-block: 120px;
  }

  .custom-grid {
    grid-template-columns: minmax(0, 640fr) minmax(0, 560fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "head steps"
      "ctas steps"
      ".    steps";
    column-gap: clamp(40px, 5.556vw, 80px);
    align-items: start;
  }

  .custom-head .display {
    margin-top: 24px;
  }

  .custom-intro {
    margin-top: 24px;
    max-width: 480px;
  }

  .custom .steps {
    margin-top: 0;
  }

  .custom-ctas {
    margin-top: 40px;
  }
}

/* Enquiry ---------------------------------------------------------------- */
.enquiry {
  padding-block: 64px;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.enquiry-copy .display {
  margin-top: 16px;
}

.enquiry-intro {
  margin-top: 12px;
  color: var(--ink-soft);
}

.enquiry-copy > .btn {
  margin-top: 24px;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: var(--line);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-weight: 500;
  white-space: nowrap;
}

.contact-row dt {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row dd {
  font-size: 14px;
  line-height: 20px;
}

.contact-row .contact-address {
  text-align: right;
}

.contact-row a:hover,
.submit-note a:hover {
  color: var(--gold-deep);
}

/* Form */
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.form-row {
  display: contents;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
}

.input {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font-size: 15px;
  line-height: 26px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.input:hover {
  border-color: #c9bcac;
}

.input:focus {
  outline: none;
  border-color: var(--ink);
}

.input:user-invalid {
  border-color: #a8452f;
}

.textarea {
  height: 112px;
  padding-top: 13px;
  resize: vertical;
}

.select-wrap {
  position: relative;
  display: block;
}

.select {
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select-icon {
  position: absolute;
  top: 18px;
  right: 17px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.upload {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px dashed var(--ink-soft);
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.upload:hover {
  background: rgba(16, 15, 15, 0.03);
}

.upload.has-file {
  border-style: solid;
  color: var(--ink);
}

.upload:focus-within {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

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

.upload-text {
  flex: 1 1 0;
  min-width: 0;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

/* Mobile: the form's send button is the outline style, full width */
.btn-submit {
  width: 100%;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-submit:hover {
  background: rgba(16, 15, 15, 0.06);
}

.submit-note {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
  white-space: nowrap;
}

.form-status {
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-soft);
}

.form-status:empty {
  display: none;
}

.form-status a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-submit[aria-busy="true"] {
  opacity: 0.6;
  cursor: progress;
}

/* Thank-you and error pages for the no-JavaScript form post */
.notice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 640px;
  padding-block: 96px;
}

.notice-text {
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-soft);
}

@media (min-width: 1024px) {
  .enquiry {
    padding-block: 120px;
  }

  .enquiry-grid {
    grid-template-columns: minmax(0, 440fr) minmax(0, 700fr);
    column-gap: clamp(48px, 9.722vw, 140px);
    align-items: start;
  }

  .enquiry-copy .display {
    margin-top: 24px;
  }

  .enquiry-intro {
    margin-top: 20px;
    max-width: 420px;
  }

  .contact-list {
    margin-top: 40px;
  }

  .enquiry-form {
    gap: 20px;
    margin-top: 0;
    padding: 48px;
    background: var(--stone);
  }

  .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .textarea {
    height: 128px;
  }

  .upload-text {
    white-space: nowrap;
  }

  .submit-row {
    margin-top: 0;
    padding-top: 8px;
  }

  .btn-submit {
    width: auto;
    border: 0;
    background: var(--ink);
    color: var(--paper);
  }

  .btn-submit:hover {
    background: var(--ink-soft);
  }
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--stone);
  padding-block: 48px 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-cols {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  white-space: nowrap;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 20px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col a {
  font-size: 13px;
  line-height: 20px;
  color: var(--stone);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-studio p {
  margin-top: 12px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-size: 13px;
  line-height: 20px;
  color: var(--on-dark-muted);
}

.footer-tags {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: pre;
}

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

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-brand {
    gap: 24px;
  }

  .footer-cols {
    justify-content: flex-start;
    gap: clamp(48px, 6.667vw, 96px);
  }

  .footer-col ul {
    gap: 14px;
    margin-top: 14px;
  }

  .footer-bottom {
    margin-top: 64px;
    padding-top: 24px;
  }
}

/* Mobile WhatsApp bar -------------------------------------------------------- */
.wa-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 12px var(--gutter);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(15, 15, 15, 0.08);
}

.wa-bar.is-tucked {
  transform: translateY(calc(100% + 24px));
}

@media (max-width: 1023.98px) {
  /* Leave room so the fixed bar never covers the footer */
  body {
    padding-bottom: calc(73px + env(safe-area-inset-bottom, 0px));
  }
}

/* Motion ----------------------------------------------------------------------
   Unhurried and "carved": gold rules and dividers draw in like a router pass,
   photos are uncovered from the bottom edge and settle, text rises a short way.
   Nothing bounces. Everything here is scoped to .motion, which the inline
   script in <head> adds only for visitors who haven't asked for reduced
   motion, so without it (or without JavaScript) the page is simply static. */

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes line-rise {
  from { transform: translateY(120%); }
  to { transform: none; }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes unveil {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes settle {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nudge {
  0%, 100% { transform: none; }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

/* Hero: the one choreographed entrance, played once fonts and photo are ready */
.motion:not(.is-loaded) .hero .eyebrow,
.motion:not(.is-loaded) .hero-intro,
.motion:not(.is-loaded) .hero .cta-row,
.motion:not(.is-loaded) .hero-caption,
.motion:not(.is-loaded) .fact {
  opacity: 0;
}

.motion:not(.is-loaded) .hero-title .line > * {
  transform: translateY(120%);
}

.motion:not(.is-loaded) .hero .eyebrow::before,
.motion:not(.is-loaded) .facts::before {
  transform: scaleX(0);
}

.motion:not(.is-loaded) .hero-image {
  clip-path: inset(100% 0 0 0);
}

.motion.is-loaded .hero .eyebrow {
  animation: fade 0.7s var(--ease-out-quart) both;
}

.motion.is-loaded .hero .eyebrow::before {
  animation: draw 0.9s var(--ease-out-expo) 0.1s both;
}

.motion.is-loaded .hero-title .line > * {
  animation: line-rise 1s var(--ease-out-expo) both;
}

.motion.is-loaded .hero-title .line:nth-child(1) > * { animation-delay: 0.12s; }
.motion.is-loaded .hero-title .line:nth-child(2) > * { animation-delay: 0.22s; }
.motion.is-loaded .hero-title .line:nth-child(3) > * { animation-delay: 0.32s; }

.motion.is-loaded .hero-intro {
  animation: rise 0.9s var(--ease-out-expo) 0.48s both;
}

.motion.is-loaded .hero .cta-row {
  animation: rise 0.9s var(--ease-out-expo) 0.58s both;
}

.motion.is-loaded .hero-image {
  animation: unveil 1.3s var(--ease-out-expo) 0.15s both;
}

.motion.is-loaded .hero-image > img {
  animation: settle 1.8s var(--ease-out-expo) 0.15s both;
}

.motion.is-loaded .hero-caption {
  animation: fade 0.7s var(--ease-out-quart) 0.9s both;
}

.motion.is-loaded .facts::before {
  animation: draw 1.1s var(--ease-out-expo) 0.7s both;
}

.motion.is-loaded .fact {
  animation: rise 0.8s var(--ease-out-expo) both;
}

.motion.is-loaded .fact:nth-child(1) { animation-delay: 0.82s; }
.motion.is-loaded .fact:nth-child(2) { animation-delay: 0.9s; }
.motion.is-loaded .fact:nth-child(3) { animation-delay: 0.98s; }

/* Scroll reveals. main.js adds .is-in (and .is-revealing while the transition
   runs) as each element enters, staggering elements that arrive together. */
.motion [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(24px);
}

.motion [data-reveal].is-revealing {
  transition: opacity 0.9s var(--ease-out-quart) var(--delay, 0ms),
    transform 1.1s var(--ease-out-expo) var(--delay, 0ms);
}

/* Gold eyebrow rules and step dividers draw in from the left */
.motion [data-reveal]:not(.is-in) .eyebrow::before,
.motion .eyebrow[data-reveal]:not(.is-in)::before,
.motion .step[data-reveal]:not(.is-in)::after {
  transform: scaleX(0);
}

.motion [data-reveal].is-revealing .eyebrow::before,
.motion .eyebrow[data-reveal].is-revealing::before,
.motion .step[data-reveal].is-revealing::after {
  transition: transform 1.1s var(--ease-out-expo) calc(var(--delay, 0ms) + 150ms);
}

/* Photos are uncovered from the bottom edge, then settle from a slight zoom */
.motion [data-reveal-image],
.motion [data-reveal-card] .crop {
  clip-path: inset(0 0 0 0);
}

.motion [data-reveal-image]:not(.is-in),
.motion [data-reveal-card]:not(.is-in) .crop {
  clip-path: inset(100% 0 0 0);
}

.motion [data-reveal-image]:not(.is-in) > img,
.motion [data-reveal-card]:not(.is-in) .crop > img {
  --zoom: 1.1;
}

.motion [data-reveal-image].is-revealing,
.motion [data-reveal-card].is-revealing .crop {
  transition: clip-path 1.3s var(--ease-out-expo) var(--delay, 0ms);
}

.motion [data-reveal-image].is-revealing > img,
.motion [data-reveal-card].is-revealing .crop > img {
  transition: transform 1.8s var(--ease-out-expo) var(--delay, 0ms);
}

/* Card captions follow their photo */
.motion [data-reveal-card]:not(.is-in) > :not(.crop) {
  opacity: 0;
  transform: translateY(14px);
}

.motion [data-reveal-card].is-revealing > :not(.crop) {
  transition: opacity 0.8s var(--ease-out-quart) calc(var(--delay, 0ms) + 300ms),
    transform 1s var(--ease-out-expo) calc(var(--delay, 0ms) + 300ms);
}

/* Mobile menu items arrive one after another */
.motion .mobile-nav-link,
.motion .mobile-nav .btn {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.motion .mobile-nav.is-open .mobile-nav-link,
.motion .mobile-nav.is-open .btn {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease-out-quart) var(--d, 0ms),
    transform 0.5s var(--ease-out-expo) var(--d, 0ms);
}

.mobile-nav-link:nth-child(1) { --d: 40ms; }
.mobile-nav-link:nth-child(2) { --d: 80ms; }
.mobile-nav-link:nth-child(3) { --d: 120ms; }
.mobile-nav-link:nth-child(4) { --d: 160ms; }
.mobile-nav .btn { --d: 210ms; }

/* Mobile WhatsApp bar slides up once the hero has settled */
.motion .wa-bar {
  transform: translateY(calc(100% + 24px));
  transition: transform 0.6s var(--ease-out-expo);
}

.motion .wa-bar.is-shown {
  transform: none;
}

.motion .wa-bar.is-tucked {
  transform: translateY(calc(100% + 24px));
  transition-duration: 0.3s;
}

/* Form feedback */
.motion .input.is-shaking {
  animation: nudge 0.4s var(--ease-out-quart);
}

.motion .form-status:not(:empty) {
  animation: rise 0.6s var(--ease-out-expo) both;
}

/* Reduced motion: no movement anywhere, state changes are instant */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
