/**
 * Hami Gold — Corporate Luxury Landing
 * Static hosting ready · RTL · Responsive · No external dependencies
 */

/* ── Local fonts ──────────────────────────────────────────────────────── */
@font-face {
  font-display: swap;
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/vazirmatn-arabic-400-normal.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/vazirmatn-arabic-500-normal.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/vazirmatn-arabic-600-normal.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/vazirmatn-arabic-700-normal.woff2') format('woff2');
}

/* ── Design tokens ────────────────────────────────────────────────────── */
:root {
  --night: #04110d;
  --night-soft: #071b15;
  --emerald: #0a3b2f;
  --emerald-bright: #0f6a52;
  --gold-deep: #a97928;
  --gold: #d8b866;
  --gold-light: #f0d88e;
  --stone: #f7f4ee;
  --paper: #ffffff;
  --ink: #08251c;
  --muted: #66716c;
  --muted-light: #8b948f;
  --line-light: rgba(8, 37, 28, 0.14);
  --line-dark: rgba(216, 184, 102, 0.28);
  --header-h: 94px;
  --container: 1320px;
  --shadow-media: 0 38px 90px rgba(1, 12, 8, 0.22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Reset / base ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  direction: rtl;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--gold);
  color: var(--night);
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 140px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  right: 14px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  background: var(--night);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.nav-link:focus-visible,
.footer-nav a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.btn-lg {
  min-height: 60px;
  padding-inline: 32px;
  font-size: .96rem;
}

.btn-gold {
  border-color: rgba(240, 216, 142, .75);
  background: linear-gradient(110deg, #bd8d30 0%, #ecd085 52%, #b98526 100%);
  color: #1a1408;
  box-shadow: 0 14px 36px rgba(183, 132, 34, .18), inset 0 1px rgba(255, 255, 255, .48);
}

.btn-gold:hover {
  box-shadow: 0 18px 42px rgba(183, 132, 34, .28), inset 0 1px rgba(255, 255, 255, .52);
}

.btn-outline-gold {
  border-color: rgba(216, 184, 102, .66);
  background: transparent;
  color: var(--gold-light);
}

.btn-outline-gold:hover {
  background: rgba(216, 184, 102, .08);
}

.btn-primary {
  border-color: var(--emerald);
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 16px 36px rgba(10, 59, 47, .18);
}

.btn-primary:hover {
  background: #0d4a3b;
}

.btn-outline-dark {
  border-color: rgba(8, 37, 28, .28);
  background: transparent;
  color: var(--ink);
}

.btn-outline-dark:hover {
  border-color: var(--emerald);
  background: rgba(10, 59, 47, .05);
}

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(4, 17, 13, .86);
  color: #fff;
  transition: height .3s var(--ease), background .3s ease, color .3s ease, box-shadow .3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  height: 78px;
  border-bottom-color: var(--line-light);
  background: rgba(247, 244, 238, .94);
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(5, 24, 17, .08);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
}

.brand-mark-shell {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(216, 184, 102, .5);
  border-radius: 50%;
  background: #080b08;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  transition: width .3s var(--ease), height .3s var(--ease);
}

.site-header.is-scrolled .brand-mark-shell {
  width: 54px;
  height: 54px;
}

.brand-logo {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .54);
  font-size: .64rem;
  font-weight: 500;
}

.site-header.is-scrolled .brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  padding-block: 10px;
  color: rgba(255, 255, 255, .67);
  font-size: .76rem;
  font-weight: 600;
  transition: color .2s ease;
}

.site-header.is-scrolled .nav-link {
  color: var(--muted);
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  content: '';
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease), opacity .25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--gold-light);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--emerald);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 940px;
  padding-top: calc(var(--header-h) + 70px);
  overflow: hidden;
  background:
    linear-gradient(rgba(216, 184, 102, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 184, 102, .03) 1px, transparent 1px),
    radial-gradient(circle at 70% 45%, rgba(15, 106, 82, .12), transparent 42%),
    var(--night);
  background-size: 120px 120px, 120px 120px, auto, auto;
  color: #fff;
}

.hero::after {
  position: absolute;
  z-index: 0;
  top: 94px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line-dark);
  content: '';
}

.hero-rail {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 76px;
  left: max(24px, calc((100% - var(--container)) / 2 - 24px));
  width: 1px;
  background: rgba(216, 184, 102, .55);
}

.hero-rail::before,
.hero-rail::after,
.hero-rail i {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  background: var(--night);
  content: '';
  transform: translateX(-50%) rotate(45deg);
}

