/* ==========================================================================
   Rēgīe - regiestudio.nl
   Fonts: Cormorant Garamond (headings) + DM Sans (body), self-hosted, OFL.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --cream: #F5F2ED;
  --ink: #2C2925;
  --gold: #906B23;
  --gold-text: #8A6620;
  --nutmeg: #7B3F2B;
  --card: #F2F4F7;
  --white: #FFFFFF;
  --line: rgba(44, 41, 37, 0.14);
  --line-strong: rgba(44, 41, 37, 0.28);
  --step-num: #9B775B;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.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: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(1040px + 2 * var(--gutter)); }
.container--wide { max-width: calc(1280px + 2 * var(--gutter)); }
.container--full { max-width: none; }
.center { text-align: center; }

.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.page-intro { padding: 160px 0 0; }
.page-intro + .section { padding-top: 96px; }

/* ---------- Type ---------- */
.h1 { font-family: var(--serif); font-size: 72px; line-height: 0.95; letter-spacing: -0.05em; }
.h2 { font-family: var(--serif); font-size: 56px; line-height: 0.95; letter-spacing: -0.05em; }
.h2--sm { font-size: 48px; line-height: 1; letter-spacing: -0.04em; }
.h2--italic, .display-italic { font-style: italic; }
.display-italic { font-family: var(--serif); font-size: 64px; line-height: 0.95; letter-spacing: -0.05em; font-weight: 500; }
.h3 { font-family: var(--serif); font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; }
.lead { font-size: 26px; line-height: 1.4; letter-spacing: -0.03em; }
.lead + .lead { margin-top: 24px; }
.body-text { font-weight: 300; font-size: 18px; line-height: 1.5; }
.body-text--regular { font-weight: 400; line-height: 1.38; letter-spacing: -0.02em; }
.body-text p + p { margin-top: 1.5em; }
.body-text strong { font-weight: 700; }
.measure { max-width: 800px; }

/* Tag pill */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(144, 107, 35, 0.55);
  border-radius: 100px;
  font-size: 16px; line-height: 1.3; letter-spacing: -0.03em; text-transform: uppercase;
  margin-bottom: 40px;
}
.tag__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }

/* Buttons with text roll */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 20px;
  border-radius: 12px; border: 0;
  font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1;
  letter-spacing: -0.03em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.btn--light { background: var(--cream); color: var(--ink); }
