:root {
  color-scheme: dark;
  --bg: #0c100e;
  --panel: #171d19;
  --line: #303a32;
  --text: #f6f1e8;
  --muted: #aab5aa;
  --accent: #f3a34c;
  --accent-strong: #ffc06e;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img, svg { display: block; }

.home-page {
  overflow-x: clip;
  background:
    radial-gradient(ellipse 50% 30% at 77% 13%, rgba(191, 101, 29, .12), transparent 80%),
    linear-gradient(180deg, #0c100e 0%, #101511 100%);
}
.site-header { border-bottom: 1px solid rgba(238, 245, 230, .1); }
.header-inner {
  width: min(100% - 48px, 1180px);
  min-width: 0;
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border: 2px solid #e79032;
  border-radius: 50%;
  background: #f6f1e8;
}
.brand-mark img { width: 112%; height: 112%; max-width: none; margin: -6%; object-fit: cover; }
.brand-name {
  min-width: 0;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand-name span { color: var(--accent); }
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dfe8dc;
  font-size: .83rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.header-link:hover { border-color: var(--accent); background: rgba(243, 163, 76, .08); }
.header-link span { color: var(--accent); font-size: 1.1rem; line-height: 1; }

.home-main { width: min(100% - 48px, 1180px); min-width: 0; margin: auto; }
.hero {
  min-width: 0;
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
  padding: 66px 0 74px;
}
.hero-copy { min-width: 0; }
.eyebrow, .section-kicker, .card-kicker {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.4;
}
.eyebrow { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.eyebrow-line { width: 22px; height: 2px; background: var(--accent); }
.eyebrow-separator { color: #788476; }
.hero h1 {
  max-width: 750px;
  margin: 22px 0 22px;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(3.4rem, 6.8vw, 6.35rem);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .99;
}
.hero h1 span { color: var(--accent); }
.hero-description {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button:focus-visible, .contact-card:focus-visible, .header-link:focus-visible, .brand:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}
.button span { font-size: 1.2rem; line-height: 1; }
.button-primary { min-width: 188px; color: #161b14; background: var(--accent); }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { min-width: 192px; border-color: #465148; background: rgba(255, 255, 255, .025); }
.button-secondary:hover { border-color: var(--accent); background: rgba(243, 163, 76, .08); }

.hero-art {
  position: relative;
  width: min(100%, 445px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #655038;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 46%, rgba(242, 149, 54, .25), transparent 42%),
    linear-gradient(145deg, #302316, #1a211b 61%, #151c18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32), inset 0 0 80px rgba(218, 118, 34, .08);
}
.hero-art::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, transparent 27%, #000 100%);
}
.art-ring { position: absolute; border: 1px solid rgba(255, 176, 91, .23); border-radius: 50%; }
.art-ring-one { inset: 9%; }
.art-ring-two { inset: -13%; }
.art-logo {
  position: absolute;
  inset: 17%;
  overflow: hidden;
  border: 7px solid #e79b43;
  border-radius: 50%;
  background: #f6f1e8;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 12px rgba(239, 158, 68, .11);
  transform: rotate(-6deg);
}
.art-logo img { width: 112%; height: 112%; max-width: none; margin: -6%; object-fit: cover; }
.art-topline, .art-bottomline {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  color: #f5dec1;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.art-topline { top: 22px; }
.art-bottomline { bottom: 22px; }
.art-topline span, .art-bottomline span { color: var(--accent); }

.links-section { padding: 54px 0 94px; border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2 {
  max-width: 670px;
  margin: 9px 0 0;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(1.85rem, 3.7vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.1;
}
.section-heading p { margin: 0 0 4px; color: var(--muted); font-size: .92rem; text-align: right; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.contact-card {
  min-width: 0;
  min-height: 160px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 32px;
  align-items: start;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(130deg, #1b231d, #161c18);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: #bd7c3d; background: linear-gradient(130deg, #273025, #191f1a); }
.contact-card-primary { border-color: #795733; background: linear-gradient(135deg, #35291a, #1d2119 75%); }
.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid #4c584a;
  border-radius: 15px;
  color: var(--accent);
  background: rgba(243, 163, 76, .08);
}
.card-icon svg { width: 27px; height: 27px; }
.card-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.card-kicker { font-size: .67rem; letter-spacing: .12em; }
.card-copy strong { font-family: "Space Grotesk", Manrope, sans-serif; font-size: 1.43rem; letter-spacing: -.035em; }
.card-copy small { color: var(--muted); font-size: .83rem; line-height: 1.55; }
.card-arrow { justify-self: end; color: var(--accent); font-size: 1.35rem; line-height: 1; }
.site-footer { border-top: 1px solid var(--line); color: #8d9b8e; }
.site-footer div {
  width: min(100% - 48px, 1180px);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: auto;
  font-size: .82rem;
}
.site-footer span:first-child { color: var(--text); font-family: "Space Grotesk", Manrope, sans-serif; font-weight: 700; }

.maintenance-only-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.maintenance-only { width: min(100%, 900px); margin: 0; text-align: center; }
.maintenance-only h1 {
  margin: 0;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(2rem, 7vw, 5rem);
  line-height: 1.08;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); min-height: 510px; gap: 28px; }
  .hero h1 { font-size: clamp(3.2rem, 6.6vw, 5.2rem); }
  .contact-card { grid-template-columns: 50px minmax(0, 1fr) 24px; gap: 12px; padding: 21px; }
  .card-icon { width: 50px; height: 50px; }
}

@media (max-width: 760px) {
  .header-inner, .home-main, .site-footer div { width: min(100% - 32px, 560px); }
  .header-inner { min-height: 74px; }
  .brand-mark { width: 45px; height: 45px; flex-basis: 45px; }
  .hero { min-height: 0; display: block; padding: 68px 0 64px; }
  .hero h1 { max-width: 580px; font-size: clamp(2.8rem, 10vw, 4.8rem); }
  .hero-description { max-width: 480px; }
  .hero-art { display: none; }
  .links-section { padding: 39px 0 65px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .section-heading p { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; gap: 11px; }
  .contact-card { min-height: 124px; }
}

@media (max-width: 440px) {
  .header-link { display: none; }
  .hero { padding: 56px 0 52px; }
  .hero h1 { margin: 20px 0 17px; font-size: clamp(2.7rem, 11.5vw, 3.5rem); }
  .hero-description { line-height: 1.65; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 50px; min-width: 0; gap: 15px; padding: 12px 15px; font-size: .82rem; }
  .card-copy strong { font-size: 1.28rem; }
  .card-copy small { font-size: .78rem; }
  .contact-card { grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 12px; padding: 17px; }
  .card-icon { width: 44px; height: 44px; border-radius: 12px; }
  .card-icon svg { width: 23px; height: 23px; }
  .site-footer div { min-height: 72px; align-items: start; justify-content: center; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .contact-card, .header-link { transition: none; }
  .button:hover, .contact-card:hover { transform: none; }
}
