/* VASATA — editorial site
   Hard cuts. No fades between sequence beats.
   Type is allowed to leave the viewport. */

:root {
  --white: #fff;
  --black: #0a0a0a;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: auto; }

body {
  min-height: 100%;
  overflow-x: hidden;
}

body.sequence-on {
  overflow: hidden;
  height: 100%;
}

img { display: block; max-width: none; }

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* ---------------- Sequence ---------------- */

#sequence {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #fff;
  overflow: hidden;
}

#sequence.done {
  display: none;
}

.beat {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  background: #fff;
}

.beat.on {
  display: block;
}

.beat.bg-white { background: #fff; }
.beat.bg-black { background: #000; }

.frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
}

/* Per-beat crops live as modifiers on .frame */

.crop-sliver img {
  width: 54%;
  height: 54%;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -42%);
}

.crop-eye img {
  width: 168%;
  height: 168%;
  object-position: 48% 44%;
}

.crop-sprocket img {
  width: 210%;
  height: 210%;
  object-position: 50% 48%;
}

.crop-face49 img {
  width: 156%;
  height: 156%;
  object-position: 62% 38%;
}

.crop-mouth img {
  width: 170%;
  height: 170%;
  object-position: 28% 72%;
}

.crop-berry img {
  width: 140%;
  height: 140%;
  object-position: 50% 48%;
}

.crop-chili img {
  width: 150%;
  height: 150%;
  object-position: 50% 42%;
}

.crop-shoes img {
  width: 148%;
  height: 148%;
  object-position: 38% 88%;
}

.crop-ciclone img {
  width: 220%;
  height: 220%;
  object-position: 36% 6%;
}

.crop-chelsea img {
  width: 190%;
  height: 190%;
  object-position: 86% 22%;
}

.crop-die img {
  width: 200%;
  height: 200%;
  object-position: 32% 48%;
}

.crop-face43 img {
  width: 118%;
  height: 118%;
  object-position: 50% 28%;
}

.crop-instax img {
  width: 145%;
  height: 145%;
  object-position: 28% 42%;
}

.crop-bubble img {
  width: 132%;
  height: 132%;
  object-position: 38% 58%;
}

.crop-man img {
  width: 150%;
  height: 150%;
  object-position: 50% 22%;
}

.crop-bw img {
  width: 160%;
  height: 160%;
  object-position: 48% 38%;
}

.crop-eye2 img {
  width: 240%;
  height: 240%;
  object-position: 58% 40%;
}

.crop-six img {
  width: 230%;
  height: 230%;
  object-position: 74% 62%;
}

.crop-loop img {
  width: 140%;
  height: 140%;
  object-position: 50% 52%;
}

.crop-water img {
  width: 150%;
  height: 150%;
  object-position: 52% 48%;
}

.crop-wave img {
  width: 140%;
  height: 140%;
  object-position: 42% 42%;
}

.crop-wetface img {
  width: 210%;
  height: 210%;
  object-position: 48% 18%;
}

.crop-stroke img {
  width: 170%;
  height: 170%;
  object-position: 28% 28%;
}

.crop-cube img {
  width: 150%;
  height: 150%;
  object-position: 32% 58%;
}

.crop-watch img {
  width: 190%;
  height: 190%;
  object-position: 68% 28%;
}

.crop-lock img {
  width: 200%;
  height: 200%;
  object-position: 50% 14%;
}

.crop-bulb img {
  width: 170%;
  height: 170%;
  object-position: 50% 38%;
}

/* Type */

.type {
  position: absolute;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.72;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  margin: 0;
}

