:root {
  --ink: #10100f;
  --paper: #f4f2ed;
  --white: #ffffff;
  --stone: #d6d2c9;
  --moss: #65745b;
  --content-width: 1380px;
  --page-progress: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

body.menu-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.cut-guide {
  position: fixed;
  z-index: 20;
  top: 0;
  right: clamp(1.25rem, 4vw, 4rem);
  width: 1px;
  height: 100vh;
  pointer-events: none;
  background: rgb(101 116 91 / 30%);
  transform: skewX(-9deg);
  transform-origin: top;
}

.cut-guide__marker {
  position: absolute;
  top: calc(var(--page-progress) * (100% - 10px));
  left: -4px;
  width: 9px;
  height: 9px;
  background: var(--moss);
  transform: skewX(9deg);
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--content-width));
  min-height: 7.5rem;
  margin: 0 auto;
  border-bottom: 1px solid rgb(16 16 15 / 20%);
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  width: 5.5rem;
}

.brand img {
  width: 100%;
  mix-blend-mode: multiply;
}

.navigation__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.navigation__links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.navigation__links a:not(.navigation__booking) {
  padding-block: 0.4rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 180ms ease;
}

.navigation__links a:not(.navigation__booking):hover {
  background-size: 100% 1px;
}

.navigation__booking {
  padding: 0.9rem 1.25rem;
  color: var(--white);
  background: var(--ink);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(22rem, 0.76fr) minmax(34rem, 1.24fr);
  align-items: end;
  width: min(calc(100% - 3rem), var(--content-width));
  min-height: min(56rem, 100svh);
  margin: 0 auto;
  padding: 10rem 0 4.5rem;
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: 2.1rem;
  width: 55%;
  height: 1px;
  content: "";
  background: var(--ink);
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 4vw, 4.5rem) 3.5rem 0;
}

.eyebrow,
.section-index {
  margin: 0 0 1.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.96;
}

h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 7vw, 7.75rem);
  letter-spacing: -0.045em;
}

.hero__summary {
  max-width: 34rem;
  margin: 2rem 0 2.5rem;
  color: rgb(16 16 15 / 72%);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link__arrow {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link__arrow::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.text-link:hover .text-link__arrow {
  width: 3.25rem;
}

.hero__visual {
  position: relative;
  min-height: 37rem;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 37rem;
  object-fit: cover;
}

.hero__visual figcaption {
  position: absolute;
  right: 1.4rem;
  bottom: 1.25rem;
  padding: 0.4rem 0.55rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__signature {
  position: absolute;
  z-index: 3;
  right: -0.2rem;
  bottom: 3.2rem;
  margin: 0;
  color: var(--paper);
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 1;
  writing-mode: vertical-rl;
  mix-blend-mode: difference;
}

.statement {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 3rem;
  width: min(calc(100% - 3rem), 1140px);
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 12rem) 0;
}

.statement__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
}

.statement h2,
.section-heading h2,
.application h2,
.process h2,
.closing h2 {
  font-size: clamp(3rem, 5.4vw, 6rem);
  letter-spacing: -0.035em;
}

.statement__content p {
  max-width: 31rem;
  margin: 0;
  color: rgb(16 16 15 / 68%);
}

.work {
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--content-width)) / 2));
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1fr 0.7fr;
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.section-heading .section-index {
  align-self: start;
  color: rgb(255 255 255 / 52%);
}

.section-heading p:last-child {
  max-width: 27rem;
  margin: 0;
  color: rgb(255 255 255 / 62%);
}

.work__sequence {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(24rem, 1.28fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 9rem);
}

.work-item {
  margin: 0;
}

.work-item:nth-child(2) {
  margin-top: 12rem;
}

.work-item img {
  width: 100%;
  height: min(68vw, 45rem);
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.work-item:nth-child(2) img {
  height: min(60vw, 40rem);
  object-position: center;
}

.work-item figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 35%);
}

