/* Omniweb
   Paper, ink, forest and one coral. Mazius Display for headlines, Satoshi for everything else.
   Mazius Display by Collletttivo, SIL Open Font License 1.1 (see /assets/fonts/OFL.txt). */

@font-face {
  font-family: "Mazius Display";
  src: url("/assets/fonts/MaziusDisplay-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --paper: #F2EDE4;
  --paper-2: #E9E2D6;
  --paper-3: #E0D7C7;
  --ink: #0E0E0C;
  --ink-2: #55514A;
  --forest: #2D4A3E;
  --forest-2: #223A30;
  --coral: #D8694F;
  --coral-ink: #B44F37;
  --sand: #E2D4BC;
  --sapphire: #1E3A5C;

  --serif: "Mazius Display", Georgia, "Times New Roman", serif;
  --sans: "Satoshi", "Helvetica Neue", Arial, sans-serif;

  --shell: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--coral); color: var(--paper); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

.shell { width: 100%; max-width: calc(var(--max) + var(--shell) * 2); margin: 0 auto; padding: 0 var(--shell); }

/* ---------- Type ---------- */
.display-1, .display-2, .display-3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; margin: 0; }
.display-1 { font-size: clamp(2.9rem, 6.2vw, 5.8rem); line-height: 1; }
.display-2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.04; }
.display-3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.1; }
.title { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin: 0; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.5; max-width: 40ch; margin: 0; }
.body-copy { max-width: 60ch; }
.body-copy p { margin: 0 0 1.1em; }
.muted { color: var(--ink-2); }
.small { font-size: .95rem; }

/* ---------- Links and buttons ---------- */
.link {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .45s var(--ease);
  padding-bottom: 2px;
}
.link:hover, .link:focus-visible, .link[aria-current="page"] { background-size: 100% 1px; }
.link.u { background-size: 100% 1px; }
.link.u:hover { background-size: 0% 1px; background-position: 100% 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 24px;
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 700; font-size: 1rem;
  border: 0; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--coral); transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .arrow { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover { color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.actions .link { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--paper);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.site-header .shell { height: 100%; display: flex; align-items: center; gap: 28px; max-width: none; }
.wordmark { font-family: var(--sans); font-size: 1.55rem; letter-spacing: -0.03em; text-decoration: none; font-weight: 400; line-height: 1; }
.wordmark b { font-weight: 700; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); margin-left: auto; }
.nav a { text-decoration: none; font-size: 1rem; }
.site-header .btn { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.home .site-header:not(.is-solid) { background: transparent; }
.home .site-header:not(.is-solid) .wordmark { color: var(--paper); }
.home .site-header:not(.is-solid) .btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: min(100svh, 940px);
  margin-top: calc(var(--nav-h) * -1);
  border-bottom: 2px solid var(--ink);
}
.hero-left {
  background: var(--forest); color: var(--paper);
  padding: calc(var(--nav-h) + 6vh) var(--shell) 8vh;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
}
.hero-left .lead { color: var(--paper); opacity: .9; }
.hero-left .small { color: var(--sand); margin: 0; }
.hero-right {
  position: relative; overflow: hidden; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 4vh) var(--shell) 6vh;
}
.shape { position: absolute; pointer-events: none; will-change: transform; }
.shape-tri { width: 46%; aspect-ratio: 1; right: -9%; top: 6%; background: var(--coral); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.shape-circle { width: 58%; aspect-ratio: 1; right: -22%; bottom: -26%; border-radius: 50%; background: var(--sand); }

.hero-stage { position: relative; z-index: 2; width: min(100%, 620px); }
.shot { position: relative; display: grid; align-items: start; }
.shot img { grid-area: 1 / 1; width: 100%; height: auto; border: 3px solid #fff; opacity: 0; transition: opacity .9s var(--ease); }
.shot img.is-active { opacity: 1; }
.shot-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; font-size: .95rem; }
.dots { display: flex; gap: 6px; flex: none; }
.dots button { width: 18px; height: 3px; padding: 0; border: 0; background: var(--ink); opacity: .2; cursor: pointer; transition: opacity .3s, width .4s var(--ease); }
.dots button[aria-current="true"] { opacity: 1; width: 34px; }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 11vw, 160px) 0; }
.alt { background: var(--paper-2); }
.forest { background: var(--forest); color: var(--paper); }
.forest .muted { color: var(--sand); }
.head { max-width: 800px; margin-bottom: clamp(44px, 5.5vw, 72px); }
.head > p { margin: 24px 0 0; max-width: 54ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; align-items: start; }
.page-hero { padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); border-bottom: 2px solid var(--ink); }
.section.snug { padding-top: clamp(56px, 6vw, 88px); }
.tinted { background: var(--bg); color: var(--fg); }
.tinted .muted, .tinted .facts { color: inherit; opacity: .85; }
.page-hero .lead { margin-top: 28px; }
.page-hero .actions { margin-top: 36px; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 48px; }
.points.two { grid-template-columns: 1fr 1fr; }
.points.four { grid-template-columns: repeat(4, 1fr); }
.point p { margin: 10px 0 0; color: var(--ink-2); max-width: 36ch; }
.forest .point p { color: var(--sand); }

