/* ─── Jenna Grace Cooper · stylist portfolio ─── */

:root {
  --bg: #f4ede1;
  --ink: #1a1612;
  --ink-soft: #5a514a;
  --rule: rgba(26, 22, 18, 0.14);
  --accent: #a8593a;
  --accent-soft: rgba(168, 89, 58, 0.12);
  --gutter: clamp(20px, 4vw, 64px);
  --col-gap: clamp(16px, 2vw, 32px);
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 900px), (hover: none) {
  body { cursor: auto; }
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

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

/* ─── shared type ─── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.015em;
}
.display em, .italic { font-style: italic; }

/* ─── nav ─── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav__progress {
  position: absolute;
  bottom: -0.5px;
  left: 0;
  height: 1px;
  background: var(--ink);
  width: var(--progress, 0%);
  transition: width 0.1s linear;
}
.nav__logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}
.nav__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav__cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 0.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 16px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.nav__cta:hover { background: var(--ink); color: var(--bg); }

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  position: relative;
}
.nav__burger i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger i:nth-child(1) { top: 16px; }
.nav__burger i:nth-child(2) { top: 22px; }
.nav.menu-open .nav__burger i:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.menu-open .nav__burger i:nth-child(2) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  pointer-events: none;
}
.drawer.open { transform: translateY(0); pointer-events: auto; }
.drawer a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1.15;
  padding: 6px 0;
  border-bottom: 0.5px solid var(--rule);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.drawer a span {
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.drawer__cta {
  margin-top: 32px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 0.5px solid var(--ink);
  border-radius: 999px;
  padding: 12px 22px;
  background: transparent;
}

/* ─── hero ─── */
.hero {
  padding: 140px var(--gutter) 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 56px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 13vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.025em;
}
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* room for italic descenders (J, g, y) so overflow:hidden doesn't clip them */
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  line-height: 1;
}
.hero__title .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(0.5, 0, 0.05, 1);
  transition-delay: var(--d, 0ms);
}
.hero.ready .hero__title .word > span { transform: translateY(0); }
.hero__title em { font-style: italic; }

.hero__sub {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  align-items: end;
}
.hero__sub p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
  max-width: 38ch;
  color: var(--ink-soft);
}
.hero__sub p em { color: var(--ink); }
.hero__scroll {
  justify-self: end;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--ink-soft);
  animation: scrollHint 2.2s ease-in-out infinite;
  transform-origin: left;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleX(0.4); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* hero: split layout */
.hero[data-layout="split"] {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--col-gap);
  align-items: stretch;
  padding-top: 110px;
}
.hero[data-layout="split"] .hero__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: var(--col-gap);
}
.hero[data-layout="split"] .hero__title {
  font-size: clamp(48px, 8.5vw, 140px);
}
.hero[data-layout="split"] .hero__meta { margin-bottom: 0; }
.hero[data-layout="split"] .hero__sub {
  grid-template-columns: 1fr;
  margin-top: 36px;
}
.hero[data-layout="split"] .hero__sub p { max-width: 36ch; }
.hero[data-layout="split"] .hero__image {
  display: block;
  height: 100%;
  min-height: 70vh;
  aspect-ratio: auto;
}
.hero__image-wrap {
  display: none;
}
.hero[data-layout="split"] .hero__image-wrap,
.hero[data-layout="cover"] .hero__image-wrap {
  display: block;
}

/* hero: cover (full-bleed) */
.hero[data-layout="cover"] {
  padding: 0;
  min-height: 100vh;
  display: block;
}
.hero[data-layout="cover"] .hero__image-wrap {
  position: absolute;
  inset: 0;
}
.hero[data-layout="cover"] .hero__image {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.hero[data-layout="cover"] .hero__cover-overlay {
  position: relative;
  z-index: 2;
  padding: 110px var(--gutter) 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f4ede1;
  background: linear-gradient(180deg,
    rgba(26, 22, 18, 0.55) 0%,
    rgba(26, 22, 18, 0.15) 35%,
    rgba(26, 22, 18, 0.05) 60%,
    rgba(26, 22, 18, 0.65) 100%);
}
.hero[data-layout="cover"] .hero__meta,
.hero[data-layout="cover"] .hero__scroll { color: rgba(244, 237, 225, 0.85); }
.hero[data-layout="cover"] .hero__scroll::after { background: rgba(244, 237, 225, 0.85); }
.hero[data-layout="cover"] .hero__title {
  font-size: clamp(60px, 14vw, 240px);
}
.hero[data-layout="cover"] .hero__sub p { color: rgba(244, 237, 225, 0.85); }
.hero[data-layout="cover"] .hero__sub p em { color: #f4ede1; }
.hero__cover-overlay { display: none; }
.hero[data-layout="cover"] .hero__cover-overlay { display: flex; }
.hero[data-layout="cover"] > .hero__inner { display: none; }

@media (max-width: 760px) {
  .hero { padding-top: 110px; padding-bottom: 60px; }
  .hero[data-layout="split"] {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero[data-layout="split"] .hero__image { min-height: 60vh; }
  .hero__sub { grid-template-columns: 1fr; gap: 24px; }
  .hero__scroll { justify-self: start; }
}

/* ─── placeholder image (subtle stripes + mono caption) ─── */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(26, 22, 18, 0.045) 0 12px,
      rgba(26, 22, 18, 0.085) 12px 24px),
    color-mix(in oklab, var(--ink) 8%, var(--bg));
  overflow: hidden;
  border-radius: 2px;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.55);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.ph::before {
  content: "↓ drop image";
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.4);
}

