:root {
  --paper: #f1eee7;
  --paper-deep: #e4dfd4;
  --ink: #171714;
  --muted: #625f58;
  --alert: #8a3b22;
  --line: color-mix(in srgb, var(--ink) 18%, transparent);
  --edge: clamp(20px, 3vw, 48px);
  --header-height: 72px;
  --font-display: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Neue Montreal", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* One display voice, tracked like the ROSALIND QUINTERO wordmark, over running
     copy kept at the hero's own small scale. */
  --display-xl: 500 clamp(26px, 2.9vw, 42px)/1.12 var(--font-display);
  --display-xl-track: .1em;
  --display-lg: 500 clamp(22px, 2.4vw, 34px)/1.14 var(--font-display);
  --display-lg-track: .12em;
  --display-sm: 500 clamp(15px, 1.25vw, 18px)/1.55 var(--font-display);
  --display-sm-track: .1em;
  --label: 500 10px/1 var(--font-body);
  --label-track: .14em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body {
  min-width: 320px;
  overflow-x: hidden;
  font: 400 clamp(14px, 1vw, 15px)/1.7 var(--font-body);
  letter-spacing: -.018em;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
::selection { background: var(--ink); color: var(--paper); }

.skip-link {
  position: fixed;
  left: var(--edge);
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The homepage header is the family source of truth. Deeper pages inherit the
   same row, spacing, type, links and mobile menu as its continuing solid state. */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 var(--edge);
}
.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  font: 500 15px/1 var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tagline {
  flex: none;
  display: inline-flex;
  align-items: center;
  margin-left: clamp(100px, 9vw, 150px);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .015em;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}
.nav-link,
.menu-toggle {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: opacity .25s;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] { opacity: .52; }
.site-header a:focus-visible,
.site-header button:focus-visible,
.nav-link[aria-current="page"] {
  outline: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.menu-toggle { display: none; cursor: pointer; }

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  padding: 12px 0;
  font: var(--label);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
}
.text-link::after { content: "→"; font-size: 16px; transition: transform .3s var(--ease); }
.text-link:hover::after,
.text-link:focus-visible::after { transform: translateX(8px); }

.page-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--header-height);
  background: var(--paper);
}
.page-hero-copy {
  align-self: center;
  padding: 10svh clamp(50px, 7vw, 110px) 10svh var(--edge);
}
.page-hero h1 {
  max-width: 22ch;
  font: var(--display-xl);
  letter-spacing: var(--display-xl-track);
  text-transform: uppercase;
  text-wrap: balance;
}
.page-hero-copy > p { max-width: 50ch; margin-top: 34px; }
.page-hero-media { min-height: calc(100svh - var(--header-height)); overflow: hidden; background: var(--paper-deep); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.large-statement {
  min-height: 70svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 12svh var(--edge);
  background: var(--paper-deep);
}
.large-statement h2 {
  grid-column: 2;
  max-width: 22ch;
  font: var(--display-lg);
  letter-spacing: var(--display-lg-track);
  text-transform: uppercase;
  text-wrap: balance;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.portfolio-grid figure { min-height: 78svh; overflow: hidden; background: var(--paper-deep); }
.portfolio-grid figure:nth-child(3n) { grid-column: 1 / -1; min-height: 72svh; }
.portfolio-grid img { width: 100%; height: 100%; object-fit: cover; }

.split-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82svh;
  background: var(--paper);
}
.split-story figure { min-height: 82svh; overflow: hidden; background: var(--paper-deep); }
.split-story img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { align-self: center; padding: 10svh var(--edge) 10svh clamp(50px, 7vw, 110px); }
.split-copy h2 {
  max-width: 22ch;
  font: var(--display-lg);
  letter-spacing: var(--display-lg-track);
  text-transform: uppercase;
  text-wrap: balance;
}
.split-copy p { max-width: 50ch; margin-top: 30px; }
.split-copy p + p { margin-top: 18px; }

.image-break {
  position: relative;
  height: 68svh;
  min-height: 480px;
  overflow: hidden;
  background: #27221d;
}
.image-break img {
  position: absolute;
  inset: -6% 0 auto;
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(0, var(--break-y, 0), 0);
  will-change: transform;
}
/* Framed photographs drift within their crops; the script sets --image-y
   with staggered rates, and the slight scale keeps every edge covered. */
[data-parallax-image] { scale: 1.1; translate: 0 var(--image-y, 0); will-change: translate; }

.journal-index { padding: calc(var(--header-height) + 10svh) var(--edge) 12svh; }
.journal-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 10svh;
}
.journal-intro h1 {
  max-width: 22ch;
  font: var(--display-xl);
  letter-spacing: var(--display-xl-track);
  text-transform: uppercase;
  text-wrap: balance;
}
.journal-intro p { grid-column: 2; align-self: end; max-width: 50ch; }
.journal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px 0;
  border-top: 1px solid var(--line);
}
.journal-row:last-child { border-bottom: 1px solid var(--line); }
.journal-row-figure { display: block; }
.journal-row-figure figure { height: 58svh; overflow: hidden; background: var(--paper-deep); }
.journal-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.journal-row-figure:hover img,
.journal-row-figure:focus-visible img { transform: scale(1.018); }
.journal-row-copy { align-self: center; padding: 8svh var(--edge); }
.journal-row-copy h2 { max-width: 22ch; font: var(--display-lg); letter-spacing: var(--display-lg-track); text-transform: uppercase; text-wrap: balance; }
.journal-row-copy p { max-width: 50ch; margin-top: 28px; }
.journal-row-read { display: inline-block; margin-top: 32px; border-bottom: 1px solid currentColor; padding-bottom: 2px; font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; }