/* ---------- Compare ---------- */
.compare { position: relative; aspect-ratio: 1600 / 1126; overflow: hidden; user-select: none; --pos: 50%; background: var(--paper-2); }
.compare-pane { position: absolute; inset: 0; container-type: size; }
.compare-pane.front { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); z-index: 3; pointer-events: none; }
.compare-handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 1.1rem;
}
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.compare-tag { position: absolute; bottom: 14px; z-index: 5; font-size: .8rem; font-weight: 700; padding: 6px 10px; background: var(--paper); color: var(--ink); pointer-events: none; }
.compare-tag.left { left: 14px; }
.compare-tag.right { right: 14px; }
.compare-pane iframe { position: absolute; top: 0; left: 0; border: 0; width: var(--fw, 1440px); height: var(--fh, 900px); transform: scale(var(--fs, 1)); transform-origin: 0 0; pointer-events: none; background: #fff; }
.compare-pane img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.compare-caption { margin: 18px 0 0; max-width: 64ch; }
.compare-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; margin-top: 20px; }
.compare-foot p { margin: 0; max-width: 60ch; }

/* ---------- Work stack ---------- */
.stack { display: grid; gap: 24px; }
.stack-card {
  position: sticky; top: calc(var(--nav-h) + 16px + var(--i, 0) * 16px);
  display: grid; grid-template-columns: 5fr 7fr; min-height: 460px;
  background: var(--bg, var(--paper-2)); color: var(--fg, var(--ink)); text-decoration: none;
}
.stack-info { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.stack-info p { margin: 16px 0 0; opacity: .85; max-width: 34ch; }
.stack-media { display: flex; align-items: center; padding: clamp(16px, 2.4vw, 32px) clamp(16px, 2.4vw, 32px) clamp(16px, 2.4vw, 32px) 0; }
.stack-media img { width: 100%; height: auto; border: 3px solid #fff; background: #fff; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.more .ring { width: 34px; height: 34px; border-radius: 50%; background: var(--fg, var(--ink)); color: var(--bg, var(--paper)); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.stack-card:hover .more .ring, a:hover .more .ring { transform: rotate(-45deg); background: var(--coral); }

/* ---------- Deck ---------- */
.deck-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 72px; align-items: start; }
.deck-head { position: sticky; top: calc(var(--nav-h) + 48px); }
.deck-head p { margin: 24px 0 0; max-width: 40ch; }
.deck { display: grid; gap: 28px; padding-bottom: 14vh; }
.deck-card {
  position: sticky; top: calc(var(--nav-h) + 48px + var(--i, 0) * 14px);
  min-height: 300px; padding: clamp(28px, 3.2vw, 44px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bg); color: var(--fg);
}
.deck-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.05; margin: 0; }
.deck-card p { margin: 14px 0 0; max-width: 40ch; opacity: .88; }