/* ─── marquee ─── */
.marquee {
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  overflow: hidden;
  padding: 24px 0;
  margin: 40px 0;
}
.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee__track span::after {
  content: "✦";
  font-family: var(--sans);
  font-style: normal;
  color: var(--accent);
  font-size: 0.4em;
  vertical-align: middle;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── section shell ─── */
.section {
  padding: 80px var(--gutter) 80px;
  position: relative;
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--col-gap);
  align-items: baseline;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--rule);
}
.section__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.section__title em { font-style: italic; }
@media (max-width: 760px) {
  .section { padding: 60px var(--gutter); }
  .section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

/* ─── about ─── */
.about__body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--col-gap);
  align-items: start;
}
.about__lede {
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-style: italic;
  color: var(--ink);
  max-width: 22ch;
}
.about__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}
.about__copy p strong { color: var(--ink); font-weight: 600; }
.about__pillars {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
  padding-top: 32px;
  border-top: 0.5px solid var(--rule);
}
.about__pillar h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 12px;
}
.about__pillar p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  font-style: italic;
}
@media (max-width: 760px) {
  .about__body { grid-template-columns: 1fr; gap: 28px; }
  .about__pillars { grid-template-columns: 1fr; gap: 28px; }
}

/* ─── gallery — horizontal scroll strip ─── */
.gallery {
  display: flex;
  align-items: center;
  gap: var(--col-gap);
  padding: 20px var(--gutter) 60px;
  margin: 0 calc(-1 * var(--gutter));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-left: var(--gutter);
  cursor: grab;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:active { cursor: grabbing; }

.gallery__item {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.gallery__item .ph {
  width: 100%;
  border-radius: 2px;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.1, 1);
  opacity: 0;
  transform: translateY(24px);
}
.gallery__item.in-view .ph { opacity: 1; transform: translateY(0); }
.gallery__item:hover .ph { transform: translateY(-4px) scale(1.008); }
.gallery__item .meta {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: 0.2s;
}
.gallery__item.in-view .meta { opacity: 1; transform: translateY(0); }

/* varied item sizes for editorial rhythm */
.g-1 { width: clamp(320px, 36vw, 520px); }  .g-1 .ph { aspect-ratio: 4/5; }
.g-2 { width: clamp(220px, 22vw, 320px); margin-top: 80px; } .g-2 .ph { aspect-ratio: 3/4; }
.g-3 { width: clamp(280px, 30vw, 420px); }  .g-3 .ph { aspect-ratio: 1/1; }
.g-4 { width: clamp(240px, 26vw, 360px); margin-top: 40px; } .g-4 .ph { aspect-ratio: 4/5; }
.g-5 { width: clamp(340px, 38vw, 540px); }  .g-5 .ph { aspect-ratio: 4/5; }
.g-6 { width: clamp(220px, 22vw, 320px); margin-top: 60px; } .g-6 .ph { aspect-ratio: 3/4; }
.g-7 { width: clamp(320px, 36vw, 500px); }  .g-7 .ph { aspect-ratio: 5/4; }
.g-8 { width: clamp(240px, 26vw, 360px); margin-top: 30px; } .g-8 .ph { aspect-ratio: 4/5; }

/* trailing whitespace marker so last item can scroll-snap to start */
.gallery::after {
  content: "";
  flex-shrink: 0;
  width: 1px;
  height: 1px;
}

/* scroll cue */
.gallery-cue {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.gallery-cue__track {
  flex: 1;
  margin: 0 24px;
  height: 1px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.gallery-cue__track i {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 18%;
  background: var(--ink);
  transform: translateX(var(--gx, 0));
  transition: transform 0.1s linear;
}

@media (max-width: 760px) {
  .gallery { padding-bottom: 40px; gap: 18px; }
  .g-1 { width: 78vw; } .g-1 .ph { aspect-ratio: 4/5; }
  .g-2 { width: 56vw; margin-top: 40px; }
  .g-3 { width: 72vw; }
  .g-4 { width: 64vw; margin-top: 24px; }
  .g-5 { width: 80vw; }
  .g-6 { width: 56vw; margin-top: 32px; }
  .g-7 { width: 76vw; }
  .g-8 { width: 64vw; margin-top: 16px; }
}

/* ─── services ─── */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.service {
  display: grid;
  grid-template-columns: 80px 1.2fr 1.6fr 1fr;
  gap: var(--col-gap);
  padding: 36px 0;
  border-top: 0.5px solid var(--rule);
  align-items: start;
  transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.service:last-child { border-bottom: 0.5px solid var(--rule); }
.service:hover { padding: 44px 0; }
.service__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  padding-top: 6px;
}
.service__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.service__title em { font-style: italic; }
.service__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.service__desc ul {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service__desc li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-left: 18px;
}
.service__desc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--ink);
}
.service__rate {
  text-align: right;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.service__rate em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 32px);
  color: var(--ink);
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.service__arrow {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 0.5px solid var(--ink);
  padding-bottom: 4px;
  transition: padding-right 0.3s, letter-spacing 0.3s;
}
.service:hover .service__arrow { padding-right: 12px; letter-spacing: 0.2em; }

@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .service:hover { padding: 32px 0; }
  .service__num { padding-top: 0; }
  .service__rate { text-align: left; }
}

