/* =========================================================
   PROJECT YOU MEDIA
   Editorial magazine × cinematic photography monograph
   ========================================================= */

:root {
  --ivory: #f4f1ea;
  --ivory-warm: #ede8dd;
  --ink: #0d0d0d;
  --ink-soft: #1a1a1a;
  --charcoal: #2b2b2b;
  --grey: #6b6b6b;
  --grey-soft: #a8a49a;
  --rule: #d8d2c4;
  --accent: #c74b1f;  /* single sharp accent — burnt orange */
  --accent-deep: #8a2e10;
  --available: #16a34a;  /* availability indicator — signals live/open */

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter Tight', -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;
  --space-xl: 6rem;
  --space-xxl: 10rem;

  --maxw: 1680px;
  --padx: clamp(1.5rem, 4vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--padx);
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 210, 196, 0.5);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

.logo-full {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1px; width: 0;
  background: var(--ink);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 100px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-cta:hover { background: var(--accent-deep); transform: translateX(2px); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .logo-full { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem var(--padx) var(--space-m);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Background video layer — soft atmospheric texture behind everything */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  /* Radial mask: fully visible in the centre, fades to transparent at edges */
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 85%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 85%);
  /* Subtle desaturation + lowered opacity so it sits as ambient texture, not focal point */
  opacity: 0.22;
  filter: saturate(0.7) contrast(1.05);
  mix-blend-mode: multiply;
}

/* Tinted overlay that blends the video tones into the ivory page */
.hero-bg-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(244, 241, 234, 0) 0%, rgba(244, 241, 234, 0.4) 55%, rgba(244, 241, 234, 1) 90%),
    linear-gradient(180deg, rgba(244, 241, 234, 0.15) 0%, rgba(244, 241, 234, 0) 30%, rgba(244, 241, 234, 0) 70%, rgba(244, 241, 234, 0.6) 100%);
  pointer-events: none;
}

/* Raise all hero content above the background layer */
.hero-meta-top,
.hero-stage,
.hero-footer {
  position: relative;
  z-index: 1;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}

.hero-meta-top { margin-bottom: var(--space-m); }

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--available);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
  50% { opacity: 0.7; transform: scale(1.15); box-shadow: 0 0 0 8px rgba(22,163,74,0); }
}

.hero-stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: var(--space-m);
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 9.5vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-title .line { display: block; }
.hero-title .line-1 {
  padding-left: 0;
}
.hero-title .line-2 {
  font-weight: 800;
  letter-spacing: -0.05em;
  padding-left: 1.8em;
}
.hero-title .line-2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-title .line-3 {
  padding-left: 0.8em;
}

.hero-sub {
  max-width: 42ch;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.55;
  color: var(--charcoal);
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

/* Image column */
.hero-image-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: stretch;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 68vh;
  overflow: hidden;
  border-radius: 2px;
  will-change: transform;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.25);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
  transform-origin: center center;
}

.hero-image-caption {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  justify-content: flex-end;
}

.caption-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent);
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-m);
  align-items: end;
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule);
  margin-top: var(--space-m);
}

.hero-byline {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.byline-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}

.byline-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

.hero-services span {
  position: relative;
  padding-right: 1.25rem;
}
.hero-services span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: 0;
  color: var(--grey-soft);
}
.hero-services span:last-child { padding-right: 0; }

.hero-scroll {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--grey);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--ink);
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-image-col { order: -1; }
  .hero-image-wrap { max-height: 50vh; aspect-ratio: 16/10; }
  .hero-title .line-2 { padding-left: 0.5em; }
  .hero-title .line-3 { padding-left: 0; }
}

@media (max-width: 720px) {
  .hero-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }
  .hero-services { justify-content: flex-start; }
  .hero-scroll { justify-self: start; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--ink);
  color: var(--ivory);
  padding: 1.75rem 0;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
}

.marquee-track .dot {
  color: var(--accent);
  font-style: normal;
  font-size: 0.6em;
  align-self: center;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   SECTION LABELS
   ========================================================= */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  margin-bottom: var(--space-l);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.section-label.light { color: var(--grey-soft); border-color: rgba(216, 210, 196, 0.2); }

.section-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--accent);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: var(--space-xxl) var(--padx);
  max-width: var(--maxw);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl) var(--space-l);
}

.about-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.about-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.about-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.about-body {
  grid-column: 1;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 52ch;
}

