:root {
  color-scheme: dark;
  --bg: #070604;
  --bg-2: #0d0905;
  --panel: rgba(20, 15, 10, 0.78);
  --panel-strong: rgba(26, 19, 12, 0.94);
  --paper: #fff4e2;
  --text: #f8ebd8;
  --muted: #bfad96;
  --faint: #746451;
  --coffee: #b86e34;
  --coffee-2: #d8934c;
  --cream: #f1c988;
  --cream-2: #ffe5b5;
  --line: rgba(239, 192, 122, 0.14);
  --line-strong: rgba(239, 192, 122, 0.32);
  --shadow: rgba(0, 0, 0, 0.48);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --topbar-h: 68px;
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 13%, rgba(213, 139, 73, 0.15), transparent 27%),
    radial-gradient(circle at 12% 44%, rgba(99, 57, 28, 0.13), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(225, 166, 92, 0.08), transparent 28%),
    linear-gradient(160deg, #060503 0%, #0d0905 46%, #050403 100%);
  -webkit-tap-highlight-color: transparent;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body.modal-open {
  overscroll-behavior: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

::selection {
  color: #120b05;
  background: var(--cream);
}

.scene-glow,
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scene-glow {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 31%, rgba(255, 218, 159, 0.11), transparent 12%),
    radial-gradient(circle at 50% 31%, rgba(191, 111, 51, 0.11), transparent 30%);
  filter: blur(2px);
}

.ambient-grid {
  z-index: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(244, 196, 127, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 196, 127, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle at 50% 34%, black 0%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 34%, black 0%, transparent 74%);
  animation: gridFlow 22s linear infinite;
}

@keyframes gridFlow {
  from { background-position: 0 0, 0 0; }
  to { background-position: 36px 36px, 36px 36px; }
}

.top-bar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  min-height: calc(var(--topbar-h) + var(--safe-top));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: calc(9px + var(--safe-top)) 12px 9px;
  border-bottom: 1px solid rgba(241, 201, 136, 0.10);
  background: linear-gradient(180deg, rgba(17, 12, 8, 0.93), rgba(12, 9, 6, 0.76));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.top-bar::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 1px;
  opacity: 0.65;
  background: linear-gradient(90deg, transparent, rgba(250, 209, 145, 0.38), transparent);
}

.dropdown {
  position: relative;
  flex: 0 1 224px;
  min-width: 0;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  overflow: hidden;
  border: 1px solid rgba(241, 201, 136, 0.16);
  border-radius: 12px;
  outline: 0;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 237, 206, 0.065), rgba(255, 237, 206, 0.012)),
    rgba(18, 13, 9, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 226, 0.05),
    0 9px 22px rgba(0, 0, 0, 0.20);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(246, 205, 141, 0.42);
  background:
    linear-gradient(145deg, rgba(221, 151, 80, 0.15), rgba(130, 75, 36, 0.04)),
    rgba(23, 16, 10, 0.9);
  box-shadow:
    0 0 0 1px rgba(246, 205, 141, 0.06),
    0 14px 28px rgba(0, 0, 0, 0.27),
    0 0 20px rgba(206, 128, 58, 0.10);
}

.btn:active {
  transform: scale(0.98);
}

.nav-trigger {
  width: 100%;
}

.nav-trigger .nav-divider {
  color: rgba(241, 201, 136, 0.4);
}

.nav-trigger .chevron {
  display: inline-block;
  margin-inline-start: 2px;
  color: var(--cream);
  font-size: 16px;
  transition: transform 180ms ease;
}

.dropdown.show .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  z-index: 60;
  display: grid;
  width: min(248px, calc(100vw - 24px));
  gap: 7px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-7px) scale(0.985);
  transform-origin: top right;
  border: 1px solid rgba(241, 201, 136, 0.16);
  border-radius: 16px;
  background: rgba(14, 10, 7, 0.96);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.dropdown-menu .btn {
  width: 100%;
  justify-content: flex-start;
  min-height: 44px;
  padding-inline: 13px;
}

