/* The approved palette and typefaces remain defined in styles.css. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.refined :target { scroll-margin-top: 24px; }
.refined a, .refined button { transition: color .18s ease, background-color .18s ease; }
.refined .header-inner { min-height: 96px; }
.refined .header-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.review-strip { border-bottom: 1px solid var(--rule); padding-block: 8px; font-size: .72rem; color: var(--supporting-ink); }
.review-strip .shell { display: flex; justify-content: space-between; gap: 12px; }
.quiet-hero { position: relative; padding-block: clamp(64px, 8vw, 110px) 60px; }
.quiet-hero .eyebrow { color: var(--mineral-green); margin-bottom: 25px; }
.quiet-hero h1 { max-width: 1000px; font-size: clamp(3.2rem, 6.7vw, 6.1rem); line-height: 1.04; font-weight: 780; margin-bottom: 28px; }
.quiet-hero h1 em { display: block; font-family: inherit; font-style: normal; font-weight: 500; color: var(--mineral-green); }
.hero-word { display: inline-block; }
.hero-trace { display: flex; align-items: center; gap: 9px; width: 104px; height: 8px; margin: -6px 0 27px; }
.hero-trace span { height: 2px; flex: 1; background: var(--mineral-green); transform-origin: left; }
.hero-trace i { width: 8px; height: 8px; background: var(--mineral-green); border-radius: 50%; }
@media(prefers-reduced-motion:no-preference) {
  .hero-enter .hero-word { animation: headline-settle 1.2s cubic-bezier(.22,.68,.25,1) both; }
  .hero-enter .word-2 { animation-delay: .12s; }
  .hero-enter .word-3 { animation-delay: .24s; }
  .hero-enter .word-4 { animation-delay: .38s; }
  .hero-enter .word-5 { animation-delay: .52s; }
  .hero-enter .hero-trace span { animation: trace-draw 1.15s .38s cubic-bezier(.22,.68,.25,1) both; }
  .hero-enter .hero-trace i { animation: node-settle .65s 1s ease-out both; }
}
@keyframes headline-settle {
  from { opacity: .2; transform: translateY(.22em) rotate(.6deg); }
  to { opacity: 1; transform: none; }
}
@keyframes trace-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes node-settle { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.quiet-hero .hero-lead { max-width: 600px; margin-bottom: 28px; }
.hero-baseline { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 18px; font-size: .76rem; color: var(--supporting-ink); }
.hero-baseline span:last-child { text-align: right; }
.service-summary { padding-block: 48px 64px; }
.summary-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 30px; }
.summary-heading h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin: 0; }
.service-shortlist { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.service-shortlist a { border-top: 2px solid var(--mineral-green); padding-top: 20px; text-decoration: none; display: block; }
.service-shortlist .eyebrow { color: var(--mineral-green); }
.service-shortlist h3 { font-size: 1.48rem; margin-bottom: 12px; }
.service-shortlist p:last-child { color: var(--supporting-ink); max-width: 320px; font-size: .91rem; margin-bottom: 0; }
.service-shortlist a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.service-shortlist h3 span { display: inline-block; transition: transform .18s ease; }
.service-shortlist a:hover h3 span, .service-shortlist a:focus-visible h3 span { transform: translate(3px,-3px); }
.quiet-contact { background: var(--pine-ink); color: var(--cream); padding-block: 64px; }
.quiet-contact .shell { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.quiet-contact .eyebrow { color: var(--citrine); }
.quiet-contact h2 { font-size: clamp(2.5rem, 4.2vw, 4rem); margin-bottom: 20px; }
.quiet-contact p { max-width: 540px; color: var(--muted-pine); }
.quiet-contact .primary-link { background: var(--citrine); color: var(--pine-ink); }
.quiet-contact .primary-link span { color: var(--pine-ink); }
.quiet-contact .primary-link:hover { background: var(--cream); }
.quiet-contact :focus-visible { outline-color: var(--citrine); }
.quiet-contact .text-link:hover { color: var(--citrine); }
.quiet-contact .email-line { margin-top: 22px; margin-bottom: 12px; overflow-wrap: anywhere; }
.quiet-contact .privacy-hint { font-size: .8rem; margin: 22px 0 0; }
.compact-footer .footer-inner { padding-block: 30px; }
.compact-footer .footer-links { gap: 12px 22px; }
.plain-button { color: inherit; font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.founder-intro { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 72px; padding-block: 74px 60px; align-items: center; }
.founder-intro h1, .founder-intro h2, .services-heading h1 { font-size: clamp(3rem,5.6vw,5.2rem); margin-bottom: 20px; }
.founder-intro .eyebrow, .services-heading .eyebrow { color: var(--mineral-green); }
.founder-intro .founder-lead { max-width: 650px; font-size: 1.15rem; line-height: 1.7; }
.founder-portrait { margin: 0; border-bottom: 4px solid var(--mineral-green); }
.founder-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.founder-portrait figcaption { padding: 12px 0; font-size: .77rem; }
.founder-body { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; padding-block: 50px 80px; border-top: 1px solid var(--rule); }
.founder-body h2 { font-size: 2rem; }
.founder-body p { max-width: 670px; color: var(--supporting-ink); line-height: 1.8; }
.founder-body .profile-link-note { font-size: .8rem; margin-top: 10px; }
.founder-body .body-section + .body-section { margin-top: 40px; }
.services-heading { padding-block: 70px 52px; }
.services-heading > p:last-child { max-width: 660px; font-size: 1.1rem; color: var(--supporting-ink); }
.refined-services .focus-section { padding-block: 56px; }
.refined-services .section-intro { margin-bottom: 38px; }
.refined-services .section-intro h2, .refined-services .approach-section h2 { font-size: clamp(2.5rem,4vw,3.7rem); }
.refined-services .approach-section { padding-block: 70px; gap: 42px 64px; }

/* Two-second assembly, then a short reveal. No media, tracking or WebGL dependency. */
.brand-intro[hidden], .plain-button[hidden] { display: none; }
.brand-intro { position: fixed; inset: 0; z-index: 90; background: var(--pine-ink); color: var(--warm-paper); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; pointer-events: none; }
.intro-top, .intro-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px clamp(24px,5vw,76px); font-size: .68rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.intro-top { border-bottom: 1px solid #afc3b52e; }
.intro-bottom { border-top: 1px solid #afc3b52e; color: var(--muted-pine); }
.intro-skip { pointer-events: auto; border: 1px solid #afc3b578; color: var(--cream); background: transparent; padding: 10px 16px; min-height: 44px; cursor: pointer; font: inherit; letter-spacing: .05em; }
.intro-skip:focus-visible { outline-color: var(--citrine); }
.intro-field { position: relative; display: grid; place-items: center; perspective: 1000px; overflow: hidden; background: radial-gradient(ellipse at center,#326f5648,transparent 65%); }
.intro-field::before { content: ""; position: absolute; inset: -50%; background-image: linear-gradient(#afc3b50e 1px,transparent 1px),linear-gradient(90deg,#afc3b50e 1px,transparent 1px); background-size: 56px 56px; transform: rotate(-24deg); mask-image: radial-gradient(ellipse at center,#000,transparent 60%); }
.intro-assembly { width: min(54vw,52vh,400px); aspect-ratio: 1; position: relative; transform-style: preserve-3d; }
.intro-plate { position: absolute; inset: -8%; border: 1px solid #afc3b566; border-radius: 18%; background: linear-gradient(140deg,#28483b,#10231b); box-shadow: 0 35px 75px #0004; }
.intro-plate.back { transform: translateZ(-42px); background: var(--mineral-green); opacity: .4; }
.intro-plate.middle { transform: translateZ(-20px); opacity: .7; }
.intro-mark { position: relative; width: 100%; height: 100%; overflow: visible; transform: translateZ(10px); }
.intro-mark .piece { transform-box: fill-box; transform-origin: center; }
.intro-ring { position: absolute; width: 165%; aspect-ratio: 1; border: 1px solid #afc3b538; border-radius: 50%; left: -32.5%; top: -32.5%; transform: rotateX(70deg) translateZ(-70px); }
.is-playing { animation: intro-reveal 2.65s both; }
.is-playing .intro-assembly { animation: assembly-turn 2.15s cubic-bezier(.19,1,.22,1) both; }
.is-playing .piece { animation: piece-seat .85s cubic-bezier(.16,1,.3,1) both; }
.is-playing .piece-h { --from-x: -55px; --from-y: 5px; animation-delay: .08s; }
.is-playing .piece-cap { --from-x: 0px; --from-y: -55px; animation-delay: .16s; }
.is-playing .piece-w { --from-x: 0px; --from-y: 55px; animation-delay: .25s; }
.is-playing .piece-l { --from-x: 60px; --from-y: 15px; animation-delay: .34s; }
.is-playing .piece-node { --from-x: 30px; --from-y: -65px; animation-delay: .44s; }
.is-playing .piece-circle { animation: circle-seat 1s cubic-bezier(.16,1,.3,1) .5s both; }
@keyframes piece-seat { from { opacity: 0; transform: translate(var(--from-x),var(--from-y)) scale(.94); } to { opacity: 1; transform: translate(0,0) scale(1); } }
@keyframes circle-seat { from { opacity: 0; transform: rotate(-38deg) scale(1.2); } to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes assembly-turn { 0% { transform: rotateX(38deg) rotateY(-20deg) rotateZ(-27deg) scale(.82); } 70%,100% { transform: rotateX(8deg) rotateY(0) rotateZ(0) scale(1); } }
@keyframes intro-reveal { 0%,77% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@media(max-width:760px) {
  .refined .header-inner { gap: 16px; }
  .refined .wordmark img[src="brand/logo-horizontal.svg"] { width: 195px; }
  .refined .header-nav { gap: 18px; }
  .quiet-hero { padding-block: 55px 35px; }
  .quiet-hero h1 { font-size: clamp(3rem,8.5vw,4.4rem); }
  .hero-baseline { margin-top: 36px; }
  .summary-heading { display: block; }
  .summary-heading .text-link { display: inline-block; margin-top: 16px; }
  .service-shortlist { grid-template-columns: 1fr; gap: 26px; }
  .service-shortlist p:last-child { max-width: 520px; }
  .quiet-contact .shell { grid-template-columns: 1fr; gap: 22px; }
  .quiet-contact { padding-block: 48px; }
  .founder-intro { grid-template-columns: 1fr 220px; gap: 30px; padding-block: 48px; }
  .founder-body { grid-template-columns: 1fr; gap: 15px; }
  .intro-assembly { width: min(62vw,46vh,400px); }
}
@media(max-width:520px) {
  .refined .header-inner { flex-wrap: wrap; padding-block: 15px 8px; }
  .refined .header-nav { width: 100%; justify-content: space-between; }
  .quiet-hero h1 { font-size: clamp(2.6rem,11vw,3.7rem); }
  .hero-baseline { display: block; }
  .hero-baseline span { display: block; margin-top: 6px; }
  .hero-baseline span:last-child { text-align: left; }
  .founder-intro { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 280px; }
  .intro-top, .intro-bottom { font-size: .56rem; letter-spacing: .08em; }
  .intro-top { padding-block: 15px; }
}
.notices-main { max-width: 860px; margin-inline: auto; padding: 64px 24px 80px; }
.notices-main h1 { font-size: clamp(2.5rem,6vw,4.5rem); line-height: 1.05; letter-spacing: -.045em; margin: 20px 0 28px; }
.notices-lead { font-size: 1.2rem; line-height: 1.6; }
.notice-entry { border-top: 1px solid #c9cec2; padding: 28px 0; }
.notice-entry:first-of-type { margin-top: 40px; }
.notice-entry h2 { margin: 8px 0 12px; font-size: 1.5rem; }
.notice-entry p { line-height: 1.65; }
.notice-entry a { color: #326F56; text-decoration: underline; text-underline-offset: .2em; }
.notice-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.notice-links a { padding-block: 8px; }
.notice-entry summary { cursor: pointer; padding-block: 8px; }
.notice-entry code { overflow-wrap: anywhere; font-size: .85rem; }
.notices-main .primary-link { margin-top: 12px; }
.company-social { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.company-social a { display: inline-block; padding-block: 8px; text-underline-offset: .2em; }
.brand-film { padding-block: 36px 8px; }
.film-content { width: 100%; max-width: 560px; min-width: 0; margin-inline: 0; }
.film-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.film-heading h2 { font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.12; letter-spacing: -.035em; margin: 10px 0 0; }
.film-heading > p { max-width: 250px; margin: 0; color: #526259; }
.film-player { margin: 0; }
.film-player video { display: block; width: 100%; max-width: 100%; min-width: 0; height: auto; aspect-ratio: 16 / 9; background: #0D1B18; border-radius: 8px; }
.film-player video:focus-visible, .film-transcript summary:focus-visible { outline: 3px solid #326F56; outline-offset: 5px; }
.film-player figcaption { color: #526259; font-size: .88rem; line-height: 1.6; padding-block: 12px; }
.film-transcript { max-width: 850px; margin-top: 8px; }
.film-transcript summary { cursor: pointer; padding-block: 12px; text-decoration: underline; text-underline-offset: .25em; }
.film-transcript p, .film-transcript li { line-height: 1.7; }
.film-transcript li + li { margin-top: 10px; }
@media(max-width:520px) { .brand-film { padding-top: 36px; } .film-heading { display: block; } .film-heading > p { margin-top: 16px; max-width: none; } }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .brand-intro { display: none !important; }
  .brand-intro *, .brand-intro { animation: none !important; }
  #replay-intro { display: none; }
  .refined *, .refined *::before { transition: none !important; }
}