.article-header { padding: calc(var(--header-height) + 10svh) var(--edge) 10svh; }
.article-header h1 { max-width: 22ch; margin-left: 50%; font: var(--display-xl); letter-spacing: var(--display-xl-track); text-transform: uppercase; text-wrap: balance; }
.article-dek { max-width: 40ch; margin: 34px 0 0 50%; font: var(--display-sm); letter-spacing: var(--display-sm-track); text-transform: uppercase; text-wrap: pretty; }
.article-lead { height: 78svh; min-height: 560px; overflow: hidden; }
.article-lead img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 1440px; margin: 0 auto; padding: 12svh var(--edge); }
.article-prose { width: 50%; margin-left: 50%; padding-left: clamp(0px, 2vw, 28px); }
.article-prose p { max-width: 56ch; }
.article-prose p + p { margin-top: 24px; }
.article-pair + .article-prose,
.article-wide + .article-prose { margin-top: 12svh; }
.article-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 12svh; }
.article-pair figure { min-height: 76svh; overflow: hidden; }
.article-pair img { width: 100%; height: 100%; object-fit: cover; }
.article-wide { height: 72svh; min-height: 520px; margin-top: 12svh; overflow: hidden; }
.article-wide img { width: 100%; height: 100%; object-fit: cover; }
.article-next { display: grid; grid-template-columns: 1fr 1fr; padding: 10svh var(--edge); background: var(--paper-deep); }
.article-next a { grid-column: 2; max-width: 22ch; font: var(--display-lg); letter-spacing: var(--display-lg-track); text-transform: uppercase; text-wrap: balance; }
@media (max-width: 1023px) { .article-next a { display: inline-block; padding: 10px 0; margin: -10px 0; } } /* 44px hit area, same look */

.contact-page { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; padding-top: var(--header-height); }
.contact-picture { min-height: calc(100svh - var(--header-height)); overflow: hidden; background: var(--paper-deep); }
.contact-picture img { width: 100%; height: 100%; object-fit: cover; }
.contact-copy { align-self: center; padding: 10svh var(--edge) 10svh clamp(50px, 7vw, 110px); }
.contact-copy h1 { max-width: 22ch; font: var(--display-xl); letter-spacing: var(--display-xl-track); text-transform: uppercase; text-wrap: balance; }
.contact-copy > p { max-width: 50ch; margin-top: 34px; }

/* Contact · inquiry. The family centre line runs between the two field
   columns, and every answer sits on the same hairline as the page rules. */
.inquiry { padding: 11svh var(--edge); }
.inquiry-fields { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.inquiry-column { display: flex; flex-direction: column; }
.inquiry-column:first-child { padding-right: clamp(28px, 5vw, 92px); }
.inquiry-column + .inquiry-column { padding-left: clamp(28px, 5vw, 92px); border-left: 1px solid var(--line); }
.field { display: grid; gap: 7px; padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
/* The message grows to the height of the short answers, so the centre line
   runs evenly between the two columns. */
.field-message { flex: 1; grid-template-rows: auto minmax(7.5em, 1fr); }
.field-message textarea { height: 100%; }
.field:first-child { border-top: 1px solid var(--line); }
.field > label { font: 500 12px/1.5 var(--font-body); letter-spacing: .004em; color: var(--muted); transition: color .25s; }
.field .required { margin-left: .35em; }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  font: 400 clamp(14px, 1vw, 15px)/1.7 var(--font-body);
  letter-spacing: -.018em;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 7.5em; }
.field input[type="date"] { min-height: 1.5em; }
.field input.is-empty, .field input.is-empty::-webkit-datetime-edit { color: var(--muted); }
.field:focus-within { border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field:focus-within > label { color: var(--ink); }
.field.is-invalid { border-bottom-color: var(--alert); box-shadow: 0 1px 0 0 var(--alert); }
.field.is-invalid > label { color: var(--alert); }
.field-error { font-size: 12px; line-height: 1.5; color: var(--alert); }
.field-error:empty { display: none; }
.inquiry-send { margin-left: 50%; padding-left: clamp(28px, 5vw, 92px); }
.inquiry-send .text-link {
  position: relative;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--ink);
  padding: 14px 18px;
  transition: color .45s var(--ease);
}
/* Buttons fill from left to right on hover and focus. */
.inquiry-send .text-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease);
}
.inquiry-send .text-link:hover,
.inquiry-send .text-link:focus-visible { color: var(--paper); }
.inquiry-send .text-link:hover::before,
.inquiry-send .text-link:focus-visible::before { transform: scaleX(1); }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 26px var(--edge) 34px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  font: var(--label);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
}
footer div { display: flex; justify-content: space-between; gap: 24px; }
footer p { color: var(--muted); font-weight: 400; line-height: 1.7; text-transform: none; letter-spacing: .02em; }

