/* =========================================================================
   landing.css — the homepage only, loaded after site.css.

   The dark palette and the Bodoni weight/optical-size settings live in
   site.css now, because every page uses them. What's left here is only what
   the homepage alone has: the full-bleed hero, the client row, the
   disciplines list, the work strip and the closing call to action.
   ========================================================================= */

::selection { background: var(--accent); color: #17131b; }

/* ---- header ------------------------------------------------------------- */

/* Transparent over the hero; site.js adds .is-stuck once you scroll.
   Fixed rather than sticky so it floats *over* the hero instead of pushing
   it down — otherwise the hero's 100svh starts below the header and the
   buttons fall past the fold on a phone. */
body.landing .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none;
}

/* the fixed header would otherwise cover the top of a scroll target */
body.landing [id] { scroll-margin-top: 5.5rem; }
body.landing .site-header.is-stuck {
  background: var(--overlay);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--faint);
}
/* ---- brand block: logo + availability badge ----------------------------- */

body.landing .brand {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.6vw, 1.125rem);
  min-width: 0;
}

/* A hairline separates the badge from the mark, so they read as one unit
   without the badge looking like part of the logo. */
body.landing .availability {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding-left: clamp(.75rem, 1.6vw, 1.125rem);
  border-left: 1px solid var(--faint);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper);
}

body.landing .availability .dot {
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(224, 163, 85, .7);
  animation: pulse 2.6s ease-out infinite;
}
/* ---- shared landing furniture ------------------------------------------- */

/* The homepage's own Bodoni elements aren't headings, so site.css's rule
   doesn't reach them. Same two variables, so they stay in step. */
.cta-mail,
.client-list li,
.disc-name {
  font-weight: var(--weight-display);
  font-variation-settings: "opsz" var(--opsz-display);
}

.eyebrow {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 2rem;
}

.band { padding: clamp(4.5rem, 11vw, 9rem) 0; }
.band--tight { padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.band--flush { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.band + .band { border-top: 1px solid var(--faint); }

.link {
  color: var(--paper);
  border-bottom: 1px solid var(--faint);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---- hero --------------------------------------------------------------- */

.hero-full {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  z-index: -2;
  /* let the type win: dim and cool the photo slightly */
  filter: saturate(88%) brightness(78%);
  animation: hero-drift 26s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.4%, -1%, 0); }
}

/* Scrim: dark at the bottom where the text sits, clear at the top. */
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--base) 2%, rgba(19, 16, 25, .82) 26%, rgba(19, 16, 25, .28) 62%, rgba(19, 16, 25, .55) 100%);
}

.hero-inner { position: relative; width: 100%; }

@keyframes pulse {
  70%, 100% { box-shadow: 0 0 0 9px rgba(224, 163, 85, 0); }
}

.hero-title {
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.5rem, 15vw, 12.5rem);
  line-height: .86;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-title .line--indent { padding-left: .09em; font-style: italic; }

.hero-sub {
  margin: clamp(1.5rem, 3.5vw, 2.25rem) 0 0;
  max-width: 30ch;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.5;
  color: var(--paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 1.0625rem 1.75rem;
  border: 1px solid var(--faint);
  color: var(--paper);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { border-color: var(--paper); background: rgba(241, 237, 228, .08); }
.btn--solid { background: var(--paper); color: #17131b; border-color: var(--paper); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #17131b; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: 1px; height: 46px;
  background: var(--faint);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scroll-cue 2.4s ease-in-out infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@media (max-width: 720px) {
  .hero-scroll { display: none; }
  .hero-title .line--indent { padding-left: 0; }
}

/* ---- clients ------------------------------------------------------------ */

.clients {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1.5rem clamp(2rem, 6vw, 5rem);
}
.clients .eyebrow { margin: 0; }

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem clamp(1.75rem, 5vw, 4rem);
  list-style: none;
  margin: 0; padding: 0;
}
.client-list li {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  color: var(--paper);
  opacity: .82;
}

/* ---- disciplines -------------------------------------------------------- */

.disc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.disc-list { list-style: none; margin: 0; padding: 0; }
.disc-list li { border-top: 1px solid var(--faint); }
.disc-list li:last-child { border-bottom: 1px solid var(--faint); }

.disc-list a {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding: clamp(1.125rem, 2.4vw, 1.75rem) 0;
  transition: padding-left .3s cubic-bezier(.2, .7, .2, 1);
}
.disc-list a:hover { padding-left: 1rem; }

.disc-num {
  font-size: .6875rem;
  letter-spacing: .12em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.disc-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.625rem);
  line-height: 1;
  color: var(--paper);
  transition: color .2s ease;

}
.disc-list a:hover .disc-name { color: var(--accent); }
.disc-meta { font-size: .875rem; color: var(--dim); }

/* The preview pane tracks whichever row is hovered. */
.disc-preview {
  position: sticky;
  top: 6.5rem;
  aspect-ratio: 4 / 3;
  background: var(--raised);
  overflow: hidden;
}
.disc-preview img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .45s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.disc-preview img.is-live { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .disc { grid-template-columns: 1fr; }
  .disc-preview { display: none; }
  .disc-list a { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .disc-meta { grid-column: 2; font-size: .8125rem; }
}

/* ---- work strip (marquee) ----------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  margin: clamp(.5rem, 2vw, 1.5rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  /* fade the strip out at both ends instead of cutting it */
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee var(--marquee-duration, 60s) linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(calc(-50% - 5px)); }  /* half the doubled track */
}

.marquee .g-item { background: var(--raised); flex: 0 0 auto; }
.marquee .g-cap { font-size: .6875rem; }

.strip-note { margin: 0; font-size: .875rem; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .hero-bg { animation: none; transform: scale(1.06); }
  .hero-scroll span, .availability .dot { animation: none; }
}

/* ---- closing call to action --------------------------------------------- */

.cta-title {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.015em;
  color: var(--paper);
}
.cta-sub {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 clamp(2rem, 4.5vw, 2.75rem);
  max-width: 42ch;
  font-size: 1rem;
}
.cta-mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.6vw, 1.875rem);
  color: var(--paper);
  border-bottom: 1px solid var(--faint);
  padding-bottom: .25rem;
  transition: color .2s ease, border-color .2s ease;
}
.cta-mail:hover { color: var(--accent); border-bottom-color: var(--accent); }

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  font-size: .875rem;
}

/* ---- page end ----------------------------------------------------------- */

/* There's no footer on this page, so site.css's trailing space on <main>
   would just stack on top of the last band's own padding. The call to
   action ends the page. */
body.landing main { padding-bottom: 0; }
