/* Find Your Five. Layout idea: a single column of paper, one focused thing per screen, the compass rose as the only ornament. */
:root {
  color-scheme: light;
  --paper: #f5efe3; --card: #fbf8f1; --ink: #14203a; --soft: #5f5b53; --line: #d9cfbb;
  --sage: #55634a; --sage-soft: #e3e7d8; --terra: #b0613f; --terra-soft: #f1ddd0; --brass: #9c7c3c;
  --brass-text: #765a1f; --terra-text: #94492b; /* same hues, darkened only where they carry small text */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
#app { max-width: 680px; margin: 0 auto; padding: 0 20px 96px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 9.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 6.4vw, 2.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
em.d { font-family: var(--display); font-style: italic; color: var(--terra); font-weight: 500; }
.eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; }
.muted { color: var(--soft); }
.small { font-size: .88rem; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack.lg { gap: 26px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule.brass { background: linear-gradient(90deg, transparent, var(--brass), transparent); opacity: .6; }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; border-radius: 6px; }
.btn { min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--card); font-weight: 600; letter-spacing: .01em; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.sage { background: var(--sage); border-color: var(--sage); }
.btn.sm { min-height: 44px; padding: 7px 15px; font-size: .9rem; }
.btn.wide { width: 100%; }
.link { background: none; border: 0; padding: 10px 2px; min-height: 44px; color: var(--sage); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link.danger { color: var(--terra-text); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); background: var(--paper); white-space: nowrap; }
.pill.strong { color: var(--sage); border-color: var(--sage); }
.pill.close { color: var(--terra-text); border-color: var(--terra); }
.pill.brass { color: var(--brass-text); border-color: var(--brass); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 10px; }
.brand { font-family: var(--display); font-size: 1.25rem; font-weight: 600; background: none; border: 0; padding: 8px 0; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.brand svg { width: 22px; height: 22px; }

/* landing */
.hero { padding: 18px 0 8px; display: grid; gap: 22px; }
.hero .rose { width: min(78%, 300px); margin: 0 auto; }
.rose .needle { transform-origin: 180px 180px; animation: settle 2.4s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes settle { 0% { transform: rotate(-64deg); } 55% { transform: rotate(14deg); } 80% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .rose .needle { animation: none; } * { transition: none !important; } }
.lede { font-size: 1.13rem; color: var(--soft); max-width: 34em; }
.three { counter-reset: n; display: grid; gap: 0; }
.three li { list-style: none; counter-increment: n; display: grid; grid-template-columns: 2.2rem 1fr; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }
.three li::before { content: counter(n); color: var(--brass-text); font-style: italic; }
.three { padding: 0; margin: 0; }

/* quiz */
.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--terra); transition: width .35s; }
.stages { display: flex; gap: 6px; }
.stages span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.stages span i { display: block; height: 100%; background: var(--sage); transition: width .35s; }
.q { padding: 22px 0 6px; }
.q h2 { margin-top: 8px; }
.opts { display: grid; gap: 10px; }
.opt { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 15px 16px; min-height: 56px; display: flex; gap: 12px; align-items: center; line-height: 1.35; transition: border-color .15s, background .15s; }
.opt::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); }
.opt.multi::before { border-radius: 5px; }
.opt[aria-pressed="true"] { border-color: var(--sage); background: var(--sage-soft); }
.opt[aria-pressed="true"]::before { background: var(--sage); border-color: var(--sage); box-shadow: inset 0 0 0 3px var(--sage-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; min-height: 46px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: all .15s; }
.chip[data-l="1"] { background: var(--sage-soft); border-color: var(--sage); }
.chip[data-l="2"] { background: var(--sage); border-color: var(--sage); color: var(--card); }
.chip[data-l="2"]::after { content: "core"; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.chip[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--card); }
.chipdef { display: grid; gap: 8px; }
.chipdef .chip { border-radius: var(--r); justify-content: space-between; text-align: left; width: 100%; flex-wrap: wrap; row-gap: 2px; }
.chipdef .chip small { flex-basis: 100%; font-weight: 400; opacity: .8; order: 3; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: var(--soft); }
.legend b { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--sage); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 14px; }
.side strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.15; display: block; }
.side.b { text-align: right; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scale button { min-height: 58px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; font-size: .78rem; line-height: 1.2; padding: 6px 2px; color: var(--soft); }
.scale button[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--card); font-weight: 600; }
.sortrow { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.sortrow strong { font-family: var(--display); font-size: 1.3rem; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.seg button { min-height: 46px; border: 0; background: none; font-size: .84rem; padding: 6px 4px; border-left: 1px solid var(--line); }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--sage); color: var(--card); font-weight: 600; }
.foot { position: fixed; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, var(--paper) 30%); padding: 26px 20px calc(16px + env(safe-area-inset-bottom)); }
.foot > div { max-width: 640px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.foot .btn { flex: 1; }
.foot .btn.ghost { flex: 0 0 auto; background: var(--paper); }

/* candidates */
.cand { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.cand .tick { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); margin-top: 2px; display: grid; place-items: center; color: transparent; font-weight: 700; }
.cand.on { border-color: var(--sage); background: var(--sage-soft); }
.cand.on .tick { background: var(--sage); border-color: var(--sage); color: var(--card); }
.cand button.main { all: unset; cursor: pointer; display: block; width: 100%; }
.cand button.main:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; border-radius: 6px; }
.counter { position: sticky; top: 0; z-index: 3; background: var(--paper); padding: 10px 0; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); }
.counter b { font-family: var(--display); font-size: 1.9rem; }
.bars { display: grid; gap: 6px; margin-top: 8px; }
.bar { display: grid; grid-template-columns: 11.5em 1fr 2.6em; gap: 8px; align-items: center; font-size: .8rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.bar i { height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.bar i b { position: absolute; inset: 0 auto 0 0; background: var(--brass); border-radius: 6px; }
details summary { cursor: pointer; color: var(--sage); font-weight: 600; font-size: .9rem; min-height: 44px; display: flex; align-items: center; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 400; }
details[open] summary::before { content: "\2212"; }
ul.plain { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }

/* dashboard */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 20px 12px; margin: 0 -20px; scrollbar-width: none; position: sticky; top: 0; background: var(--paper); z-index: 3; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .9rem; font-weight: 500; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--card); border-color: var(--ink); }
.pcard { position: relative; }
.pcard .num { font-family: var(--display); font-style: italic; color: var(--brass-text); font-size: 1.3rem; display: block; }
.pcard .ico { width: 40px; height: 40px; color: var(--sage); flex: none; }
.pcard h3 { font-size: 2rem; }
.sec { display: grid; gap: 6px; }
.sec > .eyebrow { color: var(--sage); }
.field { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 11px 12px; line-height: 1.45; min-height: 46px; }
textarea.field { resize: vertical; min-height: 84px; }
label.f { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
label.f span.h { font-weight: 400; color: var(--soft); }
.nn { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.nn .t { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; }
.nn textarea { border: 0; background: transparent; padding: 8px 0; width: 100%; resize: none; font-family: var(--display); font-size: 1.22rem; line-height: 1.25; min-height: 0; overflow: hidden; }
.nn textarea:focus { background: #fff; outline: 1px solid var(--line); border-radius: 6px; }
.nn select { border: 0; background: transparent; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; padding: 10px 0; min-height: 44px; max-width: 100%; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--soft); font-size: 1.1rem; line-height: 1; }
.statement { font-family: var(--display); font-size: 1.4rem; line-height: 1.38; }
.preview { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; background: var(--card); }
.preview.tall { max-width: 230px; margin: 0 auto; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: var(--card); padding: 11px 18px; border-radius: 999px; font-size: .9rem; z-index: 20; max-width: calc(100% - 40px); text-align: center; }
.sheet { position: fixed; inset: 0; background: rgba(43, 42, 39, .45); z-index: 10; display: flex; align-items: flex-end; justify-content: center; }
.sheet > div { background: var(--paper); width: 100%; max-width: 680px; max-height: 92%; overflow: auto; border-radius: 20px 20px 0 0; padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
.table { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); font-weight: 600; }
.scroll { overflow-x: auto; }
.note { border-left: 2px solid var(--brass); padding: 2px 0 2px 14px; color: var(--soft); font-size: .92rem; }
.test { display: grid; grid-template-columns: 3.2em 1fr; gap: 6px; font-size: .86rem; padding: 6px 0; border-top: 1px solid var(--line); }
.test .ok { color: var(--sage); font-weight: 700; } .test .no { color: var(--terra-text); font-weight: 700; }
@media (min-width: 760px) { #app { padding-top: 12px; } .opts.two { grid-template-columns: 1fr 1fr; } .hero { grid-template-columns: 1.25fr 1fr; align-items: center; } .hero .rose { width: 100%; } }

section > .rose { width: 100%; max-width: 520px; margin: 0 auto; display: block; }

/* v1.1 */
.paths { display: grid; gap: 12px; }
.path { text-align: left; background: var(--card); border: 1px solid var(--ink); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; min-height: 120px; align-content: start; transition: background .15s; }
.path strong { font-family: var(--display); font-size: 1.5rem; line-height: 1.12; font-weight: 600; }
.path:hover { background: var(--sage-soft); }
.idea { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.idea h3 { font-style: italic; font-weight: 500; }
.tagline { font-family: var(--display); font-style: italic; font-size: 1.25rem; text-align: center; color: var(--sage); line-height: 1.3; }
.vrow { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.vrow strong { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; }
.seg button { line-height: 1.2; }
.seg.two { grid-template-columns: repeat(2, 1fr); }
.marks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.marks button { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: .86rem; line-height: 1.2; padding: 8px 10px; text-align: left; }
.marks button:last-child { grid-column: 1 / -1; }
.marks button[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--card); font-weight: 600; }
.tally { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; color: var(--sage); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2px 0; }
.chip.static { cursor: default; min-height: 40px; }
.opt.plainopt::before { display: none; }
.opt.plainopt { font-family: var(--display); font-size: 1.15rem; min-height: 48px; }
.foot .btn.ghost + .btn.ghost { padding-left: 16px; padding-right: 16px; }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } .vrow { grid-template-columns: 1fr minmax(320px, 1.1fr); align-items: center; } }
@media (max-width: 359px) { #app { padding-left: 16px; padding-right: 16px; } .tabs { margin: 0 -16px; padding-left: 16px; padding-right: 16px; } .marks { grid-template-columns: 1fr; } .foot .btn { padding-left: 14px; padding-right: 14px; } }
.nn textarea { min-height: 44px; }

/* ===== v1.2 visual layer: scenic photographs under colour washes, deep sections, elevated cards, app navigation ===== */
:root {
  --deep: #0b1729; --deep-2: #1b2b47; --on-deep: #f6f1e6; --on-deep-soft: #d6cfbf; --gold-light: #dfc48d;
  --shadow: 0 1px 2px rgba(43, 42, 39, .05), 0 12px 32px -14px rgba(43, 42, 39, .25);
  --shadow-lg: 0 2px 6px rgba(11, 23, 41, .1), 0 28px 60px -24px rgba(11, 23, 41, .5);
  --col: 680px; --bar: 58px;
}
html, body { overflow-x: clip; }
#app { max-width: var(--col); isolation: isolate; position: relative; }
#app.v-start, #app.v-compass, #app.v-library { --col: 1080px; }
.bleed { margin-inline: calc(50% - 50vw); padding-inline: max(20px, calc(50vw - var(--col) / 2 + 20px)); }

/* app bar */
.top { position: sticky; top: 0; z-index: 6; height: var(--bar); padding-block: 0; background: rgba(245, 239, 227, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(217, 207, 187, .7); }
.top .right { display: flex; align-items: center; gap: 4px; }
.top .link { white-space: nowrap; }
.menu { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.menu svg { width: 24px; height: 24px; }
.top.on-photo { position: relative; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top.on-photo .brand, .top.on-photo .menu, .top.on-photo .link { color: var(--on-deep); }
.tabs, .counter { top: var(--bar); }
.navlist { display: grid; gap: 2px; }
.navlist button { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 2px; min-height: 56px; display: grid; gap: 2px; }
.navlist button strong { font-family: var(--display); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.navlist button span { font-size: .86rem; color: var(--soft); }

/* photo sections */
.hero-photo { background-color: var(--deep); color: var(--on-deep); padding-bottom: 96px;
  background-image: linear-gradient(180deg, rgba(11, 23, 41, .72) 0%, rgba(11, 23, 41, .58) 38%, rgba(11, 23, 41, .93) 100%), var(--img); background-size: cover; background-position: center 30%; }
.hero-in { display: grid; gap: 26px; padding-top: 34px; }
.hero-photo h1 { color: var(--on-deep); font-size: clamp(2.7rem, 10.5vw, 4.6rem); letter-spacing: -.012em; }
.hero-photo em.d { color: var(--gold-light); }
.hero-photo .eyebrow { color: var(--gold-light); }
.hero-photo .lede { color: var(--on-deep-soft); font-size: 1.12rem; }
.hero-photo .rose { display: none; }
.hero-photo .btn.sage { background: var(--gold-light); border-color: var(--gold-light); color: var(--deep); }
.lift { margin-top: -64px; position: relative; display: grid; gap: 14px; }
.lift > .eyebrow { color: var(--gold-light); }
.path { border: 0; box-shadow: var(--shadow-lg); padding: 22px; min-height: 132px; position: relative; padding-right: 54px; transition: transform .18s, box-shadow .18s; }
.path::after { content: "\2192"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brass-text); transition: transform .18s; }
.path:hover { background: var(--card); transform: translateY(-2px); }
.path:hover::after { transform: translate(4px, -50%); }
.warm { margin-top: 44px; padding-block: 48px; background-color: var(--paper);
  background-image: radial-gradient(ellipse 55% 70% at 100% 0%, rgba(156, 124, 60, .2), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(85, 99, 74, .2), transparent 70%); }
.ideas { display: grid; gap: 22px; margin-top: 26px; }
.idea { border-top: 0; padding-top: 0; }
.idea h3 { font-size: 1.8rem; }
.idea h3::before { content: ""; display: block; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); margin: 0 0 14px 3px; }
.rule-diamond { display: flex; align-items: center; gap: 14px; color: var(--brass); }
.rule-diamond::before, .rule-diamond::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.rule-diamond i { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.scenic { background-color: var(--deep); color: var(--on-deep); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding-block: 56px 44px;
  background-image: linear-gradient(0deg, rgba(11, 23, 41, .94) 0%, rgba(11, 23, 41, .55) 55%, rgba(11, 23, 41, .25) 100%), var(--img); background-size: cover; background-position: center; }
.scenic .eyebrow { color: var(--gold-light); }
.scenic .quote { font-family: var(--display); font-size: clamp(1.9rem, 6.6vw, 3rem); line-height: 1.12; font-weight: 500; max-width: 18em; text-wrap: balance; }
.closing { padding-top: 40px; }
.sitefoot { margin-top: 44px; margin-bottom: -96px; padding-block: 30px 40px; background: var(--deep); color: var(--on-deep-soft); display: grid; gap: 10px; font-size: .88rem; }
.sitefoot strong { font-family: var(--display); font-size: 1.4rem; color: var(--on-deep); font-weight: 600; }
.sitefoot .tagline { color: var(--gold-light); text-align: left; }
.sitefoot button { color: var(--on-deep); }

/* mist band behind the top of working screens */
.mist { height: 0; position: relative; }
.mist::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 300px; pointer-events: none;
  background-image: linear-gradient(180deg, rgba(245, 239, 227, .62) 0%, rgba(245, 239, 227, .86) 55%, var(--paper) 100%), var(--img); background-size: cover; background-position: center 40%; }

/* compass header */
.dusk { background-color: var(--deep); color: var(--on-deep); padding-block: 30px 34px; display: grid; gap: 14px;
  background-image: radial-gradient(ellipse 60% 55% at 100% 0%, rgba(223, 196, 141, .22), transparent 70%), linear-gradient(180deg, rgba(27, 43, 71, .84) 0%, rgba(11, 23, 41, .93) 60%, rgba(6, 14, 28, .98) 100%), var(--img); background-size: cover; background-position: center; }
.dusk .eyebrow { color: var(--gold-light); }
.dusk h1 { color: var(--on-deep); }
.dusk p.lead { color: var(--on-deep-soft); max-width: 40em; }
.dusk .rose { width: 100%; max-width: 520px; margin: 0 auto; display: block; }

/* cards and controls */
.card { box-shadow: var(--shadow); border-color: rgba(217, 207, 187, .8); }
.card .card { box-shadow: none; }
.btn { background: var(--deep); border-color: var(--deep); letter-spacing: .02em; box-shadow: 0 8px 20px -12px rgba(11, 23, 41, .7); }
.btn.ghost { box-shadow: none; background: rgba(251, 248, 241, .7); border-color: var(--line); }
.btn.sage { background: var(--sage); border-color: var(--sage); }
.btn:hover:not([disabled]) { transform: translateY(-1px); }
.opt { box-shadow: 0 1px 2px rgba(43, 42, 39, .04); }
.opt:hover { border-color: var(--sage); }
.tabs button[aria-selected="true"] { background: var(--deep); border-color: var(--deep); }
.seg button[aria-pressed="true"], .marks button[aria-pressed="true"], .chip[aria-pressed="true"], .scale button[aria-pressed="true"] { background: var(--deep-2); border-color: var(--deep-2); }
.foot { background: linear-gradient(transparent, rgba(245, 239, 227, .96) 34%); }
.q h2 { font-size: clamp(2rem, 7vw, 2.7rem); }
.tabs { background: rgba(245, 239, 227, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-inline: calc(50% - 50vw); padding-inline: max(20px, calc(50vw - var(--col) / 2 + 20px)); }
.counter { background: rgba(245, 239, 227, .94); }

/* pillar cards with a photograph */
.pcard { padding: 0; overflow: hidden; }
.pcard > .pbody { padding: 20px; display: grid; gap: 16px; }
.pphoto { background-color: var(--deep); color: var(--on-deep); min-height: 150px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  background-image: linear-gradient(0deg, rgba(11, 23, 41, .93) 0%, rgba(11, 23, 41, .5) 60%, rgba(11, 23, 41, .25) 100%), var(--img); background-size: cover; background-position: center; }
.pphoto h3 { color: var(--on-deep); font-size: 2.2rem; }
.pphoto .num { color: var(--gold-light); }
.pphoto .small { color: var(--on-deep-soft); }
.pphoto .ico { color: var(--gold-light); width: 36px; height: 36px; }
.credits { font-size: .82rem; color: var(--soft); display: grid; gap: 4px; padding-left: 1.1em; margin: 0; }

@media (min-width: 760px) {
  .hero-photo { padding-bottom: 120px; }
  .hero-in { grid-template-columns: 1.3fr 1fr; align-items: center; padding-top: 60px; gap: 40px; }
  .hero-photo .rose { display: block; width: 100%; max-width: 380px; margin: 0 auto; }
  .lift { margin-top: -84px; }
  .paths, .hero .paths { grid-template-columns: 1fr 1fr; gap: 18px; }
  .ideas { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .scenic { min-height: 480px; }
  .closing { max-width: 680px; margin-inline: auto; }
  #app.v-compass [role="tabpanel"] { max-width: 760px; margin-inline: auto; }
  #app.v-library .q { max-width: 760px; margin-inline: auto; }
}
@media (min-width: 1000px) {
  #app.v-compass [role="tabpanel"].wide { max-width: none; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; }
  #app.v-compass [role="tabpanel"].wide > :not(article) { grid-column: 1 / -1; }
}
@media (max-width: 359px) { .tabs { margin-inline: calc(50% - 50vw); padding-inline: 16px; } .bleed { padding-inline: 16px; } }
.hero-photo .ways { margin-top: 30px; }
.hero-photo { padding-bottom: 84px; }
.lift { margin-top: -70px; }
.credits a { display: inline-block; padding: 13px 8px; color: var(--sage); font-weight: 600; }
.credits { list-style: none; padding-left: 0; }
@media (min-width: 760px) { .hero-photo { padding-bottom: 100px; } .lift { margin-top: -84px; } }

/* illustrated idea cards */
.idea { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); gap: 0; display: flex; flex-direction: column; }
.idea .art { display: block; width: 100%; height: auto; background: var(--deep); }
.idea .txt { padding: 22px 22px 26px; display: grid; gap: 8px; }
.idea h3 { font-size: 2rem; font-style: italic; font-weight: 500; }
.idea h3::before { display: none; }
.idea .art { transition: transform .6s ease; }
.idea:hover .art { transform: scale(1.03); }
@media (min-width: 760px) { .ideas { gap: 22px; } }

/* brand lockup */
.brand span { display: grid; line-height: 1; text-align: left; }
.brand small { font-family: var(--body); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--brass-text); margin-top: 3px; }
.top.on-photo .brand small { color: var(--gold-light); }
.sitefoot > span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-top: -6px; }

/* ===== brand: The Pillar Pact logos, navy from the logo as the deep colour ===== */
:root { --navy: #0b1729; --slate: #466581; --olive: #7f7b4e; --rust: #965027; --gold: #eec88f; }
.brand { padding: 6px 0; }
.brand .wm { height: 38px; width: auto; display: block; }
.hero-photo .eyebrow.ff { font-size: .86rem; letter-spacing: .26em; }
.sitefoot { grid-template-columns: 1fr auto; align-items: end; column-gap: 20px; }
.sitefoot > * { grid-column: 1; }
.sitefoot .flogo { width: 150px; height: auto; }
.sitefoot .mono { grid-column: 2; grid-row: 1 / span 3; width: 74px; height: auto; align-self: start; opacity: .95; }
.sheet .pmark { width: 44px; height: auto; }
.pmark { display: block; }
.btn.sage { background: var(--sage); border-color: var(--sage); }