@media (max-width: 800px) {
  :root { --header-height: 64px; }
  .site-header { transition: background-color .2s, color .2s; }
  .header-row { padding: 0 16px; }
  .brand { font-size: 12px; letter-spacing: .13em; }
  .tagline { margin-left: 22px; font-size: 10px; }
  .menu-toggle { display: inline-flex; margin-left: auto; min-height: 36px; padding: 0 11px; }
  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-height));
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 28px 16px 20px;
    background: var(--paper);
  }
  .site-header.menu-open { height: 100dvh; }
  .site-header.menu-open .site-nav { display: flex; }
  .nav-link {
    min-height: 15svh;
    justify-content: flex-start;
    padding: 0 20px;
    font: 200 clamp(36px, 12vw, 54px)/1 var(--font-display);
    letter-spacing: -.045em;
    text-transform: none;
  }
  .page-hero { display: flex; min-height: 0; flex-direction: column-reverse; }
  .page-hero-copy { padding: calc(var(--header-height) + 52px) 20px 76px; }
  .page-hero-media { min-height: 0; height: 72svh; }
  .large-statement { min-height: 64svh; display: block; padding: 12svh 20px; }
  .portfolio-grid figure { min-height: 58svh; }
  .portfolio-grid figure:nth-child(3n) { min-height: 54svh; }
  .split-story { display: flex; min-height: 0; flex-direction: column; }
  .split-story.reverse { flex-direction: column-reverse; }
  .split-story figure { min-height: 68svh; }
  .split-copy { padding: calc(var(--header-height) + 48px) 20px 76px; }
  .image-break { height: 58svh; min-height: 400px; }
  .image-break img { inset: 0; height: 100%; transform: none !important; will-change: auto; }
  .journal-index { padding: calc(var(--header-height) + 56px) 20px 76px; }
  .journal-intro { display: block; padding-bottom: 72px; }
  .journal-intro p { margin-top: 38px; }
  .journal-row { display: block; padding: 0 0 46px; border: 0; }
  .journal-row figure { height: auto; aspect-ratio: 4 / 3; }
  .journal-row-copy { padding: 34px 0 26px; }
  .article-header { padding: calc(var(--header-height) + 56px) 20px 64px; }
  .article-header h1 { margin-left: 0; }
  .article-lead { height: 62svh; min-height: 440px; }
  .article-body { padding: 76px 20px; }
  .article-dek { margin-left: 0; }
  .article-prose { width: 100%; margin: 0; padding: 0; }
  .article-pair + .article-prose,
  .article-wide + .article-prose { margin-top: 76px; }
  .article-pair { margin-top: 76px; }
  .article-pair figure { min-height: 54svh; }
  .article-wide { height: 56svh; min-height: 420px; margin-top: 76px; }
  .article-next { display: block; padding: 76px 20px; }
  .contact-page { min-height: 0; display: flex; flex-direction: column; }
  .contact-picture { min-height: 68svh; }
  .contact-copy { padding: calc(var(--header-height) + 52px) 20px 76px; }
  .inquiry { padding: 0 20px 72px; }
  /* 16px keeps iOS from zooming the page when an answer takes focus. */
  .field input, .field textarea { font-size: 16px; }
  .inquiry-fields { display: block; }
  .field-message textarea { height: auto; }
  .inquiry-column:first-child { padding-right: 0; }
  .inquiry-column + .inquiry-column { padding-left: 0; border-left: 0; }
  .inquiry-column + .inquiry-column .field:first-child { border-top: 0; }
  .inquiry-send { margin-left: 0; padding-left: 0; }
  footer { display: block; padding: 24px 20px 32px; }
  footer div { margin-bottom: 26px; }
}

@media (max-width: 410px) {
  .tagline { max-width: 20ch; margin-left: 12px; white-space: normal; line-height: 1.15; }
  .brand { letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .image-break img { inset: 0; height: 100%; transform: none !important; will-change: auto; }
  [data-parallax-image] { scale: none; translate: none; will-change: auto; }
}

  /* Mobile review: 44px hit areas (visual size unchanged), small-text floors and 16px form controls. */
  @media (max-width:820px){
    a.brand{position:relative}
    a.brand::after{content:"";position:absolute;inset:-16px 0}
    button.menu-toggle{position:relative}
    button.menu-toggle::after{content:"";position:absolute;inset:-4px 0}
    p.tagline:not(#_){font-size:12px}
    footer p:not(#_){font-size:12px}
    input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not(#_),select:not(#_),textarea:not(#_){font-size:16px}
    input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not(#_),select:not(#_){min-height:44px}
  }