.dropdown.show .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand-chip {
  position: relative;
  display: grid;
  min-width: 154px;
  height: 42px;
  flex: 0 0 auto;
  place-content: center;
  gap: 1px;
  overflow: hidden;
  isolation: isolate;
  padding: 5px 14px;
  border: 1px solid rgba(246, 205, 141, 0.22);
  border-radius: 13px;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(138, 78, 37, 0.52), rgba(213, 139, 73, 0.28), rgba(94, 53, 27, 0.48)),
    rgba(19, 13, 8, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 228, 0.09),
    0 10px 26px rgba(0, 0, 0, 0.24),
    0 0 22px rgba(194, 115, 47, 0.10);
  text-align: center;
  text-decoration: none;
}

.brand-chip canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.brand-mark {
  position: relative;
  z-index: 2;
  direction: ltr;
  color: #f1d7ad;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.9px;
}

.site-main {
  position: relative;
  z-index: 2;
  width: min(100%, calc(var(--content) + 32px));
  max-width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--topbar-h) + var(--safe-top) + 26px) 16px 116px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 32px 0 42px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 186, 116, 0.18) 20%, rgba(236, 186, 116, 0.18) 80%, transparent);
}

.hero-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  min-width: 0;
  padding-inline: 2px;
  text-align: center;
}

.hero-kicker,
.section-index {
  direction: ltr;
  margin: 0;
  color: var(--coffee-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 2.2px;
  text-align: right;
}

.hero-kicker {
  text-align: center;
  line-height: 1.7;
  text-wrap: balance;
}

.hero-copy h1 {
  direction: ltr;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -4px;
  text-align: center;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
}

.hero-copy h1 span {
  color: #f9eddc;
}

.hero-copy h1 strong {
  color: var(--cream);
  font-weight: 880;
}

.hero-subtitle {
  max-width: 440px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  line-height: 1.85;
}

.cup-logo {
  position: relative;
  justify-self: center;
  width: min(100%, 500px);
  max-width: 100%;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  user-select: none;
}

@supports (overflow: clip) {
  .cup-logo {
    overflow: clip;
  }
}

.cup-logo::before {
  content: "";
  position: absolute;
  inset: 16% 12% 4%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 54%, rgba(218, 147, 78, 0.13), transparent 38%),
    radial-gradient(circle at 50% 54%, rgba(255, 224, 174, 0.05), transparent 58%);
  filter: blur(18px);
  animation: cupGlow 9s ease-in-out infinite;
}

.cup-logo::after {
  content: "";
  position: absolute;
  right: 13%;
  bottom: 10%;
  left: 13%;
  z-index: -1;
  height: 5%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  filter: blur(13px);
  transform: scaleX(0.9);
}

#cupParticles {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: saturate(1.06) contrast(1.03) drop-shadow(0 0 5px rgba(232, 166, 91, 0.22));
}

.cup-orbit {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(240, 192, 125, 0.07);
  border-radius: 50%;
}

.orbit-one {
  inset: 14% 12% 2%;
  border-style: solid;
  animation: orbitSpin 46s linear infinite;
}

.orbit-two {
  inset: 24% 21% 12%;
  border-color: rgba(240, 192, 125, 0.05);
  animation: orbitSpinReverse 60s linear infinite;
}

.orbit-one::before,
.orbit-two::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 14px rgba(244, 200, 134, 0.62);
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes cupGlow {
  0%, 100% { opacity: 0.72; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.03); }
}

.steam-links {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.steam-link {
  position: absolute;
  display: inline-flex;
  max-width: 142px;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 227, 181, 0.17);
  border-radius: 999px;
  color: #ffedcf;
  background: rgba(19, 13, 8, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 219, 0.07),
    0 7px 20px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(224, 153, 82, 0.08);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  direction: ltr;
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1.3px;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  pointer-events: auto;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.steam-link::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  margin-inline-end: 6px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 10px rgba(246, 203, 136, 0.72);
}

.steam-link:hover,
.steam-link:focus-visible {
  border-color: rgba(255, 224, 171, 0.48);
  outline: 0;
  color: #fff8ec;
  background: rgba(42, 27, 15, 0.91);
  box-shadow:
    0 0 0 3px rgba(228, 160, 88, 0.07),
    0 9px 22px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(222, 148, 75, 0.15);
}

.steam-link:nth-child(1) {
  top: 25%;
  left: 29%;
  animation: steamLinkA 5.4s ease-in-out infinite;
}

.steam-link:nth-child(2) {
  top: 11%;
  left: 47%;
  animation: steamLinkB 6.2s ease-in-out -1.1s infinite;
}