.type.white { color: #fff; }
.type.black { color: #000; }

/* Fragments — intended to be cropped by the viewport */

.t-vas {
  left: -6vw;
  top: 18vh;
  font-size: 34vw;
  color: #fff;
}

.t-ima {
  left: -22vw;
  top: 36vh;
  font-size: 32vw;
  color: #fff;
}

.t-look {
  right: -8vw;
  bottom: 8vh;
  font-size: 18vw;
  color: #fff;
}

.t-direc {
  left: -14vw;
  top: 22vh;
  font-size: 30vw;
  color: #fff;
}

.t-image {
  left: -18vw;
  top: 28vh;
  font-size: 38vw;
  color: #fff;
}

.t-no {
  right: 6vw;
  bottom: 8vh;
  font-size: 8vw;
  color: #000;
}

/* Black type in a hard white block */

.block {
  position: absolute;
  background: #fff;
  color: #000;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  line-height: 0.8;
  padding: 1.2vh 2.2vw 0.6vh;
  white-space: nowrap;
}

.block-form {
  left: 8vw;
  bottom: 14vh;
  font-size: 14vw;
}

/* Knockout letterforms */

.ko {
  position: absolute;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.72;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: cover;
  background-repeat: no-repeat;
}

.ko-ident {
  left: -10vw;
  top: 16vh;
  font-size: 28vw;
  background-position: 42% 68%;
}

.ko-make {
  left: -4vw;
  top: 30vh;
  font-size: 26vw;
  background-position: 50% 55%;
}

/* Brand resolve */

.resolve {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 8vw;
}

.resolve h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 120px);
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.resolve p {
  margin: 1.4rem 0 0;
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Skip control disabled. It remains harmless if still present in HTML. */
.skip {
  display: none !important;
}

/* ---------------- Site chrome ---------------- */

#site {
  min-height: 100vh;
  background: #fff;
}

#site.view-work {
  height: 100vh;
  overflow: hidden;
}

#site[hidden] { display: none; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: #fff;
  border-bottom: 1px solid #000;
}

.mark {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
}

.mark:hover { opacity: 0.45; }

nav {
  display: flex;
  gap: 1.25rem;
}

nav a,
nav button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: 12px/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  color: #000;
}

nav a[aria-current="page"],
nav button[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

nav a:hover,
nav button:hover { opacity: 0.4; }

/* Work stage — one enormous image */

#work {
  display: none;
  position: relative;
  background: #fff;
}

#work.on {
  display: block;
}

.stage {
  position: relative;
  height: calc(100vh - 49px);
  overflow: hidden;
  background: #000;
}

.stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118%;
  height: 118%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.stage.quiet {
  background: #fff;
}

.stage.quiet img {
  width: auto;
  height: 86%;
  max-width: none;
  object-fit: contain;
}

.stage-type {
  position: absolute;
  left: -6vw;
  bottom: 6vh;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  font-size: 18vw;
  line-height: 0.75;
  pointer-events: none;
  white-space: nowrap;
}

.stage-ui {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  gap: 0.6rem;
  z-index: 2;
}

