/* =============================================
   ARKHAZ STUDIO — Main Stylesheet
   Design: Editorial / Refined
   Typo: EB Garamond × DM Sans
   Palette: Ivory, Terracotta, Sage
   ============================================= */

/* ── TOKENS ── */
:root {
  --ivory:      oklch(97% 0.008 80);
  --sand:       oklch(92% 0.014 75);
  --sand-2:     oklch(88% 0.016 70);
  --ink:        oklch(18% 0.008 260);
  --ink-soft:   oklch(42% 0.008 260);
  --ink-faint:  oklch(68% 0.005 260);
  --terra:      oklch(55% 0.10 42);
  --terra-pale: oklch(94% 0.04 42);
  --sage:       oklch(50% 0.09 165);
  --sage-pale:  oklch(94% 0.04 165);
  --line:       oklch(84% 0.010 75);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── UTILS ── */
.serif { font-family: "EB Garamond", "Cormorant Garamond", serif; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ── REVEAL ON SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.4rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo {
  font-family: "EB Garamond", serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--terra);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.6rem 1.4rem;
  border: 1px solid var(--ink); color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--ink); color: var(--ivory); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  width: 42px; height: 42px;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--sand); }
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sand);
  overflow: hidden;
  position: relative;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 7rem 4rem 5rem;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-eyebrow::before {
  content: ""; display: block; width: 28px; height: 1px; background: var(--terra);
}
.hero-h1 {
  font-family: "EB Garamond", serif;
  font-weight: 500;
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 2.2rem;
  color: var(--ink);
}
.hero-h1 em { font-style: italic; color: var(--terra); }
.hero-typerow {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.hero-slash { color: var(--sage); font-size: 0.8em; font-style: normal; }
.hero-keyword { color: var(--terra); font-style: italic; }
#hero-cursor {
  display: inline-block; width: 3px; height: 0.75em;
  background: var(--terra); margin-left: 2px;
  animation: blink 1s steps(2) infinite; vertical-align: baseline;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-sub {
  font-size: 1rem; color: var(--ink-soft); line-height: 1.75;
  max-width: 38ch; margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.btn-main {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 2rem;
  background: var(--ink); color: var(--ivory);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-main:hover { background: var(--terra); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  padding-bottom: 2px;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 4rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-scroll-line {
  width: 40px; height: 1px; background: var(--ink-faint);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--terra);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Hero right: image panel */
.hero-right {
  position: relative; overflow: hidden;
  background: var(--sand-2);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-1 { background-image: url("../img/hero/hero2.webp"); }
.hero-slide-2 { background-image: url("../img/hero/hero3.webp"); }
.hero-slide-3 { background-image: url("../img/hero/hero1.webp"); }
/* Subtle overlay */
.hero-right::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--sand) 0%, transparent 20%);
  z-index: 1; pointer-events: none;
}
/* Corner label */
.hero-img-label {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 5;
  font-family: "EB Garamond", serif;
  font-style: italic; font-size: 1rem;
  color: var(--ivory);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
/* Slide dots */
.hero-dots {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 0.5rem;
}
.hero-dot {
  width: 24px; height: 2px; background: rgba(255,255,255,0.4);
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
}
.hero-dot.active { background: var(--ivory); width: 40px; }

/* ══════════════════════════════════
   SECTION HEADERS (shared)
══════════════════════════════════ */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px; margin: 0 auto 5rem;
}
.section-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra);
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.section-label::before {
  content: ""; display: block; width: 22px; height: 1px; background: var(--terra);
}
.section-h2 {
  font-family: "EB Garamond", serif;
  font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1; letter-spacing: -0.01em;
}
.section-h2 em { font-style: italic; color: var(--terra); }
.section-desc {
  align-self: end;
  font-size: 1rem; color: var(--ink-soft); line-height: 1.7;
  max-width: 40ch;
}

/* ══════════════════════════════════
   SERVICES
══════════════════════════════════ */
.services {
  padding: 7rem 3rem 6rem;
  background: var(--ivory);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px; margin: 0 auto;
  border: 1px solid var(--line);
}
.service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.service-card:last-child { border-right: none; }
.service-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--sand); }
.service-num {
  font-family: "EB Garamond", serif;
  font-size: 0.9rem; color: var(--ink-faint);
  margin-bottom: 2rem;
}
.service-icon {
  width: 42px; height: 42px; margin-bottom: 1.8rem;
  color: var(--terra);
}
.service-icon svg { width: 100%; height: 100%; }
.service-h3 {
  font-family: "EB Garamond", serif;
  font-weight: 600; font-size: 1.6rem;
  line-height: 1.2; margin-bottom: 1rem;
}
.service-p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; }
.service-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.8rem;
}
.service-tag {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ══════════════════════════════════
   RIBBON
══════════════════════════════════ */
.ribbon {
  overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  background: var(--sand);
  white-space: nowrap;
}
.ribbon-track {
  display: inline-flex; gap: 0;
  animation: ribbonScroll 22s linear infinite;
}
.ribbon-track:hover { animation-play-state: paused; }
.ribbon-item {
  display: inline-flex; align-items: center; gap: 2.5rem;
  padding: 0 2.5rem;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
.ribbon-item::after {
  content: "◆";
  font-size: 0.4rem; color: var(--terra);
}
@keyframes ribbonScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════
   PROJECTS
══════════════════════════════════ */
.projects {
  padding: 7rem 3rem;
  background: var(--ivory);
  border-top: 1px solid var(--line);
}
.projects-inner { max-width: 1100px; margin: 0 auto; }
.projects-hd {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.proj-card {
  position: relative; overflow: hidden;
  cursor: pointer;
  background: var(--sand);
}
.proj-thumb {
  aspect-ratio: 3/2; overflow: hidden; position: relative;
}
.proj-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.proj-card:hover .proj-thumb img { transform: scale(1.04); }
.proj-thumb-overlay {
  position: absolute; inset: 0;
  background: oklch(18% 0.008 260 / 0.45);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: center; justify-content: center;
}
.proj-card:hover .proj-thumb-overlay { opacity: 1; }
.proj-thumb-cta {
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--ivory);
  color: var(--ivory); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent;
  transition: background 0.2s;
}
.proj-thumb-overlay:hover .proj-thumb-cta { background: var(--ivory); color: var(--ink); }
.proj-body { padding: 2rem 2rem 2.5rem; }
.proj-cat {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 0.5rem;
}
.proj-name {
  font-family: "EB Garamond", serif;
  font-weight: 600; font-size: 1.9rem; line-height: 1.1;
  margin-bottom: 0.5rem;
}
.proj-loc {
  font-size: 0.8rem; color: var(--ink-faint);
}
.proj-tags { display: flex; gap: 0.4rem; margin-top: 1.2rem; flex-wrap: wrap; }
.proj-pill {
  font-size: 0.7rem; padding: 0.25rem 0.65rem;
  background: var(--sand-2); color: var(--ink-soft);
}

/* Project modal */
.proj-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.proj-modal.open { opacity: 1; pointer-events: all; }
.proj-modal-bg {
  position: absolute; inset: 0;
  background: oklch(18% 0.008 260 / 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.proj-modal-box {
  position: relative; z-index: 1;
  background: var(--ivory);
  width: min(1000px, 92vw);
  max-height: 88vh; overflow-y: auto;
  display: grid; grid-template-columns: 42% 1fr;
  transform: translateY(20px);
  transition: transform 0.4s;
}
.proj-modal.open .proj-modal-box { transform: none; }
.modal-img-col {
  position: sticky; top: 0;
  height: 100%; min-height: 500px;
  overflow: hidden; background: var(--sand-2);
}
.modal-img-col img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top;
}
.modal-content { padding: 3rem 2.5rem; overflow-y: auto; }
.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  border-radius: 50%; background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--ink); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: var(--terra); color: var(--ivory); transform: rotate(90deg); }
.modal-cat { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); margin-bottom: 0.5rem; }
.modal-name {
  font-family: "EB Garamond", serif;
  font-weight: 600; font-size: 2.6rem; line-height: 1.05;
  margin-bottom: 1.5rem;
}
.modal-hook {
  font-family: "EB Garamond", serif;
  font-style: italic; font-size: 1.3rem; line-height: 1.4;
  color: var(--ink); margin-bottom: 1.2rem;
}
.modal-summary { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 2rem; }
.modal-divider { height: 1px; background: var(--line); margin-bottom: 1.8rem; }
.modal-stories { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
.modal-story { padding: 1.2rem; background: var(--sand); }
.modal-story-label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 0.4rem;
}
.modal-story p { font-size: 0.88rem; color: var(--ink); line-height: 1.55; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2rem; }
.modal-tag {
  font-size: 0.7rem; padding: 0.3rem 0.75rem;
  border: 1px solid var(--line); color: var(--ink-soft);
}
.modal-visit {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.5rem;
  background: var(--ink); color: var(--ivory);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; transition: background 0.2s; margin-bottom: 1.2rem;
}
.modal-visit:hover { background: var(--terra); }
.modal-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.modal-cta:hover { color: var(--terra); border-color: var(--terra); }

