/* =========================================================
   Luxury layer. Loaded after styles.css and applies the
   elegant navy, silver, and serif look to every section.
   ========================================================= */

:root { --hair: rgba(0, 4, 53, .12); --pearl: #f5f6f9; }

body { background: var(--bg); }
::selection { background: var(--navy); color: #fff; }

/* Scroll progress hairline */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--dusty), var(--silver), #fff); }

/* Shared type */
.eyebrow, .sec-label { font-size: .7rem; letter-spacing: .32em; font-weight: 500; color: var(--dusty-text); }
.btn { min-height: 52px; padding: 14px 28px; border-radius: 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.btn--line { border-width: 1px; }
.stamp { font-size: .58rem; letter-spacing: .18em; font-weight: 500; border-width: 1px; border-radius: 999px; padding: 3px 10px 2px; }

/* Top bar */
.topbar { background: rgba(251, 251, 253, .86); }
.topbar.is-scrolled { border-color: var(--hair); }
.mark__jc { border-radius: 50%; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1rem; letter-spacing: 0; }
.mark__name { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; letter-spacing: .01em; }
.topbar__meta { letter-spacing: .26em; font-size: .66rem; }
.topbar__cta { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; border-bottom-width: 1px; }
.menu-btn { border-width: 1px; border-radius: 0; letter-spacing: .2em; font-weight: 500; }

/* Side navigation: quiet numbered index */
.tabs { right: 18px; }
.tabs ol { gap: 2px; }
.tabs a { height: 34px; padding: 0 0 0 10px; gap: 10px; background: transparent; border: 0; border-radius: 0; box-shadow: none; flex-direction: row-reverse; justify-content: flex-start; color: var(--muted); }
.tabs a b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .95rem; letter-spacing: 0; min-width: 0; position: relative; padding-left: 26px; }
.tabs a b::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: currentColor; opacity: .5; transition: width .35s var(--ease), opacity .35s; }
.tabs a span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.tabs a:hover { background: transparent; color: var(--navy); }
.tabs a[aria-current="true"] { background: transparent; color: var(--navy); box-shadow: none; }
.tabs a[aria-current="true"] b::before { width: 22px; opacity: 1; background: var(--navy); }
.tabs a[aria-current="true"] span { max-width: 120px; opacity: 1; }
.tabs.on-dark a { color: rgba(192, 196, 204, .7); }
.tabs.on-dark a:hover, .tabs.on-dark a[aria-current="true"] { color: #fff; }
.tabs.on-dark a[aria-current="true"] b::before { background: #fff; }

/* Section frame */
.sec { padding: clamp(104px, 13vw, 180px) 0; }
.sec--tint { background: var(--pearl); }
.sec-head { display: block; text-align: center; border-top: 0; padding-top: 0; margin: 0 auto clamp(56px, 7vw, 96px); max-width: 900px; }
.sec-head > div { display: contents; }
.sec-no { display: inline-flex; align-items: center; gap: 14px; font-size: 1.05rem; line-height: 1; color: var(--dusty); margin-bottom: 18px; }
.sec-no::before, .sec-no::after { content: ""; width: 40px; height: 1px; background: var(--silver); }
.sec-head .sec-label { display: block; margin: 0 0 1rem; }
.sec-head h2 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); font-weight: 300; line-height: 1.02; letter-spacing: -.015em; }
.sec-aside { text-align: center; margin: 1.1rem 0 0; font-size: .66rem; letter-spacing: .3em; font-weight: 500; }
@media (max-width: 640px) { .sec-aside { display: block; } }
/* Title reveal */
.js .sec-head.rv .sec-no, .js .sec-head.rv .sec-label, .js .sec-head.rv h2, .js .sec-head.rv .sec-aside { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .sec-head.rv h2 { transition-delay: .12s; }
.js .sec-head.rv .sec-aside { transition-delay: .24s; }
.js .sec-head.rv.is-visible .sec-no, .js .sec-head.rv.is-visible .sec-label, .js .sec-head.rv.is-visible h2, .js .sec-head.rv.is-visible .sec-aside { opacity: 1; transform: none; }

/* About */
.about__body p.lede { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.3; color: var(--navy); }
.about__body p { color: #3a4160; }
.side-block { border-top: 1px solid var(--hair); }
.side-block h3, .alsolist h3, .toolkit__title { font-size: .66rem; letter-spacing: .3em; font-weight: 500; color: var(--dusty-text); }
.values li::before { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--dusty); padding-top: 0; }
.values b, .edu b { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }

/* Work register */
.register-filters { justify-content: center; gap: .3rem 2rem; margin-bottom: 2.4rem; }
.register-filters button { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.register-filters button::after { height: 1px; }
.register__list { border-top: 1px solid var(--hair); }
.row { padding: 24px 12px 24px 6px; border-bottom: 1px solid var(--hair); }
.row::before { width: 1px; }
.row__no { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; color: var(--dusty); }
.row__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; }
.row__cat { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.row:hover, .row.is-active { background: transparent; }
.preview-frame { background: #fff; border: 1px solid var(--hair); padding: 18px; box-shadow: 0 50px 100px -30px rgba(0, 4, 53, .28); }
.preview-frame::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(192, 196, 204, .55); pointer-events: none; }
.preview-frame img { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.preview-cap { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.preview-cap b { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 500; }

/* Journey */
.ledger__bracket { border-width: 1px; font-size: .62rem; letter-spacing: .26em; font-weight: 500; }
.ledger__track { border-color: var(--hair); }
.bar { border-width: 1px; background: #fff; }
.bar b { font-family: var(--serif); font-size: .98rem; font-weight: 500; }
.bar[aria-pressed="true"] { background: radial-gradient(140% 140% at 90% 0%, #0d1a5c, #000435 60%); box-shadow: 0 18px 36px -12px rgba(0, 4, 53, .5); }
.ledger-detail { border-top: 1px solid var(--hair); padding-top: 36px; }
.ld__period { font-size: .66rem; letter-spacing: .3em; font-weight: 500; }
.ld__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.01em; }
.ld__org { font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.ld__lesson { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4; border-left: 1px solid var(--dusty); padding-left: 1.4rem; }
.alsolist ul { border-top: 1px solid var(--hair); }
.also { border-bottom: 1px solid var(--hair); padding: 20px 6px; }
.also b { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.also:hover, .also[aria-pressed="true"] { background: transparent; }
.also[aria-pressed="true"] { box-shadow: inset 1px 0 0 var(--navy); padding-left: 16px; }

/* Capability index */
.capindex__groups, .capindex__panel { border-top: 1px solid var(--hair); }
.capgroup { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.01em; color: #a6adbd; border-bottom: 1px solid var(--hair); }
.capgroup small { font-family: var(--font); font-size: .62rem; letter-spacing: .2em; font-weight: 500; }
.skill { border-bottom: 1px solid var(--hair); padding: 26px 0; }
.skill h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.skill__work button { border-radius: 2px; border-color: var(--hair); }
.toolkit { border-top: 1px solid var(--hair); padding-top: 28px; }
.toolkit__title { text-align: center; margin-bottom: 1.8rem; }
.toolkit__title small { display: block; margin: .6rem 0 0; letter-spacing: 0; }
.tool__icon { border-radius: 50%; }
.tool__name { font-family: var(--serif); font-size: .98rem; font-weight: 500; }
@media (max-width: 900px) { .capgroup { font-family: var(--font); font-size: .82rem; border-radius: 999px; border-width: 1px; } }

/* Certificates */
.certinfo__count { font-size: .66rem; letter-spacing: .3em; font-weight: 500; }
.certinfo__count b { font-family: var(--serif); font-style: italic; font-size: 1.6rem; font-weight: 400; }
.certinfo__nav button { border-width: 1px; }
.certinfo h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.01em; }
.certinfo__issuer { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.stack__card { box-shadow: 0 2px 4px rgba(0, 4, 53, .05), 0 40px 80px -24px rgba(0, 4, 53, .3); }
.certstrip { border-top: 1px solid var(--hair); }
.pasttrain { border-top: 1px solid var(--hair); }
.pasttrain summary { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; border-bottom: 1px solid var(--hair); }

/* Personal projects */
.init__no { font-size: .66rem; letter-spacing: .3em; font-weight: 500; }
.init h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.05; letter-spacing: -.01em; }
.init dt { font-size: .62rem; letter-spacing: .28em; font-weight: 500; color: var(--dusty-text); }
.browser { border: 1px solid var(--hair); box-shadow: 0 60px 120px -40px rgba(0, 4, 53, .35); }
.browser__bar { background: #fff; border-bottom: 1px solid var(--hair); }
.init__media { transition: transform 1.2s var(--ease); }
.init:hover .init__media { transform: translateY(-6px); }

/* SOP */
.sop { margin: 0 auto; border: 1px solid var(--hair); box-shadow: 0 60px 120px -50px rgba(0, 4, 53, .25); position: relative; }
.sop::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(192, 196, 204, .45); pointer-events: none; }
.sop__head th, .sop__head td { border-color: var(--hair); }
.sop__head th { background: var(--pearl); font-weight: 500; letter-spacing: .22em; }
.sop__head td { font-family: var(--serif); font-size: 1.05rem; }
.sop__steps li { border-bottom: 1px solid var(--hair); }
.sop__steps li::before { font-family: var(--serif); font-style: italic; font-size: 2rem; }
.sop__steps h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.sop__check { border-radius: 50%; border-width: 1px; }

/* Connect footer */
.connect { background: radial-gradient(120% 100% at 85% 0%, #0d1a5c, #000435 55%, #00022a); padding-top: clamp(110px, 14vw, 190px); text-align: center; }
.connect::before { background-image: linear-gradient(to right, rgba(192, 196, 204, .06) 1px, transparent 1px); background-size: calc((100% - 48px) / 6) 100%; background-position: 24px 0; opacity: 1; }
.connect .sec-label--light { letter-spacing: .32em; }
.connect__title { font-family: var(--serif); font-weight: 300; font-style: italic; letter-spacing: -.01em; line-height: 1; font-size: clamp(3.6rem, 10vw, 9rem);
  background: linear-gradient(100deg, #c0c4cc 0%, #ffffff 25%, #9fc0de 45%, #c0c4cc 65%, #ffffff 85%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s ease-in-out infinite; padding: 0 .06em; }
.connect__links { max-width: 860px; margin-inline: auto; text-align: left; border-top: 1px solid rgba(192, 196, 204, .25); }
.connect__links a { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.5rem); letter-spacing: 0; border-bottom: 1px solid rgba(192, 196, 204, .16); }
.connect__links a small { font-family: var(--font); font-size: .62rem; letter-spacing: .26em; }
.connect__foot { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; border-top: 1px solid rgba(192, 196, 204, .14); padding-top: 22px; }
.to-top { border-radius: 50%; background: rgba(0, 4, 53, .9); border: 1px solid rgba(192, 196, 204, .4); }

/* Project file modal */
.file { border-radius: 0; }
.file__bar { font-size: .62rem; letter-spacing: .26em; font-weight: 500; }
.file__close { border-width: 1px; }
.file__text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.01em; }
.file__text dt { font-size: .6rem; letter-spacing: .28em; font-weight: 500; color: var(--dusty-text); }
.file__nav button { font-family: var(--serif); font-size: 1.1rem; font-style: italic; }

/* Statement signature */
.statement__sign::before { content: ""; display: block; width: 1px; height: 40px; margin: 0 auto 18px; background: linear-gradient(to bottom, transparent, var(--silver)); }

@media (prefers-reduced-motion: reduce) {
  .preview-frame img, .connect__title { animation: none; }
  .js .sec-head.rv .sec-no, .js .sec-head.rv .sec-label, .js .sec-head.rv h2, .js .sec-head.rv .sec-aside { opacity: 1; transform: none; }
}

/* Name: a single natural word space between June and Clare */
.cover__name .ln--2 { padding-left: 0; }
@media (max-width: 560px) { .cover__name .ln--2 { padding-left: 0; } }

/* Tighter rhythm: less empty space between sections */
.sec { padding: clamp(72px, 8vw, 116px) 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.statement { padding: clamp(72px, 9vw, 128px) 0; }
.words { padding: clamp(72px, 9vw, 120px) 0; }
.connect { padding-top: clamp(80px, 10vw, 140px); }
.tabs a[aria-current="true"] span { max-width: 0; opacity: 0; }
.tabs a:hover span, .tabs a:focus-visible span { max-width: 120px; opacity: 1; }
.tabs a:hover, .tabs a:focus-visible { background: rgba(251, 251, 253, .92); padding-right: 0; }
.tabs.on-dark a:hover, .tabs.on-dark a:focus-visible { background: rgba(0, 4, 53, .9); }

/* About: lede and values */
.about__body p.lede { margin-bottom: 1em; }
.values { gap: 1.2rem; }

/* Industry experience */
.industry { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--hair); }
.industry__head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); }
.industry__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin-bottom: .8rem; }
.industry__intro { color: #3a4160; margin: 0 auto; }
.industry__reach { display: inline-flex; align-items: center; gap: 10px; margin: 1.4rem 0 0; padding: 9px 18px 9px 14px; border: 1px solid var(--hair); border-radius: 999px; background: #fff; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); font-weight: 500; }
.industry__reach svg { width: 20px; height: 20px; color: var(--dusty); animation: spin 30s linear infinite; }
.industry__label { text-align: center; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dusty-text); font-weight: 500; margin: 0 0 1.2rem; }
.industry__grid { list-style: none; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.icard { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 28px 12px 24px; background: #fff; border: 1px solid var(--hair); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.icard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(140% 120% at 50% 0%, #0d1a5c, #000435 65%); transform: translateY(101%); transition: transform .55s var(--ease); z-index: 0; }
.icard > * { position: relative; z-index: 1; transition: color .45s var(--ease); }
.icard__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(192, 196, 204, .7); color: var(--navy); }
.icard__icon svg { width: 28px; height: 28px; }
.icard__name { font-family: var(--serif); font-size: 1.12rem; font-weight: 500; line-height: 1.2; color: var(--navy); }
.icard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(0, 4, 53, .45); border-color: var(--navy); }
.icard:hover::before { transform: none; }
.icard:hover .icard__icon, .icard:hover .icard__name { color: #fff; }
.icard:hover .icard__icon { border-color: rgba(192, 196, 204, .5); }
.industry__prev { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 14px; }
.industry__prev li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 14px; border: 1px solid var(--hair); border-radius: 999px; font-family: var(--serif); font-size: 1.05rem; color: var(--navy); background: transparent; }
.industry__prev svg { width: 20px; height: 20px; color: var(--dusty); }
.industry__closing { text-align: center; max-width: 680px; margin: clamp(28px, 4vw, 44px) auto 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--navy); }
@media (max-width: 1100px) { .industry__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .industry__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .icard { padding: 22px 10px 18px; } .icard__name { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .industry__reach svg { animation: none; } .icard::before { transition: none; } }

/* Project kind: service vs program */
.init__kind { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 .7rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--dusty); }
.init__kind::before { content: ""; width: 34px; height: 1px; background: var(--dusty); }
.init h3 { margin-bottom: .5rem; }
.init__tag { margin: 0 0 1.4rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ---------- Side index: a silver thread with diamond markers ---------- */
.tabs { right: 26px; }
.tabs ol { position: relative; gap: 0; padding: 6px 0; }
.tabs ol::before, .tabs ol::after { content: ""; position: absolute; right: 8px; top: 23px; bottom: 23px; width: 1px; transform-origin: top; }
.tabs ol::before { background: linear-gradient(to bottom, transparent, rgba(192, 196, 204, .9) 8%, rgba(192, 196, 204, .9) 92%, transparent); }
.tabs ol::after { background: linear-gradient(to bottom, var(--dusty), var(--navy)); transform: scaleY(var(--fill, 0)); transition: transform .8s var(--ease); }
.tabs a { position: relative; height: 34px; width: 18px; padding: 0; margin-left: auto; display: grid; place-items: center; background: transparent !important; gap: 0; }
.tabs a b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.tabs a b::before { display: none; }
.tabs .gem { position: relative; z-index: 1; width: 7px; height: 7px; transform: rotate(45deg); background: var(--bg); border: 1px solid #a9b0bf; transition: all .45s var(--ease); }
.tabs a:hover .gem, .tabs a:focus-visible .gem { border-color: var(--navy); transform: rotate(45deg) scale(1.3); }
.tabs a.is-past .gem { background: var(--dusty); border-color: var(--dusty); }
.tabs a[aria-current="true"] .gem { width: 11px; height: 11px; background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 4px rgba(90, 134, 173, .18), 0 0 0 9px rgba(90, 134, 173, .07); }
.tabs a[aria-current="true"] .gem::after { content: ""; position: absolute; inset: -6px; border: 1px solid rgba(90, 134, 173, .45); animation: gemPulse 2.6s var(--ease) infinite; }
@keyframes gemPulse { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.7); } }
.tabs a span { position: absolute; right: 30px; top: 50%; transform: translate(6px, -50%); max-width: none !important; white-space: nowrap; opacity: 0; pointer-events: none;
  padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); border: 1px solid var(--hair); box-shadow: 0 8px 20px -10px rgba(0, 4, 53, .35);
  font-family: var(--serif); font-style: italic; font-size: .98rem; letter-spacing: 0; text-transform: none; color: var(--navy); font-weight: 500; transition: opacity .3s, transform .35s var(--ease); }
.tabs a:hover span, .tabs a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.tabs a[aria-current="true"] span { opacity: 0; }
.tabs a[aria-current="true"]:hover span { opacity: 1; }
/* over navy sections */
.tabs.on-dark ol::before { background: linear-gradient(to bottom, transparent, rgba(192, 196, 204, .45) 8%, rgba(192, 196, 204, .45) 92%, transparent); }
.tabs.on-dark ol::after { background: linear-gradient(to bottom, var(--dusty-line), #fff); }
.tabs.on-dark .gem { background: #000435; border-color: rgba(192, 196, 204, .6); }
.tabs.on-dark a.is-past .gem { background: var(--dusty-line); border-color: var(--dusty-line); }
.tabs.on-dark a[aria-current="true"] .gem { background: #fff; border-color: #fff; box-shadow: 0 0 0 4px rgba(159, 192, 222, .25), 0 0 0 9px rgba(159, 192, 222, .1); }
.tabs.on-dark a:hover, .tabs.on-dark a:focus-visible { background: transparent !important; }
.tabs a:focus-visible { outline: none; }
.tabs a:focus-visible .gem { outline: 2px solid var(--dusty); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .tabs a[aria-current="true"] .gem::after { animation: none; display: none; } .tabs ol::after { transition: none; } }
.tabs a { justify-content: center; align-content: center; }

/* Cover copy: headline, motto, intro, welcome */
.cover__name { font-size: clamp(3rem, 6.6vw, 6.4rem); }
.cover__headline { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.45rem, 2.3vw, 2.15rem); line-height: 1.25; color: #fff; margin: clamp(14px, 1.8vw, 22px) 0 0; max-width: 22em; animation: fadeUp 1s var(--ease) .35s both; }
.cover__motto { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 1.1rem 0 0; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--silver); font-weight: 500; animation: fadeUp 1s var(--ease) .45s both; }
.cover__motto i { width: 5px; height: 5px; transform: rotate(45deg); background: var(--dusty-line); }
.cover__lede { margin-top: clamp(18px, 2.2vw, 26px); font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.75; }
.cover__lede--2 { margin-top: .7rem; }
.cover__welcome { margin: 1.1rem 0 0; padding-left: 14px; border-left: 1px solid var(--dusty-line); font-family: var(--serif); font-style: italic; font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--on-navy); max-width: 32em; animation: fadeUp 1s var(--ease) .6s both; }
.cover__actions { margin-top: 1.5rem; }
.cover .btn { padding: 13px 22px; }
@media (max-width: 560px) { .cover__motto { font-size: .58rem; letter-spacing: .2em; } .cover__actions .btn { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 700px) {
  .cover__motto { flex-direction: column; align-items: flex-start; gap: 7px; }
  .cover__motto i { display: none; }
  .cover__motto span { display: inline-flex; align-items: center; gap: 10px; }
  .cover__motto span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--dusty-line); }
}

/* Motto: each phrase arrives in turn */
.cover__motto { animation: none; }
.cover__motto span, .cover__motto i { opacity: 0; animation: phraseIn 1.1s var(--ease) var(--d, .7s) both; }
.cover__motto i:nth-of-type(1) { --d: 1.05s; } .cover__motto i:nth-of-type(2) { --d: 1.6s; }
@keyframes phraseIn { from { opacity: 0; filter: blur(6px); transform: translateY(8px); letter-spacing: .4em; } to { opacity: 1; filter: none; transform: none; } }
@media (max-width: 700px) { .cover__motto span { animation-name: phraseIn; } }

/* Philosophy statement */
.statement__label { text-align: center; margin: 0 0 clamp(22px, 3vw, 34px); font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--dusty-text); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 16px; }
.statement__label::before, .statement__label::after { content: ""; width: 40px; height: 1px; background: var(--silver); }
.statement__words { display: flex; justify-content: center; align-items: center; gap: 16px; margin: clamp(26px, 3.4vw, 40px) auto 0; padding-top: clamp(20px, 2.6vw, 30px); border-top: 1px solid var(--hair); max-width: 520px; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--navy); }
.statement__words i { width: 5px; height: 5px; transform: rotate(45deg); background: var(--dusty); }
@media (prefers-reduced-motion: reduce) { .cover__motto span, .cover__motto i { animation: none; opacity: 1; } }
/* Motto stacked on every screen size */
.cover__motto { flex-direction: column; align-items: flex-start; gap: 8px; }
.cover__motto i { display: none; }
.cover__motto span { display: inline-flex; align-items: center; gap: 12px; }
.cover__motto span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--dusty-line); }

/* Journey: one Virtual Assistant role, grouped by area */
.ld__sum { margin: 0 0 1.4rem; color: #3a4160; font-size: 1.05rem; }
.ld__areas { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--hair); }
.ld__area { padding: 22px 22px 6px 0; }
.ld__area + .ld__area { padding-left: 22px; border-left: 1px solid var(--hair); }
.ld__area h4 { margin: 0 0 .9rem; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--navy); }
.ld__area .ld__list { gap: .6rem; margin: 0; }
.ld__area .ld__list li { font-size: .92rem; }
@media (max-width: 1000px) { .ld__areas { grid-template-columns: 1fr 1fr; } .ld__area:nth-child(3) { padding-left: 0; border-left: 0; } .ld__area:nth-child(n+3) { border-top: 1px solid var(--hair); } }
@media (max-width: 600px) { .ld__areas { grid-template-columns: 1fr; } .ld__area, .ld__area + .ld__area { padding: 18px 0 4px; border-left: 0; } .ld__area + .ld__area { border-top: 1px solid var(--hair); } }
/* Motto on one line (stacks only on small screens) */
@media (min-width: 701px) {
  .cover__motto { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 12px; white-space: nowrap; font-size: .6rem; letter-spacing: .2em; }
  .cover__motto span::before { display: none; }
  .cover__motto i { display: block; width: 4px; height: 4px; flex: none; }
}
@media (min-width: 701px) and (max-width: 1150px) { .cover__motto { font-size: .54rem; letter-spacing: .14em; gap: 9px; } }
@media (min-width: 701px) { .cover__motto i { width: 6px; height: 6px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); } }

/* Cover portraits: crossfade */
.arch__photo .arch__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s ease-out; animation: none; }
.arch__photo .arch__slide.is-on { opacity: 1; transform: scale(1); }
.arch__dots { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.arch__dots button { width: 8px; height: 8px; padding: 0; border: 1px solid rgba(192, 196, 204, .7); background: transparent; transform: rotate(45deg); cursor: pointer; transition: background .3s, border-color .3s, transform .3s; }
.arch__dots button[aria-pressed="true"] { background: #fff; border-color: #fff; transform: rotate(45deg) scale(1.25); }
.arch__dots button:focus-visible { outline: 2px solid var(--dusty-line); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .arch__photo .arch__slide { transition: opacity .01s; transform: none; } }

/* Journey detail: list heading and purpose */
.ld__h { margin: 0 0 .8rem; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--dusty-text); font-weight: 500; }
.ld__purpose { margin-top: 1.6rem; padding: 18px 0 0 1.4rem; border-left: 1px solid var(--dusty); }
.ld__purpose p { margin: 0 0 .8rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; color: var(--navy); }

/* Journey detail: sub-groups and full-width approach */
.ld__area h5 { margin: 1rem 0 .5rem; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dusty-text); font-weight: 500; }
.ld__area h4 + h5 { margin-top: 0; }
.ld__purpose--wide { grid-column: 1 / -1; margin-top: clamp(28px, 3vw, 40px); padding: 26px 0 0 1.6rem; max-width: 980px; }
.ld__purpose--wide .ld__lesson { margin-top: 1.4rem; border-left: 0; padding-left: 0; color: var(--dusty); }

