/* ============================================================
   Dr. Matthias Wittfoth — Homepage Design System (2026)
   Self-contained. Loaded after styles.css, only on index.html.
   Scoped under body.home-page to avoid touching sub-pages.
   ============================================================ */

.home-page {
  /* Palette — warm editorial paper, deep forest, clay accent */
  --hp-paper:      #f2eee5;
  --hp-paper-soft: #f8f5ee;
  --hp-card:       #fbf9f3;
  --hp-ink:        #161510;
  --hp-ink-soft:   #2c2a22;
  --hp-muted:      #6b665b;
  --hp-faint:      #9a958a;
  --hp-line:       rgba(22, 21, 16, 0.12);
  --hp-line-soft:  rgba(22, 21, 16, 0.07);

  --hp-forest:     #143b36;
  --hp-forest-2:   #0e2c28;
  --hp-forest-3:   #0a201d;

  --hp-clay:       #bd5a32;
  --hp-clay-soft:  #d98a62;
  --hp-sand:       #e7c9a8;

  --hp-cream:      #fbf8f1;
  --hp-on-dark:    rgba(251, 248, 241, 0.74);
  --hp-on-dark-2:  rgba(251, 248, 241, 0.52);

  --hp-r-sm: 10px;
  --hp-r:    18px;
  --hp-r-lg: 26px;

  --hp-shadow:    0 22px 60px -28px rgba(20, 18, 10, 0.42);
  --hp-shadow-sm: 0 10px 30px -18px rgba(20, 18, 10, 0.4);

  --hp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hp-nav-h: 76px;

  background: var(--hp-paper);
  color: var(--hp-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle film-grain texture for depth (no external request) */
.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.home-page main,
.home-page .site-header,
.home-page .site-footer { position: relative; z-index: 2; }

.home-page ::selection { background: var(--hp-clay); color: var(--hp-cream); }

/* --- Layout --- */
.hp-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.25rem);
}

.hp-section { padding: clamp(4.5rem, 9vw, 9rem) 0; }

.hp-anchor {
  display: block; height: 0; visibility: hidden;
  position: relative; top: calc(-1 * var(--hp-nav-h));
}

/* --- Typography --- */
.home-page h1, .home-page h2, .home-page h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--hp-ink);
  letter-spacing: -0.012em;
}

.home-page h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  line-height: 0.98;
}
.home-page h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.02;
}
.home-page h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  line-height: 1.08;
  font-weight: 500;
}

.hp-accent { color: var(--hp-clay); font-style: italic; font-weight: 500; }

.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-clay);
}
.hp-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hp-clay);
  box-shadow: 0 0 0 0 rgba(189, 90, 50, 0.5);
  animation: hp-pulse 2.6s var(--hp-ease) infinite;
}
@keyframes hp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(189, 90, 50, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(189, 90, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(189, 90, 50, 0); }
}
.hp-eyebrow--light { color: var(--hp-sand); }
.hp-eyebrow--light::before { background: var(--hp-sand); animation: none; }

.hp-lead {
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.62;
  color: var(--hp-muted);
}

/* --- Scroll progress bar --- */
.hp-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--hp-clay), var(--hp-clay-soft));
  z-index: 200;
  will-change: transform;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.home-page .site-header {
  background: rgba(242, 238, 229, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--hp-ease), border-color 0.3s var(--hp-ease);
}
.home-page .site-header.scrolled {
  background: rgba(242, 238, 229, 0.9);
  border-bottom-color: var(--hp-line);
}
.home-page .nav {
  max-width: 1320px;
  height: var(--hp-nav-h);
  padding-inline: clamp(1.25rem, 4vw, 3.25rem);
}
.home-page .nav-logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hp-ink);
}
.home-page .nav-logo::before {
  content: "";
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--hp-clay);
  box-shadow: 0 0 0 4px rgba(189, 90, 50, 0.16);
}
.home-page .nav-links { gap: clamp(1.1rem, 2vw, 2rem); align-items: center; }
.home-page .nav-links a {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--hp-ink-soft);
  transition: color 0.2s ease;
}
.home-page .nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 1.5px; background: var(--hp-clay);
  transition: right 0.3s var(--hp-ease);
}
.home-page .nav-links a:not(.nav-cta):hover { color: var(--hp-ink); }
.home-page .nav-links a:not(.nav-cta):hover::after,
.home-page .nav-links a.is-active::after { right: 0; }
.home-page .nav-links a.is-active { color: var(--hp-ink); }