.hero-rail::before {
  top: 94px;
}

.hero-rail::after {
  bottom: 0;
}

.hero-rail i {
  top: 51%;
  width: 17px;
  height: 17px;
  background: var(--gold);
}

.hero-monogram {
  position: absolute;
  z-index: 0;
  right: 4%;
  bottom: 40px;
  color: rgba(255, 255, 255, .018);
  font-family: Georgia, serif;
  font-size: min(32vw, 32rem);
  line-height: .8;
  letter-spacing: -.12em;
  user-select: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
  gap: 88px;
  padding-bottom: 80px;
}

.hero-copy {
  padding-top: 20px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 6.2vw, 7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: rgba(255, 255, 255, .96);
}

.hero h1 em {
  display: block;
  color: var(--gold-light);
  font-style: normal;
  font-weight: 700;
}

.title-rule {
  display: flex;
  width: min(420px, 72%);
  align-items: center;
  gap: 13px;
  margin-block: 36px 28px;
}

.title-rule span {
  height: 1px;
  flex: 1;
  background: rgba(216, 184, 102, .55);
}

.title-rule i {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(.98rem, 1.3vw, 1.12rem);
  line-height: 2.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-evidence {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero-evidence div {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding-inline: 24px;
  border-left: 1px solid var(--line-dark);
}

.hero-evidence div:first-child {
  padding-right: 0;
}

.hero-evidence div:last-child {
  border-left: 0;
}

.hero-evidence span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.02rem;
}

.hero-evidence strong {
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 660px;
  place-items: center;
  direction: ltr;
}

.hero-compass {
  position: absolute;
  width: 590px;
  height: 590px;
  border: 1px solid rgba(216, 184, 102, .28);
  border-radius: 50%;
}

.hero-compass::before,
.hero-compass::after {
  position: absolute;
  inset: 55px;
  border: 1px solid rgba(216, 184, 102, .13);
  border-radius: 50%;
  content: '';
}

.hero-compass::after {
  inset: 126px;
  border-style: dashed;
  border-color: rgba(15, 106, 82, .28);
}

.hero-compass span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 1px;
  background: rgba(216, 184, 102, .14);
  transform-origin: left center;
}

.hero-compass span:nth-child(2) { transform: rotate(45deg); }
.hero-compass span:nth-child(3) { transform: rotate(90deg); }
.hero-compass span:nth-child(4) { transform: rotate(135deg); }

.device-frame {
  position: relative;
  z-index: 2;
  width: 336px;
  padding: 10px;
  border: 1px solid rgba(240, 216, 142, .86);
  border-radius: 52px;
  background: linear-gradient(145deg, #f8f8f4, #d8d9d4);
  box-shadow: 0 44px 100px rgba(0, 0, 0, .44), 0 0 0 4px rgba(216, 184, 102, .15);
  transform: rotate(-1.1deg);
}

.device-frame::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(8, 37, 28, .13);
  border-radius: 47px;
  content: '';
  pointer-events: none;
}

.device-frame img {
  width: 100%;
  border-radius: 42px;
}

.device-bar,
.app-device-bar {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 74px;
  height: 20px;
  border-radius: 20px;
  background: var(--night);
  transform: translateX(-50%);
}

.market-tape {
  position: relative;
  z-index: 4;
  height: 78px;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  background: rgba(5, 21, 16, .96);
  direction: ltr;
}

.market-tape-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  height: 100%;
  align-items: center;
  gap: 42px;
  padding-inline: 24px;
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
  font-weight: 600;
  animation: tape-ltr 34s linear infinite;
}

.market-tape-track i {
  color: var(--gold);
  font-size: .48rem;
  font-style: normal;
}

@keyframes tape-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ── Shared section typography ────────────────────────────────────────── */
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.section-index span {
  min-width: 40px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: Georgia, serif;
  font-size: 1rem;
  text-align: center;
}

.section-index b {
  color: var(--emerald);
  font-size: .78rem;
  font-weight: 700;
}

.section-index-dark b {
  color: var(--gold);
}

.section-head h2,
.app-copy h2,
.store-copy h2,
.contact-head h2 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head h2 em,
.app-copy h2 em,
.store-copy h2 em {
  color: var(--emerald-bright);
  font-style: normal;
  font-weight: 700;
}

.section-head > p,
.app-copy > p,
.store-copy > p,
.contact-head > p {
  color: var(--muted);
  line-height: 2;
}

