/* =====================================================================
   PAT FENIS WORLD DEVELOPMENT
   Neutral glass UI over a prismatic liquid background.
   ===================================================================== */
:root {
  --bg: #050507;
  --ink: #f5f5f7;
  --ink-2: rgba(245, 245, 247, 0.72);
  --muted: rgba(245, 245, 247, 0.5);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --glass: rgba(14, 14, 20, 0.55);
  --glass-2: rgba(22, 22, 30, 0.7);
  --glass-solid: rgba(10, 10, 14, 0.92);
  --danger: #ff6b81;
  --iri: linear-gradient(100deg, #7ef2ff 0%, #9b8cff 30%, #ff8ad8 55%, #ffc98a 78%, #a6ffcb 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.no-webgl {
  background:
    radial-gradient(40% 40% at 20% 80%, rgba(155, 140, 255, .28), transparent 70%),
    radial-gradient(35% 35% at 80% 20%, rgba(126, 242, 255, .22), transparent 70%),
    radial-gradient(30% 30% at 70% 85%, rgba(255, 138, 216, .2), transparent 70%),
    var(--bg);
}
body.stirring { cursor: grabbing; }
body.stirring, body.stirring * {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none;
}
body.stirring img { -webkit-user-drag: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(155, 140, 255, .45); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #b9b0ff; outline-offset: 3px; }

#lava {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
}

.site {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 48px);
  user-select: none;
}
body:not(.is-home) .nav {
  background: linear-gradient(to bottom, rgba(5,5,7,.78), rgba(5,5,7,.35) 70%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity .4s var(--ease);
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #7ef2ff, #9b8cff, #ff8ad8, #ffc98a, #a6ffcb, #7ef2ff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 0 18px rgba(155,140,255,.35);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-weight: 650; font-size: .95rem; letter-spacing: .02em; }
.brand-text span { font-family: var(--mono); font-size: .62rem; letter-spacing: .22em; color: var(--muted); margin-top: 3px; }
body.is-home .brand { opacity: 0; pointer-events: none; }

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.tab {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.tab:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.tab.active { color: #0a0a0f; background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px 96px;
  user-select: none;
  position: relative;
}
/* soft dark scrim so type stays readable over the brightest liquid */
.hero::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(closest-side, rgba(5,5,7,.55), transparent);
  z-index: -1;
  pointer-events: none;
}
body:not(.is-home) .hero, body:not(.is-home) .stir-hint { display: none; }
.hero > * { animation: rise .9s var(--ease) both; }
.hero > :nth-child(2) { animation-delay: .06s; }
.hero > :nth-child(3) { animation-delay: .12s; }
.hero > :nth-child(4) { animation-delay: .18s; }
.hero > :nth-child(5) { animation-delay: .24s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--iri);
  box-shadow: 0 0 10px rgba(155,140,255,.8);
}
.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(3.6rem, 13.5vw, 11.5rem);
  line-height: .86;
  letter-spacing: -.055em;
  /* subtle top-to-bottom sheen, like light across glass */
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, rgba(255,255,255,.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.45));
  padding: 0 .04em;
}
.hero-sub {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(.72rem, 1.6vw, .95rem);
  letter-spacing: .5em;
  padding-left: .5em; /* balances trailing letter-spacing */
  color: var(--ink);
}
.hero-lede {
  margin: 26px 0 0;
  max-width: 42ch;
  text-wrap: balance;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: var(--ink-2);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.stir-hint {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  pointer-events: none;
  animation: fade-in 1s 1.2s var(--ease) both;
  white-space: nowrap;
}
body.stirring .stir-hint { opacity: 0; transition: opacity .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--ink);
  color: #0a0a0f;
  border-color: var(--ink);
  box-shadow: 0 8px 30px rgba(155,140,255,.25);
}
.btn-primary:hover { background: #fff; border-color: #fff; box-shadow: 0 10px 40px rgba(155,140,255,.4); }
.btn-glass {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-small { padding: 9px 16px; font-size: .68rem; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Views ---------- */
main {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
body.is-home main { display: none; }
.view { padding: 40px 0 64px; animation: rise .6s var(--ease) both; }
.view-title {
  font-weight: 650;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -.045em;
  line-height: 1;
  margin: 0 0 36px;
}
.panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 24px;
}

/* ---------- Portfolio ---------- */
.world-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.world-card {
  all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.world-card:hover, .world-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.world-card:focus-visible { outline: 2px solid #b9b0ff; outline-offset: 3px; }
.world-card .cover { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b10; }
.world-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.world-card:hover .cover img { transform: scale(1.04); }
.world-card .meta { padding: 18px 20px 20px; }
.world-card h3 { margin: 0 0 6px; font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.world-card p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}
.photo-count { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.empty { text-align: center; color: var(--muted); padding: 48px 20px; }

/* ---------- Modals ---------- */
.modal {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass-solid);
  color: var(--ink);
  padding: 0;
  max-width: min(1120px, calc(100vw - 24px));
  width: 100%;
  max-height: calc(100vh - 24px);
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
.modal::backdrop { background: rgba(3,3,5,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal[open] { animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10,10,14,.7);
  color: var(--ink);
  font-size: .9rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s;
}
.modal-close:hover { background: rgba(40,40,50,.9); }

.gallery { max-width: min(1600px, calc(100vw - 24px)); }
.gallery-stage {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  max-height: 76vh;
}
.gallery-stage img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  cursor: zoom-in;
  -webkit-user-drag: none;
}
.gallery-hud {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  pointer-events: none;
}
.gallery-count, .gallery-status {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10,10,14,.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-2);
}
.gallery-count:empty { display: none; }
.gallery-status::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--iri);
  vertical-align: 1px;
  animation: pulse 1s ease-in-out infinite alternate;
}
@keyframes pulse { from { opacity: .3; } to { opacity: 1; } }
.gallery-fs {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10,10,14,.6);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s;
}
.gallery-fs:hover { background: rgba(40,40,50,.9); }
/* Full screen: the lossless original, edge to edge */
.gallery-stage:fullscreen { max-height: none; aspect-ratio: auto; width: 100vw; height: 100vh; }
.gallery-stage:fullscreen img { width: 100vw; height: 100vh; max-width: none; max-height: none; cursor: zoom-out; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10,10,14,.6);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.gallery-nav:hover { background: rgba(40,40,50,.9); }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-info { padding: 20px 24px 4px; }
.gallery-info h3 { margin: 0 0 6px; font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.gallery-info p { margin: 0 0 14px; color: var(--ink-2); }
.gallery-thumbs { display: flex; gap: 8px; padding: 12px 24px 22px; overflow-x: auto; }
.gallery-thumbs button {
  all: unset;
  cursor: pointer;
  flex: 0 0 auto;
  width: 104px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  outline: 2px solid transparent;
  outline-offset: 2px;
  opacity: .5;
  transition: opacity .2s, outline-color .2s;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button:hover { opacity: .85; }
.gallery-thumbs button.active { opacity: 1; outline-color: var(--ink); }

/* Lightbox shrinks to the image, which always fits the screen; no scrollbars */
.lightbox {
  background: #000;
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
}
.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 34px);
  max-height: calc(100vh - 34px);
  object-fit: contain;
}

/* ---------- Reviews ---------- */
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.rating-summary { display: flex; align-items: center; gap: 18px; }
.rating-big { font-weight: 650; font-size: 3rem; letter-spacing: -.05em; line-height: 1; }
.stars { color: rgba(255,255,255,.16); letter-spacing: 3px; font-size: 1rem; }
.stars .on {
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stars-lg { font-size: 1.35rem; }
#rating-count { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

.review-list { columns: 3 300px; column-gap: 20px; }
.review-card { break-inside: avoid; margin-bottom: 20px; }
.review-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.review-card .who { font-weight: 600; letter-spacing: -.01em; }
.review-card .handle { font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-top: 2px; }
.review-card .date { font-family: var(--mono); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.verified {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,.05);
  isolation: isolate;
  white-space: nowrap;
}
/* iridescent hairline, matching the Discord pill */
.verified::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--iri);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .7;
  z-index: -1;
}
.verified svg { color: #a6ffcb; flex: none; }
.review-card .body { margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); }
.review-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; margin-top: 14px; }
.review-imgs button { all: unset; cursor: zoom-in; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.review-imgs img { width: 100%; height: 100%; object-fit: cover; }

/* Review form */
.review-modal { max-width: 540px; }
.review-form, .review-thanks { padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.review-form h3, .review-thanks h3 { margin: 0; font-weight: 650; font-size: 1.6rem; letter-spacing: -.035em; }
.review-form > p { margin: -10px 0 0; }
.review-thanks p { margin: 0; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 500; }
.field > span { display: flex; gap: 6px; align-items: baseline; }
.req { color: #b9b0ff; }
.counter { margin-left: auto; font-family: var(--mono); font-size: .7rem; color: var(--muted); font-weight: 400; }
.counter.full { color: #ffc98a; }
.field input, .field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  resize: vertical;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(185,176,255,.7); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(155,140,255,.15); }

.star-input { border: 0; padding: 0; margin: 0; display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.star-input legend { font-size: .9rem; font-weight: 500; padding: 0; margin-bottom: 8px; width: 100%; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label {
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(255,255,255,.16);
  transition: transform .15s var(--ease), color .15s;
  padding: 0 2px;
}
.star-input label.on { background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid #b9b0ff; outline-offset: 2px; border-radius: 6px; }

.upload-row { display: flex; gap: 8px; flex-wrap: wrap; }
.upload-add, .upload-thumb {
  width: 76px; height: 76px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.upload-add { cursor: pointer; font-size: 1.6rem; font-weight: 300; color: var(--ink-2); transition: border-color .2s, background .2s; }
.upload-add:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.upload-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-thumb { border-style: solid; }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb button {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.75); color: #fff; font-size: .65rem; cursor: pointer;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); margin: 0; font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-panel {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 40px 24px;
}
.contact-option {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.contact-option svg { width: 22px; height: 22px; }
.contact-option:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.contact-option[aria-expanded="true"] { background: var(--ink); color: #0a0a0f; border-color: var(--ink); }
.discord-reveal { display: flex; flex-direction: column; align-items: center; gap: 20px; animation: rise .45s var(--ease) both; }
.discord-reveal p { margin: 0; font-size: 1.05rem; max-width: 38ch; color: var(--ink-2); }
.discord-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  border-radius: 999px;
  background: rgba(12,12,18,.85);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  isolation: isolate;
  transition: transform .25s var(--ease);
}
/* iridescent hairline border */
.discord-pill::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--iri);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.discord-pill:hover { transform: translateY(-2px); }
.discord-pill img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.pill-arrow { color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.discord-pill:hover .pill-arrow { transform: translate(2px, -2px); color: var(--ink); }

/* ---------- Footer ---------- */
.foot {
  text-align: center;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--muted);
  padding: 24px 16px 28px;
}
body.is-home .foot { display: none; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .nav { flex-direction: column; gap: 12px; padding-top: 14px; }
  body.is-home .brand { display: none; }
  .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 9px 12px; font-size: .66rem; letter-spacing: .08em; }
  .hero { padding-bottom: 80px; }
  .hero-sub { letter-spacing: .32em; padding-left: .32em; }
  .review-list { columns: 1; }
  .rating-big { font-size: 2.4rem; }
  .reviews-head .btn { width: 100%; }
  .gallery-nav { width: 38px; height: 38px; font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
