/* AriSky Holdings LLC — shared styles */

:root {
  --paper: #f1ebdc;
  --paper-soft: #f6f1e4;
  --paper-edge: #e8e0cc;
  --ink: #1a1814;
  --ink-soft: #4a4640;
  --muted: #8a8273;
  --rule: #1a1814;
  --rule-soft: #c9beac;
  --accent: #6b5436;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --body: "EB Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top, transparent 70%, rgba(26, 24, 20, 0.03) 100%),
    radial-gradient(ellipse at bottom, transparent 70%, rgba(26, 24, 20, 0.03) 100%);
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  z-index: 1;
}

.page-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.nav-brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-brand-text {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-brand-text em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  margin-left: 4px;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.nav-cta {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  width: 36px;
  height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top:  5px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    padding: 16px clamp(20px, 5vw, 64px);
    gap: 12px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
}

/* =========================================================
   GENERIC LAYOUT
   ========================================================= */
main {
  flex: 1;
  padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 64px);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

/* =========================================================
   HEADINGS / TYPE
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
h1.display {
  font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.015em;
  line-height: 1.02;
}
h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 24px; }
h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 20px; }
h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 12px; }
h4 { font-size: 18px; font-style: italic; font-weight: 400; margin-bottom: 8px; }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

p { margin-bottom: 16px; max-width: 68ch; }
p.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 32px;
  max-width: 60ch;
}

a.inline-link {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
a.inline-link:hover { border-color: var(--ink); }

.eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}
.eyebrow::before { content: "— "; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: clamp(60px, 9vh, 120px) 0 clamp(40px, 6vh, 80px);
  border-bottom: 1px solid var(--rule-soft);
  text-align: center;
}
.hero .mark {
  width: clamp(96px, 12vw, 144px);
  height: auto;
  margin: 0 auto 28px;
  display: block;
}
.hero .mark path, .hero .mark line { vector-effect: non-scaling-stroke; }

.hero .meta {
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
  margin-top: 24px;
}
.hero .meta .sep { margin: 0 12px; color: var(--muted); font-style: normal; }

/* =========================================================
   SECTIONS
   ========================================================= */
section.block {
  padding: clamp(48px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--rule-soft);
}
section.block:last-of-type { border-bottom: none; }
section.block .container,
section.block .container-narrow { width: 100%; }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
}

/* =========================================================
   CARDS / SERVICES
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 720px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid var(--rule);
  padding: 32px;
  background: var(--paper-soft);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.card .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.card h3 {
  margin-bottom: 12px;
}
.card p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   PRINCIPLES / LIST
   ========================================================= */
.principles {
  list-style: none;
  margin-top: 32px;
}
.principles li {
  padding: 24px 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: baseline;
}
.principles li:last-child { border-bottom: 1px solid var(--rule-soft); }
.principles .roman {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 18px;
}
.principles .body strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
}
.principles .body p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* =========================================================
   STATS / FACTS
   ========================================================= */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  margin-top: 40px;
}
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact {
  background: var(--paper);
  padding: 28px 20px;
  text-align: center;
}
.fact .num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.fact .label {
  font-family: var(--body);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-strip h2 { margin-bottom: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 var(--ink);
  transform: translate(3px, 3px);
}
.btn.solid {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--accent);
}
.btn.solid:hover {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 0 0 var(--accent);
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

/* =========================================================
   CONTACT / FORM
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 80px; }
}

.contact-info dl {
  margin-top: 24px;
}
.contact-info dt {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 18px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink);
}
.contact-info dd a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 1px;
}
.contact-info dd a:hover { border-color: var(--ink); }

form.contact-form {
  display: grid;
  gap: 18px;
}
form.contact-form label {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 4px;
}
.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--ink);
}
.consent-row label {
  font-family: var(--body);
  font-style: normal;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}
.consent-row label a { color: var(--ink); border-bottom: 1px solid var(--rule-soft); text-decoration: none; }

/* =========================================================
   LEGAL / PROSE PAGES
   ========================================================= */
.legal h1 { margin-bottom: 8px; }
.legal .last-updated {
  font-family: var(--body);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 40px; margin-bottom: 14px; }
.legal h3 { font-size: 19px; margin-top: 24px; margin-bottom: 8px; font-style: italic; font-weight: 400; }
.legal p, .legal li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.legal ul, .legal ol {
  margin: 12px 0 16px 22px;
  max-width: 68ch;
}
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); font-weight: 500; }

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: 56px clamp(20px, 5vw, 64px) 28px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 720px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

.footer-brand .nav-brand { margin-bottom: 16px; }
.footer-brand p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 36ch;
}
.footer-col h4 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer-col a {
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--ink); }

.footer-rule {
  border-top: 1px solid var(--rule-soft);
  margin: 40px auto 0;
  max-width: 1200px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.footer-bottom .legal-line { font-style: normal; letter-spacing: 0.02em; }

/* =========================================================
   ENTRANCE
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.22s; }
.reveal.d3 { animation-delay: 0.36s; }
.reveal.d4 { animation-delay: 0.5s; }
.reveal.d5 { animation-delay: 0.64s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