/* ══════════════════════════════════
   QUOTE
══════════════════════════════════ */
.quote-section {
  padding: 6rem 3rem;
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.quote-mark {
  font-family: "EB Garamond", serif;
  font-size: 5rem; line-height: 1; color: var(--terra);
  opacity: 0.35; margin-bottom: -1.5rem;
}
.quote-text {
  font-family: "EB Garamond", serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.35; max-width: 720px; margin: 0 auto 1.5rem;
  color: var(--ink);
}
.quote-cite {
  font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
.about {
  padding: 7rem 3rem;
  background: var(--ivory);
}
.about-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 38% 1fr;
  gap: 6rem; align-items: start;
}
.about-portrait-wrap { position: relative; }
.about-portrait {
  aspect-ratio: 3/4; overflow: hidden;
  background: var(--sand-2);
}
.about-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: filter 0.4s;
}
.about-portrait:hover img { filter: grayscale(0%); }
.about-portrait-caption {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  font-family: "EB Garamond", serif;
  font-style: italic; font-size: 0.9rem; color: var(--ivory);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.about-h2 {
  font-family: "EB Garamond", serif;
  font-weight: 500; font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  line-height: 1.1; margin-bottom: 2rem;
}
.about-h2 em { font-style: italic; color: var(--terra); }
.about-p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.2rem; }
.about-p strong { color: var(--ink); font-weight: 500; }
.about-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin: 2.5rem 0; background: var(--line);
}
.about-card {
  padding: 1.5rem 1.2rem; background: var(--ivory);
}
.about-card-title {
  font-family: "EB Garamond", serif;
  font-weight: 600; font-size: 1.05rem; margin-bottom: 0.5rem;
}
.about-card p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.about-list li {
  font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6;
  padding-left: 1.4rem; position: relative;
}
.about-list li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--terra); font-size: 0.9rem;
}
.about-list strong { color: var(--ink); font-weight: 500; }