/* ---------- Tier fan ---------- */
.fan { display: flex; gap: 6px; height: 540px; }
.tier { flex: 1; min-width: 0; position: relative; overflow: hidden; transition: flex .8s var(--ease); color: var(--paper); cursor: pointer; }
.tier.is-open { flex: 3.4; cursor: default; }
.tier[data-tone="lithos"] { background: var(--sand); color: var(--ink); }
.tier[data-tone="onyx"] { background: #26241F; }
.tier[data-tone="obsidian"] { background: var(--forest-2); }
.tier[data-tone="sapphire"] { background: var(--sapphire); }
.tier[data-tone="ichor"] { background: var(--coral-ink); }
.tier-spine { position: absolute; left: 22px; top: 26px; bottom: 26px; display: flex; flex-direction: column; justify-content: space-between; transition: opacity .3s var(--ease); }
.tier-spine .name { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.tier-spine .price-sm { font-size: .9rem; font-weight: 700; writing-mode: vertical-rl; transform: rotate(180deg); }
.tier.is-open .tier-spine { opacity: 0; }
.tier-body {
  position: absolute; inset: 0; padding: 34px 36px; width: max(440px, 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.tier.is-open .tier-body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .3s; }
.tier-body .tier-name { font-family: var(--serif); font-size: 2rem; line-height: 1; margin: 0; }
.tier-body .price { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; margin: 6px 0 0; }
.tier-body p { max-width: 38ch; margin: 22px 0 0; opacity: .92; }
.tier-body ul { list-style: none; padding: 0; margin: 20px 0 0; max-width: 40ch; }
.tier-body li { padding: 3px 0 3px 20px; position: relative; font-size: .95rem; }
.tier-body li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 2px; background: currentColor; opacity: .7; }
.tier .btn { background: var(--paper); color: var(--ink); }
.tier[data-tone="lithos"] .btn { background: var(--ink); color: var(--paper); }
.tier .btn:hover { color: var(--paper); }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
.work-item { text-decoration: none; display: block; background: var(--bg, var(--paper-2)); color: var(--fg, var(--ink)); padding: clamp(18px, 2.4vw, 32px); }
.work-item.wide { grid-column: 1 / -1; }
.work-item .frame { overflow: hidden; background: #fff; aspect-ratio: 16 / 10.5; border: 2px solid var(--ink); }
.work-item.wide .frame { aspect-ratio: 21 / 10; }
.work-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work-item h2 { margin-top: 22px; }
.work-item p { margin: 8px 0 0; opacity: .85; max-width: 52ch; }

/* ---------- Project ---------- */
.facts { margin: 24px 0 0; color: var(--ink-2); }
.full-shot { width: 100%; height: auto; background: #fff; border: 3px solid #fff; }
.full-shot + .full-shot { margin-top: 32px; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; text-decoration: none; }
.next .muted { display: block; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 6px; }
.faq details { background: var(--paper-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 24px; max-width: 64ch; color: var(--ink-2); }
.faq .answer p { margin: 0; }

/* ---------- Contact ---------- */
.big-mail { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.1; text-decoration: none; word-break: break-word; }
.plain { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; color: var(--ink-2); }
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: 500 1.05rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper-2); border: 0; border-radius: 0;
  padding: 15px 16px; width: 100%; appearance: none;
  box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .3s var(--ease);
}
.form textarea { resize: vertical; min-height: 150px; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 -2px 0 var(--coral); }
.form-trap { position: absolute !important; left: -9999px; }
.sent { background: var(--forest); color: var(--paper); padding: 22px 24px; margin-bottom: 24px; display: none; }
.is-sent .sent { display: block; }

/* ---------- CTA ---------- */
.cta-block { position: relative; overflow: hidden; padding: clamp(88px, 10vw, 140px) 0; }
.cta-block .shape-circle { width: 520px; right: -140px; bottom: -260px; background: var(--coral); }
.cta-block .shell { position: relative; z-index: 2; }
.cta-block .display-2 { max-width: 16ch; }
.cta-block p { max-width: 46ch; color: var(--sand); margin: 24px 0 36px; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 36px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px 64px; flex-wrap: wrap; }
.footer-word { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.04em; line-height: .9; }
.footer-top p { max-width: 34ch; margin: 18px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: flex-start; max-width: 520px; }
.footer-links a { text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 64px; font-size: .9rem; color: var(--ink-2); }
.footer-base a { text-decoration: none; }

/* ---------- Motion ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .kw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.motion .kw > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 120ms); }
.motion .is-in .kw > span, .motion .kw.is-in > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .points.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  body { font-size: 17px; }
  .nav { position: fixed; inset: var(--nav-h) 0 auto 0; background: var(--paper); color: var(--ink);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--shell) 32px; margin: 0;
    transform: translateY(-120%); transition: transform .5s var(--ease); z-index: -1; }
  .nav a { font-family: var(--serif); font-size: 2.2rem; padding: 6px 0; }
  .menu-open .nav { transform: none; }
  .menu-btn { display: block; }
  .site-header .btn { display: none; }
  .home .site-header:not(.is-solid) .menu-btn { color: var(--paper); }
  .menu-open .site-header { background: var(--paper) !important; }
  .menu-open .site-header .wordmark, .menu-open .site-header .menu-btn { color: var(--ink) !important; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-left { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 64px; gap: 28px; }
  .hero-right { padding: 56px var(--shell) 64px; }

  .split, .points, .points.two, .points.four { grid-template-columns: 1fr; }
  .points { gap: 36px; }


  .stack-card { top: calc(var(--nav-h) + 12px + var(--i, 0) * 10px); grid-template-columns: 1fr; min-height: 0; }
  .stack-media { order: -1; padding: 16px 16px 0; }
  .stack-info { padding: 22px 20px 24px; }
  .deck-wrap { grid-template-columns: 1fr; }
  .deck-head { position: static; }
  .deck-card { top: calc(var(--nav-h) + 16px + var(--i, 0) * 10px); min-height: 220px; padding: 26px 22px; }

  .fan { flex-direction: column; height: auto; gap: 4px; }
  .tier { flex: none; transition: none; }
  .tier-spine { position: static; flex-direction: row; align-items: center; padding: 20px; }
  .tier-spine .name, .tier-spine .price-sm { writing-mode: horizontal-tb; transform: none; }
  .tier-spine .name { font-size: 2rem; }
  .tier.is-open .tier-spine { display: none; }
  .tier-body { position: static; width: auto; display: none; padding: 26px 20px 28px; opacity: 1; transform: none; pointer-events: auto; }
  .tier.is-open .tier-body { display: flex; gap: 26px; }

  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .work-item.wide .frame { aspect-ratio: 16 / 10.5; }
  .form .two { grid-template-columns: 1fr; }
}