.home-page .nav-cta {
  border-radius: 999px;
  border: 1px solid var(--hp-ink) !important;
  padding: 0.62em 1.3em !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: var(--hp-ink) !important;
  transition: background 0.25s var(--hp-ease), color 0.25s var(--hp-ease), transform 0.25s var(--hp-ease) !important;
}
.home-page .nav-cta::after { display: none !important; }
.home-page .nav-cta:hover {
  background: var(--hp-ink) !important;
  color: var(--hp-cream) !important;
  transform: translateY(-1px);
}
.home-page .nav-toggle-line { background: var(--hp-ink); }

/* ============================================================
   Buttons
   ============================================================ */
.home-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.95em 1.7em;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 0.25s var(--hp-ease), background 0.25s var(--hp-ease),
              color 0.25s var(--hp-ease), border-color 0.25s var(--hp-ease),
              box-shadow 0.25s var(--hp-ease);
}
.home-page .btn svg { width: 1em; height: 1em; transition: transform 0.25s var(--hp-ease); }
.home-page .btn:hover svg { transform: translateX(3px); }

.home-page .btn-primary {
  background: var(--hp-ink);
  color: var(--hp-cream);
  box-shadow: var(--hp-shadow-sm);
}
.home-page .btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: var(--hp-shadow); }

.home-page .btn-outline {
  background: transparent;
  color: var(--hp-ink);
  border: 1px solid var(--hp-line);
}
.home-page .btn-outline:hover { border-color: var(--hp-ink); background: rgba(22,21,16,0.04); transform: translateY(-2px); }

.home-page .btn-accent {
  background: var(--hp-clay);
  color: var(--hp-cream);
  box-shadow: 0 14px 34px -16px rgba(189, 90, 50, 0.7);
}
.home-page .btn-accent:hover { background: #a94c28; transform: translateY(-2px); }

/* Buttons on dark backgrounds */
.hp-dark .btn-primary { background: var(--hp-cream); color: var(--hp-ink); }
.hp-dark .btn-primary:hover { background: #fff; }
.hp-dark .btn-outline { color: var(--hp-cream); border-color: rgba(251,248,241,0.32); }
.hp-dark .btn-outline:hover { border-color: rgba(251,248,241,0.7); background: rgba(251,248,241,0.07); }

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hp-hero {
  position: relative;
  padding: calc(var(--hp-nav-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}
.hp-hero__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 920px) {
  .hp-hero__inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
}

.hp-hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.hp-hero__lead {
  max-width: 33ch;
  margin-top: 1.6rem;
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  color: var(--hp-ink-soft);
}
.hp-hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-top: 2.2rem;
}

/* Hero portrait — contained, framed, never overlapping text */
.hp-hero__media {
  position: relative;
  border-radius: var(--hp-r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--hp-shadow);
  background: var(--hp-forest-2);
}
.hp-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  filter: saturate(0.92) contrast(1.05);
  transform: scale(1.02);
  transition: transform 1.2s var(--hp-ease);
}
.hp-hero__media:hover img { transform: scale(1.06); }
.hp-hero__badge {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(14, 44, 40, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(251, 248, 241, 0.16);
  color: var(--hp-cream);
}
.hp-hero__badge-k {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--hp-sand);
}
.hp-hero__badge-t { font-size: 0.92rem; line-height: 1.35; color: var(--hp-cream); }

/* Credentials marquee */
.hp-marquee {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hp-marquee__track {
  display: flex; width: max-content;
  animation: hp-marquee 38s linear infinite;
}
.hp-hero:hover .hp-marquee__track { animation-play-state: paused; }
.hp-marquee__item {
  display: inline-flex; align-items: center; gap: 1.4rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  color: var(--hp-ink-soft);
  white-space: nowrap;
}
.hp-marquee__item::after { content: "✳"; color: var(--hp-clay); font-size: 0.7em; }
@keyframes hp-marquee { to { transform: translateX(-50%); } }

/* ============================================================
   STATEMENT (dark editorial)
   ============================================================ */
.hp-dark { background: var(--hp-forest); color: var(--hp-cream); }
.hp-dark h2, .hp-dark h3 { color: var(--hp-cream); }

.hp-statement {
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(189, 90, 50, 0.16), transparent 55%),
    var(--hp-forest);
}
.hp-statement__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 860px) {
  .hp-statement__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.hp-statement h2 { max-width: 16ch; }
.hp-statement p {
  color: var(--hp-on-dark);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}
.hp-statement p + p { margin-top: 1.1rem; }

/* ============================================================
   FORMAT FINDER (interactive)
   ============================================================ */
.hp-finder { background: var(--hp-paper-soft); border-top: 1px solid var(--hp-line); }
.hp-finder__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hp-finder__head h2 { max-width: 16ch; margin-top: 0.9rem; }
.hp-finder__hint { color: var(--hp-muted); font-size: 0.95rem; max-width: 30ch; }

.hp-finder__tabs {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.hp-tab {
  border: 1px solid var(--hp-line);
  background: var(--hp-card);
  color: var(--hp-ink-soft);
  border-radius: 999px;
  padding: 0.7em 1.25em;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--hp-ease);
}
.hp-tab:hover { border-color: var(--hp-ink); transform: translateY(-1px); }
.hp-tab.is-active {
  background: var(--hp-ink); color: var(--hp-cream); border-color: var(--hp-ink);
}

.hp-finder__panel {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-lg);
  background: var(--hp-card);
  box-shadow: var(--hp-shadow-sm);
}
@media (min-width: 820px) {
  .hp-finder__panel { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
.hp-finder__q {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
  color: var(--hp-ink);
}
.hp-finder__q-label {
  display: block; margin-bottom: 0.9rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--hp-clay);
}
.hp-finder__reco {
  border-left: 2px solid var(--hp-clay);
  padding-left: 1.4rem;
}
.hp-finder__reco-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--hp-muted);
}
.hp-finder__reco-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0.4rem 0 0.7rem;
  color: var(--hp-ink);
}
.hp-finder__reco p { color: var(--hp-muted); font-size: 1rem; margin-bottom: 1.2rem; }
.hp-finder__fade { animation: hp-fade 0.45s var(--hp-ease); }
@keyframes hp-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   OFFERINGS — bento grid (the centerpiece)
   ============================================================ */