.ld__orgsub { margin: .2rem 0 0; font-size: .86rem; color: var(--muted); }

/* Section intro (Projects) */
.sec-head h2 em { font-style: italic; color: var(--dusty); }
.sec-intro { max-width: 760px; margin: calc(-1 * clamp(18px, 2.4vw, 34px)) auto clamp(48px, 6vw, 80px); text-align: center; }
.sec-intro p { margin: 0; color: #3a4160; font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.8; }
.sec-intro__steps { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 1.6rem !important; padding-top: 1.4rem; border-top: 1px solid var(--hair); font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important; color: var(--navy) !important; }
.sec-intro__steps i { width: 5px; height: 5px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--dusty); }

/* Projects: multi-paragraph fields and purpose highlight */
.init dd p { margin: 0 0 .7rem; }
.init dd p:last-child { margin-bottom: 0; }
.init__highlight { position: relative; margin: 0 0 1.6rem; padding: 24px 26px; background: radial-gradient(140% 140% at 90% 0%, #0d1a5c, #000435 60%); color: #fff; overflow: hidden; }
.init__highlight::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(192, 196, 204, .22); pointer-events: none; }
.init__hl-label { margin: 0 0 .7rem; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--dusty-line); font-weight: 500; }
.init__hl-title { margin: 0 0 .5rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; color: #fff; }
.init__hl-text { margin: 0; color: var(--on-navy-muted); font-size: .95rem; }
/* Projects: keep the screenshot in view beside long text */
.init { align-items: start; }
.init__media { position: sticky; top: 110px; }
.init:hover .init__media { transform: none; }
@media (max-width: 900px) { .init__media { position: static; } }

.init__hl-title span { display: inline; }
.init__highlight .init__hl-title:has(.is-accent) span { display: block; margin-bottom: .15em; }
.init__hl-title .is-accent { color: var(--dusty-line); font-style: italic; }
.init__hl-rule { border: 0; height: 1px; background: rgba(192, 196, 204, .3); margin: 1rem 0; }
.init__hl-sign { margin: .9rem 0 0; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--dusty-line); }