.work-item__number {
  grid-row: 1 / 3;
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.work-item figcaption strong {
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.work-item figcaption > span:last-child {
  color: rgb(255 255 255 / 56%);
  font-size: 0.86rem;
}

.application {
  display: grid;
  grid-template-columns: minmax(20rem, 0.78fr) minmax(28rem, 1.22fr);
  gap: clamp(4rem, 9vw, 10rem);
  padding: clamp(7rem, 12vw, 12rem) max(1.5rem, calc((100vw - 1200px) / 2));
  background: var(--white);
}

.application__intro > p:last-child {
  max-width: 32rem;
  margin: 2rem 0 0;
  color: rgb(16 16 15 / 65%);
}

.application__identity {
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) 1fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--ink);
}

.application__identity img {
  width: 100%;
}

.application__proof {
  margin: 0 0 0.75rem;
  color: var(--moss);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.application__identity strong {
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
}

.application__identity div > p:last-of-type {
  max-width: 29rem;
  margin: 1rem 0 1.5rem;
  color: rgb(16 16 15 / 62%);
}

.application__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.application__stores a,
.application__provider a {
  font-size: 0.78rem;
  font-weight: 600;
  text-underline-offset: 0.3rem;
}

.application__facts {
  grid-column: 1 / -1;
  border-top: 1px solid var(--ink);
}

.application__facts article {
  display: grid;
  grid-template-columns: 4rem minmax(14rem, 0.65fr) minmax(20rem, 1.35fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: baseline;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgb(16 16 15 / 22%);
}

.application-fact__number {
  color: var(--moss);
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: 2rem;
}

.application__facts h3 {
  margin: 0;
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.08;
}

.application__facts p {
  max-width: 40rem;
  margin: 0;
  color: rgb(16 16 15 / 65%);
}

.application__provider {
  grid-column: 2;
  max-width: 43rem;
  margin: 0;
  padding-left: 2rem;
  border-left: 1px solid var(--moss);
  color: rgb(16 16 15 / 68%);
}

.process {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(28rem, 1.28fr);
  gap: clamp(4rem, 9vw, 10rem);
  width: min(calc(100% - 3rem), 1200px);
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 12rem) 0;
}

.process__heading > p:last-child {
  max-width: 30rem;
  margin: 2rem 0 0;
  color: rgb(16 16 15 / 65%);
}

.process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.process__steps li {
  display: grid;
  grid-template-columns: 3.5rem 0.45fr 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid rgb(16 16 15 / 25%);
}

.process-step__number {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.process__steps h3 {
  margin: 0;
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 400;
}

.process__steps p {
  margin: 0;
  color: rgb(16 16 15 / 65%);
}

.closing {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  min-height: 39rem;
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - 1200px) / 2));
  overflow: hidden;
  color: var(--white);
  background: var(--moss);
}

.closing::before {
  position: absolute;
  top: -25%;
  left: 35%;
  width: 1px;
  height: 150%;
  content: "";
  background: rgb(255 255 255 / 45%);
  transform: rotate(24deg);
}

.closing__mark {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  align-items: center;
  width: min(100%, 27rem);
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: clamp(8rem, 17vw, 16rem);
  line-height: 0.72;
}

.closing__mark i {
  width: 1px;
  height: 130%;
  background: currentColor;
  transform: rotate(25deg);
}