/* ── Trust ────────────────────────────────────────────────────────────── */
.trust-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(216, 184, 102, .08), transparent 22%),
    var(--stone);
}

.section-head-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr);
  align-items: end;
  gap: 70px;
}

.section-head-wide .section-index {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-head-wide > p {
  max-width: 420px;
  padding-bottom: 12px;
}

.trust-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 76px;
  border-top: 1px solid rgba(169, 121, 40, .45);
  border-bottom: 1px solid rgba(169, 121, 40, .25);
}

.trust-rail::before,
.trust-rail::after {
  position: absolute;
  top: -5px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  content: '';
  transform: rotate(45deg);
}

.trust-rail::before { right: 0; }
.trust-rail::after { left: 0; }

.trust-item {
  display: flex;
  min-height: 210px;
  align-items: center;
  gap: 24px;
  padding: 42px 38px;
  border-left: 1px solid var(--line-light);
}

.trust-item:first-child {
  padding-right: 0;
}

.trust-item:last-child {
  border-left: 0;
}

.line-icon {
  display: grid;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  place-items: center;
  color: var(--gold-deep);
}

.line-icon svg {
  width: 100%;
  height: 100%;
}

.trust-item h3 {
  font-size: 1.06rem;
  font-weight: 700;
}

.trust-item p {
  max-width: 260px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.9;
}

/* ── App ──────────────────────────────────────────────────────────────── */
.app-section {
  overflow: hidden;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(15, 106, 82, .18), transparent 36%),
    var(--night-soft);
  color: #fff;
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 88px;
}

.app-copy {
  padding-block: 30px 64px;
}

.app-copy h2 {
  color: #fff;
  font-size: clamp(3rem, 4.7vw, 5.2rem);
}

.app-copy h2 em {
  color: var(--gold-light);
}

.app-copy > p {
  max-width: 570px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .62);
}

.app-copy .btn {
  margin-top: 36px;
}

.app-media {
  position: relative;
  display: grid;
  min-height: 690px;
  place-items: end center;
  overflow: hidden;
  border: 1px solid rgba(216, 184, 102, .55);
  background:
    linear-gradient(125deg, transparent 0 46%, rgba(216, 184, 102, .16) 46.2% 46.4%, transparent 46.6%),
    linear-gradient(160deg, transparent 0 63%, rgba(216, 184, 102, .1) 63.2% 63.4%, transparent 63.6%),
    #07100d;
  box-shadow: var(--shadow-media);
}

.marble-lines {
  position: absolute;
  inset: 0;
  opacity: .55;
  background:
    linear-gradient(32deg, transparent 12%, rgba(216, 184, 102, .15) 12.2%, transparent 12.5%),
    linear-gradient(18deg, transparent 72%, rgba(255, 255, 255, .06) 72.2%, transparent 72.5%);
}

.app-device {
  position: relative;
  z-index: 2;
  width: 334px;
  margin-bottom: -120px;
  padding: 10px;
  border: 1px solid var(--gold-light);
  border-radius: 50px;
  background: #f8f8f4;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.app-device img {
  border-radius: 40px;
}

.capability-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 78px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.capability {
  display: flex;
  min-height: 148px;
  align-items: center;
  gap: 18px;
  padding: 28px 24px;
  border-left: 1px solid var(--line-dark);
}

.capability:first-child { padding-right: 0; }
.capability:last-child { border-left: 0; }

.capability > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1rem;
}

.capability div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.capability strong {
  font-size: .88rem;
  font-weight: 700;
}

.capability small {
  color: rgba(255, 255, 255, .46);
  font-size: .67rem;
}

.app-marquee {
  height: 88px;
  overflow: hidden;
  background: var(--gold);
  color: #19231f;
  direction: ltr;
}

.app-marquee-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  height: 100%;
  animation: marquee-ltr 36s linear infinite;
}

.app-marquee-segment {
  display: flex;
  min-width: max-content;
  align-items: center;
  justify-content: space-around;
  gap: 38px;
  padding-inline: 28px;
}

.app-marquee span {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.app-marquee i {
  color: rgba(8, 37, 28, .5);
  font-size: .55rem;
  font-style: normal;
}

@keyframes marquee-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ── Store ────────────────────────────────────────────────────────────── */
.store-section {
  background: var(--stone);
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: 84px;
}

.store-copy h2 {
  font-size: clamp(3rem, 4.8vw, 5.2rem);
}

.store-copy > p {
  max-width: 560px;
  margin-top: 28px;
}

.store-list {
  margin-top: 38px;
  list-style: none;
}

.store-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-light);
  font-size: .88rem;
  font-weight: 600;
}