.about-body p + p { margin-top: 1.25rem; }
.about-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  transition: color 0.3s ease;
}
.about-body a:hover { color: var(--accent); }

.about-stats {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-left: var(--space-m);
  border-left: 1px solid var(--rule);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.stat-num sup {
  font-size: 0.4em;
  color: var(--accent);
  font-weight: 400;
  vertical-align: super;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats {
    grid-column: 1;
    grid-row: auto;
    border-left: none;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: var(--space-m);
  }
}

/* =========================================================
   FEATURE: FORD F2
   ========================================================= */
.feature {
  padding: var(--space-xl) var(--padx) var(--space-xxl);
  max-width: var(--maxw);
  margin: 0 auto;
}

.feature-header { margin-bottom: var(--space-xl); }

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.tag-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.tag-sep { color: var(--grey-soft); }

.feature-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-m);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em;
}

.feature-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
}

.feature-intro {
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--charcoal);
}

/* Asymmetric Ford gallery */
.feature-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: var(--space-l);
}

.feature-gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ivory-warm);
}

.feature-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  filter: contrast(1.02);
}

.feature-gallery figure:hover img { transform: scale(1.04); }

.feature-gallery figcaption {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  font-weight: 500;
  background: rgba(13,13,13,0.65);
  backdrop-filter: blur(4px);
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.feature-gallery figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.g-1 { grid-column: span 6; aspect-ratio: 4 / 5; }
.g-2 { grid-column: span 6; aspect-ratio: 4 / 5; }
.g-3 { grid-column: span 4; aspect-ratio: 1 / 1; }
.g-4 { grid-column: span 4; aspect-ratio: 1 / 1; }
.g-5 { grid-column: span 4; aspect-ratio: 1 / 1; }

@media (max-width: 900px) {
  .g-1, .g-2, .g-3, .g-4, .g-5 { grid-column: span 12; aspect-ratio: 4 / 3; }
}

.feature-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-m);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule);
}

.credit { display: flex; flex-direction: column; gap: 0.35rem; }

.credit-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}

.credit-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (max-width: 720px) {
  .feature-footer { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* =========================================================
   PROJECTS GRID
   ========================================================= */
.projects {
  padding: var(--space-xl) var(--padx) var(--space-xxl);
  max-width: var(--maxw);
  margin: 0 auto;
}

.projects-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-l);
  align-items: end;
  margin-bottom: var(--space-l);
}

.projects-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.projects-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.projects-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  max-width: 45ch;
  justify-self: end;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem);
}

.project {
  position: relative;
}

.project-link {
  display: block;
  position: relative;
}

.project-img {
  overflow: hidden;
  background: var(--ivory-warm);
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  margin-bottom: 1.1rem;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
  filter: contrast(1.02) saturate(0.95);
}

.project-link:hover .project-img img {
  transform: scale(1.05);
  filter: contrast(1.05) saturate(1.05);
}

.project-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1rem;
}

.project-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.project-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.project-cat {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  text-align: right;
}

@media (max-width: 1024px) {
  .projects-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .projects-sub { justify-self: start; }
}

@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: auto 1fr; }
  .project-cat { grid-column: span 2; text-align: left; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--ink);
  color: var(--ivory);
  padding: var(--space-xxl) var(--padx);
}

.services .section-label { color: var(--grey-soft); }

.services-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xl);
  max-width: var(--maxw);
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.services-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
}

.services-list {
  list-style: none;
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(216, 210, 196, 0.2);
}

.service {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid rgba(216, 210, 196, 0.2);
  border-bottom: 1px solid rgba(216, 210, 196, 0.2);
  position: relative;
  transition: background 0.4s ease;
}

.service:hover { background: rgba(255,255,255,0.03); }
.service:nth-child(4n) { border-right: none; }
.service:nth-child(3n) { border-right: 1px solid rgba(216, 210, 196, 0.2); }

.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

.service h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.service p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--grey-soft);
  max-width: 32ch;
}

@media (max-width: 1100px) {
  .services-list { grid-template-columns: repeat(3, 1fr); }
  .service:nth-child(4n) { border-right: 1px solid rgba(216, 210, 196, 0.2); }
  .service:nth-child(3n) { border-right: none !important; }
}

@media (max-width: 800px) {
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid rgba(216, 210, 196, 0.2) !important; }
  .service:nth-child(2n) { border-right: none !important; }
}

