:root {
  color-scheme: light;
  --paper: #f8f3ea;
  --paper-deep: #efe5d6;
  --sage: #b9c1a9;
  --sage-deep: #818b73;
  --ink: #1f211d;
  --brown: #5d4028;
  --brown-soft: #8a6849;
  --muted: #66685f;
  --line: rgba(93, 64, 40, 0.22);
  --surface: rgba(255, 250, 241, 0.78);
  --shadow: 0 24px 70px rgba(43, 34, 22, 0.14);
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 10px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(248, 243, 234, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: block;
  text-decoration: none;
}

.brand img {
  width: min(100%, 330px);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 28px;
  color: var(--brown);
  font: 600 0.82rem/1.2 var(--sans);
  letter-spacing: 0.02em;
}

.nav a {
  position: relative;
  padding: 10px 0;
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--brown);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, calc((100vw - var(--max)) / 2 + 500px)) minmax(0, 1fr);
  min-height: calc(100vh - 76px);
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 45%, rgba(248, 243, 234, 0.58) 58%, rgba(248, 243, 234, 0) 72%),
    var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 18px;
  max-width: 620px;
  padding: clamp(42px, 6vw, 78px) clamp(28px, 5vw, 70px) clamp(44px, 6vw, 74px) max(22px, calc((100vw - var(--max)) / 2));
}

.hero-media {
  min-width: 0;
  min-height: 560px;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 15%),
    linear-gradient(180deg, #000 0%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 15%),
    linear-gradient(180deg, #000 0%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-tinted {
  width: 100%;
  max-width: none;
  padding-right: max(22px, calc((100vw - var(--max)) / 2));
  padding-left: max(22px, calc((100vw - var(--max)) / 2));
  background: var(--sage);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.section-split.reverse {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
}

.section-split.reverse > .section-copy {
  grid-column: 2;
}

.section-split.reverse > .quote-panel {
  grid-column: 1;
  grid-row: 1;
}

.section-copy,
.section-heading,
.contact-copy,
.atelier-copy {
  display: grid;
  gap: 18px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(42px, 6vw, 64px);
  text-align: center;
}

.section-label {
  margin: 0;
  color: var(--brown);
  font: 700 0.77rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 11.5em;
  font-size: clamp(2.45rem, 4.8vw, 4.8rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.65rem);
  line-height: 1.04;
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.6rem);
  line-height: 1.12;
}

p {
  margin: 0;
}

.hero-copy p:not(.section-label),
.section-copy p,
.section-heading p,
.process-list p,
.quote-panel p,
.contact-copy p,
.atelier-copy p {
  color: var(--muted);
}

.hero-copy p:not(.section-label),
.intro p {
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--brown);
  border-radius: 2px;
  background: var(--brown);
  color: #fffaf1;
  font: 700 0.86rem/1 var(--sans);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.text-link {
  color: var(--brown);
  font-weight: 700;
  text-underline-offset: 4px;
}

.intro {
  display: grid;
  justify-items: center;
  padding-top: clamp(52px, 7vw, 86px);
  padding-bottom: clamp(52px, 7vw, 86px);
  text-align: center;
}

.intro p {
  max-width: 880px;
  color: var(--brown);
  font-family: var(--serif);
  line-height: 1.45;
}

.framed-image {
  margin: 0;
}

.framed-image img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  padding: 22px 18px 24px;
  background: rgba(255, 250, 241, 0.62);
  border: 1px solid rgba(93, 64, 40, 0.18);
}

.process-list li::before {
  counter-increment: process;
  content: "0" counter(process);
  color: var(--brown-soft);
  font: 700 0.72rem/1 var(--sans);
  letter-spacing: 0.12em;
}

.process-list img {
  justify-self: center;
  width: min(100%, 150px);
  height: 128px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.process-list h3,
.process-list p {
  text-align: center;
}

.process-list p {
  font-size: 0.91rem;
  line-height: 1.55;
}

.quote-panel {
  display: grid;
  gap: 20px;
  align-content: center;
  min-height: 430px;
  padding: clamp(32px, 5vw, 54px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quote-panel img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.quote-panel blockquote {
  margin: 0;
  padding: 0;
}

.quote-panel blockquote p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.atelier {
  position: relative;
  display: grid;
  min-height: 620px;
  isolation: isolate;
}

.atelier figure {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}

.atelier figure::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 33, 29, 0.8), rgba(31, 33, 29, 0.38) 48%, rgba(31, 33, 29, 0.08)),
    linear-gradient(180deg, rgba(31, 33, 29, 0.05), rgba(31, 33, 29, 0.42));
  content: "";
}

.atelier img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atelier-copy {
  align-content: center;
  width: min(560px, calc(100% - 44px));
  margin-left: max(22px, calc((100vw - var(--max)) / 2));
  padding: clamp(72px, 9vw, 112px) 0;
}

.atelier-copy .section-label,
.atelier-copy h2,
.atelier-copy p {
  color: #fff8ed;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.28);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.contact-copy address {
  margin-top: 8px;
  padding: 24px;
  background: rgba(255, 250, 241, 0.62);
  border: 1px solid rgba(93, 64, 40, 0.2);
  color: var(--ink);
  font-style: normal;
  line-height: 1.75;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 36px 22px 42px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}

.footer img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .nav {
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 820px;
    padding-right: max(22px, calc((100vw - var(--max)) / 2));
  }

  .hero-media {
    order: -1;
    min-height: 0;
  }

  .hero-media img {
    aspect-ratio: 1.75 / 1;
    height: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
  }

  .section-split,
  .section-split.reverse,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-split.reverse > .section-copy,
  .section-split.reverse > .quote-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 420px);
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    padding: 16px;
  }

  .brand img {
    width: min(100%, 330px);
  }

  .nav {
    gap: 4px 18px;
    font-size: 0.76rem;
  }

  .hero-copy {
    padding: 36px 20px 56px;
    text-align: center;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.3rem, 12vw, 3.25rem);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media img {
    aspect-ratio: 1.12 / 1;
    object-position: 50% 50%;
  }

  .section {
    width: min(var(--max), calc(100% - 36px));
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section-tinted {
    padding-right: 18px;
    padding-left: 18px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li:last-child {
    width: 100%;
  }

  .quote-panel {
    min-height: 0;
  }

  .atelier {
    min-height: 540px;
  }

  .atelier-copy {
    width: calc(100% - 36px);
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 410px) {
  .nav {
    gap: 2px 12px;
  }

  .button {
    width: 100%;
  }
}
