

@import url("https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap");

:root{
  --paper: #f6f1e7;
  --paper-dim: #efe7d6;
  --paper-deep: #e4d9c2;
  --ink: #211d18;
  --ink-soft: #4a443b;
  --ink-faint: #7c7364;
  --accent: #8a3324;
  --accent-soft: #b5654f;
  --accent-pale: #ecd9d0;
  --gold: #a6863f;
  --line: #d9cfb9;
  --glass: rgba(246,241,231,0.72);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(33,29,24,.07), 0 1px 1px rgba(33,29,24,.05);
  --shadow-md: 0 8px 20px -6px rgba(33,29,24,.16), 0 2px 6px rgba(33,29,24,.08);
  --shadow-lg: 0 30px 60px -20px rgba(33,29,24,.28), 0 10px 20px -10px rgba(33,29,24,.14);

  --ease: cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
html,body{ background: var(--ink); }

body{
  margin:0;
  font-family:'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family:'Familjen Grotesk', sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 4vw + 1rem, 4.4rem); font-weight: 700; }
h2{ font-size: clamp(1.7rem, 2.4vw + .8rem, 2.7rem); }
h3{ font-size: clamp(1.15rem, .8vw + 1rem, 1.4rem); }
p{ margin: 0 0 1em; color: var(--ink-soft); }
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
ul{ padding-left: 1.2em; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }

.eyebrow{
  font-family:'Familjen Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .8em;
}


.canvas{ position: relative; }
.canvas-body{
  position: relative;
  background: var(--paper);
  min-height: 100vh;
  z-index: 2;
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
}
body.drawer-open .canvas-body{
  transform: translateX(-78vw) scale(.95);
}
@media (min-width: 640px){
  body.drawer-open .canvas-body{ transform: translateX(-320px) scale(.95); }
}


.btn-ink, .btn-ghost, .btn-text{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family:'Familjen Grotesk', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: .9em 1.7em;
  border-radius: var(--radius-pill);
  transition: all .3s var(--ease);
  min-height: 44px;
}
.btn-ink{
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}
.btn-ink:hover{ background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--paper); }
.btn-text{ color: var(--accent); padding: .5em .2em; }
.btn-text:hover{ color: var(--ink); }

.link-underline{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  color: var(--accent);
}
.link-underline::after{
  content:"";
  position: absolute;
  left:0; bottom:-3px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.link-underline:hover::after{ transform: scaleX(1); transform-origin: left; }


.threshold{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.threshold.is-solid{
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.threshold-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mark{
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family:'Familjen Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.threshold-links{
  display: flex;
  gap: 2rem;
  align-items: center;
}
.threshold-links a{
  font-size: .95rem;
  font-weight: 500;
  position: relative;
  padding: .3em 0;
  transition: color .3s var(--ease);
}
.threshold-links a::after{
  content:"";
  position: absolute; left:0; bottom:0;
  width:100%; height:1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.threshold-links a:hover::after, .threshold-links a.is-active::after{ transform: scaleX(1); transform-origin: left; }
.threshold-links a.is-active{ color: var(--accent); }

.latch{
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.latch span{
  display:block; width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.latch[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.latch[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.latch[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }


.drawer{
  position: fixed;
  top:0; right:0;
  height: 100dvh;
  width: min(320px, 82vw);
  background: var(--ink);
  color: var(--paper);
  z-index: 60;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.5rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
}
.drawer.is-open{ transform: translateX(0); }
.drawer-links{ display: flex; flex-direction: column; gap: 1.4rem; }
.drawer-links a{
  font-family:'Familjen Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--paper);
  opacity: .85;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.drawer-links a:hover{ opacity: 1; transform: translateX(-4px); }
.drawer-foot{ font-size: .85rem; color: var(--paper-deep); opacity: .7; }
.drawer-foot p{ color: inherit; margin: 0 0 .3em; }


.stage{
  position: relative;
  padding: clamp(8rem, 12vw, 11rem) 1.5rem clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(138,51,36,.10), transparent 55%),
    var(--paper);
}
.stage-glyph{
  position: absolute;
  top: -4rem; left: -1rem;
  font-family:'Familjen Grotesk', serif;
  font-size: 26rem;
  color: var(--paper-deep);
  z-index: 0;
  opacity: .6;
  user-select: none;
  pointer-events: none;
}
.stage-inner{
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.stage-copy .stage-lead{ font-size: 1.1rem; max-width: 46ch; }
.stage-actions{ display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0 1.2rem; }
.stage-meta{ font-size: .85rem; color: var(--ink-faint); letter-spacing: .02em; }
.stage-visual{ position: relative; }
.frame-hero img{ aspect-ratio: 4/5; object-fit: cover; }


.frame{
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.frame::before{
  content:"";
  position: absolute; top: 14px; right: 16px;
  width: 8px; height: 8px;
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
  opacity: .5;
}
.frame:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.frame:has(img){ padding: 0; overflow: hidden; }
.frame:has(img) img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s var(--ease); }
.frame:has(img):hover img{ transform: scale(1.04); }
.frame:has(img) figcaption{
  padding: 1rem 1.4rem;
  font-size: .82rem;
  color: var(--ink-faint);
  background: var(--paper-dim);
}
.frame > i{
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: .8rem;
  display: inline-block;
}
.frame-index{
  font-family:'Familjen Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--paper-deep);
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
  display: block;
  margin-bottom: .4rem;
}
.frame-plain{ background: var(--paper); }
.frame-contact{ text-align: center; }
.frame-contact i{ font-size: 1.8rem; }


.gallery{ padding: clamp(3.5rem, 7vw, 6.5rem) 1.5rem; }
.gallery-inner{ max-width: 1240px; margin: 0 auto; }
.gallery-inner.narrow{ max-width: 820px; }
.gallery-head{ max-width: 700px; margin-bottom: 2.6rem; }
.gallery-head p{ max-width: 60ch; }
.two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.two-col.reverse{ direction: rtl; }
.two-col.reverse > *{ direction: ltr; }

.gallery-intro{ background: var(--paper-dim); }
.pull-quote{
  border-left: 3px solid var(--accent);
  padding: .4rem 0 .4rem 1.6rem;
}
.pull-quote p{
  font-family:'Familjen Grotesk', sans-serif;
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

.shelf{ display: grid; gap: 1.6rem; }
.shelf-4{ grid-template-columns: repeat(4, 1fr); }
.shelf-3{ grid-template-columns: repeat(3, 1fr); }
.shelf-2{ grid-template-columns: repeat(2, 1fr); }
.shelf-inline{ margin-top: 1.4rem; }
.shelf:has(.frame:hover) .frame:not(:hover){ opacity: .65; }

.gallery:has(.spotlight){
  background: linear-gradient(180deg, var(--paper-deep), var(--paper));
}

.text-list{ margin: 1rem 0 1.4rem; padding-left: 1.1em; }
.text-list li{ margin-bottom: .5em; color: var(--ink-soft); }


.compare-table{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.compare-row{
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child{ border-bottom: none; }
.compare-row span{ padding: 1.1rem 1.3rem; font-size: .93rem; }
.compare-row span:first-child{ font-weight: 600; font-family:'Familjen Grotesk', sans-serif; color: var(--ink); background: var(--paper-dim); }
.compare-head{ background: var(--ink); }
.compare-head span{ color: var(--paper); font-weight: 700; background: transparent; }
.compare-note{ margin-top: 1.4rem; font-size: .9rem; color: var(--ink-faint); max-width: 65ch; }


.journey{
  list-style: none;
  margin:0; padding:0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}
.journey-step{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.journey-step:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.journey-index{
  font-family:'Familjen Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.4rem;
  display: block;
  margin-bottom: .6rem;
}
.journey-step p{ font-size: .9rem; }


.gallery-cta .cta-inner{
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gallery-cta .cta-inner::before{
  content:"";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(138,51,36,.35), transparent 60%);
}
.gallery-cta h2{ color: var(--paper); position: relative; }
.gallery-cta p{ color: var(--paper-deep); max-width: 55ch; margin-left: auto; margin-right: auto; position: relative; }
.gallery-cta .btn-ink{ background: var(--paper); color: var(--ink); position: relative; }
.gallery-cta .btn-ink:hover{ background: var(--accent-soft); color: var(--paper); }


.page-band{
  padding: clamp(9rem, 12vw, 11rem) 1.5rem 3rem;
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}
.page-band-inner{ max-width: 900px; margin: 0 auto; text-align: left; }
.page-lead{ font-size: 1.05rem; max-width: 60ch; }


.faq-list{ display: flex; flex-direction: column; gap: 1rem; }
.faq-item{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  transition: border-color .3s var(--ease);
}
.faq-item:has([open]){ border-color: var(--accent-soft); }
.faq-item summary{
  cursor: pointer;
  font-family:'Familjen Grotesk', sans-serif;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after{ content:"+"; color: var(--accent); font-size: 1.3rem; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item p{ margin-top: .8rem; }


.compose{
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color .3s var(--ease);
}
.compose:has(:focus){ border-color: var(--accent); }
.compose-row{ margin-bottom: 1.1rem; }
.compose-row-split{
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 1.1rem;
}
.compose label{ display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.compose input[type="text"], .compose input[type="email"], .compose textarea{
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  padding: .8em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  resize: none;
}
.compose input:focus, .compose textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-pale);
}
.compose-row-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.compose-check{
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 400;
  color: var(--ink-faint);
}
.compose-check input{ margin-top: .2em; width: 18px; height: 18px; accent-color: var(--accent); }
.compose-check a{ color: var(--accent); font-weight: 600; }


.map-frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.map-frame iframe{ width: 100%; height: 380px; border: 0; display: block; }


.legal-layout{
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.marginalia{
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  border-left: 2px solid var(--line);
  padding-left: 1.2rem;
}
.marginalia a{
  font-size: .88rem;
  color: var(--ink-faint);
  transition: color .3s var(--ease), border-color .3s var(--ease);
  border-left: 2px solid transparent;
  margin-left: -1.32rem;
  padding-left: 1.2rem;
}
.marginalia a.is-active{ color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.marginalia-toggle{ display: none; }
.legal-content section{ margin-bottom: 2.6rem; scroll-margin-top: 6.5rem; }
.legal-content h2{ font-size: 1.4rem; margin-bottom: .6rem; }
.legal-content p{ font-size: .95rem; }
.legal-content a{ color: var(--accent); font-weight: 600; }

.cookie-table{ border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin-top: .8rem; }
.cookie-row{ display: grid; grid-template-columns: 1fr 2fr 1fr; border-bottom: 1px solid var(--line); }
.cookie-row:last-child{ border-bottom: none; }
.cookie-row span{ padding: .8rem 1rem; font-size: .85rem; }
.cookie-head{ background: var(--ink); }
.cookie-head span{ color: var(--paper); font-weight: 700; }
.cookie-row:not(.cookie-head) span:first-child{ font-weight: 600; background: var(--paper-dim); }


.colophon{
  margin-top: auto;
  background: var(--ink);
  color: var(--paper-deep);
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem 1.5rem;
}
.colophon-inner{
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246,241,231,.14);
}
.colophon .mark{ color: var(--paper); margin-bottom: .8rem; }
.colophon-brand p{ color: var(--paper-deep); font-size: .9rem; max-width: 32ch; }
.colophon-col{ display: flex; flex-direction: column; gap: .7rem; }
.colophon-col h4{ color: var(--paper); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .4rem; }
.colophon-col a, .colophon-col p{ color: var(--paper-deep); font-size: .88rem; transition: color .3s var(--ease); }
.colophon-col a:hover{ color: var(--accent-soft); }
.colophon-base{ max-width: 1240px; margin: 0 auto; padding-top: 1.4rem; font-size: .8rem; color: var(--ink-faint); }


.stage-thanks{
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
}
.stage-thanks .dot{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  animation: dot-pop .6s cubic-bezier(.34,1.56,.64,1) forwards;
  margin-bottom: 2rem;
}
.stage-thanks h1{
  opacity: 0;
  animation: fade-up .8s var(--ease) forwards;
  animation-delay: .5s;
}
.stage-thanks p{
  opacity: 0;
  animation: fade-up .8s var(--ease) forwards;
  animation-delay: 1.1s;
}
@keyframes dot-pop{ to{ transform: scale(1); } }
@keyframes fade-up{ from{ opacity:0; transform: translateY(12px); } to{ opacity:1; transform: translateY(0); } }


.notice-card{
  position: fixed;
  top: 1.4rem;
  left: 1.4rem;
  z-index: 200;
  width: min(320px, 84vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transform: translateX(-140%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.notice-card.is-visible{ transform: translateX(0); opacity: 1; }
.notice-card i{ color: var(--accent); font-size: 1.2rem; }
.notice-copy p{ font-size: .82rem; margin: 0 0 .3em; color: var(--ink-soft); }
.notice-fine{ font-size: .76rem !important; color: var(--ink-faint) !important; }
.notice-fine a{ color: var(--accent); font-weight: 600; }
.notice-actions{ display: flex; flex-wrap: wrap; gap: .5rem; }
.notice-actions button{ font-size: .78rem; padding: .55em 1em; min-height: 38px; border-radius: var(--radius-pill); }
#noticeAccept{ background: var(--ink); color: var(--paper); }
#noticeAccept:hover{ background: var(--accent); }
#noticeReject{ background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }
#noticeReject:hover{ border-color: var(--accent); color: var(--accent); }
#noticeSettings{ color: var(--accent); font-weight: 600; }

.stage-curtain{
  position: fixed; inset: 0;
  background: rgba(33,29,24,.55);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.stage-curtain.is-open{ opacity: 1; pointer-events: auto; }
.ledger{
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.ledger h2{ margin-bottom: .6rem; }
.ledger-row{
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.ledger-row label{ display: flex; align-items: center; gap: .7rem; font-weight: 600; font-family:'Familjen Grotesk', sans-serif; }
.ledger-row input{ width: 18px; height: 18px; accent-color: var(--accent); }
.ledger-row p{ font-size: .85rem; margin: .4rem 0 0; }
.ledger-actions{ display: flex; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }


.tippy-box[data-theme~='custom']{
  background: var(--ink);
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  line-height: 1.5;
}
.tippy-box[data-theme~='custom'] .tippy-arrow{ color: var(--ink); }


@media (max-width: 1080px){
  .shelf-4{ grid-template-columns: repeat(2, 1fr); }
  .journey{ grid-template-columns: repeat(2, 1fr); }
  .colophon-inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px){
  .threshold-links{ display: none; }
  .latch{ display: flex; }
  .stage-inner{ grid-template-columns: 1fr; }
  .stage-visual{ order: -1; }
  .two-col{ grid-template-columns: 1fr; }
  .two-col.reverse{ direction: ltr; }
  .legal-layout{ grid-template-columns: 1fr; }
  .marginalia{
    position: relative; top: 0;
    display: none;
    border-left: none;
    padding-left: 0;
    background: var(--paper-dim);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem 1.4rem;
  }
  .marginalia a{ margin-left: 0; padding-left: .8rem; }
  .marginalia.is-open{ display: flex; }
  .marginalia-toggle{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--paper-dim);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: .9rem 1.3rem;
    font-weight: 600;
    font-family: 'Familjen Grotesk', sans-serif;
    margin-bottom: 1.4rem;
  }
}
@media (max-width: 720px){
  .shelf-3{ grid-template-columns: 1fr; }
  .shelf-2{ grid-template-columns: 1fr; }
  .journey{ grid-template-columns: 1fr; }
  .compare-row{ grid-template-columns: 1fr; }
  .compare-row span:first-child{ border-bottom: 1px dashed var(--line); }
  .compose-row-split{ grid-template-columns: 1fr; }
  .compose-row-foot{ flex-direction: column; align-items: flex-start; }
  .colophon-inner{ grid-template-columns: 1fr; }
  .stage-glyph{ font-size: 14rem; }
  .cookie-row{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .shelf-4{ grid-template-columns: 1fr; }
  .notice-card{ left: .8rem; top: .8rem; width: calc(100vw - 1.6rem); }
}