.hp-offers { background: var(--hp-paper); }
.hp-offers__head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.hp-offers__head h2 { margin-top: 0.9rem; }
.hp-offers__head p { margin-top: 1.1rem; }

.hp-bento { display: grid; gap: 1.1rem; }
@media (min-width: 760px) and (max-width: 1079px) {
  /* Clean 2×2 grid */
  .hp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
}
@media (min-width: 1080px) {
  /* Bento: tall featured card left, wide AI card bottom-right */
  .hp-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .hp-card--featured { grid-column: 1; grid-row: span 2; }
  .hp-bento > .hp-card:last-child { grid-column: span 2; }
}

.hp-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r);
  background: var(--hp-card);
  overflow: hidden;
  transition: transform 0.35s var(--hp-ease), box-shadow 0.35s var(--hp-ease), border-color 0.35s var(--hp-ease);
}
.hp-card::after {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--hp-clay);
  transition: width 0.4s var(--hp-ease);
}
.hp-card:hover { transform: translateY(-5px); box-shadow: var(--hp-shadow); border-color: rgba(22,21,16,0.2); }
.hp-card:hover::after { width: 100%; }

.hp-card__num {
  font-family: var(--font-serif);
  font-size: 0.95rem; font-weight: 600;
  color: var(--hp-faint);
  letter-spacing: 0.05em;
}
.hp-card__eyebrow {
  margin: 0.2rem 0 1.1rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--hp-clay);
}
.hp-card__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.hp-card h3 { color: var(--hp-ink); }
.hp-card__desc {
  margin-top: 0.9rem;
  color: var(--hp-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.hp-card__result {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hp-line);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--hp-ink-soft);
}
.hp-card__result b { color: var(--hp-clay); display: block; font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.35rem; }
.hp-card__actions {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: auto; padding-top: 1.5rem;
}
.hp-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.92rem; font-weight: 600;
  color: var(--hp-ink);
  border-bottom: 1.5px solid var(--hp-clay);
  padding-bottom: 2px;
  transition: gap 0.25s var(--hp-ease), color 0.25s var(--hp-ease);
}
.hp-card__link svg { width: 0.85em; height: 0.85em; transition: transform 0.25s var(--hp-ease); }
.hp-card__link:hover { color: var(--hp-clay); }
.hp-card__link:hover svg { transform: translateX(3px); }

