/* Arctic Desert Strategic Advisory — site styles
   Fonts are loaded in each page's <head> (DM Sans + Libre Caslon Display). */

:root {
  --navy: #10283a;
  --navy-soft: #1a394a;
  --ivory: #f7f5f0;
  --sand: #eeeae2;
  --sand-dark: #e5e0d6;
  --gold: #b9965b;
  --gold-text: #8f7244;   /* gold dark enough for small text on light backgrounds */
  --gold-light: #d7bb88;  /* gold for text on navy */
  --ink: #223543;
  --body: #465662;
  --muted: #5f6d76;
  --line: #d8d2c8;
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --header-h: 86px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; line-height: 1.1; color: var(--navy); }
h1 em { font-style: italic; color: #c7a771; }
section[id] { scroll-margin-top: var(--header-h); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.label.light { color: var(--gold-light); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; height: var(--header-h); padding: 0 max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; background: var(--ivory); border-bottom: 1px solid #e5e1d9; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.header-logo { display: block; height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 13px; letter-spacing: .04em; }
.nav a:hover { color: var(--gold-text); }
.nav-contact { border: 1px solid var(--navy); padding: 9px 18px; }
.nav-contact:hover { background: var(--navy); color: #fff !important; }
.menu-toggle { display: none; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--navy); cursor: pointer; padding: 6px; }

/* Buttons and links */
.btn { display: inline-block; padding: 15px 26px; font-size: 13px; font-weight: 700; letter-spacing: .03em; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: #c8a56c; color: #132b3d; }
.btn.dark { background: var(--navy); color: #fff; }
.text-link { font-size: 13px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--navy); color: #fff; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: auto; padding: 100px 6vw; }
.hero h1 { color: #fff; font-size: clamp(48px, min(6.2vw, 10vh), 100px); letter-spacing: -.025em; margin: 26px 0 24px; }
.hero-copy { max-width: 640px; font-size: 17px; line-height: 1.75; color: #d9e0e2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: 36px; }
.hero .text-link { color: #fff; border-color: #9aabb6; }
.hero-ornament { position: absolute; right: -6%; bottom: -15%; width: 55%; height: 90%; opacity: .27; pointer-events: none; }
.sun { position: absolute; width: 300px; height: 300px; border: 1px solid #c5a676; border-radius: 50%; right: 20%; top: 8%; }
.dune { position: absolute; width: 120%; height: 40%; border-radius: 50% 50% 0 0; transform: rotate(-18deg); }
.dune.one { background: linear-gradient(100deg, transparent, #d0ad7c); bottom: 0; left: 5%; }
.dune.two { background: linear-gradient(100deg, transparent, #64899c); bottom: -12%; left: -10%; }

/* Sections */
.section { padding: 100px max(6vw, 24px); }
.section > .label { display: block; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 40px; }
h2 { font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -.02em; margin: 0 0 24px; }
.section-intro { max-width: 620px; color: var(--muted); margin: 0 0 36px; }

/* Story */
.story-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 10%; }
.lead { font-size: 20px; line-height: 1.6; max-width: 400px; color: var(--ink); }
.body-copy p { margin: 0 0 20px; color: var(--body); }
.body-copy .closing { font-weight: 600; color: var(--navy); border-left: 2px solid var(--gold); padding-left: 22px; margin-top: 30px; }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card { background: var(--sand); padding: 38px; }
.team-card::after { content: ""; display: table; clear: both; }
.team-card h3 { font-size: 40px; margin: 10px 0 18px; }
.team-card p { color: var(--body); margin: 0 0 16px; }
.team-portrait { float: right; width: 138px; max-width: 38%; height: auto; margin: 0 0 16px 20px; border-radius: 2px; }
.team-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; }
.team-links a { color: var(--gold-text); border-bottom: 1px solid currentColor; padding-bottom: 2px; overflow-wrap: anywhere; }
.team-links a:hover { color: var(--navy); }

/* Services */
.services { background: var(--sand); }
.services-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 10%; margin-bottom: 36px; }
.services-heading p { max-width: 470px; color: var(--muted); }
.audience-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.audience-tab { display: flex; flex-direction: column; gap: 8px; padding: 28px 30px; text-align: left; cursor: pointer; border: 1px solid #cfc7ba; background: #f8f6f1; color: var(--navy); transition: background .2s, border-color .2s; }
.audience-tab:hover { border-color: var(--gold); }
.audience-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.audience-tab strong { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.2; }
.audience-tab span { font-size: 13px; }
.service-panel { background: #faf9f6; padding: 35px 45px 45px; }
.service-panel[hidden] { display: none; }
.panel-intro { max-width: 730px; color: var(--muted); margin: 0 0 25px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 25px; color: var(--navy); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-family: var(--sans); font-size: 24px; font-weight: 300; color: var(--gold-text); }
.accordion details[open] summary::after { content: '\2212'; }
.detail { max-width: 780px; padding: 0 40px 22px 0; color: var(--body); }
.detail strong { color: var(--gold-text); font-size: 14px; }
.detail p { margin: 8px 0; }

/* Statement */
.statement { background: var(--navy-soft); color: #fff; padding: 95px 6vw; text-align: center; }
.statement-inner { max-width: 880px; margin: auto; }
.statement blockquote { color: #fff; font-size: clamp(34px, 4.4vw, 62px); margin: 24px 0; }
.statement p:last-child { color: #c2cdd1; }

/* Insights preview */
.insight-preview { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 42px; align-items: center; max-width: 1050px; margin: 0 auto; padding-bottom: 36px; border-bottom: 1px solid #ded9d0; }
.insight-preview-image img { display: block; width: 100%; height: 280px; object-fit: cover; }
.insight-preview h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin: 14px 0 12px; }
.insight-preview h3 a:hover { color: var(--gold-text); }
.byline { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.insight-preview-excerpt { color: var(--body); margin: 0 0 20px; }
.read-link { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.read-link:hover { text-decoration: underline; }

/* Contact */
.contact { background: #f0ebe2; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.contact-grid > div:first-child p { max-width: 440px; color: var(--muted); }
.contact-card { background: #fff; padding: 40px; }
.contact-card h3 { font-size: 34px; margin: 18px 0 14px; }
.contact-card p { color: var(--muted); }
.contact-card .btn { margin: 14px 0 26px; }
.contact-card address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--body); border-top: 1px solid var(--line); padding-top: 20px; }

/* Footer */
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px 60px; padding: 50px 6vw; background: var(--navy); color: #fff; font-size: 13px; }
footer p { margin: 0 0 8px; color: #b7c3c9; }
footer address { font-style: normal; color: #b7c3c9; line-height: 1.7; }
.footer-brand { display: block; font-weight: 700; letter-spacing: .18em; margin-bottom: 4px; }
.footer-sub { display: block; font-size: 10px; letter-spacing: .26em; color: #c4a16b; margin-bottom: 18px; }
.footer-links { display: flex; gap: 22px; margin-bottom: 14px; }
.footer-links a { color: #fff; border-bottom: 1px solid #5d7686; padding-bottom: 2px; }
.footer-small { font-size: 12px; max-width: 520px; }

/* Article page */
.article-page { padding: 70px max(24px, 5vw) 100px; }
.article-back { display: block; max-width: 960px; margin: 0 auto 32px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.article-back:hover { text-decoration: underline; }
.article { max-width: 960px; margin: 0 auto; }
.article-photo { display: block; width: min(100%, 760px); height: auto; margin: 0 auto; }
.article-header { max-width: 760px; margin: 32px auto 0; }
.article-header h1 { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -.015em; margin: 16px 0 18px; }
.article-header .byline { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.article-body { max-width: 680px; margin: 34px auto 0; }
.article-body p { margin: 0 0 22px; color: var(--body); font-size: 17px; line-height: 1.85; }
.article-body .standfirst { font-size: 20px; line-height: 1.6; color: var(--ink); }
.article-body .pull { font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--navy); border-left: 2px solid var(--gold); padding-left: 22px; margin: 34px 0; }
.article-body h2 { font-size: 34px; margin: 46px 0 18px; }
.article-signoff { max-width: 680px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.article-signoff a { color: var(--gold-text); border-bottom: 1px solid currentColor; }

/* Desktop: fit the hero to the first screen */
@media (min-width: 761px) {
  .hero { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 520px; }
  .hero-inner { padding: clamp(22px, 4vh, 55px) 6vw clamp(28px, 5vh, 65px); }
  .hero-copy { font-size: clamp(15px, 1.15vw, 17px); }
}
@media (min-width: 761px) and (max-height: 650px) {
  .hero h1 { font-size: clamp(42px, 7.5vh, 68px); margin: 12px 0; }
  .hero-copy { line-height: 1.5; font-size: 14px; }
  .hero-actions { margin-top: 16px; }
}

/* Tablet and phone */
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  body { font-size: 15px; }
  .header-logo { height: 54px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px; background: var(--ivory); border-bottom: 1px solid #ddd; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; font-size: 15px; }
  .nav.open { display: flex; }
  .hero-inner { padding: 64px 7vw 72px; }
  .hero h1 { font-size: clamp(42px, 10.5vw, 70px); }
  .hero-copy { font-size: 16px; }
  .hero-actions { gap: 18px; }
  .hero-ornament { width: 100%; opacity: .12; }
  .section { padding: 64px 7vw; }
  .story-grid, .services-heading, .contact-grid, .team-grid, .insight-preview { grid-template-columns: 1fr; gap: 20px; }
  .team-card, .contact-card { padding: 26px; }
  .team-card h3 { font-size: 34px; }
  .team-portrait { width: 112px; max-width: 36%; margin: 0 0 12px 16px; }
  .audience-tabs { grid-template-columns: 1fr; }
  .audience-tab { padding: 20px; }
  .audience-tab strong { font-size: 25px; }
  .service-panel { padding: 24px; }
  .accordion summary { font-size: 22px; }
  .statement { padding: 72px 7vw; }
  .insight-preview-image img { height: auto; max-height: 260px; }
  footer { flex-direction: column; }
  .article-page { padding: 40px 20px 64px; }
  .article-body p { font-size: 16px; }
  .article-body .standfirst { font-size: 18px; }
  .article-body h2 { font-size: 29px; }
}
@media (max-width: 380px) {
  .header-logo { height: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .audience-tab { transition: none; }
}
