:root {
  color-scheme: dark;
  --olive-950: #0d1d12;
  --olive-900: #132719;
  --olive-800: #1d3523;
  --olive-700: #314c31;
  --olive-500: #64784b;
  --gold-500: #d6aa48;
  --gold-300: #f3d58d;
  --cream: #f7efd9;
  --cream-soft: rgba(247, 239, 217, 0.72);
  --line: rgba(247, 239, 217, 0.18);
  --shadow: rgba(6, 12, 7, 0.48);
  --cursor-x: 0px;
  --cursor-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--olive-950);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 14%, rgba(243, 213, 141, 0.34), transparent 22%),
    radial-gradient(circle at 76% 62%, rgba(214, 170, 72, 0.18), transparent 28%),
    linear-gradient(135deg, #0d1d12 0%, #1d3523 48%, #32482d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 18px;
  border: 1px solid rgba(243, 213, 141, 0.22);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  animation: revealFrame 1.2s ease 0.2s forwards;
}

a {
  color: inherit;
}

.home-scene {
  width: min(1220px, calc(100% - 44px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px) 0 18px;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 16px;
  align-items: center;
}

.announcement {
  position: relative;
  width: 100%;
  min-height: min(820px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  grid-template-rows: 1fr auto auto;
  gap: 18px 24px;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid rgba(243, 213, 141, 0.22);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(29, 53, 35, 0.92), rgba(13, 29, 18, 0.96));
  box-shadow: 0 40px 110px var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  animation: pageSettle 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.room,
.room::before,
.room::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.room {
  overflow: hidden;
}

.room::before {
  content: "";
  background:
    linear-gradient(90deg, transparent 0 11%, var(--line) 11% 11.12%, transparent 11.12% 36%, var(--line) 36% 36.12%, transparent 36.12% 63%, var(--line) 63% 63.12%, transparent 63.12%),
    linear-gradient(180deg, transparent 0 18%, rgba(247, 239, 217, 0.13) 18% 18.12%, transparent 18.12% 72%, rgba(7, 16, 9, 0.36) 72% 72.18%, transparent 72.18%);
  opacity: 0.8;
  transform: translate3d(calc(var(--cursor-x) * 0.5), calc(var(--cursor-y) * 0.5), 0);
  transition: transform 700ms ease;
}

.room::after {
  content: "";
  top: auto;
  height: 30%;
  background:
    linear-gradient(180deg, rgba(4, 10, 5, 0.16), rgba(4, 10, 5, 0.5)),
    repeating-linear-gradient(90deg, rgba(247, 239, 217, 0.1) 0 1px, transparent 1px 34px);
  animation: floorWarmth 9s ease-in-out infinite alternate;
}

.wall-line,
.side-arch,
.floor-sheen {
  position: absolute;
  pointer-events: none;
}

.wall-line {
  width: 24%;
  height: 45%;
  top: 16%;
  border: 1px solid rgba(247, 239, 217, 0.16);
  background: rgba(255, 255, 255, 0.018);
  animation: wallLineGlow 4.5s ease-in-out infinite alternate;
}

.wall-line-one {
  left: 8%;
}

.wall-line-two {
  right: 8%;
  animation-delay: 900ms;
}

.side-arch {
  left: 8%;
  bottom: 12%;
  width: min(28vw, 330px);
  aspect-ratio: 0.72;
  border: 1px solid rgba(243, 213, 141, 0.2);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(247, 239, 217, 0.08), transparent 54%);
  transform: translate3d(calc(var(--cursor-x) * 0.8), calc(var(--cursor-y) * 0.8), 0);
  transition: transform 700ms ease;
}

.floor-sheen {
  left: 34%;
  right: 8%;
  bottom: 9%;
  height: 18%;
  background: radial-gradient(ellipse at 50% 0%, rgba(243, 213, 141, 0.22), transparent 68%);
  filter: blur(16px);
  animation: glowBreathe 5.8s ease-in-out infinite alternate;
}

.pendant-brand {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(680px, 100%);
  min-width: 0;
  min-height: clamp(220px, 25vw, 320px);
  display: grid;
  place-items: end center;
  transform: translate3d(calc(var(--cursor-x) * -0.5), calc(var(--cursor-y) * -0.5), 0);
  transition: transform 600ms ease;
}

.cord {
  position: absolute;
  top: -74px;
  left: 50%;
  width: 2px;
  height: clamp(96px, 14vw, 150px);
  background: linear-gradient(180deg, rgba(247, 239, 217, 0.12), rgba(243, 213, 141, 0.8));
  transform: translateX(-50%);
  transform-origin: top;
  animation: pendantSway 5.8s ease-in-out infinite;
}

.light-cap {
  position: absolute;
  top: clamp(38px, 8vw, 86px);
  left: 50%;
  width: 88px;
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(243, 213, 141, 0.56);
  border-radius: 18px 18px 46px 46px;
  background: linear-gradient(180deg, #f8dfa0, #b88427);
  box-shadow: 0 0 34px rgba(243, 213, 141, 0.42);
  animation: capGlow 3.8s ease-in-out infinite alternate;
}

.warm-glow {
  position: absolute;
  top: clamp(54px, 9vw, 106px);
  left: 50%;
  width: min(640px, 90vw);
  height: clamp(260px, 34vw, 420px);
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 237, 183, 0.76), rgba(214, 170, 72, 0.24) 36%, transparent 72%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  filter: blur(7px);
  opacity: 0.86;
  mix-blend-mode: screen;
  animation: lightPulse 4.8s ease-in-out infinite alternate;
}

.brand-sign {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  min-height: 178px;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(243, 213, 141, 0.34);
  background:
    linear-gradient(120deg, rgba(243, 213, 141, 0.16), rgba(247, 239, 217, 0.08)),
    rgba(20, 38, 24, 0.44);
  box-shadow:
    0 26px 70px rgba(5, 10, 6, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: revealUp 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms forwards;
}

.brand-sign::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: signSheen 6.5s ease-in-out 1.6s infinite;
}

.couch-mark {
  position: relative;
  width: 100%;
  aspect-ratio: 1.75;
  color: var(--cream);
  filter: drop-shadow(0 0 18px rgba(243, 213, 141, 0.2));
}

.couch-seat,
.couch-arm,
.couch-base,
.couch-leg,
.mini-lamp {
  position: absolute;
  border: 4px solid currentColor;
}

.couch-seat {
  top: 33%;
  width: 36%;
  height: 33%;
  border-radius: 999px 999px 16px 16px;
  border-bottom-width: 5px;
}

.seat-one {
  left: 19%;
}

.seat-two {
  left: 48%;
}

.couch-arm {
  bottom: 20%;
  width: 18%;
  height: 40%;
  border-radius: 999px 999px 12px 12px;
}

.couch-arm.left {
  left: 8%;
  border-right: 0;
}

.couch-arm.right {
  right: 8%;
  border-left: 0;
}

.couch-base {
  left: 11%;
  right: 11%;
  bottom: 18%;
  height: 20%;
  border-top: 0;
  border-radius: 0 0 22px 22px;
}

.couch-leg {
  bottom: 8%;
  width: 5%;
  height: 12%;
  border-width: 0 4px 4px 0;
  transform: skewX(-10deg);
}

.leg-left {
  left: 16%;
}

.leg-right {
  right: 16%;
  transform: skewX(10deg);
}

.mini-lamp {
  right: 7%;
  top: 6%;
  width: 13%;
  height: 23%;
  border-width: 4px;
  border-radius: 4px 4px 0 0;
  transform: perspective(80px) rotateX(14deg);
}

.mini-lamp::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 4px;
  height: 42px;
  background: currentColor;
  transform: translateX(-50%);
}

