:root {
  --ink: #171717;
  --charcoal: #262522;
  --muted: #706d66;
  --line: #ded8ce;
  --paper: #f7f3ec;
  --ivory: #fffaf1;
  --clay: #9b6043;
  --sage: #6f7b67;
  --olive: #373d31;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(24, 22, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.is-loaded .hero-content > *,
body.is-loaded .hero-note,
body.is-loaded .hero-controls {
  animation: riseIn 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-loaded .hero-content > *:nth-child(2) {
  animation-delay: 120ms;
}

body.is-loaded .hero-content > *:nth-child(3) {
  animation-delay: 220ms;
}

body.is-loaded .hero-content > *:nth-child(4),
body.is-loaded .hero-note,
body.is-loaded .hero-controls {
  animation-delay: 320ms;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(20px, 4vw, 58px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 243, 236, 0.94);
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 13px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  opacity: 0.86;
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav a:hover {
  color: var(--clay);
  opacity: 1;
}

.header-cta {
  border: 1px solid currentColor;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid currentColor;
  padding: 4px;
}

.language-switch a {
  display: grid;
  min-width: 34px;
  min-height: 30px;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.language-switch a.is-active {
  background: currentColor;
  color: var(--ink);
}

.site-header.is-scrolled .language-switch a.is-active,
.site-header.is-open .language-switch a.is-active {
  color: var(--paper);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-slider,
.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.hero-media.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 13, 12, 0.78), rgba(13, 13, 12, 0.26) 55%, rgba(13, 13, 12, 0.5)),
    linear-gradient(0deg, rgba(13, 13, 12, 0.68), rgba(13, 13, 12, 0) 52%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 170px clamp(20px, 6vw, 82px) 160px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e0c7af;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(58px, 8vw, 116px);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 70px);
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.hero-note {
  position: absolute;
  right: clamp(20px, 4vw, 58px);
  bottom: 36px;
  width: min(360px, calc(100% - 40px));
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.46);
}

.hero-note span {
  display: block;
  margin-bottom: 7px;
  color: #e0c7af;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 18px;
  line-height: 1.35;
}

.slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.slider-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.slider-controls button:hover {
  background: currentColor;
  color: var(--ink);
  transform: translateY(-2px);
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 0;
}

.slider-dots button.is-active {
  background: currentColor;
}

.hero-controls {
  position: absolute;
  right: clamp(20px, 4vw, 58px);
  bottom: 152px;
  color: var(--white);
}

.section {
  padding: clamp(76px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

[data-animate] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-grid article:nth-child(2),
.collection-card:nth-child(2),
.process-list li:nth-child(2) {
  transition-delay: 100ms;
}

.intro-grid article:nth-child(3),
.collection-card:nth-child(3),
.process-list li:nth-child(3) {
  transition-delay: 200ms;
}

.section-heading {
  max-width: 760px;
}

.section-heading.wide {
  max-width: 960px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.intro {
  background: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--line);
}

.intro-grid article {
  min-height: 270px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--ivory);
}

.intro-grid p,
.split-copy p,
.process-list p,
.sustainability p,
.contact-copy p,
address {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.split-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 700ms ease;
}

.split-image:hover img,
.collection-card:hover img {
  transform: scale(1.025);
}

.split-copy {
  max-width: 620px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px 0 0;
}

.metrics div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.metrics dt {
  color: var(--olive);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.collections {
  background: #e5ded2;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.collection-card {
  background: var(--paper);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.collection-card img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  transition: transform 700ms ease;
}

.collection-card div {
  padding: 24px;
}

.collection-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--clay);
  font-weight: 800;
}

.projects {
  background: var(--charcoal);
  color: var(--white);
}

.projects .eyebrow {
  color: #d6b794;
}

.project-slider {
  position: relative;
  margin-top: 52px;
  overflow: hidden;
}

.project-track {
  position: relative;
  min-height: min(68vw, 720px);
  background: #111;
}

.project-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 720ms ease;
}

.project-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 5200ms ease;
}

.project-slide.is-active img {
  transform: scale(1);
}

.project-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(26px, 5vw, 56px);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
}

.project-slide figcaption span {
  display: block;
  margin-bottom: 14px;
  color: #d6b794;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: var(--white);
}

.process {
  background: var(--ivory);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  border: 1px solid var(--line);
  padding: 32px;
  background: rgba(255, 255, 255, 0.36);
  transition-property: opacity, transform, border-color, background;
}

.process-list li:hover {
  border-color: rgba(155, 96, 67, 0.42);
  background: rgba(255, 255, 255, 0.68);
}

.process-list span {
  display: block;
  margin-bottom: 40px;
  color: var(--clay);
  font-weight: 800;
}

.sustainability {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  background: var(--sage);
  color: var(--white);
}

.sustainability .eyebrow,
.sustainability p {
  color: rgba(255, 255, 255, 0.78);
}

.sustainability p {
  margin-bottom: 0;
  font-size: 20px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  background: var(--paper);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 30px 0;
  font-size: 20px;
  font-weight: 700;
}

.form-status {
  display: none;
  margin: 24px 0 0;
  border-left: 3px solid var(--sage);
  padding: 12px 14px;
  background: rgba(111, 123, 103, 0.12);
  color: var(--olive);
  font-weight: 700;
}

.form-status.is-error {
  border-left-color: var(--clay);
  background: rgba(155, 96, 67, 0.12);
  color: var(--clay);
}

body.form-sent [data-form-success],
body.form-error [data-form-error] {
  display: block;
}

address {
  font-style: normal;
}

address strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(155, 96, 67, 0.12);
}

textarea {
  resize: vertical;
}

.contact-form button {
  grid-column: 1 / -1;
  width: fit-content;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-header.is-open .main-nav {
    position: absolute;
    top: 88px;
    left: 20px;
    right: 20px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    background: var(--ivory);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav a {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-bottom: 230px;
  }

  .intro-grid,
  .collection-grid,
  .process-list,
  .split,
  .sustainability,
  .contact {
    grid-template-columns: 1fr;
  }

  .project-track {
    min-height: 660px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand span:last-child {
    max-width: 120px;
    line-height: 1.1;
  }

  h1 {
    font-size: 54px;
  }

  .hero-content {
    padding: 140px 20px 238px;
  }

  .hero-note {
    left: 20px;
    right: 20px;
  }

  .hero-controls {
    left: 20px;
    right: auto;
    bottom: 170px;
  }

  .hero-actions,
  .metrics,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .button,
  .contact-form button {
    width: 100%;
  }

  .collection-card div,
  .process-list li {
    padding: 24px;
  }

  .project-track {
    min-height: 520px;
  }

  .project-controls {
    left: 20px;
    right: auto;
    bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