.stage-ui button {
  appearance: none;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font: 11px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.stage.quiet .stage-ui button {
  border-color: #000;
  color: #000;
}

.stage-count {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}

.stage.quiet .stage-count { color: #000; }

/* Studio / contact */

.panel {
  display: none;
  min-height: calc(100vh - 49px);
  padding: 10vh 8vw 12vh;
  background: #fff;
}

.panel.on { display: block; }

.panel h2 {
  margin: 0 0 2.2rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 12vw, 140px);
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-transform: uppercase;
}

.lockup .plus {
  display: inline-block;
  margin-left: 0.02em;
  font-weight: 800;
  letter-spacing: 0;
}

.rule {
  width: 100%;
  height: 1px;
  background: #000;
  border: 0;
  margin: 0 0 2.5rem;
}

.panel .line {
  font-size: clamp(13px, 1.35vw, 17px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.8rem;
}

.panel .copy {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.1rem;
}

.panel .links {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.panel .links a {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  border-bottom: 1px solid #000;
  width: max-content;
  padding-bottom: 2px;
}

.panel .links a:hover { opacity: 0.4; }

.mail {
  font-size: clamp(22px, 4vw, 42px);
  letter-spacing: 0.02em;
  display: inline-block;
  margin-top: 0.4rem;
}

.mail:hover { opacity: 0.4; }

.sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 3.2rem;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sheet-head p { margin: 0; }

.sheet-block { margin: 0 0 0.2rem; }

.sheet-kicker {
  margin: 0 0 0.85rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sheet-item {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  width: max-content;
}

a.sheet-item { border-bottom: 1px solid #000; padding-bottom: 1px; }
a.sheet-item:hover { opacity: 0.4; }

.rule.thin { margin: 1.8rem 0 1.8rem; }

.sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4vw;
}

.sheet .mail {
  font-size: clamp(22px, 5.2vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.4rem;
}

@media (max-width: 720px) {
  .sheet-grid { grid-template-columns: 1fr; gap: 2rem; }
  .panel h2.lockup { font-size: 18vw; }
}

/* No-JS fallback */

.no-js #sequence { display: none; }
.no-js #site { display: block !important; }

/* ---------------- Mobile art direction ---------------- */

@media (max-width: 720px) {
  /* Opening-sequence art direction — unchanged from the working file. */
  .t-vas { font-size: 52vw; left: -10vw; top: 28vh; }
  .t-ima { font-size: 48vw; left: -36vw; top: 40vh; }
  .t-look { font-size: 28vw; right: -18vw; }
  .t-direc { font-size: 46vw; left: -28vw; top: 30vh; }
  .t-image { font-size: 58vw; left: -40vw; }
  .block-form { font-size: 22vw; left: -4vw; bottom: 18vh; }
  .ko-ident { font-size: 42vw; left: -18vw; }
  .ko-make { font-size: 38vw; left: -12vw; }

  .crop-sliver img { width: 78%; height: 48%; transform: translate(-50%, -30%); }
  .crop-eye img { width: 240%; height: 240%; object-position: 50% 42%; }
  .crop-eye2 img { width: 300%; object-position: 62% 38%; }
  .crop-face49 img { width: 210%; object-position: 70% 36%; }
  .crop-mouth img { width: 230%; object-position: 30% 78%; }
  .crop-shoes img { width: 210%; object-position: 42% 92%; }
  .crop-ciclone img { width: 280%; object-position: 38% 4%; }
  .crop-chelsea img { width: 260%; object-position: 90% 18%; }
  .crop-wetface img { width: 280%; object-position: 50% 16%; }
  .crop-six img { width: 300%; object-position: 78% 60%; }
  .crop-lock img { width: 260%; object-position: 50% 12%; }
  .crop-face43 img { width: 160%; object-position: 50% 22%; }
  .crop-instax img { width: 200%; object-position: 22% 40%; }
  .crop-water img { width: 200%; object-position: 50% 42%; }

  .resolve { padding: 8vh 7vw; }
  .resolve h1 { font-size: 18vw; letter-spacing: 0.02em; }
  .resolve p { letter-spacing: 0.1em; font-size: 11px; max-width: 80vw; }

  /* WORK view: one stable visible viewport. */
  #site.view-work {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
  }

  /* Mobile toolbar — one authoritative definition for Work, Studio and Contact. */
  #site .top {
    height: 48px;
    min-height: 48px;
    padding: 0 0.9rem;
    align-items: center;
    gap: 0.75rem;
  }

  #site .mark {
    flex: 0 0 auto;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  #site nav {
    margin-left: auto;
    gap: 0.75rem;
    align-items: center;
  }

  #site nav a,
  #site nav button {
    min-height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  /* Work only: toolbar sits in the fixed flex column instead of sticking. Layout, not sizing. */
  #site.view-work .top {
    position: relative;
    top: auto;
    flex: 0 0 48px;
  }

  /* Artwork fills exactly the remainder of the visible viewport. */
  #site.view-work #work.on {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow: hidden;
    display: block;
  }

  #site.view-work .stage {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  /* Preserve the original mobile art direction for normal work images. */
  #site.view-work .stage img {
    width: 160%;
    height: 160%;
  }

  /* Quiet works now use the full mobile stage instead of a white mat. */
  #site.view-work .stage.quiet {
    background: #fff;
  }

  #site.view-work .stage.quiet img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  /* Quiet works are predominantly light; keep their controls black. */
  #site.view-work .stage.quiet .stage-ui button {
    border-color: #000;
    color: #000;
    text-shadow: none;
  }

  #site.view-work .stage.quiet .stage-count {
    color: #000;
    text-shadow: none;
  }

  .stage-type { font-size: 28vw; left: -10vw; bottom: 8vh; }

  /* Controls remain clearly inside the visible artwork area. */
  #site.view-work .stage-ui {
    right: 1rem;
    bottom: calc(24px + env(safe-area-inset-bottom));
    gap: 0.6rem;
  }

  #site.view-work .stage-count {
    left: 1rem;
    bottom: calc(24px + env(safe-area-inset-bottom));
  }

  #site.view-work .stage-ui button {
    min-height: 42px;
    min-width: 64px;
  }

  /* Studio/contact panels retain their original mobile spacing. */
  .panel { padding: 8vh 7vw 10vh; }
}

@media (min-width: 1400px) {
  .crop-face43 img { width: 100%; height: 100%; object-position: 50% 18%; }
}

/* Reduced motion: sequence hidden via JS; this is backup */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------------- Contact page mosaic ---------------- */

#site.view-contact {
  background: #f3f1eb;
}

#contact.contact-page {
  display: none;
  min-height: calc(100vh - 49px);
  padding: 0;
  background: #f3f1eb;
  color: #0a0a0a;
}

#contact.contact-page.on {
  display: block;
}