.store-list li:first-child {
  border-top: 1px solid var(--line-light);
}

.store-list span {
  color: var(--gold-deep);
  font-family: Georgia, serif;
}

.store-address {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  margin-top: 34px;
  padding-right: 20px;
  border-right: 2px solid var(--gold);
}

.store-address span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
}

.store-address p {
  font-size: .84rem;
  font-weight: 600;
}

.store-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
}

.store-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  direction: ltr;
}

.store-phone small {
  color: var(--muted);
  font-size: .64rem;
}

.store-phone strong {
  color: var(--emerald);
  font-size: 1.08rem;
}

.store-media {
  position: relative;
}

.store-media::before {
  position: absolute;
  z-index: 0;
  top: -22px;
  right: -22px;
  width: 42%;
  height: 42%;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: '';
}

.store-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(169, 121, 40, .7);
  background: #0b0d0b;
  box-shadow: var(--shadow-media);
}

.store-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.store-frame:hover img {
  transform: scale(1.018);
}

.store-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  margin-inline: 28px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  background: var(--paper);
}

.store-meta div {
  display: flex;
  min-height: 86px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-inline: 24px;
  border-left: 1px solid var(--line-light);
}

.store-meta div:last-child {
  border-left: 0;
}

.store-meta span {
  color: var(--muted);
  font-size: .62rem;
}

.store-meta strong {
  font-size: .75rem;
  font-weight: 700;
}

/* ── Process ──────────────────────────────────────────────────────────── */
.process-section {
  overflow: hidden;
  background: var(--paper);
}

.process-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 80px;
}

.process-head .section-index {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.process-head > p {
  padding-bottom: 12px;
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 90px;
  list-style: none;
}

.process-rail::before {
  position: absolute;
  z-index: 0;
  top: 29px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  content: '';
}

.process-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 18px;
  text-align: center;
}

.process-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--emerald);
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 1rem;
  box-shadow: 0 0 0 6px var(--paper);
}

.process-item h3 {
  margin-top: 25px;
  font-size: .96rem;
}

.process-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.8;
}

/* ── Brand statement ──────────────────────────────────────────────────── */
.brand-statement {
  position: relative;
  overflow: hidden;
  padding-block: 180px;
  background:
    linear-gradient(rgba(216, 184, 102, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 184, 102, .024) 1px, transparent 1px),
    var(--night-soft);
  background-size: 150px 150px;
  color: #fff;
}

.brand-statement::before,
.brand-statement::after {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(216, 184, 102, .16);
  border-radius: 50%;
  content: '';
}

.brand-statement::before {
  top: -170px;
  right: -90px;
}

.brand-statement::after {
  bottom: -210px;
  left: -80px;
}

.brand-statement-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.brand-statement blockquote {
  font-size: clamp(2.6rem, 5.2vw, 5.9rem);
  font-weight: 500;
  line-height: 1.45;
}

.brand-statement blockquote em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 700;
}

.statement-rule {
  margin-inline: auto;
}

.brand-statement-inner > p {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  font-weight: 600;
}

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact-section {
  background: var(--stone);
}

.contact-head {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.contact-head .section-index {
  justify-content: center;
}

.contact-head h2 {
  font-size: clamp(3rem, 5.1vw, 5.4rem);
}

.contact-head > p {
  margin-top: 20px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.contact-directory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 78px;
  border-top: 1px solid rgba(169, 121, 40, .44);
  border-bottom: 1px solid var(--line-light);
}

.contact-directory article {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 36px;
  border-left: 1px solid var(--line-light);
}

.contact-directory article:first-child {
  padding-right: 0;
}

.contact-directory article:last-child {
  border-left: 0;
}

.contact-directory article > span {
  color: var(--gold-deep);
  font-size: .68rem;
  font-weight: 700;
}

.contact-directory article > a:not(.directory-link) {
  font-size: 1.08rem;
  font-weight: 700;
  direction: ltr;
  text-align: right;
}

.contact-directory article p {
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.9;
}

.contact-directory article small {
  color: var(--muted);
  font-size: .63rem;
}

.directory-link {
  width: fit-content;
  border-bottom: 1px solid var(--gold);
  color: var(--emerald);
  font-size: .68rem;
  font-weight: 700;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  padding-block: 70px 28px;
  background: #020705;
  color: #fff;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding-bottom: 50px;
}

.footer-brand-lockup {
  width: 390px;
}

.footer-brand-lockup img {
  width: 100%;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.footer-nav a {
  padding-inline: 26px;
  border-left: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .58);
  font-size: .72rem;
  font-weight: 600;
  transition: color .2s ease;
}

.footer-nav a:last-child {
  border-left: 0;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .36);
  font-size: .62rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-right: auto;
}

