/* Icewrack — the coldest city at the edge of the world */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --night: #0b1626;
  --ink: #13243a;
  --ink-2: #1c3350;
  --glacier: #2a7db5;
  --glacier-2: #59a9dc;
  --teal: #3fd0c9;
  --violet: #8b7cf6;
  --ice: #eef5fa;
  --ice-2: #dceaf4;
  --snow: #ffffff;
  --text: #1a2a3c;
  --muted: #5b6d7f;
  --line: #d9e5ee;
  --copper: #e0894a;
  --copper-2: #c86f30;
  --r: 18px;
  --shadow: 0 2px 6px rgba(11, 22, 38, .05), 0 14px 40px rgba(11, 22, 38, .09);
  --display: "Fraunces", Georgia, serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ice); color: var(--text); font: 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--glacier); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 0 14px; }
h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 6px; font-weight: 700; }
p { margin: 0 0 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--snow); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Top strip */
.topstrip { background: var(--night); color: #bcd3e6; font-size: 13.5px; }
.topstrip .wrap { display: flex; gap: 18px; align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.topstrip .bits { display: flex; gap: 18px; flex-wrap: wrap; }
.topstrip b { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(217, 229, 238, .8); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 44px; height: 50px; flex: none; filter: drop-shadow(0 4px 8px rgba(42, 125, 181, .3)); }
.brand-name { font: 800 25px/1 var(--display); }
.brand-sub { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 9px 15px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 15.5px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--ice-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font: 800 14px var(--body); cursor: pointer; }

/* Notice */
.notice { background: linear-gradient(90deg, #ffe7a8, #ffd9b5); color: #4a3205; font-size: 15px; font-weight: 600; }
.notice .wrap { padding-top: 9px; padding-bottom: 9px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--night) center/cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(63, 208, 201, .35), transparent 70%),
    radial-gradient(50% 45% at 20% 0%, rgba(139, 124, 246, .35), transparent 70%),
    linear-gradient(180deg, rgba(11, 22, 38, .25) 0%, rgba(11, 22, 38, .55) 55%, rgba(11, 22, 38, .92) 100%); }
.hero .wrap { padding-top: 110px; padding-bottom: 150px; position: relative; z-index: 2; }
.hero.big { min-height: min(88vh, 820px); display: flex; align-items: center; }
.hero.big .wrap { width: 100%; }
.hero h1 { color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero.big h1 { font-size: clamp(64px, 12vw, 150px); line-height: .95; margin-bottom: 18px; }
.hero p { max-width: 620px; font-size: 20px; color: #e0edf7; }
.hero.small .wrap { padding-top: 80px; padding-bottom: 120px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); color: #fff; margin-bottom: 18px; }
.drift { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; color: var(--ice); }
.drift.white { color: var(--snow); }

/* Snow */
.snow, .snow::before, .snow::after { position: absolute; left: 0; right: 0; top: -220px; bottom: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 90px 120px, rgba(255, 255, 255, .9) 50%, transparent 51%),
    radial-gradient(2px 2px at 160px 60px, rgba(255, 255, 255, .8) 50%, transparent 51%),
    radial-gradient(4px 4px at 230px 180px, rgba(255, 255, 255, .7) 50%, transparent 51%),
    radial-gradient(2px 2px at 300px 90px, #fff 50%, transparent 51%);
  background-size: 320px 220px; animation: snow 14s linear infinite; opacity: .8; }
.snow::before { content: ""; top: 0; background-size: 420px 300px; animation-duration: 22s; opacity: .55; }
.snow::after { content: ""; top: 0; background-size: 520px 380px; animation-duration: 34s; opacity: .4; filter: blur(1px); }
@keyframes snow { from { transform: translateY(0); } to { transform: translateY(220px); } }
@media (prefers-reduced-motion: reduce) { .snow, .snow::before, .snow::after { animation: none; } }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; background: var(--copper); color: #fff; border: 2px solid var(--copper); box-shadow: 0 10px 24px rgba(224, 137, 74, .35); transition: transform .15s, background .2s; }
.btn:hover { background: var(--copper-2); border-color: var(--copper-2); color: #fff; transform: translateY(-2px); }
.btn.ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); box-shadow: none; backdrop-filter: blur(6px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .22); }
.btn.dark { background: var(--ink); border-color: var(--ink); box-shadow: 0 10px 24px rgba(19, 36, 58, .25); }
.btn.dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn.light:hover { background: var(--ice); color: var(--ink); }

/* Stats strip (overlaps hero) */
.stats { position: relative; z-index: 3; margin-top: -84px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--snow); border-radius: var(--r); box-shadow: var(--shadow); }
.stats div { padding: 22px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats .emo { font-size: 26px; line-height: 1; }
.stats b { display: block; font: 800 30px/1.15 var(--display); color: var(--ink); margin-top: 8px; }
.stats span { font-size: 14.5px; color: var(--muted); font-weight: 600; }

/* Sections */
section.block { padding: 80px 0; position: relative; }
section.block.white { background: var(--snow); }
.kicker { display: inline-block; font-size: 14px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--glacier); margin-bottom: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; font-size: 18px; }
.lead { font-size: 20px; color: #2f4256; max-width: 760px; }
.link-arrow { font-weight: 800; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* Grids */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Photo cards with overlay text */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 18px; }
.bento .tall { grid-row: span 2; }
.bento .wide { grid-column: span 2; }
.pcard { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; display: flex; align-items: flex-end; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(8, 18, 32, .85) 100%); }
.pcard:hover img { transform: scale(1.06); }
.pcard .txt { padding: 20px 22px; }
.pcard h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.pcard p { margin: 0; font-size: 15px; color: #dce9f3; }
.pcard:hover { color: #fff; }

/* Regular cards */
.card { background: var(--snow); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(11, 22, 38, .06), 0 22px 50px rgba(11, 22, 38, .13); }
.card .img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .body p { color: #3a4c5e; margin: 0; }
.card .meta { font-size: 14px; color: var(--muted); font-weight: 600; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 800; text-decoration: none; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--glacier); background: #e2f0fa; border-radius: 999px; padding: 4px 11px; width: fit-content; }
.tag.warm { color: #9a4d12; background: #fdebd9; }
.tag.violet { color: #5b45d6; background: #ece8ff; }
.tag.teal { color: #0f7f79; background: #dcf7f5; }

/* Locals */
.locals { background: radial-gradient(70% 60% at 85% 0%, rgba(63, 208, 201, .22), transparent 70%), radial-gradient(60% 60% at 10% 100%, rgba(139, 124, 246, .28), transparent 70%), var(--night); color: #d6e5f1; overflow: hidden; }
.locals h2, .locals h3 { color: #fff; }
.locals .kicker { color: var(--teal); }
.locals .section-head p { color: #a9c1d6; }
.local { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 0 24px 26px; text-align: center; transition: transform .25s, background .25s; }
.local:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.local .stage { height: 290px; margin: 0 -24px 6px; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.local .stage::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; bottom: 20px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle at 50% 40%, var(--g1, #59a9dc), var(--g2, #2a7db5) 70%); opacity: .55; filter: blur(2px); }
.local img { position: relative; height: 280px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.local .role { font-size: 14px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.local p { color: #c7d8e7; font-size: 16px; margin: 0; }
.local .fact { margin-top: 14px; font-size: 14.5px; background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 12px; color: #e7f0f7; }

/* Steward note */
.note { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.note img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 16/11; object-fit: cover; object-position: 50% 25%; width: 100%; }
.note blockquote { margin: 0; font: 600 26px/1.4 var(--display); color: var(--ink); }
.note .sig { margin-top: 16px; font-weight: 800; color: var(--ink); }
.note .sig span { display: block; font-weight: 600; color: var(--muted); font-size: 15px; }

/* Events */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.events li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; background: var(--snow); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow); }
.date { text-align: center; color: #fff; border-radius: 14px; padding: 8px 0; line-height: 1.05; background: linear-gradient(135deg, var(--glacier), var(--violet)); }
.events li:nth-child(2) .date { background: linear-gradient(135deg, #1aa39b, var(--teal)); }
.events li:nth-child(3) .date { background: linear-gradient(135deg, var(--copper-2), #f0a86a); }
.events li:nth-child(4) .date { background: linear-gradient(135deg, var(--violet), #c77cf6); }
.date b { display: block; font: 800 26px var(--display); }
.date small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; }
.events strong { color: var(--ink); font-size: 17px; }
.events p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

/* Chips & lists */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 700; background: var(--snow); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before { content: "❄"; position: absolute; left: 0; top: 0; color: var(--glacier-2); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 34px 0; scroll-margin-top: 100px; }
.feature img { border-radius: 24px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.feature.rev > :first-child { order: 2; }
.feature h3 { font-size: clamp(28px, 3vw, 36px); margin: 8px 0 10px; }

/* Timeline */
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; counter-reset: t; }
.timeline li { background: var(--snow); border-radius: var(--r); padding: 22px 24px 20px 84px; position: relative; box-shadow: var(--shadow); }
.timeline li::before { counter-increment: t; content: counter(t); position: absolute; left: 22px; top: 22px; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font: 800 20px var(--display); color: #fff; background: linear-gradient(135deg, var(--glacier), var(--violet)); }
.timeline .era { font-size: 13px; font-weight: 900; color: var(--copper-2); text-transform: uppercase; letter-spacing: .1em; }
.timeline p { margin: 6px 0 0; color: #3a4c5e; }

figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* News */
.article { background: var(--snow); border-radius: var(--r); padding: 28px 30px; margin-bottom: 20px; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.article .meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.article h2 { font-size: 28px; margin-bottom: 10px; }
.layout-side { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.side { position: sticky; top: 100px; display: grid; gap: 18px; }
.side .box { background: var(--snow); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.side h3 { font-size: 20px; }
.side ul { margin: 0; padding-left: 18px; font-size: 15px; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--snow); border-radius: var(--r); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
tr:last-child td { border-bottom: 0; }
td.price { font-weight: 800; color: var(--copper-2); white-space: nowrap; }

/* Services */
.svc { background: var(--snow); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.svc .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, #e2f0fa, #ece8ff); margin-bottom: 12px; }
.svc p { color: #3a4c5e; }

/* Forms */
form.contact { display: grid; gap: 16px; background: var(--snow); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
label { font-weight: 800; font-size: 15px; color: var(--ink); display: grid; gap: 6px; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid #c4d4e0; border-radius: 12px; background: #f8fbfd; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(42, 125, 181, .25); border-color: var(--glacier); }
textarea { min-height: 130px; resize: vertical; }
button.btn { cursor: pointer; font-family: var(--body); justify-content: center; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-ok { display: none; background: #e3f7ee; color: #1d5e3c; padding: 12px 14px; border-radius: 12px; font-weight: 700; }

/* Map */
.map { background: var(--snow); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.map svg { width: 100%; height: auto; display: block; border-radius: 10px; }

/* Postcard CTA */
.postcard { background: linear-gradient(120deg, var(--glacier) 0%, var(--violet) 100%); color: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; box-shadow: 0 24px 60px rgba(91, 69, 214, .25); position: relative; overflow: hidden; }
.postcard::after { content: "❄"; position: absolute; right: -20px; top: -60px; font-size: 260px; opacity: .1; }
.postcard h2 { color: #fff; }
.postcard p { color: #e9e6ff; font-size: 18px; margin: 0; }
.postcard .btns { justify-content: flex-end; margin: 0; position: relative; z-index: 1; }

/* Footer */
.site-footer { background: var(--night); color: #a9c1d6; font-size: 15px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--glacier-2), var(--violet)); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 30px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font: 700 18px var(--display); margin: 0 0 12px; }
.site-footer a { color: #d9e6ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer b { white-space: nowrap; color: #fff; }
.foot-brand { display: flex; gap: 12px; align-items: center; color: #fff; margin-bottom: 12px; font: 800 22px var(--display); }
.foot-brand svg { width: 38px; height: 44px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #7f97ab; }

.breadcrumb { font-size: 15px; color: #bcd3e6; margin-bottom: 14px; font-weight: 700; }
.breadcrumb a { color: #fff; }
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 1040px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
  .layout-side { grid-template-columns: 1fr; }
  .side { position: static; }
  .postcard { grid-template-columns: 1fr; }
  .postcard .btns { justify-content: flex-start; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--snow); border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .g3, .g2, .note { grid-template-columns: 1fr; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .feature.rev > :first-child { order: 0; }
  .local .stage { height: 250px; }
  .local img { height: 240px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats, .foot { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats div:last-child { border-bottom: 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .bento .tall, .bento .wide { grid-row: auto; grid-column: auto; }
  .topstrip .hide-sm { display: none; }
  .brand-sub { display: none; }
  .hero .wrap { padding-top: 70px; padding-bottom: 130px; }
  .hero p { font-size: 18px; }
  section.block { padding: 60px 0; }
  .article { padding: 22px; }
  .postcard { padding: 30px 24px; }
  .note blockquote { font-size: 22px; }
}