#contact .contact-wrap {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 2.4rem 1.4rem 2.2rem;
}

#contact .contact-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0 1.1rem;
}

#contact .contact-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 13.6vw, 168px);
  letter-spacing: -0.055em;
  line-height: 0.78;
  text-transform: uppercase;
}

#contact .contact-aside {
  margin: 0 0 0.35rem;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
  flex: 0 0 auto;
}

#contact .contact-rule {
  width: 100%;
  height: 1px;
  background: #0a0a0a;
  border: 0;
  margin: 0 0 1rem;
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(168px, 19vw);
  gap: 8px;
}

#contact .cg {
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  background: #fff;
}

#contact .cg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#contact .cg-photo img[src*="contact-plus"] {
  object-position: 42% 42%;
}

#contact .cg-sheet {
  background: #111;
}

#contact .cg-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0a0a0a;
  color: #fff;
  padding: 1.15rem 1.1rem 1rem;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
}

#contact .cg-cta .cg-arrow {
  font-size: 1.35em;
  letter-spacing: 0;
}

#contact .cg-cta:hover { opacity: 0.86; }

#contact .cg-info {
  padding: 1.05rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f3f1eb;
}

#contact .cg-info .cg-name,
#contact .cg-info .cg-place,
#contact .cg-info ul,
#contact .cg-list ul,
#contact .cg-id p,
#contact .cg-loc p {
  margin: 0;
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.45;
  list-style: none;
  padding: 0;
}

#contact .cg-info ul { margin-top: 0.6rem; }
#contact .cg-dash {
  margin: 0.45rem 0;
  letter-spacing: 0;
}

#contact .cg-email {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.1rem 1.15rem;
  background: #fff;
}

#contact .cg-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#contact .cg-email a {
  font-size: clamp(13px, 1.25vw, 16px);
  letter-spacing: -0.01em;
}

#contact .cg-email a:hover { opacity: 0.45; }

#contact .cg-rulelet {
  display: block;
  width: 2.4rem;
  height: 1px;
  background: #0a0a0a;
}

#contact .cg-rulelet.light { background: #fff; width: 2rem; }

#contact .cg-quote,
#contact .cg-people {
  display: flex;
  align-items: center;
  padding: 1rem 1.05rem;
  background: #fff;
}

#contact .cg-quote p,
#contact .cg-people p {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}

#contact .cg-sky {
  background: #111;
  display: flex;
  flex-direction: column;
}

#contact .cg-filmhead {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #0a0a0a;
}

#contact .cg-sky img { flex: 1; height: calc(100% - 22px); }

#contact .cg-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
  background: #f3f1eb;
}

#contact .cg-list li { margin: 0 0 0.28rem; }

#contact .cg-loc {
  background: #0a0a0a;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.15rem 1.1rem;
}

#contact .cg-hand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

#contact .cg-index {
  padding: 0.85rem 0.85rem 0.85rem 0.7rem;
  background: #f7f5f0;
}

#contact .cg-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#contact .cg-index li {
  display: grid;
  grid-template-columns: 14px 1.1em 1fr;
  align-items: baseline;
  gap: 0.45rem;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid #0a0a0a;
  padding: 0.22rem 0 0.28rem;
}

#contact .cg-index li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0a0a;
  align-self: center;
}

#contact .cg-id {
  background: #0a0a0a;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.2rem 1.1rem;
}

#contact .contact-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid #0a0a0a;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#contact .contact-foot a:hover { opacity: 0.45; }

@media (max-width: 980px) {
  #contact .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(170px, 36vw);
  }
  #contact .cg-faces,
  #contact .cg-quote,
  #contact .cg-people,
  #contact .cg-sky {
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  #contact .contact-wrap { padding: 1.2rem 0.9rem 1.6rem; }
  #contact .contact-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.6rem 0 0.8rem;
  }
  #contact .contact-title {
    font-size: clamp(64px, 22vw, 96px);
    max-width: 100%;
  }
  #contact .contact-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(150px, 42vw);
    gap: 6px;
  }
  #contact .cg-cta,
  #contact .cg-quote,
  #contact .cg-people,
  #contact .cg-sky {
    grid-column: 1 / -1;
    min-height: 180px;
  }
  #contact .cg-quote p,
  #contact .cg-people p { font-size: 28px; }
  #contact .cg-info,
  #contact .cg-email,
  #contact .cg-list,
  #contact .cg-loc,
  #contact .cg-index,
  #contact .cg-id { min-height: 180px; }
}