.init__hl-title.is-stacked span { display: block; margin-bottom: .15em; }
.init__highlight .init__hl-text + .init__hl-rule { margin-top: 1.2rem; }
.init__hl-footer { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--dusty-line); }

/* ---------- How I work: navy SOP card ---------- */
.sec-sub { text-align: center; margin: calc(-1 * clamp(20px, 2.6vw, 36px)) auto clamp(40px, 5vw, 64px); font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--dusty); }
.sop2 { position: relative; max-width: 1040px; margin: 0 auto; padding: clamp(26px, 4vw, 52px); background: radial-gradient(130% 120% at 85% 0%, #0d1a5c, #000435 55%, #00022a); color: var(--on-navy); box-shadow: 0 60px 120px -50px rgba(0, 4, 53, .55); }
.sop2::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(192, 196, 204, .2); pointer-events: none; }
.sop2__top { display: flex; justify-content: space-between; gap: 1rem; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--dusty-line); font-weight: 500; }
.sop2__title { margin: .9rem 0 1.4rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; color: #fff; }
.sop2__meta { display: grid; grid-template-columns: repeat(5, auto); gap: 0; margin: 0 0 .6rem; border-top: 1px solid rgba(192, 196, 204, .22); border-bottom: 1px solid rgba(192, 196, 204, .22); }
.sop2__meta div { padding: 14px 16px 14px 0; }
.sop2__meta div + div { padding-left: 16px; border-left: 1px solid rgba(192, 196, 204, .14); }
.sop2__meta dt { font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--dusty-line); margin-bottom: .3rem; }
.sop2__meta dd { margin: 0; font-size: .86rem; color: #fff; line-height: 1.4; }
.sop2__steps { list-style: none; margin: 0; padding: 0; }
.sop2__step { display: grid; grid-template-columns: 46px 1fr auto; gap: 0 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid rgba(192, 196, 204, .16); }
.sop2__icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(192, 196, 204, .3); background: rgba(255, 255, 255, .03); color: var(--silver); transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease); }
.sop2__icon svg { width: 22px; height: 22px; }
.sop2__step.is-done .sop2__icon { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 0 0 6px rgba(159, 192, 222, .12); }
.sop2__body h4 { margin: 2px 0 .15rem; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: #fff; }
.sop2__tag { margin: 0 0 .45rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--dusty-line); }
.sop2__text { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--on-navy-muted); max-width: 46em; }
.sop2__no { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: rgba(192, 196, 204, .7); padding-top: 4px; }
.sop2__closing { margin: 1.6rem 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.9vw, 1.55rem); color: #fff; }
@media (max-width: 820px) { .sop2__meta { grid-template-columns: 1fr 1fr; } .sop2__meta div, .sop2__meta div + div { padding: 10px 0; border-left: 0; } .sop2__meta div:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sop2__step { grid-template-columns: 40px 1fr; } .sop2__icon { width: 40px; height: 40px; } .sop2__no { display: none; } .sop2__top { flex-direction: column; gap: .3rem; } }
/* Learning intro */
.sec-intro--learn { margin-top: 0; }
.sec-intro--learn p + p { margin-top: .9rem; }
.sec-intro__lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important; color: var(--navy) !important; padding-top: 1.2rem; margin-top: 1.4rem !important; border-top: 1px solid var(--hair); }