.steam-link:nth-child(3) {
  top: 27%;
  left: 61%;
  animation: steamLinkC 5.8s ease-in-out -2.2s infinite;
}

.steam-link:nth-child(4) {
  top: 6%;
  left: 27%;
  animation: steamLinkB 6.6s ease-in-out -3s infinite;
}

.steam-link:nth-child(5) {
  top: 23%;
  left: 45%;
  animation: steamLinkA 6s ease-in-out -1.8s infinite;
}

.steam-link:nth-child(6) {
  top: 7%;
  left: 65%;
  animation: steamLinkC 6.4s ease-in-out -3.8s infinite;
}

.steam-link:nth-child(n+7) {
  display: none;
}

@keyframes steamLinkA {
  0%, 100% { transform: translate3d(0, 3px, 0); opacity: 0.78; }
  50% { transform: translate3d(-5px, -7px, 0); opacity: 1; }
}

@keyframes steamLinkB {
  0%, 100% { transform: translate3d(0, 5px, 0); opacity: 0.76; }
  50% { transform: translate3d(5px, -7px, 0); opacity: 1; }
}

@keyframes steamLinkC {
  0%, 100% { transform: translate3d(0, 4px, 0); opacity: 0.8; }
  50% { transform: translate3d(-3px, -8px, 0); opacity: 1; }
}

.cup-signature {
  position: absolute;
  right: 50%;
  bottom: 2.5%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(242, 203, 144, 0.48);
  direction: ltr;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
  transform: translateX(50%);
}

.signature-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coffee-2);
  box-shadow: 0 0 9px rgba(216, 147, 76, 0.58);
}

.works-section {
  position: relative;
  padding: 44px 0 26px;
  scroll-margin-top: calc(var(--topbar-h) + var(--safe-top) + 22px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head > div:first-child {
  flex: 0 0 auto;
}

.section-head h2 {
  margin: 7px 0 0;
  color: #f9eddc;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -1px;
}

.section-line {
  height: 1px;
  flex: 1 1 auto;
  margin-bottom: 7px;
  background: linear-gradient(90deg, rgba(241, 194, 126, 0.17), rgba(241, 194, 126, 0.03));
}

.floating-actions {
  position: fixed;
  right: 0;
  bottom: calc(14px + var(--safe-bottom));
  left: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: max(14px, env(safe-area-inset-right));
  padding-left: max(14px, env(safe-area-inset-left));
  pointer-events: none;
}

.floating-actions .btn {
  min-width: 88px;
  min-height: 38px;
  pointer-events: auto;
  border-color: rgba(241, 201, 136, 0.22);
  background: rgba(16, 11, 7, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 32px), var(--content));
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -72px auto 0;
  padding: 19px 0 calc(19px + var(--safe-bottom));
  border-top: 1px solid rgba(241, 194, 126, 0.10);
  color: var(--faint);
  direction: ltr;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1px;
}

.footer-domain {
  color: rgba(237, 185, 112, 0.55);
  letter-spacing: 1.8px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: max(14px, var(--safe-top)) 14px max(14px, var(--safe-bottom));
  opacity: 0;
  background: rgba(4, 3, 2, 0.78);
  backdrop-filter: blur(10px) saturate(90%);
  -webkit-backdrop-filter: blur(10px) saturate(90%);
  transition: opacity 190ms ease, visibility 190ms ease;
}

.modal.show {
  visibility: visible;
  opacity: 1;
}

.modal-card {
  width: min(100%, 520px);
  max-height: min(88svh, 760px);
  overflow: auto;
  border: 1px solid rgba(241, 201, 136, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 235, 202, 0.04), transparent 35%),
    rgba(17, 12, 8, 0.97);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.56), 0 0 50px rgba(176, 100, 42, 0.08);
  transform: translateY(8px) scale(0.985);
  transition: transform 190ms ease;
}

.modal.show .modal-card {
  transform: translateY(0) scale(1);
}

.about-card {
  padding: 18px;
}

.policy-box {
  display: grid;
  gap: 9px;
}

.policy-link {
  display: grid;
  min-height: 54px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(242, 197, 130, 0.13);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 238, 210, 0.025);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.policy-link:hover,
.policy-link:focus-visible {
  border-color: rgba(242, 197, 130, 0.33);
  outline: none;
  background: rgba(205, 126, 57, 0.08);
}

.policy-icon,
.policy-arrow {
  color: var(--coffee-2);
}