/* Featured card — dark, larger */
.hp-card--featured {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(189, 90, 50, 0.28), transparent 60%),
    var(--hp-forest);
  border-color: transparent;
  color: var(--hp-cream);
}
.hp-card--featured .hp-card__num { color: var(--hp-sand); }
.hp-card--featured .hp-card__eyebrow { color: var(--hp-sand); }
.hp-card--featured h3 { color: var(--hp-cream); font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.hp-card--featured .hp-card__desc { color: var(--hp-on-dark); font-size: 1.06rem; }
.hp-card--featured .hp-card__result { border-top-color: rgba(251,248,241,0.18); color: var(--hp-cream); }
.hp-card--featured .hp-card__result b { color: var(--hp-sand); }
.hp-card--featured .hp-card__link { color: var(--hp-cream); border-bottom-color: var(--hp-sand); }
.hp-card--featured .hp-card__link:hover { color: var(--hp-sand); }
.hp-card--featured::after { background: var(--hp-sand); }
.hp-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  background: rgba(231, 201, 168, 0.16);
  border: 1px solid rgba(231, 201, 168, 0.35);
  color: var(--hp-sand);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============================================================
   WHY (pillars + image)
   ============================================================ */
.hp-why { background: var(--hp-paper-soft); border-top: 1px solid var(--hp-line); }
.hp-why__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .hp-why__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.hp-why__media {
  position: relative;
  border-radius: var(--hp-r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--hp-shadow);
  position: sticky; top: calc(var(--hp-nav-h) + 1.5rem);
}
.hp-why__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
@media (max-width: 899px) { .hp-why__media { position: relative; top: 0; aspect-ratio: 16/10; } }

.hp-why__content h2 { margin: 0.9rem 0 0.4rem; max-width: 18ch; }

.hp-pillars { margin-top: 1.6rem; counter-reset: pill; }
.hp-pillar {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hp-line);
}
.hp-pillar:last-child { border-bottom: 1px solid var(--hp-line); }
.hp-pillar__n {
  counter-increment: pill;
  font-family: var(--font-serif);
  font-size: 1.1rem; color: var(--hp-clay); font-weight: 600;
}
.hp-pillar__n::before { content: counter(pill, decimal-leading-zero); }
.hp-pillar h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); margin-bottom: 0.3rem; }
.hp-pillar p { color: var(--hp-muted); font-size: 1rem; line-height: 1.55; }

/* ============================================================
   ABOUT
   ============================================================ */