/* SOP steps: illustrated icons in white tiles */
.sop2__step { grid-template-columns: 76px 1fr auto; }
.sop2__icon--img { width: 76px; height: 76px; border-radius: 18px; background: #fff; border: 0; padding: 8px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.sop2__icon--img img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.75) opacity(.7); transform: scale(.9); transition: filter .7s var(--ease), transform .7s var(--ease); }
.sop2__step.is-done .sop2__icon--img { background: #fff; box-shadow: 0 0 0 6px rgba(159, 192, 222, .14), 0 10px 24px -10px rgba(0, 0, 0, .5); }
.sop2__step.is-done .sop2__icon--img img { filter: none; transform: none; }
@media (max-width: 520px) { .sop2__step { grid-template-columns: 58px 1fr; } .sop2__icon--img { width: 58px; height: 58px; border-radius: 14px; padding: 6px; } }

/* Connect: tagline, intro, icon rows */
.connect__title { margin-bottom: 1rem; }
.connect__tagline { margin: 0 auto 1.6rem; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--dusty-line); }
.connect__intro { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); color: var(--on-navy-muted); }
.connect__intro p { margin: 0 0 .8rem; font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.75; }
.connect__links a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 0 18px; }
.connect__ico { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(192, 196, 204, .3); border-radius: 50%; color: var(--silver); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.connect__ico svg { width: 22px; height: 22px; }
.connect__links a:hover .connect__ico { background: #fff; color: var(--navy); border-color: #fff; }
.connect__txt { display: flex; flex-direction: column; gap: .2rem; text-align: left; }
.connect__name { line-height: 1.1; }
.connect__links a .connect__txt small { margin-left: 0; font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.02rem; color: var(--on-navy-muted); }
.connect__addr { font-style: normal; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(192, 196, 204, .6); }
.connect__links a:hover { padding-left: 10px; }
@media (max-width: 560px) { .connect__links a { grid-template-columns: 42px 1fr auto; gap: 0 12px; } .connect__ico { width: 42px; height: 42px; } }
.connect__addr { font-family: var(--font); font-variant-numeric: lining-nums; }

/* Project viewer: video */
.file__video { display: block; width: 100%; max-height: 62dvh; background: #000; object-fit: contain; }