.policy-note {
  padding: 8px 2px 1px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.modal-separator {
  height: 1px;
  margin: 15px 0;
  background: linear-gradient(90deg, transparent, rgba(238, 190, 122, 0.15), transparent);
}

.muted {
  color: var(--muted);
}

.copyright-text {
  direction: rtl;
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

.actions {
  display: flex;
  justify-content: center;
}

.actions .btn {
  min-width: 110px;
}

.frame-window {
  overflow: hidden;
}

.contact-iframe-card {
  width: min(100%, 720px);
  height: min(88svh, 760px);
  max-height: 760px;
}

.frame-head {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px 9px 16px;
  border-bottom: 1px solid rgba(241, 201, 136, 0.12);
  background: rgba(20, 14, 9, 0.96);
}

.frame-title {
  direction: ltr;
  color: #f7e6cf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.frame-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(241, 201, 136, 0.16);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.frame-close:hover,
.frame-close:focus-visible {
  border-color: rgba(241, 201, 136, 0.34);
  outline: none;
  background: rgba(202, 122, 53, 0.08);
}

.x-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.contact-iframe-card iframe {
  display: block;
  width: 100%;
  height: calc(100% - 54px);
  border: 0;
  background: #0a0705;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2px;
    padding-top: 22px;
  }

  .hero-copy {
    order: 2;
    margin-top: 8px;
    text-align: center;
  }

  .hero-kicker {
    text-align: center;
  }

  .hero-copy h1 {
    justify-content: center;
    margin-top: 0;
    font-size: clamp(46px, 13vw, 72px);
    letter-spacing: -3px;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .cup-logo {
    order: 1;
    width: min(92vw, 470px);
  }
}

@media (max-width: 580px) {
  :root {
    --topbar-h: 64px;
  }

  .top-bar {
    gap: 8px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .dropdown {
    flex-basis: 168px;
  }

  .nav-trigger {
    gap: 5px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .brand-chip {
    min-width: 128px;
    height: 40px;
    padding-inline: 10px;
  }

  .brand-mark {
    font-size: 13px;
  }

  .site-main {
    padding: calc(var(--topbar-h) + var(--safe-top) + 15px) 11px 128px;
  }

  .hero {
    gap: 0;
    padding: 4px 0 30px;
  }

  .cup-logo {
    width: min(100%, 390px);
  }

  .hero-copy {
    margin-top: 4px;
  }

  .hero-kicker {
    font-size: clamp(9px, 2.3vw, 10px);
    letter-spacing: clamp(0.55px, 0.16vw, 0.9px);
  }

  .hero-copy h1 {
    gap: 5px;
    margin: 0 0 10px;
    font-size: clamp(44px, 15vw, 62px);
    letter-spacing: -2.5px;
  }

  .hero-subtitle {
    max-width: 320px;
    font-size: 12px;
    line-height: 1.75;
  }

  .steam-link {
    max-width: 94px;
    min-height: 24px;
    padding: 5px 7px;
    font-size: 6.8px;
    letter-spacing: 0.85px;
  }

  .steam-link::before {
    width: 3px;
    height: 3px;
    margin-inline-end: 4px;
  }

  .steam-link:nth-child(1) { left: 24%; }
  .steam-link:nth-child(2) { left: 43%; }
  .steam-link:nth-child(3) { left: 61%; }
  .steam-link:nth-child(4) { left: 20%; }
  .steam-link:nth-child(5) { left: 43%; }
  .steam-link:nth-child(6) { left: 65%; }

  .cup-signature {
    font-size: 6.5px;
    letter-spacing: 1.55px;
  }

  .works-section {
    padding-top: 30px;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 13px;
  }

  .section-index {
    font-size: 8px;
    letter-spacing: 1.6px;
  }

  .section-head h2 {
    margin-top: 5px;
    font-size: 27px;
  }

  .floating-actions {
    right: 9px;
    bottom: calc(9px + var(--safe-bottom));
    gap: 6px;
  }

  .floating-actions .btn {
    min-width: 76px;
    min-height: 36px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .site-footer {
    width: calc(100% - 22px);
    margin-top: -86px;
    padding-bottom: calc(58px + var(--safe-bottom));
    font-size: 7.8px;
  }

  .contact-iframe-card {
    height: min(92svh, 760px);
  }
}

@media (max-width: 360px) {
  .dropdown {
    flex-basis: 148px;
  }

  .nav-trigger .nav-divider,
  .nav-trigger span:nth-child(2),
  .nav-trigger span:nth-child(3) {
    display: none;
  }

  .brand-chip {
    min-width: 116px;
  }

  .cup-logo {
    width: min(100%, 350px);
    margin-inline: auto;
  }

  .steam-link {
    max-width: 82px;
    font-size: 6.2px;
  }
}

@media (min-width: 821px) and (max-height: 720px) {
  .hero {
    min-height: 540px;
  }

  .cup-logo {
    width: min(58vh, 440px);
  }
}



@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.cup-logo {
  width: min(100%, 530px);
  max-width: 100%;
  aspect-ratio: 1 / 1.02;
  border-radius: 48%;
}

.cup-logo::before {
  inset: 8% 5% 1%;
  background:
    radial-gradient(ellipse at 50% 62%, rgba(239, 167, 88, 0.15), transparent 31%),
    radial-gradient(circle at 50% 42%, rgba(255, 230, 190, 0.07), transparent 43%),
    radial-gradient(circle at 50% 54%, rgba(157, 83, 31, 0.08), transparent 67%);
  filter: blur(22px);
}

.cup-logo::after {
  right: 19%;
  bottom: 8.5%;
  left: 19%;
  height: 4.2%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16) 62%, transparent 74%);
  filter: blur(10px);
}

#cupParticles {
  filter:
    saturate(1.06)
    contrast(1.02)
    drop-shadow(0 0 3px rgba(237, 169, 93, 0.14));
}

.orbit-one {
  inset: 11% 8% 1%;
  opacity: .78;
}

.orbit-two {
  inset: 20% 18% 10%;
  opacity: .62;
}

.steam-link {
  min-height: 30px;
  padding: 7px 11px;
  border-color: rgba(255, 229, 190, 0.20);
  background: linear-gradient(180deg, rgba(31, 21, 13, 0.84), rgba(13, 9, 6, 0.70));
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 226, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(218, 143, 69, 0.08);
}

@media (max-width: 820px) {
  .site-main {
    width: 100%;
    padding-inline: max(12px, env(safe-area-inset-left));
  }

  .hero {
    min-height: auto;
    gap: 0;
    padding-top: 8px;
  }

  .cup-logo {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .hero-copy {
    margin-top: 8px;
  }

  .works-section {
    padding-top: 34px;
  }
}

@media (max-width: 580px) {
  :root { --topbar-h: 58px; }

  .top-bar {
    gap: 8px;
    padding-inline: 9px;
  }

  .dropdown { flex-basis: 148px; }
  .brand-chip { min-width: 122px; }

  .site-main {
    padding-top: calc(var(--topbar-h) + var(--safe-top) + 8px);
    padding-inline: 10px;
    padding-bottom: 146px;
  }

  .cup-logo {
    width: min(100%, 382px);
    margin-inline: auto;
  }

  .hero-copy {
    margin-top: 4px;
    padding-inline: 8px;
  }

  .hero-copy h1 {
    margin-top: 0;
    font-size: clamp(42px, 14vw, 58px);
    letter-spacing: -2px;
  }

  .hero-subtitle {
    max-width: 300px;
    font-size: 11.5px;
  }

  .steam-link {
    max-width: 92px;
    min-height: 27px;
    padding: 6px 8px;
    font-size: 6.6px;
    letter-spacing: .72px;
  }

  .steam-link:nth-child(1) { top: 27%; left: 18%; }
  .steam-link:nth-child(2) { top: 12%; left: 39%; }
  .steam-link:nth-child(3) { top: 27%; left: 61%; }
  .steam-link:nth-child(4) { top: 5%; left: 19%; }
  .steam-link:nth-child(5) { top: 22%; left: 40%; }
  .steam-link:nth-child(6) { top: 6%; left: 63%; }

  .works-section { padding-top: 25px; }
  .section-head { margin-bottom: 11px; }

  .floating-actions {
    right: 0;
    left: 0;
    bottom: calc(9px + var(--safe-bottom));
    display: flex;
    padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
    border: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .floating-actions .btn {
    width: auto;
    min-width: 82px;
    min-height: 42px;
    border-radius: 12px;
  }

  .site-footer {
    margin-top: -100px;
    padding-bottom: calc(72px + var(--safe-bottom));
  }
}

@media (max-width: 580px), (pointer: coarse) {
  .ambient-grid {
    animation: none;
  }

  .top-bar {
    background: linear-gradient(180deg, rgba(17, 12, 8, 0.97), rgba(12, 9, 6, 0.94));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cup-logo::before {
    animation: none;
    opacity: 0.9;
    filter: blur(14px);
  }

  #cupParticles {
    filter:
      saturate(1.08)
      contrast(1.03)
      drop-shadow(0 0 2px rgba(237, 169, 93, 0.12));
  }

  .cup-orbit {
    animation: none;
  }

  .steam-link {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .floating-actions .btn {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(16, 11, 7, 0.95);
  }
}

@media (max-width: 360px) {
  .cup-logo {
    width: min(100%, 344px);
    margin-inline: auto;
  }

  .steam-link {
    max-width: 78px;
    min-height: 24px;
    padding-inline: 6px;
    font-size: 6px;
  }
}

@media (max-width: 340px) {
  .top-bar {
    gap: 6px;
    padding-inline: 7px;
  }

  .dropdown {
    flex-basis: 124px;
  }

  .brand-chip {
    min-width: 108px;
    padding-inline: 8px;
  }

  .site-main {
    padding-inline: 8px;
  }

  .floating-actions {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-left: max(8px, env(safe-area-inset-left));
  }

  .floating-actions .btn {
    min-width: 76px;
    min-height: 40px;
    padding-inline: 9px;
    font-size: 9px;
  }
}

 
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

 
.hero-subtitle { margin-top: 20px; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero-subtitle {
    background-color: var(--sheen-base, #bfad96);
    background-image: linear-gradient(
      110deg,
      var(--sheen-base, #bfad96) 0%,
      var(--sheen-base, #bfad96) 43%,
      #f6d39a 48%,
      #fff5e6 50%,
      #f6d39a 52%,
      var(--sheen-base, #bfad96) 57%,
      var(--sheen-base, #bfad96) 100%
    );
    background-repeat: no-repeat;
    background-size: 250% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: heroTextSheen 20s linear infinite;
  }
}
.hero-subtitle::selection,
.brand-mark::selection {
  color: #120b05;
  -webkit-text-fill-color: #120b05;
  background: var(--cream);
}
@keyframes heroTextSheen {
  0% { background-position: 0% 50%; }
  90%, 100% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .hero-subtitle {
    animation: none;
    background-image: none;
    background-color: transparent;
    color: var(--sheen-base, var(--muted));
    -webkit-text-fill-color: currentColor;
  }
}
@media print {
  .hero-subtitle {
    animation: none;
    background-image: none;
    background-color: transparent;
    color: #222;
    -webkit-text-fill-color: currentColor;
  }
}
.hero-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 27px;
  padding: 11px 20px;
  border: 1px solid rgba(241, 201, 136, 0.30);
  border-radius: 12px;
  color: var(--cream-2);
  background: rgba(216, 147, 76, 0.08);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.hero-cta:hover {
  border-color: var(--cream);
  background: rgba(216, 147, 76, 0.15);
}
.hero-cta svg,
.work-card-action svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-head { margin-bottom: 13px; }
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 13px;
  line-height: 1.4;
}
.works-count {
  display: inline-grid;
  min-width: 32px;
  height: 30px;
  place-items: center;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}
.works-intro {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.work-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  gap: 21px;
  padding: 22px;
  border: 1px solid rgba(240, 192, 125, 0.18);
  border-radius: 20px;
  color: var(--text);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(216, 147, 76, 0.08), transparent 60%),
    linear-gradient(145deg, #1b1510, #110e0a);
  box-shadow: inset 0 1px 0 rgba(255, 245, 229, 0.035), 0 10px 28px rgba(0, 0, 0, 0.13);
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(216, 147, 76, 0.10);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.work-card-head {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.work-card-number {
  direction: ltr;
  color: #bd956a;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}
.work-platforms {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  direction: ltr;
}
.platform-badge {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #e9d9c2;
  background: transparent;
}
.platform-badge svg,
.platform-badge img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  fill: currentColor;
}
.platform-android { color: #a4dba1; }
.platform-windows { color: #92c9f3; }
.platform-apple { color: #eee7de; }
.platform-badge.platform-linux {
  color: #111315;
}
.android-eye { fill: #211b14; }
.platform-web { color: var(--cream); }
.platform-web svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-card-content {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 10px;
}
.work-card-content strong {
  color: #fff1dd;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.5;
  text-align: right;
  overflow-wrap: anywhere;
}
.work-card-content > .work-description {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow-wrap: anywhere;
}
.work-card-footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(239, 192, 122, 0.10);
}
.work-card-meta { display: grid; min-width: 0; gap: 5px; }
.work-category {
  color: #d4b795;
  font-size: 11px;
  line-height: 1.6;
}
.work-delivery {
  overflow-wrap: anywhere;
  white-space: pre-line;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.work-card-action {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--cream-2);
  font-size: 11px;
  font-weight: 650;
}
.work-card-action svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid rgba(239, 192, 122, 0.19);
  border-radius: 9px;
  background: rgba(216, 147, 76, 0.06);
}
.work-card:active { border-color: var(--cream); }
.work-card:focus-visible,
.hero-cta:focus-visible,
.work-go:focus-visible,
.frame-close:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}
.work-preview {
  display: flex;
  width: min(100%, 620px);
  max-height: calc(100svh - 36px - var(--safe-top) - var(--safe-bottom));
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(241, 201, 136, 0.28);
  background: linear-gradient(145deg, #201810, #100d09);
}
.work-preview-toolbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.work-preview-label {
  color: var(--muted);
  font-size: 12px;
}
.work-preview .frame-close { width: 44px; height: 44px; }
.work-preview-body {
  min-height: 0;
  padding: 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #765235 #17110c;
  -webkit-overflow-scrolling: touch;
}
.work-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.work-preview h2 {
  margin: 25px 0 13px;
  color: #fff1dd;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.5;
  text-align: right;
  overflow-wrap: anywhere;
}
.work-preview-description {
  margin: 0;
  color: #dfd0bd;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.work-preview-footer {
  flex: 0 0 auto;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: rgba(9, 7, 5, 0.35);
}
.work-go {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #e3b573;
  border-radius: 12px;
  color: #201309;
  background: linear-gradient(120deg, #f1d19e, #d8a460);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.work-go:hover { background: #f4d8ad; }
.work-go svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 821px) {
  .top-bar { padding-inline: max(22px, calc((100vw - var(--content)) / 2)); }
}
@media (max-width: 1000px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .hero-copy { padding-inline: 10px; }
  .hero-subtitle { max-width: 350px; font-size: 13px; line-height: 1.9; margin-top: 15px; }
  .hero-cta { margin-top: 20px; min-height: 44px; font-size: 12px; }
  .works-intro { margin-bottom: 20px; font-size: 12px; }
  .works-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .work-card { gap: 17px; padding: 19px; border-radius: 18px; }
  .work-card-content strong { font-size: 19px; }
  .work-card-content > .work-description { font-size: 13px; line-height: 1.85; }
  .work-card-footer { padding-top: 13px; }
  .work-preview { border-radius: 20px; }
  .work-preview-toolbar { padding: 10px 15px; }
  .work-preview-body { padding: 21px 19px; }
  .work-preview h2 { margin-top: 22px; }
  .work-preview-description { font-size: 15px; }
  .work-preview-footer { padding: 15px 19px; }
}
@media (max-width: 360px) {
  .work-card { padding: 16px; }
  .work-platforms { gap: 5px; }
  .work-card-action { font-size: 10px; gap: 5px; }
  .work-preview-body { padding: 18px 16px; }
}
@media (hover: hover) and (pointer: fine) {
  .work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(241, 201, 136, 0.46);
    box-shadow: inset 0 1px 0 rgba(255, 245, 229, 0.06), 0 17px 35px rgba(0, 0, 0, 0.23);
  }
}
@media (hover: none) {
  .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .work-card:hover { transform: none; }
}

.activation-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-self: start;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(216, 174, 109, 0.26);
  border-radius: 7px;
  color: #edc78f;
  background: rgba(216, 174, 109, 0.07);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
}
.activation-free {
  border-color: rgba(155, 208, 167, 0.25);
  color: #b3ddbc;
  background: rgba(123, 182, 138, 0.07);
}
.activation-dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.work-preview-activation { margin-top: 23px; }
.work-preview-activation + h2 { margin-top: 12px; }
.work-preview .activation-badge { font-size: 12px; padding: 5px 10px; }
