:root {
  --ink: #18130d;
  --ink-soft: #4f4637;
  --cream: #fff7e8;
  --cream-2: #f4e7cf;
  --paper: #fffdf7;
  --gold: #c99123;
  --gold-dark: #7a4f0d;
  --leaf: #46623f;
  --rust: #a34e20;
  --line: rgba(24, 19, 13, 0.14);
  --shadow: 0 24px 70px rgba(33, 25, 12, 0.18);
  --radius: 8px;
  font-family: "Nunito Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(201, 145, 35, 0.12), transparent 32rem),
    linear-gradient(180deg, var(--cream), var(--paper) 34rem);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body.dark {
  background: #17110b;
  color: #fff8ea;
}

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

a {
  color: inherit;
}

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

button,
.btn,
.preview-button,
.card {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.site-header,
.dash-header {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 238, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.dark .site-header {
  background: rgba(23, 17, 11, 0.78);
  border-bottom-color: rgba(255, 248, 234, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-family: Rubik, Arial, sans-serif;
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.brand span {
  overflow-wrap: anywhere;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.dark .nav a {
  color: #f4dfb4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-select {
  width: 54px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.16rem;
  text-align: center;
  padding: 0 8px;
}

.dark .language-select {
  background: #241a10;
  color: #fff8ea;
  border-color: rgba(255, 248, 234, 0.22);
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible,
.preview-button:hover .btn {
  transform: translateY(-1px);
  border-color: rgba(201, 145, 35, 0.7);
}

.btn.primary {
  background: var(--ink);
  color: #fff8ea;
  border-color: var(--ink);
}

.btn.gold {
  background: var(--gold);
  color: #16100a;
  border-color: var(--gold);
}

.btn.ghost {
  background: transparent;
}

.dark .btn.ghost,
.wide-band .btn.ghost {
  color: #fff8ea;
  border-color: rgba(255, 248, 234, 0.26);
}

.section {
  padding: clamp(52px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.rail {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.dark .eyebrow {
  color: #f2b94a;
}

h1,
h2,
h3,
.display {
  font-family: Rubik, Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.04;
}

h1,
.display {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 6.6rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.dark p {
  color: #e8dac3;
}

.lead {
  max-width: 690px;
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero.full {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  background: #23170c;
  color: #fff8ea;
}

.hero.full .hero-copy {
  padding: clamp(48px, 7vw, 106px) clamp(22px, 5vw, 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.full p {
  color: #eadfc8;
}

.hero-media {
  min-height: 100%;
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 23, 12, 0.08), rgba(35, 23, 12, 0.36));
}

.hero.classic-hero {
  min-height: auto;
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px);
}

.classic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.mark-panel {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #2d1d0c;
}

.mark-panel img.hero-img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.88;
}

.logo-medallion {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 112px;
  height: 112px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stat-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.stat,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 800;
}

.dark .stat,
.dark .chip {
  background: rgba(255, 248, 234, 0.1);
  border-color: rgba(255, 248, 234, 0.16);
  color: #f3e0bb;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.branch-card,
.product-card,
.dashboard-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.82);
}

.panel,
.branch-card {
  padding: clamp(20px, 3vw, 32px);
}

.dark .panel,
.dark .branch-card,
.dark .product-card {
  background: rgba(255, 248, 234, 0.06);
  border-color: rgba(255, 248, 234, 0.16);
}

.branch-card ul,
.panel ul,
.link-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.dark .branch-card ul,
.dark .panel ul,
.dark .link-list {
  color: #e8dac3;
}

.branch-card li,
.panel li {
  margin: 6px 0;
}

.image-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.image-strip img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.product-card .body {
  padding: 18px;
}

.product-card .price {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 900;
  color: var(--gold-dark);
}

.wide-band {
  background: var(--ink);
  color: #fff8ea;
}

.wide-band p {
  color: #eadfc8;
}

.wide-band .panel {
  background: rgba(255, 248, 234, 0.08);
  border-color: rgba(255, 248, 234, 0.18);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.timeline .row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.wide-band .timeline .row {
  border-top-color: rgba(255, 248, 234, 0.18);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 56px);
  background: #15100a;
  color: #fff8ea;
}

.site-footer .rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer p,
.site-footer a {
  color: #e8dac3;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.shop-hero {
  padding: clamp(46px, 7vw, 88px) clamp(18px, 4vw, 56px) clamp(28px, 5vw, 52px);
}

.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
}

.product-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 253, 247, 0.85);
}

.mini-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.dash-body {
  min-height: 100svh;
  background: var(--cream);
}

.dashboard-main {
  padding: clamp(24px, 5vw, 52px) clamp(18px, 4vw, 56px);
}

.dashboard-intro {
  width: min(1180px, 100%);
  margin: 0 auto 20px;
  display: grid;
  gap: 8px;
}

.dashboard-intro h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.dashboard-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-card {
  overflow: hidden;
  background: var(--paper);
}

.preview-button {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #22180d;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.card-body {
  padding: 18px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(12, 9, 5, 0.82);
  padding: clamp(12px, 2vw, 28px);
}

.modal.open {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff8ea;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-actions .btn[aria-pressed="true"] {
  background: var(--ink);
  color: #fff8ea;
  border-color: var(--ink);
}

.modal-stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.modal iframe {
  width: min(1180px, 100%);
  height: 100%;
  min-height: 640px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}

.modal.mobile iframe {
  width: min(390px, 100%);
  height: min(844px, 100%);
  min-height: 0;
}

@media (max-width: 900px) {
  .site-header,
  .dash-header {
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .classic-grid,
  .hero.full,
  .shop-grid,
  .grid.two,
  .grid.three,
  .dashboard-grid,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .hero.full .hero-copy {
    order: 2;
    padding: 36px 20px 48px;
  }

  .hero-media img {
    min-height: 310px;
  }

  .mark-panel,
  .mark-panel img.hero-img {
    min-height: 340px;
  }

  .product-board {
    grid-template-columns: 1fr;
  }

  .timeline .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .modal iframe {
    min-height: 72svh;
  }
}

@media (max-width: 560px) {
  .site-header,
  .dash-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    max-width: 180px;
    font-size: 0.94rem;
  }

  .section,
  .hero.classic-hero,
  .shop-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cta-row .btn,
  .actions .btn {
    width: 100%;
  }

  .modal-actions .btn {
    min-height: 42px;
    padding: 9px 12px;
  }
}

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