/* Crafted Atelier v3.4.14 — approved hero artwork, obsolete featured-in mockup strip removed
   and reference-matched home menu. The hero artwork itself is unchanged except that the
   baked mockup header strip is removed so the real interactive header can replace it. */

:root {
  --home-header-h: 90px;
}

body[data-page="home"] .site-header,
body[data-page="home"] .site-header.is-dark,
body[data-page="home"] .site-header.is-scrolled {
  height: var(--home-header-h);
  padding: 0 40px;
  color: #f5f1e8;
  background: #0d0b08;
  border-bottom: 1px solid rgba(195, 155, 94, .30);
  backdrop-filter: none;
}

/* Homepage logo only: keep the brand visible at the left edge without allowing it
   to participate in header layout, so the centred navigation and right CTA do not move. */
body[data-page="home"] .header-brand {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  visibility: visible;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #f5f1e8;
  z-index: 3;
}
body[data-page="home"] .header-brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0,0,0,.24)); }
body[data-page="home"] .header-brand-copy strong { font-size: 18px; letter-spacing: .10em; color: #f5f1e8; }
body[data-page="home"] .header-brand-copy small { display: block; margin-top: 4px; font-size: 7px; letter-spacing: .30em; color: rgba(245,241,232,.78); }

/* True viewport-centred navigation. */
body[data-page="home"] .site-header .site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.05vw, 38px);
  max-width: calc(100vw - 430px);
  white-space: nowrap;
}

body[data-page="home"] .site-header .site-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #f5f1e8;
}

body[data-page="home"] .site-header .site-nav a::after {
  bottom: -9px;
  background: #c39b5e;
}

/* Keep Start a project pinned to the right edge. It no longer participates in grid
   auto-placement, which was causing it to overlap Process/Journal on wide screens. */
body[data-page="home"] .header-actions {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 3;
}

body[data-page="home"] .header-cta {
  min-width: 139px;
  padding: 12px 16px;
  border-color: #c39b5e;
  color: #d2ad73;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
}

body[data-page="home"] .header-cta:hover {
  color: #0d0b08;
  background: #d2ad73;
  border-color: #d2ad73;
}

/* Show the complete approved hero below the replacement menu. This deliberately lets
   the hero become taller than one short browser viewport instead of cutting through
   the designer profile card. */
.hero-approved-home {
  position: relative;
  margin-top: var(--home-header-h);
  width: 100%;
  aspect-ratio: 1535 / 803;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #100d0a;
}

.hero-approved-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #100d0a;
}

.hero-approved-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

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

.hero-approved-hit {
  position: absolute;
  z-index: 5;
  display: block;
  border: 0;
  padding: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

.hero-approved-hit span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Coordinate adjusted from the original art after removing its 112px baked header. */
.hero-approved-hit--work {
  left: 4.35%;
  top: 56.16%;
  width: 17.45%;
  height: 8.63%;
}

.hero-approved-hit:focus-visible {
  outline: 2px solid #e3be83;
  outline-offset: 4px;
}

@media (max-width: 1180px) and (min-width: 761px) {
  body[data-page="home"] .site-header { padding-inline: 24px; }
  body[data-page="home"] .header-brand { left: 24px; }
  body[data-page="home"] .site-header .site-nav {
    gap: 17px;
    max-width: calc(100vw - 320px);
  }
  body[data-page="home"] .site-header .site-nav a {
    font-size: 10px;
    letter-spacing: .05em;
  }
  body[data-page="home"] .header-actions { right: 24px; }
  body[data-page="home"] .header-cta { min-width: 124px; padding-inline: 12px; }
}

@media (max-width: 760px) {
  :root { --home-header-h: 72px; }

  body[data-page="home"] .site-header,
  body[data-page="home"] .site-header.is-dark,
  body[data-page="home"] .site-header.is-scrolled {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-inline: 16px;
  }

  body[data-page="home"] .header-brand {
    position: static;
    visibility: visible;
    pointer-events: auto;
  }
  body[data-page="home"] .site-nav,
  body[data-page="home"] .header-cta { display: none; }
  body[data-page="home"] .header-actions {
    position: static;
    justify-self: end;
    transform: none;
  }
  body[data-page="home"] .menu-button { display: block; }

  .hero-approved-home {
    margin-top: var(--home-header-h);
    aspect-ratio: 1535 / 803;
  }

  .hero-approved-hit--work { min-height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-approved-media img { transform: none; animation: none; }
}
