:root {
  color-scheme: dark;
  --bg: #11100e;
  --panel: #191613;
  --panel-2: #211c17;
  --ink: #f2e4d0;
  --muted: #b8a58c;
  --soft: #806b51;
  --gold: #b98546;
  --gold-2: #d6a35e;
  --line: rgba(242,228,208,.13);
  --line-gold: rgba(185,133,70,.38);
  --shadow: 0 28px 90px rgba(0,0,0,.38);
  --max: 1140px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(185,133,70,.18), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(214,163,94,.10), transparent 26%),
    linear-gradient(180deg, #11100e 0%, #15120f 52%, #0e0d0c 100%);
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(242,228,208,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,228,208,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, black 0%, transparent 82%);
}

.stage-light {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.stage-light span {
  position: absolute;
  top: -30%;
  width: 18vw;
  height: 120vh;
  background: linear-gradient(180deg, rgba(214,163,94,.16), transparent 70%);
  filter: blur(16px);
  transform-origin: top;
  animation: lightSweep 12s ease-in-out infinite;
}
.stage-light span:nth-child(1) { left: 10%; transform: rotate(18deg); }
.stage-light span:nth-child(2) { left: 42%; transform: rotate(-8deg); animation-delay: -4s; }
.stage-light span:nth-child(3) { right: 6%; transform: rotate(-18deg); animation-delay: -8s; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
p { color: var(--muted); line-height: 1.66; font-size: .97rem; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}
.skip-link:focus { transform: translateY(0); }

.header {
  width: min(100% - 28px, var(--max));
  margin: 18px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -.025em;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.privacy-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(25,22,19,.64);
  font-weight: 820;
  font-size: .9rem;
}

main {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 360px minmax(0,1fr);
  gap: clamp(28px,7vw,84px);
  align-items: center;
  padding: 54px 0 28px;
}
.crest-panel,
.statement,
.company-block,
.contact-block,
.policy-card {
  border: 1px solid var(--line);
  background: rgba(25,22,19,.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.crest-panel {
  border-radius: 34px;
  padding: 18px;
}
.crest-frame {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(90deg, rgba(185,133,70,.1) 1px, transparent 1px),
    linear-gradient(rgba(185,133,70,.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(33,28,23,.86), rgba(17,16,14,.92));
  background-size: 32px 32px, 32px 32px, auto;
  overflow: hidden;
}
.crest-frame img {
  width: 205px;
  border-radius: 30px;
  filter: drop-shadow(0 24px 42px rgba(0,0,0,.35));
  animation: crestHold 7s ease-in-out infinite;
}
.crest-frame i {
  position: absolute;
  width: 2px;
  height: 130%;
  background: linear-gradient(180deg, transparent, rgba(214,163,94,.5), transparent);
  transform: rotate(28deg);
  animation: scan 5.8s ease-in-out infinite;
}
.crest-panel dl {
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}
dt {
  margin-bottom: 5px;
  color: var(--soft);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
  font-size: .93rem;
}
dd a { color: var(--gold-2); font-weight: 850; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6.2vw, 6.1rem);
  line-height: .93;
  letter-spacing: -.08em;
}
.lead {
  max-width: 620px;
  font-size: clamp(1.02rem,1.35vw,1.15rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(25,22,19,.72);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}
.button.primary {
  background: linear-gradient(135deg, var(--gold), #7c5127);
  color: #120f0b;
  border-color: transparent;
}

.marquee-line {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}
.marquee-line span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.marquee-line span + span { border-left: 1px solid var(--line); }

.ledger {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 42px;
}
.ledger article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(25,22,19,.62);
}
.ledger span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--gold-2);
  font-size: .74rem;
  font-weight: 900;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem,2.55vw,2.55rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.ledger p { margin-bottom: 0; font-size: .94rem; }

.statement,
.company-block,
.contact-block {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: clamp(24px,5vw,62px);
  padding: clamp(24px,5vw,48px);
  border-radius: 34px;
}
.statement {
  margin-top: 42px;
}
.statement > p { margin-bottom: 8px; }
.company-block {
  margin-top: 34px;
}
.company-block dl {
  margin: 0;
  display: grid;
  gap: 12px;
}
.company-block dl div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(17,16,14,.34);
}
.contact-block {
  margin: 34px 0 72px;
}
form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 13px 14px;
  background: rgba(17,16,14,.52);
  color: var(--ink);
  outline: none;
}
textarea { grid-column: 1 / -1; min-height: 108px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7f715f; }
input:focus, textarea:focus {
  border-color: rgba(214,163,94,.45);
  box-shadow: 0 0 0 4px rgba(185,133,70,.11);
}
form button {
  border: 0;
  border-radius: 17px;
  padding: 0 17px;
  background: var(--gold);
  color: #11100e;
  font-weight: 900;
  cursor: pointer;
}

.footer {
  width: min(100% - 28px, var(--max));
  margin: 0 auto 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.35fr auto;
  gap: 18px;
  color: var(--soft);
  font-size: .88rem;
}
.footer p { margin: 0; color: var(--soft); }
.footer address { font-style: normal; line-height: 1.55; }
.footer a { color: var(--gold-2); font-weight: 820; }

/* policy */
.policy-main {
  width: min(100% - 28px, 880px);
  margin: 0 auto;
}
.policy-hero {
  padding: clamp(58px,8vw,96px) 0 28px;
}
.policy-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem,5vw,5.2rem);
  line-height: .94;
}
.policy-hero span {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: .86rem;
  font-weight: 820;
}
.policy-card {
  margin-bottom: 72px;
  padding: clamp(24px,5vw,48px);
  border-radius: 34px;
}
.policy-card section + section {
  margin-top: 31px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.policy-card h2 {
  font-size: clamp(1.35rem,2.1vw,2rem);
}
.policy-card address {
  color: var(--muted);
  line-height: 1.75;
  font-style: normal;
}
.policy-card a { color: var(--gold-2); font-weight: 850; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(25,22,19,.88);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: .18s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@keyframes lightSweep {
  0%, 100% { opacity: .18; }
  50% { opacity: .42; }
}
@keyframes crestHold {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.015); }
}
@keyframes scan {
  0% { left: -40%; opacity: 0; }
  20%, 70% { opacity: .75; }
  100% { left: 140%; opacity: 0; }
}

@media (max-width: 900px) {
  .hero,
  .ledger,
  .statement,
  .company-block,
  .contact-block,
  .footer {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .crest-panel { max-width: 430px; }
  .marquee-line { grid-template-columns: repeat(2, 1fr); }
  .marquee-line span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .marquee-line span:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .header { align-items: flex-start; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: .9rem; }
  .privacy-link { min-height: 38px; padding: 0 12px; font-size: .82rem; }
  h1 { font-size: clamp(2.55rem,13vw,4.05rem); }
  .crest-frame { min-height: 280px; }
  .marquee-line { grid-template-columns: 1fr; }
  .marquee-line span + span { border-left: 0; border-top: 1px solid var(--line); }
  form { grid-template-columns: 1fr; }
  form button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
