/* The Editors Design Studio */

@font-face { font-family: "Gazpacho"; src: url("/fonts/gazpacho-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gazpacho"; src: url("/fonts/gazpacho-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alta"; src: url("/fonts/alta-light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Garet"; src: url("/fonts/garet-book.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Garet"; src: url("/fonts/garet-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #EEEAE2;
  --ink: #171810;
  --brown: #3D1700;
  --soft: #4A3F37;
  --hover: #8A5A3C;
  --muted-on-dark: #CDBFB2;
  --taupe: #C5BBAF;
  --hairline: rgba(60, 33, 21, 0.28);
  --gutter: clamp(16px, 4vw, 56px);
  --sans: Garet, "Avenir Next", "Helvetica Neue", sans-serif;
  --serif: Gazpacho, Georgia, serif;
  --display: Alta, Didot, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a:hover { color: var(--hover); }
:focus-visible { outline: 2px solid var(--hover); outline-offset: 3px; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.label { font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.soft { color: var(--soft); }
.display { font-family: var(--display); font-weight: 300; text-transform: uppercase; font-size: clamp(40px, 6vw, 88px); line-height: 1.02; letter-spacing: 0.01em; }
.underline-link { text-decoration: none; border-bottom: 1px solid currentColor; }

/* Header */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px var(--gutter); }
.site-header .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.site-header .brand .mono { height: 34px; width: auto; }
.site-header .brand .word { height: 18px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.nav a { text-decoration: none; padding: 4px 0; }
.nav a[aria-current="page"] { border-bottom: 1px solid currentColor; }

/* Home hero */
.hero { background: var(--brown); color: var(--paper); padding: 22px var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px; }
.hero .site-header { padding: 0; }
.hero .site-header .brand .mono { height: 38px; }
.hero a:hover { color: var(--muted-on-dark); }
.hero-stage { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 24px; }
.hero-stage .side { flex: 1 1 180px; max-width: 220px; color: var(--muted-on-dark); }
.hero-stage .side.right { text-align: right; }
.oval {
  position: relative; width: 322px; height: 520px; max-width: 100%; margin: 0 auto;
  border-radius: 999px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(238, 234, 226, 0.5), 0 0 0 10px var(--brown), 0 0 0 11px rgba(238, 234, 226, 0.35);
}
.oval picture, .oval img { width: 100%; height: 100%; }
.oval img { object-fit: cover; object-position: 58% 50%; }
.oval .veil {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(61, 23, 0, 0.32);
  -webkit-backdrop-filter: blur(7px) saturate(0.85); backdrop-filter: blur(7px) saturate(0.85);
}
.oval .veil img { width: 44%; height: auto; }
.hero h1 img { width: 100%; max-width: 1340px; margin: 0 auto; }

@media (max-width: 720px) {
  .hero-stage { justify-content: center; }
  .hero-stage .side { flex-basis: 40%; order: 2; }
  .oval { order: 1; flex-basis: 100%; width: min(322px, 70vw); height: auto; aspect-ratio: 322 / 520; flex-grow: 0; }
}

/* Home sections */
.intro { padding-block: 128px; }
.intro .statement { max-width: 22em; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -0.01em; }
.intro .note { margin-top: 32px; max-width: 34rem; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.section-head h2 { color: var(--soft); }
.section-head a { color: var(--soft); }

.featured { padding-bottom: 128px; }
.featured .section-head { margin-bottom: 56px; }
.featured-grid { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px 32px; }
@media (min-width: 560px) { .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.card .name { display: block; margin-top: 16px; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.card .meta { display: block; margin-top: 4px; font-size: 15px; color: var(--soft); }

.services-band { background: var(--taupe); padding: 128px var(--gutter); }
.services-band .inner { max-width: 1328px; margin: 0 auto; }
.services-band .section-head { border-color: var(--ink); }
.services-band .section-head h2, .services-band .section-head a { color: var(--ink); }
.service-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 48px; padding: 28px 0; border-bottom: 1px solid var(--ink); text-decoration: none; }
.service-row .title { flex: 5 1 280px; font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.service-row .desc { flex: 6 1 280px; }

/* Call to action */
.cta { display: flex; flex-wrap: wrap; background: var(--brown); color: var(--paper); }
.cta .marble { flex: 5 1 320px; min-height: 420px; }
.cta .marble img { width: 100%; height: 100%; object-fit: cover; }
.cta .body { flex: 7 1 360px; padding: 112px var(--gutter); display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.cta .body .mono { height: 52px; width: auto; opacity: 0.8; }
.cta h2 { font-family: var(--display); font-weight: 300; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: 0.01em; max-width: 10em; }
.cta p { max-width: 26rem; color: var(--muted-on-dark); }
.pill { display: inline-block; padding: 15px 30px; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; font: inherit; cursor: pointer; background: none; color: inherit; }
.cta .pill:hover { background: var(--paper); color: var(--brown); }

/* Footer */
.site-footer { background: var(--ink); color: var(--taupe); }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 72px; padding: 64px var(--gutter) 40px; }
.site-footer .top > img { height: 48px; width: auto; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.site-footer .col { display: flex; flex-direction: column; gap: 6px; }
.site-footer .col .label { color: var(--paper); margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px var(--gutter) 28px; border-top: 1px solid rgba(197, 187, 175, 0.2); }
.site-footer .bottom img { width: 240px; max-width: 60%; }

/* Page title */
.page-title { padding: 104px 0 64px; }
.page-title .label { display: block; margin-bottom: 24px; color: var(--soft); }
.page-title p { margin-top: 28px; max-width: 34rem; color: var(--soft); }

/* Projects list */
.index { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 72px 128px; padding: 24px 0 160px; }
.index ol { flex: 7 1 340px; list-style: none; padding: 0; }
.index .rule { width: 75%; height: 1px; background: var(--hairline); }
.index .row { display: flex; flex-direction: column; gap: 8px; padding: 30px 0; text-decoration: none; color: var(--ink); }
.index .row .name { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 62px); line-height: 1.04; transition: color 0.2s; }
.index .row .meta { align-self: flex-end; text-align: right; font-size: 15px; }
.index .row:hover, .index .row:focus-visible { color: var(--ink); }
.index .row:hover .name, .index .row:focus-visible .name { font-style: italic; color: var(--hover); }
.index .preview { flex: 5 1 300px; position: sticky; top: 40px; }
.index .preview img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.index .preview figcaption { margin-top: 14px; font-size: 15px; color: var(--soft); }
@media (hover: none), (max-width: 760px) { .index .preview { display: none; } }

/* Project page */
.back { display: inline-block; margin-bottom: 24px; }
.project-head { padding: 96px 0 40px; }
.lead-photo img { width: 100%; height: min(760px, 70vw); object-fit: cover; }
.project-intro { display: flex; flex-wrap: wrap; gap: 40px 72px; padding: 80px 0; }
.project-intro .text { flex: 7 1 340px; display: flex; flex-direction: column; gap: 20px; }
.project-intro .lede { margin-bottom: 8px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 42px); line-height: 1.2; max-width: 22em; }
.project-intro .text p:not(.lede) { max-width: 36rem; color: var(--soft); }
.facts { flex: 5 1 280px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; align-content: start; border-top: 1px solid var(--hairline); padding-top: 20px; }
.facts dt { color: var(--soft); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: 80px; }
.gallery img { width: 100%; object-fit: cover; }
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { aspect-ratio: 3 / 2; }
.gallery .half img { aspect-ratio: 4 / 5; }
.gallery .solo { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
.gallery .solo img { aspect-ratio: 4 / 5; }
@media (max-width: 560px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .solo { width: 100%; }
}
.next { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 56px 0 96px; border-top: 1px solid var(--hairline); text-decoration: none; }
.next .label { display: block; color: var(--soft); margin-bottom: 12px; }
.next img { width: clamp(96px, 14vw, 180px); aspect-ratio: 0.66; object-fit: cover; border-radius: 999px; flex: none; }

/* About */
.about-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 96px; padding-bottom: 32px; }
.about-split figure { flex: 5 1 280px; max-width: 480px; }
.about-split figure img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 999px 999px 0 0; }
.about-split figcaption { margin-top: 14px; font-size: 15px; color: var(--soft); }
.about-split .text { flex: 7 1 340px; }
.about-split .statement { margin-bottom: 32px; font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.2; max-width: 20em; }
.about-split .text p:not(.statement) { max-width: 32rem; color: var(--soft); margin-bottom: 18px; }

.how { --p: 1; position: relative; margin-bottom: 48px; }
.how .stick { position: sticky; top: 40px; display: flex; flex-direction: column; gap: calc(8px + 24px * var(--p)); }
.how h2 { text-align: center; font-weight: 400; color: var(--soft); text-transform: uppercase; line-height: 1.1;
  font-size: calc(16px + (1 - var(--p)) * clamp(24px, 6vw, 88px));
  letter-spacing: calc(0.2em - 0.12em * (1 - var(--p))); }
.how ul { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); column-gap: clamp(20px, 4vw, 56px);
  font-family: var(--serif); line-height: 1.1; font-size: calc(clamp(30px, 6vw, 84px) * (0.28 + 0.72 * var(--p))); }
.how li { padding: 14px 0; }
.how li.l { grid-column: 1; text-align: right; }
.how li.r { grid-column: 3; text-align: left; }
.how li.rowline { border-bottom: 1px solid var(--hairline); }
.how li.divider { grid-column: 2; grid-row: 1 / 4; margin: 28px 0; padding: 0; background: var(--hairline); }
.how .spacer { height: 30vh; }
.how.static .stick { position: static; }
.how.static .spacer { display: none; }

.apart { background: var(--taupe); padding: 128px var(--gutter); }
.apart .inner { max-width: 1328px; margin: 0 auto; }
.apart h2 { margin-bottom: 64px; font-family: var(--display); font-weight: 300; text-transform: uppercase; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.06; max-width: 12em; }
.apart .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.apart .item { border-top: 1px solid var(--ink); padding-top: 20px; }
.apart h3 { margin-bottom: 10px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }

.regions-section { padding-block: 128px; }
.regions-section .section-head { flex-wrap: wrap; margin-bottom: 40px; }
.regions-section .section-head p { color: var(--soft); }
.regions { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 44px; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 50px); line-height: 1.3; }
.regions .beyond { font-style: italic; }

/* Services */
.service { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 96px; padding: 72px 0; border-top: 1px solid var(--hairline); }
.service.flip { flex-wrap: wrap-reverse; }
.service > picture, .service > img { flex: 1 1 340px; min-width: 0; }
.service picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service .text { flex: 1 1 340px; }
.service h2 { margin-bottom: 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; max-width: 12em; }
.service p { max-width: 32rem; color: var(--soft); }
.service ul { list-style: none; margin-top: 24px; padding: 0; max-width: 32rem; border-top: 1px solid var(--hairline); }
.service li { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.services-main { padding-bottom: 96px; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 96px; padding-bottom: 128px; }
.details { flex: 5 1 280px; display: flex; flex-direction: column; gap: 24px; }
.details dt { color: var(--soft); margin-bottom: 4px; }
.details dd { font-family: var(--serif); font-size: 26px; line-height: 1.3; }
.details dd a { text-decoration: none; border-bottom: 1px solid var(--hairline); }
.enquiry { flex: 7 1 340px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.enquiry h2 { grid-column: 1 / -1; margin-bottom: 8px; font-family: var(--display); font-weight: 300; text-transform: uppercase; font-size: 40px; line-height: 1.06; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--soft); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: 12px 4px; border: 0; border-bottom: 1px solid var(--soft);
  background: rgba(255, 255, 255, 0.35); border-radius: 0; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.field [aria-invalid="true"] { border-bottom-color: #8B1E10; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }
.form-foot .pill { background: var(--brown); border-color: var(--brown); color: var(--paper); }
.form-foot .pill:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.form-foot .pill[disabled] { opacity: 0.6; cursor: wait; }
.form-status { font-size: 15px; color: var(--soft); }
.form-status.error { color: #8B1E10; }
.form-done { grid-column: 1 / -1; padding: 40px 0; border-top: 1px solid var(--hairline); }
.form-done h2 { margin-bottom: 12px; }
.hp { display: none; }
@media (max-width: 560px) { .enquiry { grid-template-columns: minmax(0, 1fr); } }

/* 404 / thanks */
.simple { padding: 160px 0 200px; }
.simple p { margin-top: 28px; max-width: 34rem; color: var(--soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Small screens: put the menu on its own row under the logo */
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; row-gap: 16px; }
  .nav { width: 100%; justify-content: space-between; gap: 8px 12px; }
}
.cta .marble picture { height: 100%; }
