:root {
  --paper: #f7f7f2;
  --paper-2: #ecede5;
  --ink: #18211e;
  --muted: #687069;
  --line: rgba(24, 33, 30, 0.16);
  --rose: #a64b57;
  --white: #ffffff;
  --radius: 14px;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Avenir Next", "Gill Sans", "Trebuchet MS", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--body);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(166, 75, 87, 0.13), transparent 30rem),
    linear-gradient(180deg, var(--paper), #fbfbf7 50%, var(--paper-2));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(247, 247, 242, 0.05) 1px, transparent 1px) 0 0 / 15vw 100%,
    var(--ink);
  color: var(--paper);
}

.loader__name {
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 8rem);
  font-weight: 430;
  font-style: italic;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.loader__line {
  position: absolute;
  left: 8vw;
  right: 8vw;
  bottom: 12vh;
  height: 1px;
  transform-origin: left;
  background: rgba(247, 247, 242, 0.5);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--ink);
  mix-blend-mode: multiply;
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand strong,
.site-header a {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav a {
  color: rgba(24, 33, 30, 0.72);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 108px clamp(18px, 4vw, 56px) 72px;
  isolation: isolate;
  overflow: hidden;
}

.hero__name {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  top: clamp(118px, 14vh, 170px);
  z-index: 0;
  width: min-content;
  max-width: 95vw;
  font-family: var(--display);
  font-size: clamp(4.4rem, 16vw, 17rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.12em;
  line-height: 0.8;
  text-transform: uppercase;
  color: rgba(24, 33, 30, 0.12);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 88px 0 auto;
  height: 70vh;
  z-index: 1;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero__frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 34px 90px rgba(24, 33, 30, 0.18), 0 2px 0 rgba(255, 255, 255, 0.46) inset;
  will-change: transform;
  clip-path: inset(0 0 0 0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.hero__frame--one {
  left: 6vw;
  top: 14vh;
  width: clamp(210px, 23vw, 390px);
  height: clamp(310px, 34vw, 560px);
  z-index: 2;
}

.hero__frame--two {
  right: 7vw;
  top: 4vh;
  width: clamp(430px, 48vw, 820px);
  height: clamp(300px, 36vw, 560px);
  z-index: 1;
}

.hero__frame--three {
  left: 24vw;
  top: 52vh;
  width: clamp(185px, 21vw, 330px);
  height: clamp(230px, 26vw, 420px);
  z-index: 3;
}

.hero__copy {
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  bottom: clamp(42px, 8vh, 90px);
  z-index: 8;
  width: min(540px, 90vw);
  margin: 0;
  padding: 0;
}

.hero__copy p,
.section-kicker {
  margin: 0 0 16px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.statement h2,
.feature h2,
.about h2,
.inquiry h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 430;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 590px;
  font-size: clamp(3.2rem, 5.7vw, 7rem);
  text-wrap: balance;
  filter: drop-shadow(0 1px 0 rgba(247, 247, 242, 0.32));
}

.hero__sub {
  max-width: 440px;
  margin: 20px 0 0;
  color: rgba(24, 33, 30, 0.72) !important;
  font-size: clamp(1rem, 1.25vw, 1.22rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button--wide {
  width: 100%;
}

.text-link {
  position: relative;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 280ms ease;
}

.text-link:hover::after {
  transform: scaleX(0.45);
}

.hero__location {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  bottom: clamp(28px, 7vh, 70px);
  z-index: 4;
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.statement {
  min-height: 82vh;
  display: grid;
  align-content: center;
  padding: 10vh clamp(18px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

.statement h2 {
  max-width: 1120px;
  font-size: clamp(3.4rem, 9vw, 11.5rem);
}

.statement > p:last-child {
  max-width: 640px;
  margin: 36px 0 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.contact-sheet {
  min-height: 360vh;
}

.contact-sheet__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
}

.contact-sheet__intro {
  flex: 0 0 min(42vw, 620px);
  padding-left: clamp(18px, 7vw, 110px);
  padding-right: 48px;
}

.contact-sheet__intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7.5vw, 9rem);
  font-weight: 430;
  letter-spacing: -0.085em;
  line-height: 0.9;
}

.contact-sheet__intro p:last-child {
  color: rgba(247, 247, 242, 0.72);
  line-height: 1.6;
}

.contact-sheet__track {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100vh;
  padding-right: 8vw;
  will-change: transform;
}

.sheet-card {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  background: #242c29;
}

.sheet-card.is-tall {
  width: min(34vw, 420px);
  height: 68vh;
}

.sheet-card.is-wide {
  width: min(56vw, 760px);
  height: 48vh;
}

.sheet-card figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(247, 247, 242, 0.86);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature,
.about,
.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
  padding: clamp(80px, 12vw, 170px) clamp(18px, 7vw, 110px);
}

.feature__media,
.about__image {
  height: min(78vh, 850px);
  overflow: hidden;
  background: var(--paper-2);
}

.feature__copy h2,
.about__copy h2,
.inquiry h2 {
  font-size: clamp(3rem, 6vw, 7.8rem);
}

.feature__copy p,
.about__copy p,
.inquiry__aside {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0 clamp(18px, 7vw, 110px);
  background: var(--line);
}

.reviews article {
  padding: clamp(34px, 6vw, 80px);
  background: var(--paper);
}

.reviews p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 4.6rem);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.reviews footer {
  margin-top: 28px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry {
  align-items: stretch;
}

.inquiry__panel {
  padding: clamp(28px, 5vw, 70px);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(24, 33, 30, 0.08);
}

form {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fbfbf8;
  color: var(--ink);
  font: inherit;
  padding: 16px 14px;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(166, 75, 87, 0.3);
  border-color: rgba(166, 75, 87, 0.7);
}

.inquiry__aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: clamp(28px, 5vw, 70px);
  background: var(--ink);
  color: rgba(247, 247, 242, 0.72);
}

.inquiry__aside h3 {
  margin: 0 0 auto;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.6vw, 6rem);
  font-weight: 430;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.inquiry__aside a {
  width: fit-content;
  border-bottom: 1px solid rgba(247, 247, 242, 0.35);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.char,
.word {
  display: inline-block;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 106dvh;
    padding-top: 92px;
  }

  .hero__name {
    display: none;
  }

  .hero__grid {
    inset: 84px 0 auto;
    height: 56vh;
  }

  .hero__frame--one {
    left: 4vw;
    top: 23vh;
    width: 45vw;
    height: 57vw;
  }

  .hero__frame--two {
    right: 4vw;
    top: 2vh;
    width: 82vw;
    height: 59vw;
  }

  .hero__frame--three {
    display: none;
  }

  .hero__copy {
    left: 18px;
    right: 18px;
    bottom: 72px;
    width: auto;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(2.95rem, 12vw, 4rem);
    line-height: 0.92;
  }

  .hero__sub {
    max-width: 315px;
    margin-top: 14px;
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
  }

  .hero__actions {
    gap: 18px;
    margin-top: 22px;
  }

  .button {
    min-height: 50px;
    padding: 0 22px;
  }

  .hero__location {
    display: none;
  }

  .statement {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 90px;
  }

  .contact-sheet {
    min-height: auto;
  }

  .contact-sheet__pin {
    position: relative;
    height: auto;
    display: block;
    padding: 80px 18px;
  }

  .contact-sheet__intro {
    padding: 0 0 34px;
  }

  .contact-sheet__track {
    height: auto;
    overflow-x: auto;
    padding: 0 0 16px;
    scroll-snap-type: x mandatory;
  }

  .sheet-card,
  .sheet-card.is-tall,
  .sheet-card.is-wide {
    width: 78vw;
    height: 62vh;
    scroll-snap-align: start;
  }

  .feature,
  .about,
  .inquiry,
  .reviews {
    grid-template-columns: 1fr;
  }

  .feature__media,
  .about__image {
    height: 62vh;
  }

  .reviews {
    gap: 1px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .loader {
    display: none;
  }
}