.brand-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.brand-name {
  margin: 0;
  color: var(--cream);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(243, 213, 141, 0.24);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.brand-line {
  margin: 10px 0 0;
  color: var(--gold-300);
  font-size: clamp(0.58rem, 1.3vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
}

.content {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 740px;
  min-width: 0;
  padding-bottom: 8px;
}

.eyebrow,
.contact-kicker {
  margin: 0;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.55;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 16px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  font-weight: 600;
  line-height: 0.88;
  text-wrap: balance;
}

.intro {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--cream-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.85;
}

.service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(243, 213, 141, 0.22);
}

.service-row span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.service-row span:not(:last-child)::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  transform: rotate(45deg);
  animation: goldPulse 2.7s ease-in-out infinite;
}

.enquiry-card {
  position: relative;
  z-index: 2;
  align-self: end;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(243, 213, 141, 0.28);
  background:
    linear-gradient(135deg, rgba(247, 239, 217, 0.11), rgba(214, 170, 72, 0.08)),
    rgba(13, 29, 18, 0.48);
  box-shadow: 0 24px 58px rgba(4, 10, 5, 0.32);
  backdrop-filter: blur(18px);
}

.contact-names {
  margin: 8px 0 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
}

.contact-names span {
  display: block;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(243, 213, 141, 0.26);
  background: rgba(255, 255, 255, 0.055);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 26%, rgba(243, 213, 141, 0.25) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 550ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: rgba(243, 213, 141, 0.62);
  background: rgba(214, 170, 72, 0.14);
  transform: translateY(-2px);
}