.closing__copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.closing__copy > p:not(.eyebrow) {
  max-width: 31rem;
  margin: 2rem 0 2.5rem;
  color: rgb(255 255 255 / 75%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem max(1.5rem, calc((100vw - var(--content-width)) / 2));
  color: var(--white);
  background: var(--ink);
}

.site-footer img {
  width: 4.5rem;
  filter: invert(1);
  mix-blend-mode: screen;
}

.site-footer p {
  max-width: 28rem;
  margin: 0;
  color: rgb(255 255 255 / 55%);
  font-size: 0.72rem;
  text-align: right;
}

.motion-enabled .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.motion-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .hero__visual,
  .hero__visual img {
    min-height: 32rem;
  }

  .statement,
  .statement__content,
  .section-heading,
  .application,
  .process {
    grid-template-columns: 1fr;
  }

  .statement {
    gap: 1rem;
  }

  .statement__content {
    gap: 2rem;
  }

  .section-heading {
    max-width: 50rem;
    gap: 1.5rem;
  }

  .process {
    gap: 4rem;
  }

  .closing {
    grid-template-columns: 0.7fr 1.3fr;
  }
}

@media (max-width: 740px) {
  html {
    scroll-padding-top: 5rem;
  }

  .cut-guide {
    right: 1.2rem;
  }

  .navigation {
    width: calc(100% - 2rem);
    min-height: 5.25rem;
  }

  .brand {
    width: 4.2rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 7px;
    width: 3rem;
    height: 3rem;
    padding: 0.95rem 0.65rem;
    border: 0;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle__line {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .navigation__links {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 6rem 2rem 3rem;
    visibility: hidden;
    opacity: 0;
    background: var(--paper);
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .navigation__links.is-open {
    visibility: visible;
    opacity: 1;
  }

  .navigation__links a {
    font-family: "Bodoni MT", Didot, "Times New Roman", serif;
    font-size: clamp(2.4rem, 12vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .navigation__booking {
    padding: 0.6rem 0;
    color: var(--ink);
    border-bottom: 1px solid currentColor;
    background: transparent;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    padding: 7.5rem 1rem 3rem;
  }

  .hero::after {
    display: none;
  }

  .hero__copy {
    padding: 2rem 0 3.25rem;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 6.1rem);
  }

  .hero__summary {
    max-width: 30rem;
  }

  .hero__visual {
    min-height: 27rem;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero__visual img {
    min-height: 27rem;
  }

  .hero__signature {
    right: 0.5rem;
    bottom: 3.8rem;
    font-size: 3.6rem;
  }

  .statement,
  .process {
    width: calc(100% - 2rem);
  }

  .statement {
    padding: 6.5rem 0;
  }

  .statement h2,
  .section-heading h2,
  .application h2,
  .process h2,
  .closing h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .work {
    padding: 5rem 1rem 6.5rem;
  }

  .work__sequence {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 1rem;
  }

  .work-item:nth-child(2) {
    margin-top: 8rem;
  }

  .work-item img,
  .work-item:nth-child(2) img {
    height: 75vw;
  }

  .work-item figcaption {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .work-item__number {
    grid-row: auto;
  }

  .work-item figcaption strong {
    font-size: 1.35rem;
  }

  .process {
    padding: 6.5rem 0;
  }

  .application {
    padding: 6.5rem 1rem;
  }

  .application__identity {
    grid-template-columns: 8rem 1fr;
  }

  .application__facts article {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.5rem 1rem;
  }

  .application__facts p {
    grid-column: 2;
  }

  .application__provider {
    grid-column: 1;
    padding-left: 1rem;
  }

  .process__steps li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.5rem 1rem;
  }

  .process__steps p {
    grid-column: 2;
  }

  .closing {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 6.5rem 1rem;
  }

  .closing::before {
    left: 68%;
  }

  .closing__mark {
    position: absolute;
    top: 2rem;
    right: -4rem;
    width: 15rem;
    opacity: 0.18;
  }

  .closing__copy {
    max-width: 34rem;
  }

  .site-footer {
    align-items: flex-end;
    padding: 2rem 1rem;
  }

  .site-footer p {
    max-width: 15rem;
    text-align: right;
  }
}

@media (max-width: 480px) {
  .application__identity {
    grid-template-columns: 1fr;
  }

  .application__identity img {
    width: 8rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cut-guide__marker {
    top: 18%;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
