/* Guatemala Summer Records: shared tokens, type, nav, footer, buttons, page wipe.
   Colors come from the logo's sunset bands and temple stone, pushed toward the
   glossy white lacquer / orange acrylic interiors of the reference rooms. */

:root {
  --sun-1: #f6b53e;
  --sun-2: #f09535;
  --sun-3: #ea762c;
  --sun-4: #e05527;
  --sun-5: #c8352a;
  --script: #d9a23a;
  --stone: #b5b69b;
  --stone-2: #9c9d83;
  --stone-3: #e1e2cd;
  --lacquer: #fffaf4;
  --lacquer-2: #f7eee4;
  --lacquer-3: #ecdccb;
  --acrylic: #ff7a1a;
  --acrylic-2: #ff9a3c;
  --acrylic-deep: #d9480f;
  --glow: #ffc27a;
  --ink: #1d100b;
  --ink-2: #3b2419;
  --night: #120705;
  --muted: #7d6354;

  --sunset: linear-gradient(180deg, var(--sun-1), var(--sun-2) 30%, var(--sun-3) 55%, var(--sun-4) 78%, var(--sun-5));
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-script: "Yellowtail", "Brush Script MT", cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--lacquer);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: .92; font-weight: 850; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--acrylic); color: #fff; }
:focus-visible { outline: 3px solid var(--acrylic); outline-offset: 3px; border-radius: 4px; }

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; }

/* Wide technical labels, like the catalog print on a cassette J-card. */
.label {
  font-size: 11.5px;
  font-weight: 640;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 125;
  color: var(--acrylic-deep);
}
.label b { color: var(--ink); font-weight: 900; }

/* Gel buttons: a Y2K candy capsule with a lacquer highlight. */
.gel {
  --gel-a: #ffb04a;
  --gel-b: #ff6a12;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 15px 26px 14px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, var(--gel-a), var(--gel-b) 62%, #e2500c);
  color: #fff;
  font-weight: 760;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  font-variation-settings: "wdth" 118;
  box-shadow:
    inset 0 -6px 12px rgba(150, 40, 0, .35),
    inset 0 2px 1px rgba(255, 255, 255, .55),
    0 10px 24px -8px rgba(226, 80, 12, .7),
    0 2px 4px rgba(120, 40, 0, .2);
  text-shadow: 0 1px 1px rgba(140, 40, 0, .35);
  cursor: pointer;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .3s;
}
.gel::before {
  content: "";
  position: absolute;
  inset: 3px 12px auto;
  height: 46%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .08));
  z-index: -1;
  pointer-events: none;
}
.gel:hover { transform: translateY(-2px) scale(1.03); filter: saturate(1.15); box-shadow: inset 0 -6px 12px rgba(150, 40, 0, .35), inset 0 2px 1px rgba(255, 255, 255, .6), 0 18px 34px -10px rgba(226, 80, 12, .85), 0 2px 4px rgba(120, 40, 0, .2); }
.gel:active { transform: translateY(1px) scale(.98); }
.gel--glass {
  --gel-a: rgba(255, 255, 255, .92);
  --gel-b: rgba(255, 244, 232, .75);
  color: var(--ink);
  text-shadow: none;
  backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 -5px 10px rgba(217, 72, 15, .12), inset 0 1px 1px #fff, 0 10px 26px -12px rgba(120, 50, 10, .45), 0 0 0 1px rgba(217, 72, 15, .18);
}
.gel--glass:hover { box-shadow: inset 0 -5px 10px rgba(217, 72, 15, .16), inset 0 1px 1px #fff, 0 16px 30px -12px rgba(120, 50, 10, .55), 0 0 0 1px rgba(217, 72, 15, .35); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  translate: -50% 0;
  width: min(1180px, calc(100% - 24px));
  height: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 8px 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 252, 248, .86), rgba(255, 244, 232, .72));
  backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(217, 72, 15, .12), 0 12px 30px -16px rgba(120, 45, 10, .45), 0 0 0 1px rgba(217, 72, 15, .1);
  transition: translate .6s var(--ease), background .4s;
}
.nav.is-hidden { translate: -50% -140%; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__mark { width: 40px; height: 40px; }
.nav__word {
  font-weight: 860;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 70;
  color: var(--sun-5);
  line-height: 1;
}
.nav__word em { font-family: var(--f-script); font-style: normal; text-transform: none; font-weight: 400; color: var(--script); font-size: 19px; margin-left: 2px; letter-spacing: 0; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 115;
  text-decoration: none;
  overflow: hidden;
}
.nav__links a span { position: relative; z-index: 1; }
.nav__links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffd9b0, #ffb26b);
  scale: 1 0;
  transform-origin: bottom;
  transition: scale .45s var(--ease);
}
.nav__links a:hover::before, .nav__links a[aria-current]::before { scale: 1 1; }
.nav__cta { padding: 12px 20px 11px; font-size: 11.5px; }
.nav__toggle { display: none; }