.contact-links a:hover::before,
.contact-links a:focus-visible::before {
  transform: translateX(120%);
}

.content,
.enquiry-card {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 850ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.content {
  animation-delay: 420ms;
}

.enquiry-card {
  animation-delay: 620ms;
}

.site-credit {
  position: relative;
  z-index: 2;
  justify-self: center;
  color: rgba(247, 239, 217, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.site-credit a {
  color: rgba(243, 213, 141, 0.78);
  text-decoration: none;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: var(--gold-300);
  text-decoration: underline;
}

.game-panel {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
  border: 1px solid rgba(243, 213, 141, 0.2);
  background:
    linear-gradient(135deg, rgba(247, 239, 217, 0.075), rgba(214, 170, 72, 0.07)),
    rgba(13, 29, 18, 0.66);
  box-shadow: 0 28px 80px rgba(4, 10, 5, 0.28);
}

.game-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(247, 239, 217, 0.08) 18% 18.08%, transparent 18.08% 68%, rgba(247, 239, 217, 0.06) 68% 68.08%, transparent 68.08%),
    radial-gradient(circle at 82% 24%, rgba(243, 213, 141, 0.12), transparent 28%);
  pointer-events: none;
}

.game-copy,
.game-console {
  position: relative;
  z-index: 1;
}

.game-kicker {
  margin: 0;
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.55;
  text-transform: uppercase;
}

.game-copy h2 {
  max-width: 520px;
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  font-weight: 600;
  line-height: 0.92;
}

.game-copy p:last-child {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--cream-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.game-console {
  justify-self: end;
  width: min(100%, 390px);
  padding: 18px;
  border: 1px solid rgba(243, 213, 141, 0.28);
  background:
    linear-gradient(145deg, rgba(247, 239, 217, 0.12), rgba(214, 170, 72, 0.08)),
    rgba(10, 23, 13, 0.82);
  box-shadow:
    0 22px 54px rgba(4, 10, 5, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--gold-300);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

#snake-board {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border: 1px solid rgba(243, 213, 141, 0.34);
  background: #182e1d;
  box-shadow:
    inset 0 0 0 8px rgba(7, 16, 9, 0.46),
    inset 0 0 34px rgba(243, 213, 141, 0.08);
  image-rendering: pixelated;
}

.console-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.console-actions button,
.game-controls button {
  min-height: 42px;
  border: 1px solid rgba(243, 213, 141, 0.28);
  border-radius: 0;
  background: rgba(247, 239, 217, 0.07);
  color: var(--cream);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.game-controls {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  grid-template-areas:
    ". up ."
    "left down right";
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.game-controls button {
  min-height: 48px;
  padding: 0;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.game-controls [data-direction="up"] {
  grid-area: up;
}

.game-controls [data-direction="left"] {
  grid-area: left;
}

.game-controls [data-direction="down"] {
  grid-area: down;
}

.game-controls [data-direction="right"] {
  grid-area: right;
}

.console-actions button:hover,
.console-actions button:focus-visible,
.game-controls button:hover,
.game-controls button:focus-visible {
  border-color: rgba(243, 213, 141, 0.62);
  background: rgba(214, 170, 72, 0.16);
  transform: translateY(-2px);
}

@keyframes pageSettle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealFrame {
  to {
    opacity: 1;
  }
}

@keyframes pendantSway {
  0%,
  100% {
    transform: translateX(-50%) rotate(-1.2deg);
  }

  50% {
    transform: translateX(-50%) rotate(1.2deg);
  }
}

@keyframes capGlow {
  to {
    box-shadow: 0 0 48px rgba(243, 213, 141, 0.66);
  }
}

@keyframes lightPulse {
  to {
    opacity: 1;
    filter: blur(10px);
  }
}

@keyframes floorWarmth {
  to {
    background-position: 0 0, 30px 0;
  }
}

@keyframes wallLineGlow {
  to {
    border-color: rgba(243, 213, 141, 0.28);
    background: rgba(243, 213, 141, 0.03);
  }
}

@keyframes glowBreathe {
  to {
    opacity: 0.62;
    transform: scaleX(1.08);
  }
}

@keyframes signSheen {
  0%,
  42% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes goldPulse {
  50% {
    opacity: 0.55;
    transform: rotate(45deg) scale(1.35);
  }
}

@media (max-width: 960px) {
  body::before {
    inset: 12px;
  }

  .home-scene {
    width: min(100% - 28px, 760px);
    padding: 24px 0;
  }

  .announcement {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(24px, 7vw, 46px);
  }

  .pendant-brand {
    min-height: 320px;
  }

  .brand-sign {
    grid-template-columns: 1fr;
    max-width: 520px;
    text-align: center;
  }

  .couch-mark {
    width: min(250px, 72%);
    margin: 0 auto;
  }

  h1 {
    font-size: clamp(3.6rem, 14vw, 6.8rem);
  }

  .enquiry-card {
    max-width: none;
  }

  .game-panel {
    grid-template-columns: 1fr;
  }

  .game-console {
    justify-self: stretch;
    margin: 0 auto;
  }

  .site-credit {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  body::before {
    display: none;
  }

  .home-scene {
    width: 100%;
    padding: 0 0 16px;
    gap: 12px;
  }

  .announcement {
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    border: 0;
    padding: 28px 20px 24px;
    overflow-x: hidden;
  }

  .wall-line-two {
    display: none;
  }

  .side-arch {
    left: -18%;
    width: 68vw;
  }

  .pendant-brand {
    min-height: 290px;
  }

  .cord {
    top: -48px;
    height: 116px;
  }

  .light-cap {
    width: 74px;
    height: 36px;
  }

  .brand-sign {
    width: 100%;
    padding: 20px;
    gap: 12px;
    overflow: hidden;
  }

  .brand-name {
    font-size: clamp(1.45rem, 7.6vw, 1.95rem);
    letter-spacing: 0.05em;
    max-width: 9.8ch;
    margin-inline: auto;
    overflow-wrap: anywhere;
  }

  .brand-line {
    letter-spacing: 0.18em;
    overflow-wrap: anywhere;
  }

  .eyebrow {
    max-width: 32ch;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    overflow-wrap: anywhere;
  }

  h1 {
    width: calc(100vw - 40px);
    max-width: 9.2ch;
    margin-top: 14px;
    font-size: clamp(2.6rem, 12vw, 3.7rem);
    line-height: 0.92;
    text-wrap: auto;
  }

  .intro {
    width: auto;
    max-width: 28ch;
    line-height: 1.7;
  }

  .service-row {
    display: grid;
    gap: 8px;
  }

  .service-row span {
    letter-spacing: 0.12em;
  }

  .service-row span::after {
    display: none;
  }

  .enquiry-card {
    width: calc(100vw - 40px);
    padding: 22px 18px;
  }

  .game-panel {
    border-right: 0;
    border-left: 0;
    padding: 28px 20px;
  }

  .game-copy h2 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .game-console {
    width: calc(100vw - 40px);
    padding: 14px;
  }

  .site-credit {
    width: calc(100vw - 40px);
    font-size: 0.72rem;
  }

  .contact-links a {
    overflow-wrap: anywhere;
    padding-inline: 10px;
  }
}

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

  .announcement,
  .pendant-brand,
  .room::before,
  .side-arch {
    transform: none !important;
  }
}