.footer-socials a:hover {
  color: var(--gold-light);
}

.terms-details {
  position: relative;
}

.terms-details summary {
  cursor: pointer;
}

.terms-details p {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 28px;
  width: min(440px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid var(--line-dark);
  background: var(--night-soft);
  color: rgba(255, 255, 255, .68);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
  font-size: .68rem;
  line-height: 1.9;
}

/* ── Mobile sticky action ─────────────────────────────────────────────── */
.mobile-cta {
  display: none;
}

/* ── Reveal motion ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Laptop ───────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  :root {
    --container: 1040px;
  }

  .site-nav {
    gap: 22px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 900px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 6.6vw, 5.8rem);
  }

  .hero-compass {
    width: 500px;
    height: 500px;
  }

  .device-frame {
    width: 300px;
  }

  .hero-evidence div {
    padding-inline: 16px;
  }

  .section-head-wide,
  .process-head {
    gap: 42px;
  }

  .trust-item {
    gap: 16px;
    padding-inline: 24px;
  }

  .line-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .app-layout {
    grid-template-columns: minmax(0, .86fr) minmax(450px, 1.14fr);
    gap: 50px;
  }

  .app-media {
    min-height: 620px;
  }

  .store-layout {
    grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
    gap: 52px;
  }

  .contact-directory article {
    padding-inline: 24px;
  }
}

/* ── Tablet / compact ─────────────────────────────────────────────────── */
@media (max-width: 820px) {
  :root {
    --header-h: 72px;
  }

  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding-block: 92px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-h);
  }

  .header-inner {
    gap: 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark-shell,
  .site-header.is-scrolled .brand-mark-shell {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: .9rem;
  }

  .brand-copy small {
    display: block;
    font-size: .55rem;
  }

  .nav-toggle {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
    border: 1px solid rgba(216, 184, 102, .35);
    border-radius: 3px;
    background: transparent;
    color: currentColor;
  }

  .nav-toggle span {
    display: block;
    width: 21px;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.25px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.25px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 80px;
    right: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px;
    border: 1px solid var(--line-dark);
    background: rgba(4, 17, 13, .98);
    color: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .3s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .site-header.is-scrolled .nav-link {
    padding-block: 14px;
    border-bottom: 1px solid rgba(216, 184, 102, .12);
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero::after {
    top: 72px;
  }

  .hero-rail {
    display: none;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-bottom: 54px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 0;
    text-align: center;
  }

  .hero h1 {
    margin-inline: auto;
    font-size: clamp(3.4rem, 11.7vw, 5.4rem);
    line-height: 1.12;
  }

  .title-rule {
    margin-inline: auto;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-evidence {
    margin-inline: auto;
    text-align: right;
  }

  .hero-visual {
    width: 100%;
    min-height: 580px;
  }

  .hero-compass {
    width: 520px;
    height: 520px;
  }

  .device-frame {
    width: 292px;
  }

  .market-tape {
    height: 70px;
  }

  .section-head-wide,
  .process-head {
    display: block;
  }

  .section-head-wide > p,
  .process-head > p {
    max-width: 620px;
    margin-top: 26px;
    padding-bottom: 0;
  }

  .trust-rail {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .trust-item,
  .trust-item:first-child {
    min-height: 150px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line-light);
    border-left: 0;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .trust-item p {
    max-width: 520px;
  }

  .app-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .app-copy {
    width: 100%;
    padding-block: 0 24px;
  }

  .app-media {
    width: 100%;
    min-height: 620px;
  }

  .capability-rail {
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
  }

  .capability {
    min-height: 120px;
    border-bottom: 1px solid var(--line-dark);
  }

  .capability:nth-child(2) {
    border-left: 0;
  }

  .capability:nth-child(3),
  .capability:nth-child(4) {
    border-bottom: 0;
  }

  .store-layout {
    display: flex;
    flex-direction: column;
    gap: 66px;
  }

  .store-copy,
  .store-media {
    width: 100%;
  }

  .store-media::before {
    right: -12px;
  }

  .process-rail {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 56px;
    padding-right: 28px;
  }

  .process-rail::before {
    top: 0;
    right: 56px;
    bottom: 0;
    left: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  }

  .process-item {
    min-height: 112px;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    padding-inline: 0;
    text-align: right;
  }

  .process-number {
    flex: 0 0 58px;
  }

  .process-item h3 {
    margin-top: 7px;
  }

  .brand-statement {
    padding-block: 120px;
  }

  .contact-directory {
    grid-template-columns: 1fr 1fr;
  }

  .contact-directory article,
  .contact-directory article:first-child {
    min-height: 170px;
    padding: 28px;
    border-bottom: 1px solid var(--line-light);
  }

  .contact-directory article:nth-child(2) {
    border-left: 0;
  }

  .contact-directory article:nth-child(3),
  .contact-directory article:nth-child(4) {
    border-bottom: 0;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand-lockup {
    width: min(100%, 390px);
  }

  .footer-nav a:first-child {
    padding-right: 0;
  }

  .mobile-cta {
    position: fixed;
    z-index: 280;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line-light);
    background: rgba(247, 244, 238, .96);
    box-shadow: 0 18px 55px rgba(5, 24, 17, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(130%);
    transition: opacity .3s ease, transform .35s var(--ease);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-cta .btn {
    min-height: 48px;
    padding-inline: 12px;
    font-size: .76rem;
  }
}

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding-block: 76px;
  }

  .brand-copy strong {
    font-size: .82rem;
  }

  .brand-copy small {
    font-size: .5rem;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13.4vw, 4.1rem);
  }

  .hero-lead {
    font-size: .89rem;
    line-height: 1.95;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-evidence {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 42px;
  }

  .hero-evidence div,
  .hero-evidence div:first-child {
    min-height: 100px;
    align-items: center;
    padding-inline: 7px;
    text-align: center;
  }

  .hero-evidence strong {
    font-size: .57rem;
    line-height: 1.65;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-compass {
    width: 390px;
    height: 390px;
  }

  .device-frame {
    width: 240px;
    border-radius: 40px;
  }

  .device-frame img {
    border-radius: 31px;
  }

  .device-bar {
    top: 15px;
    width: 58px;
    height: 16px;
  }

  .market-tape-track {
    gap: 30px;
    font-size: .7rem;
  }

  .section-head h2,
  .app-copy h2,
  .store-copy h2,
  .contact-head h2 {
    font-size: clamp(2.35rem, 10.5vw, 3.4rem);
    line-height: 1.32;
  }

  .section-index {
    margin-bottom: 20px;
  }

  .trust-item {
    align-items: flex-start;
  }

  .line-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .app-media {
    min-height: 520px;
  }

  .app-device {
    width: 258px;
    margin-bottom: -100px;
    border-radius: 40px;
  }

  .app-device img {
    border-radius: 31px;
  }

  .app-device-bar {
    top: 15px;
    width: 58px;
    height: 16px;
  }

  .capability-rail {
    grid-template-columns: 1fr;
  }

  .capability,
  .capability:first-child {
    min-height: 96px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
    border-left: 0;
  }

  .capability:nth-child(3) {
    border-bottom: 1px solid var(--line-dark);
  }

  .app-marquee {
    height: 70px;
  }

  .app-marquee span {
    font-size: .85rem;
  }

  .store-address {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .store-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-actions .btn {
    width: 100%;
  }

  .store-phone {
    align-items: center;
  }

  .store-meta {
    grid-template-columns: 1fr;
    margin-inline: 12px;
  }

  .store-meta div {
    min-height: 72px;
    border-bottom: 1px solid var(--line-light);
    border-left: 0;
  }

  .store-meta div:last-child {
    border-bottom: 0;
  }

  .process-rail {
    padding-right: 6px;
  }

  .process-rail::before {
    right: 34px;
  }

  .process-number {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .brand-statement {
    padding-block: 92px;
  }

  .brand-statement blockquote {
    font-size: clamp(2.2rem, 10.4vw, 3.4rem);
  }

  .contact-directory {
    grid-template-columns: 1fr;
  }

  .contact-directory article,
  .contact-directory article:first-child {
    min-height: 135px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line-light);
    border-left: 0;
  }

  .contact-directory article:nth-child(3) {
    border-bottom: 1px solid var(--line-light);
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-top {
    gap: 34px;
  }

  .footer-nav {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .footer-nav a,
  .footer-nav a:first-child {
    padding: 0;
    border: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-socials {
    margin-right: 0;
  }
}

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