.menu { position: fixed; inset: 0; z-index: 49; display: grid; place-items: center; }
.menu[hidden] { display: none; }
.menu__bands { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(5, 1fr); gap: 4px; background: var(--lacquer); }
.menu__bands i { background: var(--sunset); background-size: 100% 500%; }
.menu__bands i:nth-child(1) { background: var(--sun-1); }
.menu__bands i:nth-child(2) { background: var(--sun-2); }
.menu__bands i:nth-child(3) { background: var(--sun-3); }
.menu__bands i:nth-child(4) { background: var(--sun-4); }
.menu__bands i:nth-child(5) { background: var(--sun-5); }
.menu__links { position: relative; display: grid; gap: 6px; text-align: center; }
.menu__links a { color: #fff; text-decoration: none; font-size: clamp(40px, 12vw, 72px); font-weight: 900; text-transform: uppercase; line-height: 1; font-variation-settings: "wdth" 66; text-shadow: 0 3px 0 rgba(120, 30, 0, .25); }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffb04a, #ff6a12);
    box-shadow: inset 0 2px 1px rgba(255, 255, 255, .5), 0 6px 14px -6px rgba(226, 80, 12, .8);
    cursor: pointer;
  }
  .nav__toggle i { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease); }
  .nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav__word { font-size: 13px; }
  .nav__word em { font-size: 16px; }
}

/* ---------- Footer ---------- */
.foot {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 120%, #ff7a1a 0%, #c8352a 38%, #3b120a 72%, var(--night) 100%);
  color: #ffe9d4;
  padding: clamp(64px, 10vw, 120px) var(--gutter) 28px;
}
.foot__glow { position: absolute; left: 50%; bottom: -55vw; width: 110vw; height: 110vw; translate: -50% 0; border-radius: 50%; background: repeating-linear-gradient(180deg, rgba(255, 179, 71, .22) 0 34px, transparent 34px 40px); mask-image: radial-gradient(closest-side, #000 60%, transparent); pointer-events: none; }
.foot__top { position: relative; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; max-width: 1180px; margin: 0 auto; }
.foot__mark { width: 84px; height: 84px; margin-bottom: 18px; }
.foot__word { font-size: clamp(36px, 6vw, 72px); font-weight: 900; text-transform: uppercase; line-height: .9; font-variation-settings: "wdth" 66; color: #fff; }
.foot__word em { display: block; font-family: var(--f-script); font-style: normal; font-weight: 400; text-transform: none; color: var(--sun-1); font-size: .62em; margin-top: -.08em; }
.foot__tag { margin-top: 14px; color: #ffcf9e; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot__cols div { display: grid; gap: 8px; align-content: start; }
.foot__cols .label { color: var(--sun-1); margin-bottom: 6px; }
.foot__cols a { text-decoration: none; color: #fff; opacity: .86; transition: opacity .3s, translate .4s var(--ease); }
.foot__cols a:hover { opacity: 1; translate: 4px 0; }
.foot__base { position: relative; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; max-width: 1180px; margin: 72px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 210, 160, .25); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-variation-settings: "wdth" 120; color: #ffc995; }

/* ---------- Page wipe: the logo's five sunset bands sweep across between pages ---------- */
.wipe { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: repeat(5, 1fr); pointer-events: none; }
.wipe i { display: block; transform: translateX(-101%); }
.wipe i:nth-child(even) { transform: translateX(101%); }
.wipe i:nth-child(1) { background: var(--sun-1); }
.wipe i:nth-child(2) { background: var(--sun-2); }
.wipe i:nth-child(3) { background: var(--sun-3); }
.wipe i:nth-child(4) { background: var(--sun-4); }
.wipe i:nth-child(5) { background: var(--sun-5); }
html.is-arriving .wipe i { transform: none; }

/* Shared: shard floor (the broken-tile acrylic floor from the corridor reference), drawn by js/lib/shards.js */
.shards { width: 100%; height: 100%; }

/* Ring lights, as on the orange gallery wall */
.rings i {
  position: absolute;
  width: var(--s, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #fff6e8;
  box-shadow: 0 0 12px 2px rgba(255, 220, 170, .9), 0 0 40px 8px rgba(255, 160, 70, .55), inset 0 0 12px 2px rgba(255, 220, 170, .8);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
