/* ── hero ── */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: 0 2.5rem 5rem;
  max-width: var(--max); margin: 0 auto;
  gap: 4rem;
}
.hero-text { padding-top: 8rem; }
.hero-eyebrow {
  font-size: 0.8125rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 1.5rem;
}
h1.display {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.75rem;
}
h1.display em { font-style: italic; color: var(--moss); }
.hero-sub {
  font-size: 1.0625rem; font-weight: 300; color: var(--ink-mid);
  max-width: 36ch; line-height: 1.75; margin-bottom: 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.hero-blob {
  position: absolute; width: 520px; height: 520px;
  background: var(--moss-light);
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  top: 50%; transform: translateY(-50%); right: -3rem; z-index: 0;
}
.hero-image-frame {
  position: relative; z-index: 1; width: 100%;
  aspect-ratio: 4/5; border-radius: 2px 120px 2px 2px;
  overflow: hidden; background: var(--paper-warm);
}
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: var(--moss);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-label {
  font-size: 0.8125rem; color: var(--ink-soft);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 300;
}
.hero-caption {
  position: absolute; bottom: 2rem; left: -3rem;
  background: white; border: 1px solid var(--paper-warm);
  padding: 1rem 1.25rem; border-radius: 0.75rem;
  z-index: 2; box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.hero-caption-label { font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 0.25rem; }
.hero-caption-value { font-family: var(--serif); font-size: 1.125rem; }

/* ── scroll hint ── */
.scroll-hint {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); opacity: 1; transition: opacity 0.4s; z-index: 10;
}
.scroll-hint.hidden { opacity: 0; pointer-events: none; }
.scroll-line { width: 1px; height: 2.5rem; background: var(--sand); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0; height: 100%;
  background: var(--clay); animation: scroll-drip 2s ease-in-out infinite;
}
@keyframes scroll-drip { 0% { top: -100%; } 100% { top: 100%; } }

/* ── nav override (transparent on home) ── */
#nav {
  background: transparent;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s;
  border-bottom: none;
}
#nav.scrolled { background: rgba(247, 245, 240, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--sand); }

/* ── section commons ── */
section { padding: 7rem 2.5rem; }
.container { max-width: var(--max); margin: 0 auto; }
.section-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin-bottom: 1rem; }
h2.section-heading { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 1.5rem; }
.section-intro { font-size: 1.0625rem; font-weight: 300; color: var(--ink-mid); max-width: 52ch; line-height: 1.8; }

/* ── about strip ── */
.about-strip { background: var(--moss); color: var(--paper); padding: 6rem 2.5rem; }
.about-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-inner h2 { color: var(--paper); }
.about-inner .section-label { color: rgba(255,255,255,0.55); }
.about-body { font-weight: 300; font-size: 1.0625rem; line-height: 1.85; color: rgba(255,255,255,0.78); margin-bottom: 2rem; }
.about-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag { font-size: 0.8125rem; padding: 0.375rem 0.875rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 2rem; color: rgba(255,255,255,0.75); }
.about-strengths { display: flex; flex-direction: column; gap: 0; align-content: start; }
.strength-item { padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.strength-item:first-child { padding-top: 0; }
.strength-item:last-child { border-bottom: none; padding-bottom: 0; }
.strength-heading { font-family: var(--serif); font-size: 1.1875rem; color: var(--paper); margin-bottom: 0.375rem; line-height: 1.2; }
.strength-body { font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* ── work grid ── */
.work-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.project-card {
  position: relative; overflow: hidden; border-radius: 4px;
  cursor: pointer; background: var(--paper-warm);
  transition: transform 0.4s var(--ease-out);
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-4px); }
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { grid-column: span 4; }
.project-card:nth-child(4) { grid-column: span 8; }
.project-thumb { width: 100%; aspect-ratio: 16/10; background: var(--paper-warm); overflow: hidden; position: relative; }
.project-thumb img, .project-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-thumb-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  transition: transform 0.6s var(--ease-out);
}
.project-card:hover .project-thumb-inner { transform: scale(1.03); }
.project-card:nth-child(1) .project-thumb { background: var(--moss-light); }
.project-card:nth-child(2) .project-thumb { background: var(--clay-light); }
.project-card:nth-child(3) .project-thumb { background: #e8e4f5; }
.project-card:nth-child(4) .project-thumb { background: #e4edf5; }
.project-info { padding: 1.5rem; }
.project-tags { display: flex; gap: 0.5rem; margin-bottom: 0.625rem; }
.project-tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); background: rgba(0,0,0,0.05); padding: 0.2rem 0.6rem; border-radius: 2rem; }
.project-title { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; margin-bottom: 0.5rem; }
.project-desc { font-size: 0.875rem; color: var(--ink-mid); font-weight: 300; }
.project-arrow {
  position: absolute; top: 1rem; right: 1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s; background: white;
}
.project-card:hover .project-arrow { opacity: 1; transform: translateY(0); }

/* ── process strip ── */
.process-strip { background: var(--clay-light); padding: 6rem 2.5rem; }
.process-inner { max-width: var(--max); margin: 0 auto; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; }
.process-num { font-family: var(--serif); font-size: 2.5rem; color: var(--clay); opacity: 0.4; line-height: 1; margin-bottom: 1rem; }
.process-step h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 0.625rem; }
.process-step p { font-size: 0.9375rem; font-weight: 300; color: var(--ink-mid); line-height: 1.75; }

/* ── contact ── */
.contact-section { text-align: center; padding: 8rem 2.5rem; }
.contact-section h2 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 1.5rem; }
.contact-section h2 em { font-style: italic; color: var(--moss); }
.contact-section p { font-size: 1.0625rem; font-weight: 300; color: var(--ink-mid); max-width: 40ch; margin: 0 auto 2.5rem; }
.contact-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── reveal override (slightly longer on home) ── */
.reveal { transition-duration: 0.7s; }

/*-- Dandelion -- */
.dandelion-container {
    position: relative;
    width: 300px;
    overflow: visible;
    display: flex;
    justify-content: center;
}

.dandelion {
    position: relative;
    width: 60%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Small movement on hover */
.dandelion-container:hover .dandelion {
    transform: rotate(-2deg) translateY(-2px);
}

.seed {
    position: absolute;
    width: 30px;
    pointer-events: none;
    transform: translate(0, 0);
    will-change: transform;
}

/* ── responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 4rem; }
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .project-card:nth-child(n) { grid-column: span 12; }
}
@media (max-width: 600px) {
  section { padding: 5rem 1.25rem; }
  .process-steps { grid-template-columns: 1fr; }
  .hero { padding-inline: 1.25rem; }
  .work-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}