/* ─── quote ─── */
.quote {
  padding: 100px var(--gutter);
  text-align: center;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 56px);
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin: 0 auto;
}
.quote blockquote::before { content: "“"; color: var(--accent); }
.quote blockquote::after { content: "”"; color: var(--accent); }
.quote cite {
  display: block;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-style: normal;
}

/* ─── contact ─── */
.contact {
  background: color-mix(in oklab, var(--ink) 4%, var(--bg));
  padding-top: 100px;
  padding-bottom: 100px;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__intro h3 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.contact__intro h3 em { font-style: italic; }
.contact__intro p {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 36ch;
}
.contact__intro dl {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact__intro dt { color: var(--ink-soft); }
.contact__intro dd { color: var(--ink); }

.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field {
  position: relative;
  padding-top: 18px;
  border-bottom: 0.5px solid var(--rule);
  transition: border-color 0.25s;
}
.field:focus-within { border-bottom-color: var(--ink); }
.field.error { border-bottom-color: var(--accent); }
.field label {
  position: absolute;
  top: 22px;
  left: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  pointer-events: none;
  transition: transform 0.25s, color 0.25s, font-size 0.25s;
  transform-origin: left center;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  color: inherit;
  padding: 4px 0 14px;
  font-size: 16px;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field.has-value label, .field:focus-within label {
  transform: translateY(-22px);
  font-size: 9.5px;
  color: var(--ink);
}
.field__msg {
  position: absolute;
  right: 0;
  bottom: -18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.field.error .field__msg { opacity: 1; }
.field__arrow {
  position: absolute;
  right: 0;
  top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  pointer-events: none;
}

.form__submit {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  padding: 18px 24px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: padding 0.3s, background 0.25s;
}
.form__submit:hover { padding: 18px 32px; background: var(--accent); }
.form__submit span:nth-child(2) {
  width: 32px;
  height: 1px;
  background: var(--bg);
  position: relative;
}
.form__submit span:nth-child(2)::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--bg);
  border-right: 1px solid var(--bg);
  transform: rotate(45deg);
}
.form__success {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-style: italic;
  line-height: 1.2;
  color: var(--ink);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.6s;
}
.form.sent .form { display: none; }
.form.sent .form__success { opacity: 1; height: auto; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── footer ─── */
.footer {
  padding: 60px var(--gutter) 32px;
  border-top: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer__big {
  font-family: var(--serif);
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  font-style: italic;
  color: var(--ink);
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer__row a { color: var(--ink); }
.footer__links { display: flex; gap: 24px; }

/* ─── custom cursor ─── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              height 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.2s;
}
.cursor.over-link {
  width: 56px;
  height: 56px;
  background: var(--bg);
}
.cursor.over-img {
  width: 84px;
  height: 84px;
  background: var(--bg);
}
.cursor__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s;
  mix-blend-mode: difference;
}
.cursor.over-img .cursor__label { opacity: 1; }
@media (max-width: 900px), (hover: none) {
  .cursor { display: none; }
}

/* ─── reveal-on-scroll ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s, transform 1s; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ─── tweaks mount won't render anything until activated ─── */
#tweaks-root { position: relative; z-index: 60; }
