/* Overview page: presents the three mockups and the logo concepts. Quiet paper palette, one brown accent. */
@font-face { font-family: "Zodiak"; src: url("../fonts/zodiak-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("../fonts/zodiak-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #f1ece4;
  --bg-2: #e8e0d3;
  --surface: #f8f5f0;
  --fg: #1e1a16;
  --muted: #6e6257;
  --line: rgb(30 26 22 / 0.13);
  --accent: #6a4630;
  --font-display: "Zodiak", Georgia, serif;
  --font-text: "Switzer", system-ui, sans-serif;
  --r: 20px;
}

body { font-size: 1.0625rem; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.nw { white-space: nowrap; }
.ix-top, .ix-hero, .ix-demos, .notes, .ix-ft { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.ix-top { display: flex; align-items: center; justify-content: space-between; padding-block: 1.5rem; }
.ix-logo { height: 1.45rem; width: auto; }
.ix-logo .t-main { fill: var(--fg); }
.ix-logo .t-amp { fill: var(--accent); }
.ix-nav { display: flex; gap: 0.25rem; }
.ix-nav a { padding: 0.5rem 0.85rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.ix-nav a:hover { color: var(--fg); background: rgb(30 26 22 / 0.06); }

/* ---------- Hero ---------- */
.ix-hero { padding-top: clamp(4rem, 12vh, 8rem); padding-bottom: clamp(4rem, 10vw, 8rem); }
.ix-k { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ix-title { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 10.5vw, 11rem); line-height: 0.94; letter-spacing: -0.035em; }
.ix-title em { color: var(--accent); }
.ix-l { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ix-l > span { display: inline-block; }
.ix-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.ix-intro > p { max-width: 36ch; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; }
.ix-facts { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); }
.ix-facts dt { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 1; }
.ix-facts dd { margin-top: 0.35rem; font-size: 0.875rem; color: var(--muted); }

/* ---------- Demos ---------- */
.demo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; column-gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.demo-media { grid-column: 1 / span 7; position: relative; display: block; padding: 0 2.5rem 3rem 0; }
.demo-body { grid-column: 8 / span 5; }
.demo:nth-child(even) .demo-media { grid-column: 6 / span 7; order: 2; }
.demo:nth-child(even) .demo-body { grid-column: 1 / span 5; }

.demo-browser { display: block; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -30px rgb(44 28 16 / 0.42); transition: transform 0.9s var(--ease); }
.demo-bar { display: flex; align-items: center; gap: 0.4rem; height: 2.1rem; padding: 0 0.95rem; background: #ebe4d9; }
.demo-bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgb(30 26 22 / 0.16); }
.demo-bar span { margin-inline: auto; padding: 0.15rem 2.75rem; border-radius: 999px; background: rgb(255 255 255 / 0.65); font-size: 0.72rem; color: var(--muted); transform: translateX(-1rem); }
.demo-kveld .demo-bar { background: #201914; }
.demo-kveld .demo-bar i { background: rgb(255 255 255 / 0.16); }
.demo-kveld .demo-bar span { background: rgb(255 255 255 / 0.08); color: rgb(239 230 216 / 0.6); }
.demo-browser img { width: 100%; height: auto; }
.demo-phone { position: absolute; right: 0; bottom: 0; width: clamp(8rem, 12.5vw, 11.5rem); overflow: hidden; border: 0.38rem solid var(--fg); border-radius: 1.6rem; background: var(--fg); box-shadow: 0 30px 50px -18px rgb(30 18 8 / 0.5); transition: transform 1s var(--ease); }
.demo-phone img { width: 100%; height: auto; border-radius: 1.2rem; }
.demo-media:hover .demo-browser { transform: translateY(-6px); }
.demo-media:hover .demo-phone { transform: translate(8px, -16px) rotate(2deg); }

.demo-n { display: flex; gap: 0.85rem; font-size: 0.9rem; color: var(--muted); }
.demo-n span { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-t { margin-top: 0.85rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.75rem, 5vw, 4.75rem); line-height: 1; letter-spacing: -0.03em; }
.demo-lead { margin-top: 1.25rem; max-width: 40ch; line-height: 1.55; color: #4a4038; }
.demo-k { margin-top: 2rem; font-size: 0.85rem; font-weight: 600; }
.demo-try { margin-top: 0.5rem; }
.demo-try li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.demo-try li::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); transform: translateY(-0.12rem); }
.demo-logo { margin-top: 1.25rem; font-size: 0.875rem; color: var(--muted); }
.demo-logo strong { font-weight: 500; color: var(--fg); }
.demo-go { display: inline-flex; align-items: center; gap: 0.6rem; height: 3.25rem; margin-top: 1.75rem; padding: 0 1.6rem; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 500; transition: background-color 0.25s; }
.demo-go .ph { font-size: 1.05rem; transition: transform 0.4s var(--ease); }
.demo-go:hover { background: var(--accent); }
.demo-go:hover .ph { transform: translate(2px, -2px); }

/* ---------- Logos ---------- */
.lgs { padding-block: clamp(5rem, 9vw, 8rem); background: var(--bg-2); }
.lgs > * { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.ix-h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: 1; letter-spacing: -0.03em; }
.lgs-head { display: grid; grid-template-columns: 1fr minmax(0, 30rem); align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.lgs-head p { color: #4a4038; }
.lgs-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.lg { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.lg-signatur, .lg-atelier { grid-column: span 7; }
.lg-segl, .lg-kveld { grid-column: span 5; }
.lg-stage { display: grid; place-items: center; height: clamp(14rem, 22vw, 19rem); padding: 2rem 10%; }
.lg-logo { width: 100%; height: auto; }
.lg-signatur .lg-stage { background: #e4dace; }
.lg-signatur .lg-logo { max-width: 30rem; }
.lg-signatur .t-main { fill: var(--fg); }
.lg-signatur .t-amp { fill: var(--accent); }
.lg-segl .lg-stage { background: var(--accent); }
.lg-seal { display: block; width: clamp(9rem, 13vw, 12rem); aspect-ratio: 1; animation: ix-spin 40s linear infinite; }
.lg-segl .t-main, .lg-segl .t-amp { fill: #f1ece4; }
.lg-segl .t-line { fill: #f1ece4; opacity: 0.5; }
.lg-kveld .lg-stage { background: #16110d; }
.lg-kveld .lg-logo { max-width: 24rem; }
.lg-kveld .t-main { fill: #ede3d3; }
.lg-kveld .t-amp { fill: #e3a15f; }
.lg-atelier .lg-stage { background: #2b45c7; }
.lg-atelier .lg-logo { max-width: 28rem; }
.lg-atelier .t-main { fill: #f4efe7; }
.lg-atelier .t-bowl { fill: #d8cbb7; }
@keyframes ix-spin { to { rotate: 360deg; } }

.lg-info { display: grid; align-content: start; gap: 1rem; padding: 1.5rem 1.75rem 1.9rem; }
.lg-top { display: flex; align-items: center; gap: 1rem; }
.lg-fav { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 14px; box-shadow: 0 6px 16px -6px rgb(30 18 8 / 0.35); }
.lg-t { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.lg-t span { margin-right: 0.6rem; font-family: var(--font-text); font-size: 0.85rem; font-weight: 600; color: var(--accent); vertical-align: 0.35em; }
.lg-font { margin-top: 0.15rem; font-size: 0.85rem; color: var(--muted); }
.lg-text { max-width: 52ch; color: #4a4038; }
.lg-use { font-size: 0.85rem; color: var(--muted); }
.lg-dl { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.25rem; }
.lg-dl a { display: inline-flex; align-items: center; gap: 0.4rem; height: 2.4rem; padding: 0 0.95rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.85rem; font-weight: 500; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.lg-dl a:hover { background: var(--fg); color: var(--bg); box-shadow: none; }

/* ---------- Notes ---------- */
.notes { padding-block: clamp(5rem, 9vw, 8rem); }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.note h3 { padding-bottom: 0.9rem; font-size: 1rem; font-weight: 600; }
.note li { padding: 0.8rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.5; color: #4a4038; }

/* ---------- Footer ---------- */
.ix-ft { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-block: 2rem 2.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.ix-ft-mark { height: 2rem; width: auto; }
.ix-ft-mark .t-main { fill: var(--fg); }
.ix-ft-mark .t-bowl { fill: #c4ae8e; }
.ix-ft nav { display: flex; gap: 1.25rem; margin-left: auto; }
.ix-ft nav a { color: var(--fg); transition: color 0.2s; }
.ix-ft nav a:hover { color: var(--accent); }

/* ---------- Motion ---------- */
.motion .ix-l > span { transform: translateY(105%); animation: ix-rise 1.2s var(--ease) 0.1s forwards; }
.motion .ix-l + .ix-l > span { animation-delay: 0.22s; }
@keyframes ix-rise { to { transform: none; } }
.motion [data-in] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.motion [data-in].is-in { opacity: 1; transform: none; }
.motion .lgs-grid [data-in]:nth-child(2n) { transition-delay: 0.1s; }

@media (max-width: 899px) {
  .ix-nav a:not(:first-child) { display: none; }
  .ix-intro { grid-template-columns: 1fr; gap: 2rem; }
  .demo { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .demo-media, .demo:nth-child(even) .demo-media { grid-column: 1; order: 0; padding: 0 1.25rem 2.5rem 0; }
  .demo-body, .demo:nth-child(even) .demo-body { grid-column: 1; }
  .demo-phone { width: 7.5rem; border-width: 0.3rem; border-radius: 1.25rem; }
  .demo-phone img { border-radius: 0.95rem; }
  .demo-bar span { padding-inline: 1.25rem; }
  .lgs-head { grid-template-columns: 1fr; }
  .lg-stage { height: 11.5rem; }
  .lg-signatur, .lg-atelier, .lg-segl, .lg-kveld { grid-column: 1 / -1; }
  .notes-grid { grid-template-columns: 1fr; }
  .ix-ft nav { margin-left: 0; width: 100%; }
}