@media (max-width: 500px) {
  .services-list { grid-template-columns: 1fr; }
  .service { border-right: none !important; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: var(--space-xxl) var(--padx);
  max-width: var(--maxw);
  margin: 0 auto;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.contact-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
}

.contact-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 2.5rem;
  max-width: 42ch;
}

.contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-links li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.contact-links span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}

.contact-links a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s ease;
}

.contact-links a:hover { color: var(--accent); }

/* Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--ivory-warm);
  border-radius: 4px;
  border: 1px solid var(--rule);
}

/* Honeypot field — hidden from real users, catches bots */
.honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

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

/* Section dividers inside the form */
.form-section {
  grid-column: span 2;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1rem 0 0.4rem;
  border-top: 1px solid var(--rule);
  margin-top: 0.5rem;
}

.form-section:first-of-type {
  padding-top: 0;
  border-top: none;
  margin-top: 0;
}

.form-section-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.form-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-full { grid-column: span 2; }

.field label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  background: var(--ivory);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(199, 75, 31, 0.12);
}

.field textarea { resize: vertical; font-family: var(--font-body); }

/* Checkbox group */
.checkbox-group {
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}

.checkbox,
.radio {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--ivory);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.checkbox:hover,
.radio:hover {
  border-color: var(--ink);
  background: #fff;
}

.checkbox input,
.radio input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--grey);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.radio input { border-radius: 50%; }

.checkbox input:checked,
.radio input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid var(--ivory);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.radio input:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--ivory);
  border-radius: 50%;
}

.checkbox:has(input:checked),
.radio:has(input:checked) {
  border-color: var(--ink);
  background: #fff;
}

/* Radio group */
.radio-group {
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1rem;
}

.submit {
  grid-column: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  background: var(--ink);
  color: var(--ivory);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 1rem;
}

.submit:hover { background: var(--accent-deep); }
.submit:hover .arrow { transform: translateX(4px); }
.submit .arrow { transition: transform 0.3s ease; font-size: 1.1rem; }

.submit:disabled { opacity: 0.6; cursor: wait; }

.form-success {
  grid-column: span 2;
  font-size: 0.9rem;
  color: var(--accent-deep);
  font-weight: 500;
  min-height: 1.2rem;
}

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: var(--space-l); }
  .contact-form { grid-template-columns: 1fr; }
  .field-full, .submit, .form-success, .form-section { grid-column: span 1; }
  .checkbox-group { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .radio-group { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--ivory);
  padding: var(--space-xl) var(--padx) 2rem;
}

.footer-main, .footer-cols, .footer-base {
  max-width: var(--maxw);
  margin-inline: auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: var(--space-l);
  border-bottom: 1px solid rgba(216, 210, 196, 0.2);
  margin-bottom: var(--space-l);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1.5px solid var(--ivory);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.footer-tag {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--grey-soft);
  max-width: 30ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
  padding-bottom: var(--space-l);
  margin-bottom: var(--space-m);
  border-bottom: 1px solid rgba(216, 210, 196, 0.15);
}

.footer-cols h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-soft);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.footer-cols ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-cols a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.footer-cols a:hover { color: var(--accent); }

.footer-base {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}

@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr; gap: var(--space-m); }
  .footer-base { flex-direction: column; gap: 0.5rem; }
}

/* =========================================================
   ENTRANCE ANIMATIONS
   ========================================================= */
.hero-meta-top, .hero-title .line, .hero-sub, .hero-footer > * {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-meta-top { animation-delay: 0.1s; }
.hero-title .line-1 { animation-delay: 0.35s; }
.hero-title .line-2 { animation-delay: 0.55s; }
.hero-title .line-3 { animation-delay: 0.75s; }
.hero-sub { animation-delay: 0.9s; }
.hero-footer > *:nth-child(1) { animation-delay: 1.1s; }
.hero-footer > *:nth-child(2) { animation-delay: 1.25s; }
.hero-footer > *:nth-child(3) { animation-delay: 1.4s; }

.hero-image-col {
  opacity: 0;
  animation: fadeIn 1.4s ease 0.5s forwards;
}

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-bg-video { display: none; }
}

/* Hide background video on mobile — the aesthetic is subtle at small sizes
   and dropping it saves ~7MB of bandwidth for mobile visitors */
@media (max-width: 768px) {
  .hero-bg-video { display: none; }
}
