/* ============================================================
   Found on Columbia: plaster-pink editorial
   ============================================================ */

:root {
  --plaster: #f4e9e2;
  --plaster-deep: #eeddd3;
  --ink: #33272a;
  --ink-soft: #6b585c;
  --pink: #d2688a;
  --pink-deep: #b94f74;
  --brass: #b08947;
  --white: #fdfaf7;

  --font-serif: "Fraunces", "Georgia", serif;
  --font-sans: "Archivo", "Helvetica Neue", sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--plaster);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, blockquote {
  font-family: var(--font-serif);
  font-weight: 380;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 em, h1 em, blockquote em, .manifesto em, .belief-list em, .contact-title em {
  font-style: italic;
  font-weight: 420;
  color: var(--pink-deep);
}

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

/* clear the fixed header when jumping to an anchor */
#manifesto, #studio, #work, #services, #contact {
  scroll-margin-top: 96px;
}

::selection { background: var(--pink); color: var(--white); }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--gutter);
  transition: background .5s var(--ease-out), box-shadow .5s var(--ease-out), padding .5s var(--ease-out);
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--plaster) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgb(51 39 42 / .07);
  padding-block: .8rem;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.wordmark em { font-style: italic; font-weight: 340; color: var(--pink-deep); }

.site-nav { display: flex; gap: 1.8rem; }
.site-nav a, .nav-cta {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  padding-block: .2rem;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--pink-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: .55rem 1.2rem;
  text-align: center;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.nav-cta:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: var(--white); }

@media (max-width: 760px) {
  .site-nav { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-media img {
  animation: hero-zoom 14s var(--ease-out) forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(26 18 22 / .72) 0%, rgb(26 18 22 / .18) 45%, rgb(26 18 22 / .12) 100%);
}
.hero-content {
  position: relative;
  padding: 0 var(--gutter) clamp(4rem, 10vh, 7rem);
  max-width: 60rem;
}
.hero-title {
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: .98;
  margin-bottom: 1.6rem;
}
.hero-title em { color: #f4b8cb; }
.hero-sub {
  max-width: 34rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  opacity: .92;
}

/* staggered line reveal (hero) */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: inline-block;
  transform: translateY(115%);
  animation: line-up 1.1s var(--ease-out) forwards;
}
.hero-title .reveal-line:nth-child(1) > span { animation-delay: .15s; }
.hero-title .reveal-line:nth-child(2) > span { animation-delay: .27s; }
.hero-title .reveal-line:nth-child(3) > span { animation-delay: .39s; }
.hero-sub.reveal-line > span { animation-delay: .55s; }
@keyframes line-up { to { transform: translateY(0); } }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2rem, 6vh, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .85;
}
.scroll-cue i {
  width: 1px; height: 52px;
  background: currentColor;
  display: block;
  transform-origin: top;
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- shared scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--plaster-deep);
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease-out);
  z-index: 2;
}
.img-reveal img {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease-out);
}
.img-reveal.in::after { transform: scaleY(0); transform-origin: top; }
.img-reveal.in img { transform: scale(1); }

/* ---------- hero scallop ---------- */
.hero-scallop {
  --s: clamp(44px, 6vw, 84px);
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: calc(var(--s) / 2);
  z-index: 3;
  background-image: radial-gradient(circle at 50% 100%, var(--plaster) 49.4%, transparent 50.6%);
  background-size: var(--s) 100%;
  background-repeat: repeat-x;
  background-position: 50% 0;
}

/* ---------- manifesto ---------- */
.manifesto {
  padding: clamp(6rem, 14vh, 10rem) var(--gutter);
  display: flex;
  justify-content: center;
}
.manifesto-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.32;
  max-width: 56rem;
  text-align: center;
  text-wrap: balance;
}

/* ---------- section labels ---------- */
.section-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 1.6rem;
}

/* ---------- studio ---------- */
.studio {
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(5rem, 12vh, 9rem);
}
.studio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.studio-text { grid-column: 1 / 7; }
.studio-text h2 { margin-bottom: 2rem; max-width: 22ch; }
.studio-copy p { max-width: 44ch; color: var(--ink-soft); }
.studio-copy p + p { margin-top: 1.1rem; }

.frame {
  overflow: hidden;
  border-radius: 2px;
}
.studio-media {
  grid-column: 7 / 13;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
}
.studio-media-small {
  grid-column: 3 / 6;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.studio-media-small .frame { aspect-ratio: 3 / 4; }
.studio-media-small figcaption,
.c-item figcaption {
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--ink-soft);
  padding-top: .7rem;
}