.hp-about { background: var(--hp-paper); }
.hp-about__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 860px) { .hp-about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); } }
.hp-about__content h2 { margin: 0.9rem 0 1.4rem; }
.hp-about__content p { color: var(--hp-muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; }
.hp-about__content p + p { margin-top: 1rem; }
.hp-about__media { border-radius: var(--hp-r-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--hp-shadow); }
.hp-about__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hp-inline {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 1.6rem;
  font-weight: 600; color: var(--hp-ink);
  border-bottom: 1.5px solid var(--hp-clay); padding-bottom: 2px;
  transition: gap 0.25s var(--hp-ease);
}
.hp-inline svg { width: 0.85em; height: 0.85em; transition: transform 0.25s var(--hp-ease); }
.hp-inline:hover svg { transform: translateX(3px); }

/* ============================================================
   INQUIRY / contact
   ============================================================ */
.hp-inquiry {
  background:
    radial-gradient(110% 120% at 0% 100%, rgba(189, 90, 50, 0.18), transparent 55%),
    var(--hp-forest-2);
  color: var(--hp-cream);
}
.hp-inquiry__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 820px) { .hp-inquiry__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.hp-inquiry h2 { margin: 0.9rem 0 1.3rem; max-width: 14ch; }
.hp-inquiry p { color: var(--hp-on-dark); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; }
.hp-inquiry__note { margin-top: 1.4rem; font-weight: 600; color: var(--hp-cream) !important; }
.hp-inquiry__steps { margin-top: 2rem; display: grid; gap: 0.9rem; }
.hp-inquiry__step { display: flex; gap: 0.9rem; align-items: baseline; color: var(--hp-on-dark); font-size: 0.98rem; }
.hp-inquiry__step span {
  flex: 0 0 auto;
  font-family: var(--font-serif); color: var(--hp-sand); font-weight: 600;
}

.home-page .hp-inquiry .inquiry-form {
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(251, 248, 241, 0.16);
  border-radius: var(--hp-r);
  background: rgba(251, 248, 241, 0.05);
  backdrop-filter: blur(6px);
}
.home-page .hp-inquiry .form-label { color: var(--hp-sand); font-size: 0.82rem; }
.home-page .hp-inquiry .form-input {
  border-radius: var(--hp-r-sm);
  font-size: 1.04rem; padding: 0.95rem 1rem;
  background: rgba(251, 248, 241, 0.07);
  border-color: rgba(251, 248, 241, 0.16);
  color: var(--hp-cream);
}
.home-page .hp-inquiry .form-input:focus { border-color: var(--hp-clay-soft); }
.home-page .hp-inquiry .btn-primary { background: var(--hp-clay); color: var(--hp-cream); margin-top: 0.4rem; }
.home-page .hp-inquiry .btn-primary:hover { background: #a94c28; }
.home-page .hp-inquiry .form-note { color: var(--hp-on-dark-2); font-size: 0.88rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.home-page .site-footer {
  background: var(--hp-paper);
  border-top: 1px solid var(--hp-line);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem;
}
.home-page .footer-layout { align-items: flex-start; gap: clamp(1.5rem, 4vw, 3rem); }
.home-page .footer-name { font-size: 1.25rem; }
.home-page .footer-descriptor { color: var(--hp-muted); }
.home-page .footer-links { flex-wrap: wrap; justify-content: flex-start; gap: 0.8rem 1.4rem; }
.home-page .footer-links a { color: var(--hp-muted); font-size: 0.9rem; transition: color 0.2s ease; }
.home-page .footer-links a:hover { color: var(--hp-ink); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.hp-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--hp-ease), transform 0.8s var(--hp-ease); }
.hp-reveal.is-in { opacity: 1; transform: none; }
.hp-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--hp-ease), transform 0.7s var(--hp-ease); }
.hp-stagger.is-in > * { opacity: 1; transform: none; }
.hp-stagger.is-in > *:nth-child(1) { transition-delay: 0.04s; }
.hp-stagger.is-in > *:nth-child(2) { transition-delay: 0.12s; }
.hp-stagger.is-in > *:nth-child(3) { transition-delay: 0.20s; }
.hp-stagger.is-in > *:nth-child(4) { transition-delay: 0.28s; }
.hp-stagger.is-in > *:nth-child(5) { transition-delay: 0.36s; }

/* Hero line-mask reveal — padding/negative-margin keeps the clip box
   from cropping tall display-serif glyphs while preserving the mask. */
.hp-line-reveal {
  display: block; overflow: hidden;
  padding: 0.12em 0.08em; margin: -0.12em -0.08em;
}
.hp-line-reveal > span {
  display: block;
  transform: translateY(115%);
  transition: transform 0.9s var(--hp-ease);
}
.hp-loaded .hp-line-reveal > span { transform: none; }
.hp-loaded .hp-line-reveal:nth-child(2) > span { transition-delay: 0.08s; }
.hp-loaded .hp-line-reveal:nth-child(3) > span { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hp-line-reveal > span { transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 919px) {
  .home-page { font-size: 17px; }
  .hp-hero__media { aspect-ratio: 16/11; }
  .hp-hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Mobile nav (reuse global toggle, restyle overlay) */
@media (max-width: 1023px) {
  .home-page .nav-toggle { display: flex; }
  .home-page .nav-links {
    position: fixed; inset: 0;
    display: none;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 1.8rem;
    background: var(--hp-paper);
  }
  .home-page .nav-links.open { display: flex; }
  .home-page .nav-links a { font-family: var(--font-serif); font-size: 1.8rem; }
  .home-page .nav-links a:not(.nav-cta)::after { display: none; }
  .home-page .nav-cta { font-family: var(--font-sans) !important; font-size: 1rem !important; }
}
@media (min-width: 1024px) {
  .home-page .nav-toggle { display: none; }
  .home-page .nav-links { display: flex; position: static; flex-direction: row; background: none; }
}
