/* Meltem Photography — V3 “Shadow Cut”
   Light editorial system. One loud motion: a projected bouquet shadow
   develops a locked-camera scene into its next act. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --paper: #f4f0e8;
  --paper-deep: #e8e0d4;
  --white: #fbfaf6;
  --ink: #1c1b18;
  --ink-soft: #5e5a53;
  --sage: #8d9487;
  --clay: #9a7155;
  --line: rgba(28, 27, 24, .2);
  --line-light: rgba(251, 250, 246, .38);
  --shell: min(1480px, calc(100vw - 48px));
  --section-space: clamp(110px, 15vw, 220px);
  --cut-x: 32%;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, .94rem + .18vw, 1.13rem);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  color: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

button {
  font: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 5px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 76px;
  padding: 18px clamp(22px, 3vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: rgba(244, 240, 232, .94);
  border-bottom: 1px solid var(--line);
  transition: min-height 300ms ease, background-color 300ms ease;
  backdrop-filter: blur(14px);
}

.site-header.is-compact {
  min-height: 62px;
  background: rgba(251, 250, 246, .97);
}

.wordmark {
  display: flex;
  gap: .35em;
  font-size: .85rem;
  font-weight: 650;
  letter-spacing: .075em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span:last-child {
  font-weight: 350;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  font-size: .78rem;
  font-weight: 520;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:not(.nav-cta) {
  position: relative;
}

.site-header nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.42em;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 15px 10px;
  border: 1px solid var(--ink);
}

.hero {
  padding: 98px 24px 0;
}

.shadow-stage {
  position: relative;
  width: min(1660px, 100%);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.stage-media {
  --cut-x: 32%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: #d5cec3;
}

.stage-scene,
.stage-tone,
.shadow-gate,
.bouquet-shadow {
  position: absolute;
}

.stage-scene {
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  user-select: none;
}

.stage-scene.is-current {
  z-index: 2;
  opacity: 1;
}

.stage-scene.is-next {
  z-index: 3;
  opacity: 1;
  clip-path: inset(0 100% 0 0);
}

.stage-tone {
  z-index: 4;
  inset: 0 auto 0 0;
  width: 62%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 240, 232, .94) 0 26%, rgba(244, 240, 232, .68) 36%, rgba(244, 240, 232, .18) 50%, transparent 60%);
}

.shadow-gate {
  z-index: 5;
  top: -9%;
  bottom: -9%;
  left: var(--cut-x);
  width: clamp(320px, 30vw, 540px);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0, rgba(18, 16, 13, .42) 7%, rgba(18, 16, 13, .78) 14% 32%, rgba(18, 16, 13, .62) 44%, rgba(18, 16, 13, .32) 64%, rgba(18, 16, 13, .08) 80%, transparent 92%);
  filter: blur(10px);
  mix-blend-mode: multiply;
  transform: translateX(-50%);
}

.bouquet-shadow {
  z-index: 6;
  top: 54%;
  left: var(--cut-x);
  width: clamp(360px, 48vw, 820px);
  max-width: none;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: translate(-48%, -42%) rotate(-10deg) scale(.82);
  transition: opacity 180ms ease;
}

.stage-media.is-cutting .shadow-gate {
  opacity: .96;
}

.stage-media.is-cutting .bouquet-shadow {
  opacity: .94;
}

.hero-copy {
  position: absolute;
  z-index: 7;
  top: clamp(110px, 14vw, 230px);
  left: clamp(34px, 5.2vw, 94px);
  width: min(700px, 45%);
  color: var(--ink);
}

.eyebrow,
.section-number,
.story-marker,
.stage-caption span,
.portrait-story figcaption span,
.macro-frame figcaption {
  margin: 0;
  font-size: clamp(.66rem, .62rem + .12vw, .76rem);
  font-weight: 620;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 10ch;
  margin: .22em 0 .28em;
  font-size: clamp(4rem, 8.25vw, 9.1rem);
  font-weight: 320;
  letter-spacing: -.045em;
  line-height: .89;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 38ch;
  margin: 0 0 1.45em;
  font-size: clamp(.95rem, .86rem + .32vw, 1.22rem);
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  padding-block: .35em;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link span,
.contact-link span {
  transition: transform 220ms ease;
}

.text-link:hover span,
.text-link:focus-visible span,
.contact-link:hover span,
.contact-link:focus-visible span {
  transform: translate(3px, 3px);
}

.stage-caption {
  min-height: 82px;
  padding: 17px clamp(18px, 2.4vw, 38px);
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(240px, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.stage-caption p {
  margin: 0;
}

.stage-caption p:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 18px;
}

.stage-caption strong {
  font-size: 1.05rem;
  font-weight: 520;
}

.stage-caption > p:nth-child(2) {
  color: var(--ink-soft);
}

.stage-control,
.story-control {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 5px 0;
  background: transparent;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.stage-control {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.stage-hint {
  width: min(1660px, 100%);
  margin: 12px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.no-js .stage-scene:first-child {
  opacity: 0;
}

.no-js .stage-scene:nth-child(2) {
  z-index: 2;
  opacity: 1;
}

.no-js .stage-control,
.no-js .stage-hint,
.no-js .shadow-gate,
.no-js .bouquet-shadow {
  display: none;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.thesis {
  padding-block: var(--section-space);
  display: grid;
  grid-template-columns: 1fr 2.25fr;
  column-gap: clamp(36px, 7vw, 130px);
  row-gap: clamp(46px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}

.section-number {
  align-self: start;
  color: var(--ink-soft);
}

.thesis h2,
.section-head h2,
.macro h2,
.method h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3rem, 6.1vw, 7.2rem);
  font-weight: 320;
  letter-spacing: -.062em;
  line-height: .94;
}

.thesis h2 {
  grid-column: 1 / -1;
}

.thesis h2 span {
  color: var(--clay);
}

.thesis-copy {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 88px);
  color: var(--ink-soft);
  font-size: clamp(1.08rem, .95rem + .45vw, 1.42rem);
  line-height: 1.45;
}

.thesis-copy p {
  margin: 0;
}

.stories {
  padding-block: var(--section-space);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2.25fr;
  gap: clamp(36px, 7vw, 130px);
  align-items: start;
  margin-bottom: clamp(64px, 9vw, 140px);
}

.section-head h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.35vw, 6.4rem);
}

.featured-story {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.story-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ded8cf;
}

.story-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-alternate {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1100ms cubic-bezier(.68, 0, .22, 1), opacity 120ms linear;
}

.story-frame.is-alternate .story-alternate {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.story-marker,
.story-control {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  background: var(--white);
  color: var(--ink);
}

.story-marker {
  left: 18px;
  padding: 10px 13px 9px;
}

.story-control {
  right: 18px;
  padding: 10px 13px 9px;
  border: 0;
}

.story-copy {
  display: grid;
  grid-template-columns: .8fr 1.25fr 1fr;
  gap: clamp(24px, 4vw, 68px);
  padding: 27px 0 clamp(90px, 11vw, 160px);
}

.story-copy h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2rem, 3.6vw, 4.4rem);
  font-weight: 340;
  letter-spacing: -.045em;
  line-height: .98;
}

.story-copy > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, .93rem + .28vw, 1.25rem);
}

.editorial-pair {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, .68fr);
  gap: clamp(28px, 8vw, 140px);
  align-items: start;
}

.portrait-story {
  margin: 0;
}

.portrait-story--offset {
  margin-top: clamp(90px, 15vw, 240px);
}

.portrait-story img {
  width: 100%;
  height: auto;
  background: #cbc8c3;
}

.portrait-story figcaption {
  padding-top: 16px;
  display: grid;
  grid-template-columns: minmax(120px, .7fr) 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.portrait-story figcaption span {
  color: var(--ink-soft);
}

.portrait-story figcaption strong {
  font-size: clamp(1.2rem, 1rem + .65vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
}

.macro {
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}

.macro-copy {
  display: grid;
  grid-template-columns: .85fr 1.35fr 1fr;
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  margin-bottom: clamp(48px, 8vw, 110px);
}

.macro-copy h2 {
  font-size: clamp(2.9rem, 5.2vw, 6.2rem);
}

.macro-copy > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.macro-frame {
  margin: 0;
}

.macro-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.macro-frame figcaption {
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  margin-top: 11px;
}

.method {
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}

.method-title {
  display: grid;
  grid-template-columns: .85fr 2.35fr;
  gap: clamp(28px, 5vw, 84px);
  margin-bottom: clamp(72px, 10vw, 150px);
}

.method h2 {
  font-size: clamp(2.9rem, 5.1vw, 6.2rem);
}

.method-list {
  margin: 0 0 0 27%;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.method-list li {
  padding: clamp(22px, 3vw, 44px) 0;
  display: grid;
  grid-template-columns: 70px minmax(120px, .6fr) 1fr;
  gap: clamp(18px, 3vw, 52px);
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.method-list li > span {
  color: var(--ink-soft);
  font-size: .72rem;
  letter-spacing: .1em;
}

.method-list h3,
.method-list p {
  margin: 0;
}

.method-list h3 {
  font-size: clamp(1.55rem, 1.3rem + .8vw, 2.35rem);
  font-weight: 370;
}

.method-list p {
  max-width: 42ch;
  color: var(--ink-soft);
}

.contact {
  margin-bottom: 32px;
  padding: clamp(48px, 7vw, 100px);
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.contact-grid {
  margin-top: clamp(65px, 10vw, 140px);
  display: grid;
  grid-template-columns: 1.65fr .85fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: end;
}

.contact h2 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 6.6vw, 7.6rem);
}

.contact-grid > div > p {
  margin: 0 0 2.5em;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, .94rem + .32vw, 1.3rem);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2.35rem);
  font-weight: 380;
  letter-spacing: -.025em;
  text-decoration: none;
}

.contact-meta {
  margin-top: 28px;
  display: grid;
  gap: 7px;
  font-size: .82rem;
}

.site-footer {
  padding: 34px clamp(22px, 3vw, 52px) 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px 60px;
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .76rem;
}

.footer-mark {
  color: var(--ink);
  font-size: clamp(1.8rem, 1.3rem + 1.7vw, 3.5rem);
  font-weight: 320;
  letter-spacing: -.04em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.prototype-note {
  max-width: 74ch;
  margin: 0;
}

.site-footer > p:last-child {
  margin: 0;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(.22, .75, .24, 1);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero-copy {
    top: 14%;
    width: 43%;
  }

  .hero-copy h1 {
    font-size: clamp(3.8rem, 8.4vw, 6.8rem);
  }

  .story-copy,
  .macro-copy {
    grid-template-columns: .7fr 1.2fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1.35fr 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 34px, 720px);
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-inline: 12px;
  }

  .shadow-stage {
    display: flex;
    flex-direction: column;
    border: 0;
    background: transparent;
  }

  .hero-copy {
    position: relative;
    order: -1;
    top: auto;
    left: auto;
    width: auto;
    padding: 30px 7px 38px;
    color: var(--ink);
  }

  .hero-copy h1 {
    font-size: clamp(4.4rem, 17vw, 7.3rem);
  }

  .stage-media {
    aspect-ratio: 4 / 5;
  }

  .stage-scene {
    object-position: 67% center;
  }

  .stage-scene:last-of-type {
    object-position: 61% center;
  }

  .stage-tone {
    display: none;
  }

  .bouquet-shadow {
    width: min(88vw, 620px);
  }

  .stage-caption {
    grid-template-columns: 1fr auto;
    gap: 13px 20px;
  }

  .stage-caption > p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .stage-control {
    grid-column: 2;
    grid-row: 1;
  }

  .stage-hint span:first-child {
    display: none;
  }

  .thesis,
  .section-head,
  .method-title {
    grid-template-columns: 1fr;
  }

  .thesis h2 {
    font-size: clamp(3.2rem, 11vw, 6rem);
  }

  .thesis-copy {
    grid-column: 1;
  }

  .section-head h2 {
    max-width: 13ch;
    font-size: clamp(3rem, 9.5vw, 5.5rem);
  }

  .story-copy {
    grid-template-columns: .75fr 1.5fr;
  }

  .story-copy > p:last-child {
    grid-column: 2;
  }

  .macro-copy {
    grid-template-columns: 1fr 1.6fr;
  }

  .macro-copy > p:last-child {
    grid-column: 2;
  }

  .method-list {
    margin-left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact h2 {
    max-width: 12ch;
  }
}

@media (max-width: 580px) {
  :root {
    --section-space: 104px;
  }

  .site-header {
    min-height: 68px;
    padding: 14px 17px;
  }

  .wordmark {
    display: grid;
    gap: 2px;
    font-size: .7rem;
  }

  .nav-cta {
    padding: 9px 10px 8px;
    font-size: .64rem;
  }

  .hero {
    padding-top: 74px;
  }

  .hero-copy {
    padding-top: 40px;
  }

  .hero-copy h1 {
    margin-top: .3em;
    font-size: clamp(4rem, 20vw, 5.8rem);
    line-height: .86;
  }

  .stage-caption {
    min-height: 0;
    padding: 16px 13px 18px;
    grid-template-columns: 1fr;
  }

  .stage-caption p:first-child {
    grid-template-columns: auto 1fr;
  }

  .stage-control {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: 5px;
  }

  .stage-hint {
    padding-inline: 6px;
  }

  .thesis-copy,
  .story-copy,
  .macro-copy {
    grid-template-columns: 1fr;
  }

  .thesis-copy {
    gap: 24px;
  }

  .story-frame {
    aspect-ratio: 4 / 5;
  }

  .story-frame > img {
    object-position: 66% center;
  }

  .story-marker {
    top: 12px;
    bottom: auto;
    left: 12px;
  }

  .story-control {
    right: 12px;
    bottom: 12px;
  }

  .story-copy {
    padding-bottom: 95px;
  }

  .story-copy > p:last-child,
  .macro-copy > p:last-child {
    grid-column: 1;
  }

  .editorial-pair {
    grid-template-columns: 1fr;
    gap: 74px;
  }

  .portrait-story--offset {
    margin-top: 0;
    margin-left: 18%;
  }

  .portrait-story figcaption {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .macro-frame img {
    aspect-ratio: 4 / 5;
    object-position: 53% center;
  }

  .macro-frame figcaption {
    display: grid;
  }

  .method-list li {
    grid-template-columns: 42px 1fr;
  }

  .method-list li p {
    grid-column: 2;
  }

  .contact {
    width: calc(100% - 24px);
    padding: 40px 22px;
  }

  .contact-grid {
    margin-top: 70px;
  }

  .contact h2 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

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

  .site-footer > p:last-child {
    text-align: left;
  }
}

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

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

  .bouquet-shadow,
  .shadow-gate,
  .stage-control,
  .stage-hint {
    display: none;
  }

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

@media print {
  .site-header,
  .stage-control,
  .story-control,
  .stage-hint,
  .shadow-gate,
  .bouquet-shadow {
    display: none !important;
  }

  .hero {
    padding-top: 0;
  }

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