: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: #ad9a82;
  --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::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 238, 209, 0.20) 50%, transparent 80%);
  transform: translateX(-130%);
  animation: chipSweep 4.8s ease-in-out infinite;
}

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

.brand-mark,
.brand-domain {
  position: relative;
  z-index: 2;
  direction: ltr;
}

.brand-mark {
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.9px;
}

.brand-mark b {
  color: var(--cream-2);
}

.brand-domain {
  color: rgba(255, 232, 195, 0.66);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2.05px;
}

@keyframes chipSweep {
  0%, 45% { transform: translateX(-140%); opacity: 0; }
  58% { opacity: 0.75; }
  78%, 100% { transform: translateX(140%); opacity: 0; }
}

.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: 620px;
  grid-template-columns: minmax(260px, 0.85fr) minmax(400px, 1.15fr);
  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;
  padding-inline: 2px;
}

.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-copy h1 {
  direction: ltr;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 8px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -4px;
  text-align: right;
  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;
  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 5.2s 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: dashed;
  animation: orbitSpin 26s linear infinite;
}

.orbit-two {
  inset: 24% 21% 12%;
  border-color: rgba(240, 192, 125, 0.05);
  animation: orbitSpinReverse 34s 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;
}

.section-head {
  display: flex;
  align-items: 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));
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.work-card {
  position: relative;
  display: grid;
  min-height: 214px;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  padding: 18px;
  border: 1px solid rgba(240, 192, 125, 0.13);
  border-radius: 21px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(223, 154, 81, 0.10), transparent 30%),
    linear-gradient(145deg, rgba(255, 239, 211, 0.045), rgba(255, 239, 211, 0.008)),
    rgba(18, 13, 8, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 229, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.20);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.work-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -34%;
  z-index: -1;
  width: 38%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 225, 180, 0.08), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease, opacity 220ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 154, 81, 0.28), transparent);
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(244, 199, 134, 0.32);
  outline: none;
  background:
    radial-gradient(circle at 85% 5%, rgba(223, 154, 81, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(255, 239, 211, 0.06), rgba(255, 239, 211, 0.012)),
    rgba(22, 15, 9, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 229, 0.06),
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(198, 120, 53, 0.08);
}

.work-card:hover::before,
.work-card:focus-visible::before {
  left: 100%;
  opacity: 1;
}

.work-card-number {
  direction: ltr;
  justify-self: start;
  color: rgba(240, 192, 125, 0.44);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.work-card-content {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 18px 0;
}

.work-card-content strong {
  color: #fff1dd;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.25;
}

.work-card-content > span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 570;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.work-card-action {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: end;
  color: var(--cream);
  font-size: 10px;
  font-weight: 850;
}

.work-card-action svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.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: -20px;
    text-align: center;
  }

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

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

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

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

  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@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: 11px;
  }

  .brand-domain {
    font-size: 7px;
    letter-spacing: 1.55px;
  }

  .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: -14px;
  }

  .hero-kicker {
    font-size: 8px;
    letter-spacing: 1.7px;
  }

  .hero-copy h1 {
    gap: 5px;
    margin: 12px 0 6px;
    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;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .work-card {
    min-height: 156px;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 17px;
  }

  .work-card-number {
    align-self: start;
    padding-top: 4px;
  }

  .work-card-content {
    align-content: center;
    gap: 6px;
    padding: 0;
  }

  .work-card-content strong {
    font-size: 16px;
  }

  .work-card-content > span {
    font-size: 10.5px;
    line-height: 1.75;
    -webkit-line-clamp: 3;
  }

  .work-card-action {
    align-self: end;
  }

  .work-card-action > span {
    display: none;
  }

  .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;
  }

  .work-card {
    min-height: 148px;
    gap: 9px;
    padding: 13px;
  }
}

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

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

@media (hover: none) {
  .work-card:hover,
  .btn:hover {
    transform: none;
  }
}

@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.08)
    contrast(1.04)
    drop-shadow(0 0 4px rgba(237, 169, 93, 0.22))
    drop-shadow(0 0 14px rgba(177, 100, 42, 0.09));
}

.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);
}

.work-card {
  min-height: 188px;
}

@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: -23px;
  }

  .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: -26px;
    padding-inline: 8px;
  }

  .hero-copy h1 {
    margin-top: 10px;
    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; }

  .works-grid { gap: 8px; }

  .work-card {
    min-height: 118px;
    grid-template-columns: 34px minmax(0,1fr) 28px;
    gap: 9px;
    padding: 13px 12px;
    border-radius: 16px;
  }

  .work-card-number { font-size: 8px; }
  .work-card-content strong { font-size: 15px; }
  .work-card-content > span {
    font-size: 10px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
  }

  .work-card-action {
    width: 28px;
    height: 28px;
    padding: 0;
    justify-content: center;
  }

  .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.16)
      contrast(1.08)
      drop-shadow(0 0 2px rgba(237, 169, 93, 0.20));
  }

  .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;
  }

  .work-card {
    min-height: 112px;
  }
}

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

  .dropdown {
    flex-basis: 124px;
  }

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

  .brand-domain {
    letter-spacing: 1.1px;
  }

  .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;
  }
}