/* ══════════════════════════════════
   FAQ
══════════════════════════════════ */
.faq {
  padding: 6rem 3rem;
  background: var(--sand);
  border-top: 1px solid var(--line);
}
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-hd { margin-bottom: 3.5rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn {
  width: 100%; padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; cursor: pointer;
  font-family: "EB Garamond", serif;
  font-weight: 500; font-size: 1.25rem; color: var(--ink);
  transition: color 0.2s;
  gap: 1rem;
}
.faq-btn:hover { color: var(--terra); }
.faq-icon {
  width: 12px; height: 12px; flex-shrink: 0;
  border-right: 1.5px solid var(--ink-faint);
  border-bottom: 1.5px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s;
}
.faq-btn:hover .faq-icon { border-color: var(--terra); }
.faq-item.open .faq-icon {
  transform: rotate(-135deg);
  border-color: var(--terra);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7;
  padding-bottom: 1.5rem;
}
.faq-answer a { color: var(--terra); font-weight: 500; transition: opacity 0.2s; }
.faq-answer a:hover { opacity: 0.7; }

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact {
  padding: 7rem 3rem;
  background: var(--ivory);
  border-top: 1px solid var(--line);
}
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: start;
}
.contact-h2 {
  font-family: "EB Garamond", serif;
  font-weight: 500; font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05; margin-bottom: 1.5rem;
}
.contact-h2 em { font-style: italic; color: var(--terra); }
.contact-sub { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 2.5rem; max-width: 36ch; }
.contact-trust { display: flex; flex-direction: column; gap: 0.8rem; }
.trust-item {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.85rem; color: var(--ink-soft);
}
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex-shrink: 0;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.form-input, .form-textarea {
  width: 100%; padding: 0.85rem 0;
  border: none; border-bottom: 1px solid var(--line);
  background: transparent; font-family: "DM Sans", sans-serif;
  font-size: 0.95rem; color: var(--ink);
  outline: none; transition: border-color 0.2s;
  border-radius: 0;
}
.form-input:focus, .form-textarea:focus { border-color: var(--terra); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-faint); }
.form-textarea { resize: vertical; min-height: 90px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.78rem; color: var(--ink-soft);
  background: transparent; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip:hover:not(.active) { border-color: var(--ink); }
.form-submit {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 2.2rem;
  background: var(--ink); color: var(--ivory);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer; border: none;
  font-family: "DM Sans", sans-serif;
  transition: background 0.2s, transform 0.2s; align-self: flex-start;
}
.form-submit:hover { background: var(--terra); transform: translateY(-1px); }
.form-success {
  display: none; text-align: center; padding: 3rem 2rem;
}
.form-success.show { display: block; }
.form-success h3 {
  font-family: "EB Garamond", serif;
  font-size: 2.2rem; margin-bottom: 0.5rem;
}
.form-success h3 em { font-style: italic; color: var(--sage); }
.form-success p { font-size: 0.9rem; color: var(--ink-soft); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 5rem 3rem 3rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid oklch(30% 0.008 260);
  margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: "EB Garamond", serif;
  font-weight: 500; font-size: 2.4rem; letter-spacing: -0.01em;
}
.footer-brand span { color: var(--terra); }
.footer-tagline { font-size: 0.88rem; color: oklch(60% 0.005 260); margin-top: 0.8rem; max-width: 32ch; line-height: 1.6; }
.footer-manifesto {
  font-family: "EB Garamond", serif;
  font-style: italic; font-size: 1.4rem; line-height: 1.5;
  color: oklch(75% 0.005 260); align-self: end;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.78rem; color: oklch(50% 0.005 260); }
.footer-socials { display: flex; gap: 1.5rem; }
.footer-socials a {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: oklch(50% 0.005 260); transition: color 0.2s;
}
.footer-socials a:hover { color: var(--ivory); }
.footer-email {
  font-size: 0.82rem; color: oklch(50% 0.005 260); transition: color 0.2s;
}
.footer-email:hover { color: var(--terra); }

/* ══════════════════════════════════
   SKIP LINK
══════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  background: var(--terra);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-weight: 500; font-size: 0.85rem;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}

/* ══════════════════════════════════
   CHIP DESCRIPTION (form)
══════════════════════════════════ */
.chip-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}
.chip-desc.is-visible {
  max-height: 160px;
  opacity: 1;
  margin-top: 0.8rem;
}
.chip-desc-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-style: italic;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