@media (max-width: 900px) {
  .studio-text { grid-column: 1 / -1; }
  .studio-media { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .studio-media-small { grid-column: 1 / 8; margin-top: 0; }
}

/* ---------- work / collage ---------- */
.work { padding: clamp(4rem, 10vh, 8rem) var(--gutter); background: var(--white); }
.work-header { margin-bottom: clamp(3rem, 6vh, 5rem); }

.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}
.c-item { cursor: zoom-in; }
.c-item:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 4px; }
.c-item .frame { aspect-ratio: 3 / 2; }
.c-item.tall .frame { aspect-ratio: 3 / 4; }
.c-item img { transition: transform 1.4s var(--ease-out); }
.c-item:hover img { transform: scale(1.045); }

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }

@media (max-width: 760px) {
  .span-4, .span-5, .span-6, .span-7 { grid-column: 1 / -1; }
}

/* ---------- quote band ---------- */
.quote-band {
  background: var(--pink-deep);
  color: var(--white);
  padding: clamp(6rem, 16vh, 11rem) var(--gutter);
  text-align: center;
}
.quote-band blockquote p {
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  line-height: 1.12;
  max-width: 20ch;
  margin-inline: auto;
  text-wrap: balance;
}
.quote-band em { color: #f7c8d8; }
.quote-band cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .75;
}

/* ---------- services ---------- */
.services {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}
.service-list { list-style: none; margin-top: 3rem; }
.service {
  display: grid;
  grid-template-columns: 5rem 1fr 1.4fr;
  gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
  padding-block: 2.4rem;
  border-top: 1px solid rgb(51 39 42 / .14);
  transition: padding-left .5s var(--ease-out);
}
.service:last-child { border-bottom: 1px solid rgb(51 39 42 / .14); }
.service:hover { padding-left: 1rem; }
.service-no {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--pink-deep);
  font-size: 1.1rem;
}
.service h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.service p { color: var(--ink-soft); max-width: 46ch; }

@media (max-width: 760px) {
  .service { grid-template-columns: 3rem 1fr; }
  .service p { grid-column: 2; }
}

/* ---------- beliefs ---------- */
.beliefs {
  background: var(--plaster-deep);
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}
.beliefs-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.beliefs-media {
  grid-column: 1 / 6;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}
.beliefs-text { grid-column: 6 / 13; }
.belief-list {
  list-style: none;
  counter-reset: belief;
}
.belief-list li {
  counter-increment: belief;
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  padding: 1.4rem 0 1.4rem 3.4rem;
  border-top: 1px solid rgb(51 39 42 / .12);
}
.belief-list li:first-child { border-top: 0; }
.belief-list li::before {
  content: counter(belief, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1.7rem;
  font-family: var(--font-sans);
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--brass);
}

@media (max-width: 900px) {
  .beliefs-media { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .beliefs-text { grid-column: 1 / -1; }
}

/* ---------- contact ---------- */
.contact {
  padding: clamp(6rem, 16vh, 11rem) var(--gutter);
  text-align: center;
}
.contact-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  max-width: 18ch;
  margin-inline: auto;
  text-wrap: balance;
  margin-bottom: 2.6rem;
}
.contact-mail {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  color: var(--pink-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: .15rem;
  transition: color .35s var(--ease-out);
}
.contact-mail:hover { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgb(51 39 42 / .12);
  padding: clamp(3rem, 6vh, 5rem) var(--gutter) 2rem;
  overflow: hidden;
}
.footer-mark {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 8.4vw, 8.5rem);
  line-height: 1;
  text-align: center;
  color: rgb(51 39 42 / .16);
  white-space: nowrap;
  margin-bottom: 3rem;
  user-select: none;
}
.footer-mark em { font-style: italic; }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgb(26 18 22 / .93);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 4rem);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 3px;
}
.lightbox-caption {
  color: var(--plaster);
  font-family: var(--font-serif);
  font-style: italic;
  margin-top: 1.2rem;
  font-size: 1.05rem;
}
.lightbox-close {
  position: absolute;
  top: 1.4rem; right: 1.8rem;
  background: none;
  border: 0;
  color: var(--plaster);
  font-size: 1.4rem;
  cursor: pointer;
  padding: .5rem;
  transition: transform .3s var(--ease-out);
}
.lightbox-close:hover { transform: rotate(90deg); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .img-reveal::after, .img-reveal img, .c-item img { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .img-reveal::after { display: none; }
  .img-reveal img { transform: none; }
  .reveal-line > span { animation: none; transform: none; }
  .hero-media img, .scroll-cue i, .grain { animation: none; }
  [data-parallax] { transform: none !important; }
}
