/* ============================================================
   Stratum Aerial Media — styles
   Warm neutrals, cinematic accents, editorial typography.
   ============================================================ */

:root {
  --bg: #f4ede3;
  --bg-2: #ece2d2;
  --paper: #fbf6ee;
  --ink: #1a1715;
  --ink-2: #3a322c;
  --muted: #6b5f54;
  --rule: #d8ccb9;
  --accent: #c4793b;       /* burnt sienna */
  --accent-2: #d9a86c;     /* warm gold */
  --accent-ink: #2b1a0e;
  --shadow: 0 30px 60px -30px rgba(40, 25, 10, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15110e;
    --bg-2: #1c1714;
    --paper: #1f1a16;
    --ink: #f4ede3;
    --ink-2: #d8ccb9;
    --muted: #9f9286;
    --rule: #2e2620;
    --accent: #e09257;
    --accent-2: #f0c089;
    --accent-ink: #1a1108;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection {
  background: var(--accent);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--rule) 60%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.mark {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex: 0 0 auto;
}
.mark.sm {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 4px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav nav a {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 16px !important;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--accent-ink) !important;
}

/* ---------- Shared ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 56px);
  position: relative;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 14px 0 16px;
}
.section-lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--accent);
  margin: 0;
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 56px)
    clamp(72px, 11vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: 78vh;
}

.hero-inner {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 18px 0 24px;
}
.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-ghost {
  border-color: var(--rule);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
}

/* hero art */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.frame {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}
.frame-1 {
  inset: 8% 14% 28% 0;
  background:
    linear-gradient(135deg, rgba(196, 121, 59, 0.85), rgba(43, 26, 14, 0.5)),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 60%);
  background-color: #6e3f1d;
}
.frame-2 {
  inset: 22% 0 12% 26%;
  background:
    linear-gradient(160deg, rgba(217, 168, 108, 0.7), rgba(26, 23, 21, 0.85)),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.12), transparent 60%);
  background-color: #2b231c;
}
.frame-3 {
  inset: 50% 30% 0 12%;
  background:
    linear-gradient(115deg, rgba(244, 237, 227, 0.95), rgba(217, 168, 108, 0.5));
  background-color: #ece2d2;
}
.hero-rings {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  z-index: -1;
  opacity: 0.5;
}
.hero-rings circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.8;
  stroke-dasharray: 2 6;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-art {
    max-width: 380px;
    justify-self: start;
    margin-top: 8px;
  }
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s, background 0.25s;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-num {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 32px;
}
.service h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.service p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 820px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* ---------- About ---------- */
.about {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.about-copy h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
}
.about-copy p {
  color: var(--ink-2);
  font-size: 17px;
  margin: 0 0 14px;
  max-width: 56ch;
}
.about-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 96px;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
  font-size: 15px;
}
.facts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.facts span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}
.facts strong {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    position: static;
  }
}

/* ---------- Contact / QR ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}
.qr-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.qr-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.qr-primary {
  background:
    radial-gradient(circle at 80% -10%, color-mix(in oklab, var(--accent-2) 35%, transparent), transparent 55%),
    var(--paper);
}
.qr-frame {
  background: #ffffff;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}
.qr {
  width: 200px;
  height: 200px;
  display: block;
}
.qr canvas,
.qr img {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.qr-label {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  margin: 6px 0 0;
}
.qr-link {
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  word-break: break-all;
}
.qr-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-meta {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-meta dl {
  margin: 0;
  display: grid;
  gap: 18px;
}
.contact-meta dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: color-mix(in oklab, var(--bg) 60%, transparent);
  margin-bottom: 4px;
}
.contact-meta dd {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-meta a {
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 40%, transparent);
  transition: color 0.2s, border-color 0.2s;
}
.contact-meta a:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
  margin-top: 40px;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
}
.foot-brand span {
  color: var(--ink);
  font-size: 15px;
}
.foot-legal {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.foot-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}
@media (max-width: 720px) {
  .foot-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .foot-legal,
  .foot-copy {
    text-align: left;
  }
}