/* ══════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {
  /* Only applied when JS adds the class — native cursor is the fallback */
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select {
    cursor: text !important;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    will-change: transform;
  }

  .cursor-dot {
    width: 5px; height: 5px;
    background: var(--terra);
    border-radius: 50%;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: opacity 0.2s, background 0.2s, width 0.25s, height 0.25s;
  }

  .cursor-ring {
    width: 32px; height: 32px;
    border: 1.5px solid var(--terra);
    border-radius: 50%;
    opacity: 0.45;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: opacity 0.2s, width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s;
  }

  .cursor-ring.is-hover {
    width: 48px; height: 48px;
    opacity: 0.3;
    border-color: var(--terra);
  }
  .cursor-dot.is-hover {
    width: 7px; height: 7px;
  }

  .cursor-dot.is-hidden,
  .cursor-ring.is-hidden {
    opacity: 0;
  }
}

/* ══════════════════════════════════
   MOBILE
══════════════════════════════════ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 100svh; }
  .hero-right { display: none; }
  .hero-left { padding: 6rem 1.5rem 4rem; }
  .hero-scroll { left: 1.5rem; }
  .nav { padding: 1.2rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.is-open {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(80vw, 320px);
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem 2.5rem 2rem;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 40;
  }
  .nav-links.is-open a {
    font-family: "EB Garamond", serif;
    font-size: 1.8rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
  }
  body.nav-open { overflow: hidden; }

  .section-header, .about-inner, .contact-inner, .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid, .projects-grid, .about-cards { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: none; }
  .modal-img-col { display: none; }
  .proj-modal-box { grid-template-columns: 1fr; }
  .services, .projects, .about, .faq, .contact { padding: 4rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