.btn--nutmeg { background: var(--nutmeg); color: var(--white); }
.btn--light:hover { background: var(--white); }
.btn--nutmeg:hover { background: #6B3524; }
.btn__arrow { flex: none; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.15; height: 1.15em; }
.roll__inner { display: block; position: relative; transition: transform .45s var(--ease); }
.roll__inner::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
a:hover .roll__inner, a:focus-visible .roll__inner { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .roll__inner { transition: none; } a:hover .roll__inner { transform: none; } }

/* Divider */
.divider { border: 0; border-top: 1px solid var(--line); margin: 0 auto; width: calc(100% - 2 * 80px); max-width: 1200px; }
.divider--full { width: calc(100% - 2 * var(--gutter)); max-width: none; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 35px 30px 0;
  color: var(--ink);
}
.site-header--light { position: absolute; top: 0; left: 0; right: 0; color: var(--white); }
.logo { justify-self: start; font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.15; letter-spacing: -0.04em; text-decoration: none; color: inherit; }
.page-philosophy .logo, .page-about .logo, .page-services .logo, .page-contact .logo, .page-privacy .logo, .page-terms .logo { color: #000; }
.nav ul { display: flex; gap: 40px; list-style: none; }
.nav a { font-size: 14px; font-weight: 500; letter-spacing: -0.03em; text-transform: uppercase; text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav a[aria-current="page"] .roll { overflow: visible; }
.nav a[aria-current="page"]:hover .roll__inner { transform: none; }
.nav a[aria-current="page"] .roll__inner::after { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.lang-switch__item { padding: 6px 6px; text-decoration: none; opacity: 0.55; transition: opacity .2s; }
.lang-switch__item + .lang-switch__item { border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 35%, transparent); }
.lang-switch__item.is-active, .lang-switch__item:hover { opacity: 1; }

.menu-toggle { display: none; justify-self: end; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; z-index: 40; }
.menu-toggle__bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle__bar:nth-of-type(2) { top: 18px; }
.menu-toggle__bar:nth-of-type(3) { top: 25px; }
.menu-open .menu-toggle__bar:nth-of-type(2) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle__bar:nth-of-type(3) { top: 21.5px; transform: rotate(-45deg); }
.menu-open .site-header { color: var(--ink); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 15;
  background: var(--cream); color: var(--ink);
  padding: 120px 24px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .35s var(--ease);
}
.mobile-menu.is-visible { opacity: 1; }
.mobile-menu ul { list-style: none; display: grid; gap: 14px; }
.mobile-menu a { font-family: var(--serif); font-size: 40px; line-height: 1.1; letter-spacing: -0.04em; text-decoration: none; }
.mobile-menu a[aria-current="page"] { color: var(--nutmeg); }
.mobile-menu .lang-switch { font-size: 16px; }
.mobile-menu .lang-switch a { font-family: var(--sans); font-size: 16px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 75%; }
.hero__overlay { position: absolute; inset: 0; background: var(--ink); opacity: 0.38; }
.hero__content { position: absolute; inset: 0; padding: 0 32px; }
.hero__title { position: absolute; top: 33%; left: 32px; right: 32px; font-family: var(--serif); font-size: 72px; line-height: 1.1; letter-spacing: -0.05em; }
.hero__bottom { position: absolute; left: 40px; bottom: 56px; max-width: 320px; }
.hero__intro { font-size: 18px; line-height: 1.4; letter-spacing: -0.04em; margin-bottom: 24px; }
.hero__scroll { position: absolute; right: 54px; bottom: 50px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--white); opacity: .85; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }

/* ---------- Home: reality ---------- */
.reality { padding-top: 100px; }
.reality__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.reality__text { padding-top: 0; }
.reality__media { border-radius: 20px; overflow: hidden; aspect-ratio: 500 / 440; }
.reality__media img { width: 100%; height: 100%; object-fit: cover; }

.who { padding-top: 20px; padding-bottom: 40px; }
.who__heading { margin-bottom: 24px; line-height: 1.08; letter-spacing: -0.03em; }
.who__text { max-width: 1040px; }

.for-whom { padding-top: 40px; padding-bottom: 60px; }
.for-whom .h3 { margin-bottom: 20px; }
.for-whom__list { list-style: none; display: grid; gap: 14px; font-weight: 300; margin-bottom: 64px; }
.for-whom__list strong { font-weight: 700; }

.section--cta { padding-top: 40px; padding-bottom: 100px; }
.cta-card { background: var(--nutmeg); color: var(--white); border-radius: 24px; padding: 120px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-card__heading { max-width: 700px; line-height: 0.95; margin-bottom: 24px; }
.cta-card__text { max-width: 700px; font-weight: 300; font-size: 18px; line-height: 1.35; letter-spacing: -0.02em; }
.cta-card__text p + p { margin-top: 1em; }
.cta-card__sectors { margin-top: 24px; font-weight: 300; }
.cta-card .btn { margin-top: 32px; }

/* ---------- Studio philosophy ---------- */
.page-intro .h1 { margin: 0; }
.collage { display: block; margin-top: 80px; }
.collage img { width: 100%; height: auto; }
.how__head { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; margin: 32px 0 80px; }
.how__intro { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; }
.how__grid { display: grid; grid-template-columns: 530px 1fr; gap: 60px; align-items: start; }
.how__media { border-radius: 20px; overflow: hidden; aspect-ratio: 530 / 495; }
.how__media img { width: 100%; height: 100%; object-fit: cover; }
.principles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.principle { background: var(--card); border: 1px solid rgba(44, 41, 37, 0.06); border-radius: 12px; padding: 24px; min-height: 245px; font-size: 16px; line-height: 1.35; }
.principle__num { display: block; font-size: 18px; line-height: 1; margin-bottom: 28px; }
.principle strong { font-weight: 700; }
.quote { margin: 120px auto 0; max-width: 1120px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; color: var(--nutmeg); }

.brand-pause { background: var(--nutmeg); color: var(--white); text-align: center; padding: 120px 40px; }
.brand-pause__name { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.04em; margin-bottom: 24px; }
.brand-pause__words { list-style: none; font-weight: 300; font-size: 18px; line-height: 1.45; }
.brand-pause__final { margin-top: 24px; }

/* ---------- About ---------- */
.display-italic { margin-bottom: 48px; max-width: 1120px; }
.story__text { max-width: 720px; }
.backgrounds { display: grid; grid-template-columns: 269px 1fr; gap: 40px; align-items: start; }
.backgrounds__media { border-radius: 24px; overflow: hidden; aspect-ratio: 269 / 358; }
.backgrounds__media img { width: 100%; height: 100%; object-fit: cover; }
.backgrounds .h2 { margin: 30px 0 24px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; margin-top: 56px; }
.person { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; }
.person__photo { width: 180px; height: 240px; object-fit: cover; border-radius: 16px; }
.person__name { font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1.2; margin-bottom: 12px; }
.person__bio { font-size: 16px; line-height: 1.6; }
.person__bio p + p { margin-top: 1.6em; }
.page-about .section--cta { padding-top: 100px; }

/* ---------- Services ---------- */
.services-intro { display: grid; grid-template-columns: 520px 1fr; gap: 40px; align-items: center; }
.services-intro__text { font-weight: 400; }
.services-intro__diagram { justify-self: center; width: 100%; max-width: 440px; }
.diagram { width: 100%; height: auto; overflow: visible; }

.accordion { border-top: 1px solid var(--line-strong); }
.step { border-bottom: 1px solid var(--line); }
.step__summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 24px; padding: 24px 24px 22px; }
.step__summary::-webkit-details-marker { display: none; }
.step__icon { grid-column: 1; width: 34px; height: 34px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
.step__title-row { grid-column: 1; display: flex; align-items: baseline; gap: 12px; }
.step__num { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--step-num); }
.step__title { font-family: var(--serif); font-size: 27px; line-height: 1.05; }
.step__badge { align-self: center; font-size: 10px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 2px 6px; }
.step__toggle { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; width: 12px; height: 12px; }
.step__toggle::before, .step__toggle::after { content: ""; position: absolute; background: var(--ink); transition: transform .35s var(--ease), opacity .35s; }
.step__toggle::before { left: 0; right: 0; top: 50%; height: 1px; }
.step__toggle::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.step[open] .step__toggle::after { transform: rotate(90deg); opacity: 0; }
.step__summary:hover .step__title { color: var(--nutmeg); }
.step__body { padding: 0 24px 28px; font-size: 14px; line-height: 1.55; max-width: 720px; }
.step__label { font-weight: 700; margin: 4px 0 8px; font-size: 13px; }
.step__label:not(:first-child) { margin-top: 18px; }
.step__list { padding-left: 14px; }
.step__list li::marker { font-size: 0.8em; }
.step[open] .step__body { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step[open] .step__body { animation: none; } }
.services-steps { padding-bottom: 120px; }

/* ---------- Contact ---------- */
.page-intro--wide .container { padding: 0 var(--gutter); }
.contact-intro { max-width: 560px; margin-top: 24px; font-size: 16px; line-height: 1.35; letter-spacing: -0.02em; }
.page-contact .page-intro + .divider { margin-top: 48px; }
.contact-grid { display: flex; justify-content: center; align-items: flex-start; gap: 44px; padding: 0 var(--gutter) 30px; }
.contact-card { border: 1px solid var(--line-strong); border-radius: 4px; background: var(--cream); }
.contact-details { width: 270px; padding: 28px 28px 28px; font-size: 16px; }
.contact-details hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.contact-details__label { color: var(--gold-text); margin-bottom: 6px; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-form { width: 406px; padding: 32px; }
.contact-form__heading { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; margin-bottom: 16px; }
.field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-size: 16px; margin-bottom: 10px; letter-spacing: -0.02em; }
.req { color: var(--gold); font-size: 13px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white);
  padding: 9px 12px; font: 400 14px/1.3 var(--sans); color: var(--ink);
}
.field input { height: 36px; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(144, 107, 35, 0.15); }
.field ::placeholder { color: rgba(44, 41, 37, 0.5); }
.contact-form__note { font-size: 12px; line-height: 1.4; color: rgba(44, 41, 37, 0.7); margin: -4px 0 16px; }
.contact-form__submit { background: var(--gold); color: var(--white); border: 0; padding: 0 24px; height: 40px; font: 700 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background-color .25s; }
.contact-form__submit:hover { background: #7A5A1D; }
.contact-form__submit[disabled] { opacity: .6; cursor: progress; }
.contact-form__status { margin-top: 14px; font-size: 14px; }
.contact-form__status.is-error { color: #A0301F; }
.contact-form.is-sent .field, .contact-form.is-sent .contact-form__submit, .contact-form.is-sent .contact-form__note { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Legal ---------- */
.legal { max-width: calc(600px + 2 * var(--gutter)); margin: 0 auto; padding: 200px var(--gutter) 120px; }
.legal__title { font-family: var(--serif); font-size: 61px; line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; margin-bottom: 40px; }
.legal__updated { margin-bottom: 40px; }
.legal__body { font-size: 16px; line-height: 1.6; }
.legal__body h2 { font-family: var(--serif); font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; text-transform: uppercase; margin: 64px 0 20px; }
.legal__body p { margin-bottom: 16px; }
.legal__body ul { padding-left: 20px; margin-bottom: 16px; }
.legal__body li { margin-bottom: 6px; }
.legal__body strong { font-weight: 700; }
.legal__body a { color: var(--nutmeg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--gold); color: var(--cream); padding: 56px 20px 40px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(229, 229, 229, 0.7); }
.site-footer__heading { font-family: var(--serif); font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 18px; }
.social { display: flex; gap: 12px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(245, 242, 237, 0.55); display: grid; place-items: center; color: var(--cream); transition: background-color .25s, color .25s; }
.social a:hover { background: var(--cream); color: var(--gold); }
.site-footer__bottom { display: flex; justify-content: flex-end; gap: 26px; padding-top: 14px; font-size: 16px; letter-spacing: -0.03em; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { text-decoration: underline; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js [data-split].is-in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Tablet  (810 - 1199)
   ========================================================================== */
@media (max-width: 1199.98px) {
  :root { --gutter: 32px; }
  .nav ul { gap: 24px; }
  .h1 { font-size: 64px; }
  .h2 { font-size: 48px; }
  .display-italic { font-size: 54px; }
  .reality__grid { gap: 32px; }
  .how__head { grid-template-columns: 1fr 300px; }
  .how__grid { grid-template-columns: 1fr; }
  .how__media { aspect-ratio: 16 / 9; }
  .principle { min-height: 0; }
  .services-intro { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 1023.98px) {
  .nav { display: none; }
  .header-actions { display: none; }
  .menu-toggle { display: block; }
  .site-header { grid-template-columns: 1fr auto; padding: 20px 20px 0; }
}

/* ==========================================================================
   Mobile  (< 810)
   ========================================================================== */
@media (max-width: 809.98px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .logo { font-size: 30px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .page-intro { padding-top: 160px; }
  .page-intro + .section { padding-top: 56px; }
  .h1 { font-size: 56px; }
  .h2 { font-size: 40px; line-height: 1.02; }
  .h2--sm { font-size: 40px; }
  .h3 { font-size: 36px; }
  .display-italic { font-size: 44px; line-height: 0.98; margin-bottom: 32px; }
  .lead { font-size: 22px; }
  .tag { margin-bottom: 28px; font-size: 14px; }
  .divider { width: calc(100% - 2 * var(--gutter)); }

  .hero__title { top: 18%; left: 20px; right: 20px; font-size: 52px; line-height: 1.02; }
  .hero__bottom { left: 20px; right: 20px; bottom: 44px; }
  .hero__intro { font-size: 16px; }
  .hero__scroll { right: 20px; bottom: 50px; }

  .reality__grid { grid-template-columns: 1fr; gap: 48px; }
  .reality__media { aspect-ratio: 310 / 468; max-width: 420px; }
  .who__heading { line-height: 1.12; }
  .for-whom__list { margin-bottom: 44px; }
  .cta-card { padding: 72px 24px; border-radius: 20px; }
  .cta-card__heading { font-size: 44px; }

  .collage { margin: 56px calc(-1 * var(--gutter)) 0; }
  .how__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .how__grid { gap: 32px; }
  .how__media { aspect-ratio: 310 / 240; }
  .principles { grid-template-columns: 1fr; }
  .quote { margin-top: 72px; font-size: 26px; }
  .brand-pause { padding: 96px 20px; }

  .backgrounds { grid-template-columns: 1fr; gap: 32px; }
  .backgrounds__media { aspect-ratio: 350 / 467; max-width: 420px; }
  .backgrounds .h2 { margin-top: 0; }
  .team { margin-top: 40px; }
  .person { grid-template-columns: 1fr; gap: 20px; }
  .person__photo { width: 120px; height: 160px; }

  .services-intro { grid-template-columns: 1fr; gap: 40px; }
  .step__summary { padding: 22px 4px 20px; }
  .step__body { padding: 0 4px 24px; }
  .step__title { font-size: 25px; }

  .contact-grid { flex-direction: column; align-items: stretch; gap: 24px; }
  .contact-details, .contact-form { width: 100%; }
  .contact-form { padding: 24px 20px; }

  .legal { padding-top: 150px; }
  .legal__title { font-size: 44px; }
  .legal__body h2 { font-size: 32px; margin-top: 48px; }

  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer__heading { font-size: 30px; }
  .site-footer__bottom { justify-content: flex-start; flex-wrap: wrap; }
}

/* Spacing between headings and following text */
.h2 + .body-text, .h2 + .measure { margin-top: 24px; }
.services-intro__diagram { max-width: 520px; }

/* Touch devices: no text-roll effect, allow long labels to wrap */
@media (hover: none) {
  .roll { height: auto; overflow: visible; }
  .roll__inner::after { display: none; }
}
@media (max-width: 809.98px) {
  .hero__title { font-size: clamp(38px, 11.2vw, 52px); }
  .btn { white-space: normal; height: auto; min-height: 44px; padding: 13px 18px; line-height: 1.2; text-align: left; }
  .btn .roll { height: auto; overflow: visible; }
  .btn .roll__inner::after { display: none; }
}

/* The hidden attribute must win over display:flex */
.mobile-menu[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* Nav items vertically centred with logo and button */
.nav ul { align-items: center; }
.nav li { display: flex; align-items: center; }
.nav a { display: inline-flex; align-items: center; line-height: 1; }

/* Text roll, matched to the Framer original: the label slides up out of view,
   a short empty beat, then the copy rises in from below */
.roll__inner { transition: transform .5s cubic-bezier(0.25, 1, 0.35, 1); }
.roll__inner::after { top: 300%; }
a:hover .roll__inner, a:focus-visible .roll__inner { transform: translateY(-300%); }

/* Current page in the menu: no underline (as on the original), roll stays active */
.nav a[aria-current="page"] { text-decoration: none; }
.nav a[aria-current="page"] .roll { overflow: hidden; }
.nav a[aria-current="page"] .roll__inner::after { display: block; }
.nav a[aria-current="page"]:hover .roll__inner { transform: translateY(-300%); }


/* ==========================================================================
   Layout matched to the Framer original at wide screens (measured at 1920px)
   ========================================================================== */

/* Header overlays every page, so content starts at the same height as before */
.site-header { position: absolute; top: 0; left: 0; right: 0; }

/* "Who we are" and "For whom": 1280px wide at 1440, growing to 1360px */
.who .container--wide, .for-whom .container--wide {
  max-width: none;
  padding-left: max(80px, calc((100% - 1360px) / 2));
  padding-right: max(80px, calc((100% - 1360px) / 2));
}

/* Footer content max 1480px wide, centred */
.site-footer {
  padding-left: max(20px, calc((100% - 1480px) / 2));
  padding-right: max(20px, calc((100% - 1480px) / 2));
}

/* Contact: content max 1440px wide, tighter vertical rhythm */
.page-contact .page-intro .container {
  padding-left: max(40px, calc((100% - 1440px) / 2));
  padding-right: max(40px, calc((100% - 1440px) / 2));
}
.contact-intro { margin-top: 20px; line-height: 1.3; letter-spacing: -0.03em; }
.contact-divider { border: 0; border-top: 1px solid var(--line); margin: 48px 0 0; }
.page-contact .page-intro + .section { padding-top: 48px; }

@media (max-width: 1199.98px) {
  .who .container--wide, .for-whom .container--wide { padding-left: var(--gutter); padding-right: var(--gutter); }
  .page-contact .page-intro .container { padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media (max-width: 809.98px) {
  .site-footer { padding-left: 20px; padding-right: 20px; }
  .contact-divider { margin-top: 36px; }
  .page-contact .page-intro + .section { padding-top: 36px; }
}

/* Smooth scrolling (Lenis), as on the original */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* Home: vertical rhythm matched to the original */
.tag { margin-bottom: 48px; }
.reality { padding-bottom: 40px; }
.reality .tag { margin-bottom: 38px; }
.who { padding-bottom: 24px; }
.who .tag { margin-bottom: 24px; }
.for-whom { padding-top: 40px; padding-bottom: 24px; }
.for-whom .tag { margin-bottom: 16px; }
.for-whom .h3 { margin-bottom: 16px; }
@media (max-width: 809.98px) {
  .tag, .who .tag, .for-whom .tag, .reality .tag { margin-bottom: 28px; }
}

.section--cta { padding-bottom: 90px; }
/* Keep the close button reachable when the menu is opened mid-page */
.menu-open .site-header { position: fixed; }


/* Menu and button text roll: timing measured on the original
   (slow start, quick middle, soft landing; about 0.46s in total) */
.roll__inner { transition: transform .38s cubic-bezier(0.83, 0, 0.17, 1) .08s; }

/* Parallax on "The reality" photo: the image is 30% taller than its frame
   and drifts up to 15% of the frame height against the scroll direction */
.reality__media { position: relative; }
.reality__media img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .reality__media img { transform: none !important; } }


/* Footer links: their own roll as on the original. The copy sits one line
   below and slightly to the right, and slides up diagonally (no delay,
   soft ease-out, about 0.6s) */
.site-footer__bottom .roll { height: 1.3em; line-height: 1.3; }
.site-footer__bottom .roll__inner { transition: transform .55s ease; }
.site-footer__bottom .roll__inner::after {
  top: calc(100% + 1.4px);
  transform: translateX(3.7px);
  transition: transform .55s ease;
}
.site-footer__bottom a:hover .roll__inner,
.site-footer__bottom a:focus-visible .roll__inner { transform: translateY(calc(-100% - 1.4px)); }
.site-footer__bottom a:hover .roll__inner::after,
.site-footer__bottom a:focus-visible .roll__inner::after { transform: none; }
.site-footer__bottom a:hover { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .site-footer__bottom a:hover .roll__inner { transform: none; }
}
