:root {
  color-scheme: light;
  --paper: #f8f9ef;
  --ink: #11253b;
  --muted: #405267;
  --blue: #1744ca;
  --deep-blue: #1236a3;
  --lime: #e4f785;
  --mint: #baf1da;
  --shell: 1320px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, button:focus-visible { outline: 3px solid #a94414; outline-offset: 5px; }
button { font: inherit; }
p { margin: 0; line-height: 1.64; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.06em; line-height: 1.1; font-weight: 760; }
h1 { font-size: clamp(3.5rem, 7.12vw, 7.7rem); }
h2 { font-size: clamp(2.65rem, 5.65vw, 6rem); text-wrap: balance; }
h3 { font-size: clamp(1.65rem, 2.45vw, 2.55rem); letter-spacing: -.045em; line-height: 1.15; }
.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 9rem); }
.skip { position: fixed; z-index: 5; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .65rem 1rem; background: white; border-radius: .25rem; }
.skip:focus { transform: translateY(0); }

.header { background: var(--paper); border-bottom: 1px solid #182e4429; position: sticky; top: 0; z-index: 3; }
.bar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.15rem; }
.brand { display: inline-block; }
.brand img { width: clamp(145px, 15vw, 190px); height: auto; }
.bar nav, .footer nav { display: flex; align-items: center; gap: clamp(1rem, 3.25vw, 3rem); }
.bar nav a, .footer nav a { font-size: .95rem; font-weight: 660; text-decoration: none; }
.bar nav a:hover, .footer nav a:hover { color: var(--blue); text-decoration: underline; }
.bar .nav-contact { border: 1px solid var(--ink); border-radius: 999px; padding: .65rem 1.15rem; }
.bar .nav-contact:hover { background: var(--ink); color: white; text-decoration: none; }

.hero { padding-block: clamp(3.3rem, 6.9vw, 7.5rem) clamp(3.6rem, 6.3vw, 6.75rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-line { display: block; overflow: clip; padding-block: .03em .13em; }
.hero-line > * { display: block; animation: headline-rise .88s cubic-bezier(.2,.7,.2,1) both; }
.hero-line:nth-child(2) > * { animation-delay: .09s; }
.hero-line:nth-child(3) > * { animation-delay: .18s; }
.hero h1 em { color: var(--blue); font-size: .85em; font-style: normal; }
.hero-copy p { color: var(--muted); max-width: 33rem; font-size: clamp(1rem, 1.22vw, 1.13rem); }
.hero-copy h1 + p { margin-top: clamp(1.6rem, 2.6vw, 2.45rem); }
.hero-copy .lead, .hero-copy .actions { animation: enter .66s .29s both; }
.hero-copy .actions { animation-delay: .36s; }
p.lead { color: var(--ink); font-weight: 560; font-size: clamp(1.14rem, 1.62vw, 1.48rem); line-height: 1.49; }

.hero-gallery { position: relative; isolation: isolate; padding: 0 .9rem 1.05rem 0; animation: gallery-rise 1s .12s cubic-bezier(.2,.7,.2,1) both; }
.hero-gallery::before { content: ""; position: absolute; z-index: -1; inset: 1.1rem 0 0 1.15rem; border-radius: 49% 49% 1.2rem 1.2rem / 34% 34% 1.2rem 1.2rem; background: var(--blue); transition: transform .65s cubic-bezier(.2,.7,.2,1), background-color .55s; }
.hero-photo { position: relative; overflow: hidden; aspect-ratio: 1.21; border-radius: 49% 49% 1.2rem 1.2rem / 34% 34% 1.2rem 1.2rem; background: #c9d9e7; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; opacity: 1; z-index: 1; transition: opacity .72s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.hero-spark { position: absolute; right: -.85rem; top: 1%; width: clamp(4rem, 9vw, 8.4rem); aspect-ratio: 1; background: var(--lime); clip-path: polygon(50% 0%, 59% 34%, 85% 15%, 66% 41%, 100% 50%, 66% 59%, 85% 85%, 59% 66%, 50% 100%, 41% 66%, 15% 85%, 34% 59%, 0 50%, 34% 41%, 15% 15%, 41% 34%); transform: rotate(13deg); transition: transform .55s; pointer-events: none; }
.hero-orbit { position: absolute; left: -.85rem; bottom: .2rem; width: clamp(2.25rem, 6vw, 5.7rem); aspect-ratio: 1; border: clamp(3px, .45vw, 7px) solid #89e5c4; border-radius: 50%; transform: translate(-15%, 20%) scaleY(.56) rotate(-18deg); transition: transform .75s cubic-bezier(.2,.7,.2,1); pointer-events: none; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 51px; padding: .76rem 1.22rem; border-radius: 999px; border: 1px solid transparent; font-size: .94rem; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-3px); }
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--deep-blue); }
.secondary { border-color: var(--ink); color: var(--ink); }
.secondary:hover { background: var(--ink); color: white; }

.work-band { display: flex; justify-content: center; align-items: center; gap: clamp(.55rem, 6vw, 7rem); overflow: hidden; padding: clamp(.8rem, 2.5vw, 1.8rem) .75rem; border-block: 1px solid var(--ink); background: var(--lime); color: var(--ink); font-size: clamp(1.35rem, 4.2vw, 3.65rem); line-height: 1; font-weight: 760; letter-spacing: -.07em; white-space: nowrap; }
.band-spark { flex: 0 0 auto; width: clamp(.7rem, 2vw, 1.65rem); aspect-ratio: 1; background: var(--blue); clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%); }

.editorial, .business-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 8vw, 9rem); align-items: start; }
.editorial h2, .business h2 { text-wrap: initial; }
.section-label { margin-bottom: 1.2rem; color: var(--blue); font-weight: 730; font-size: .94rem; }
.prose { color: var(--muted); font-size: clamp(1.02rem, 1.26vw, 1.18rem); }
.prose h2 { color: var(--ink); margin-bottom: 1.4rem; text-wrap: initial; }
.prose p + p { margin-top: 1rem; }
.purpose .prose { padding-top: clamp(0px, 2.7vw, 2.8rem); }

.priorities { position: relative; background: #edf2ff; border-block: 1px solid #152e4626; }
.priorities-intro { align-items: end; }
.priority-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: clamp(2rem, 4vw, 4rem); }
.priority-grid article { min-width: 0; padding: clamp(1.25rem, 3vw, 2.65rem); border: 1px solid var(--ink); border-radius: 1.6rem; background: var(--mint); transition: transform .28s cubic-bezier(.2,.75,.2,1), box-shadow .28s; }
.priority-grid article:nth-child(2) { background: var(--lime); }
.priority-grid article:nth-child(3) { background: #e2eaff; }
@media (hover: hover) and (pointer: fine) {
  .priority-grid article:hover { transform: translateY(-7px); box-shadow: 0 8px 0 var(--ink); }
}
.priority-grid h3 { margin-bottom: .85rem; }
.priority-grid p { font-size: 1.05rem; }
.symbol { position: relative; display: block; width: 56px; height: 48px; margin-bottom: clamp(1.6rem, 4vw, 4rem); }
.symbol i { position: absolute; display: block; border-radius: 4px; background: var(--blue); }
.access i:nth-child(1) { width: 36px; height: 37px; top: 2px; left: 7px; background: transparent; border: 3px solid var(--ink); }
.access i:nth-child(2) { width: 21px; height: 33px; left: 10px; top: 11px; transform: skewY(17deg); }
.access i:nth-child(3) { left: 31px; bottom: 6px; width: 20px; height: 3px; background: var(--ink); }
.development i { bottom: 4px; width: 12px; border: 2px solid var(--blue); }
.development i:nth-child(1) { left: 3px; height: 15px; background: transparent; }
.development i:nth-child(2) { left: 21px; height: 27px; background: transparent; }
.development i:nth-child(3) { left: 39px; height: 42px; }
.value i { height: 29px; width: 29px; border-radius: 50%; top: 8px; }
.value i:nth-child(2) { left: 14px; background: #a1afe7; }
.value i:nth-child(3) { left: 28px; background: transparent; border: 3px solid var(--blue); }

.business { color: #fff; background: var(--blue); }
.business .section-label, .business-line { color: var(--lime); }
.business .prose { color: #f1f4ff; }
.business p.lead { color: #fff; }
.business-line { font-weight: 655; font-size: clamp(1.28rem, 2.25vw, 2rem); margin: 1.2rem 0 1.65rem; line-height: 1.25; letter-spacing: -.035em; }
.mint { color: var(--ink); background: var(--lime); }
.mint:hover { background: white; }
.business-note { border-top: 1px solid #ffffff6b; padding-top: 1rem; }

.potential-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.25rem, 8vw, 8rem); align-items: center; }
.potential-photo { position: relative; isolation: isolate; border-radius: 1.25rem 5.5rem 1.25rem 5.5rem; }
.potential-photo::before { content: ""; position: absolute; z-index: -1; inset: 1rem .9rem -.9rem -.9rem; border-radius: inherit; background: var(--mint); }
.potential-photo img { width: 100%; height: auto; aspect-ratio: 1.01; object-fit: cover; border-radius: inherit; }

.contact { position: relative; isolation: isolate; overflow: clip; background: var(--mint); padding-top: clamp(3rem, 6vw, 6rem); }
.contact .section-label { color: #205a45; }

.email, .network-link a { text-decoration-thickness: 1px; font-weight: 680; }
.network-link { margin-top: 1.4rem; }
.contact-teaser { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.contact-teaser-card { padding: clamp(1.35rem, 3vw, 2.55rem); border: 1px solid var(--ink); border-radius: 1.8rem; background: var(--paper); box-shadow: .55rem .55rem 0 #72c8aa; }
.contact-teaser-card .button { margin-top: 1.25rem; }
.contact-teaser-card .network-link { border-top: 1px solid #182e4429; padding-top: 1rem; color: var(--muted); }
.contact-sweep { position: relative; height: clamp(2.6rem, 6.5vw, 6.6rem); overflow: clip; pointer-events: none; }
.contact-sweep span { position: absolute; inset: 0 -10% -1px; background: var(--mint); border-radius: 67% 43% 0 0 / 100% 84% 0 0; transform-origin: bottom; }

.contact-page-hero { overflow: clip; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.contact-page-copy { padding-top: clamp(1rem, 4vw, 4rem); animation: enter .65s both; }
.contact-page-copy h1 { font-size: clamp(3.2rem, 6.5vw, 6.75rem); max-width: 9ch; }
.contact-page-copy .lead { margin-top: 1.55rem; max-width: 26rem; }
.contact-panel { position: relative; isolation: isolate; display: grid; align-items: end; padding: clamp(2.6rem, 5vw, 5rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem); border: 1px solid var(--ink); border-radius: 2.3rem 7rem 2.3rem 2.3rem; background: var(--blue); box-shadow: .65rem .65rem 0 #24415d; animation: enter .7s .12s both; }
.door-art { position: absolute; z-index: -1; inset: 0; overflow: clip; border-radius: inherit; pointer-events: none; }
.door-art span { position: absolute; display: block; }
.door-art span:nth-child(1) { width: 55%; height: 88%; right: 13%; top: 15%; background: var(--mint); border-radius: 200px 200px 0 0; transform: rotate(14deg); }
.door-art span:nth-child(2) { width: 43%; height: 76%; right: 38%; top: 24%; background: var(--lime); border-radius: 200px 200px 0 0; transform: rotate(-18deg); }
.door-art span:nth-child(3) { width: 1.15rem; aspect-ratio: 1; top: 20%; right: 23%; border-radius: 50%; background: var(--blue); }
.contact-panel-card { padding: clamp(1.2rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--ink); border-radius: 1.35rem; }
.contact-network h2 { font-size: clamp(1.65rem, 3.15vw, 3rem); letter-spacing: -.055em; text-wrap: initial; }
.contact-panel-card p { margin-top: .7rem; color: var(--muted); }
.contact-network { padding-block: clamp(2.4rem, 6vw, 5rem); background: var(--mint); border-top: 1px solid #182e4429; }
.contact-network .button { margin-top: 1rem; }

.footer { color: var(--muted); padding: 2.7rem 0 1.4rem; border-top: 1px solid var(--ink); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-bottom: 2rem; gap: 1rem 2rem; }
.footer-top p { margin-top: .55rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem 1.2rem; flex-wrap: wrap; border-top: 1px solid #182e4429; padding-top: 1.3rem; font-size: .87rem; }
.footer-bottom nav { flex-wrap: wrap; gap: .65rem 1.15rem; }
.footer-bottom nav a { font-size: .87rem; }
.footer a[aria-current="page"] { text-decoration: underline; }
.policy-heading { padding-block: clamp(3rem, 7vw, 6.5rem); background: #edf2ff; border-bottom: 1px solid #182e4429; }
.policy-heading h1 { font-size: clamp(2.9rem, 6vw, 6rem); overflow-wrap: anywhere; }
.policy-heading .lead { margin-top: 1rem; max-width: 39rem; }
.privacy { max-width: 780px; padding-block: clamp(1.4rem, 4vw, 3.4rem) clamp(3.3rem, 7vw, 6rem); }
.privacy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2rem 0 .75rem; text-wrap: initial; }


/* Section graphics move once as they enter the viewport. */
.section-enter > .shell { animation: enter .62s cubic-bezier(.2,.7,.2,1); }
.work-band.section-enter > span { animation: band-arrive .62s cubic-bezier(.21,.78,.27,1.2) both; }
.work-band.section-enter > span:nth-child(2) { animation-delay: .055s; }
.work-band.section-enter > span:nth-child(3) { animation-delay: .11s; }
.work-band.section-enter > span:nth-child(4) { animation-delay: .165s; }
.work-band.section-enter > span:nth-child(5) { animation-delay: .22s; }
.purpose-stroke { width: clamp(5.5rem, 14vw, 12rem); height: .55rem; margin-top: 1.4rem; border-radius: 999px; background: linear-gradient(90deg, var(--blue) 53%, #55caae 53%); transform-origin: left; }
.section-enter .purpose-stroke { animation: stroke-out .85s .12s cubic-bezier(.2,.7,.2,1) both; }
.priorities.section-enter .symbol { animation: symbol-pop .58s .08s cubic-bezier(.21,.78,.27,1.24) both; }
.priorities.section-enter article:nth-child(2) .symbol { animation-delay: .2s; }
.priorities.section-enter article:nth-child(3) .symbol { animation-delay: .32s; }
.business { position: relative; isolation: isolate; overflow: clip; }
.business-motion { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.business-motion span { position: absolute; width: clamp(13rem, 29vw, 31rem); aspect-ratio: 1; bottom: clamp(-16rem, -12vw, -5rem); border: 1px solid #cee3ff52; border-radius: 50%; }
.business-motion span:nth-child(1) { left: -8%; }
.business-motion span:nth-child(2) { left: 1%; }
.business-motion span:nth-child(3) { left: 10%; }
.business.section-enter .business-motion span { animation: rings-in 1.05s .02s cubic-bezier(.2,.7,.2,1) both; }
.business.section-enter .business-motion span:nth-child(2) { animation-delay: .12s; }
.business.section-enter .business-motion span:nth-child(3) { animation-delay: .22s; }
.potential-frame { border-radius: inherit; overflow: hidden; }
.potential.section-enter .potential-frame img { animation: photo-settle 1.18s cubic-bezier(.2,.7,.2,1) both; }
.potential-accent { position: absolute; top: -.7rem; right: .4rem; width: clamp(2rem, 5vw, 4rem); aspect-ratio: 1; background: var(--lime); border-radius: 50%; }
.potential.section-enter .potential-accent { animation: symbol-pop .6s .2s cubic-bezier(.21,.78,.27,1.24) both; }

/* Graphic accents carry the palette from one section into the next. */
.priority-confetti { position: absolute; z-index: 1; right: var(--gutter); top: 0; display: flex; align-items: center; gap: .45rem; transform: translateY(-50%); pointer-events: none; }
.priority-confetti i { display: block; width: clamp(1.65rem, 4.5vw, 4rem); aspect-ratio: 1; border: 1px solid var(--ink); border-radius: .5rem; background: var(--mint); transform: rotate(-18deg); }
.priority-confetti i:nth-child(2) { border-radius: 50%; background: var(--lime); transform: translateY(.35rem); }
.priority-confetti i:nth-child(3) { background: var(--blue); transform: rotate(20deg); }
.priorities.section-enter .priority-confetti i { animation: confetti-in .8s cubic-bezier(.22,.76,.28,1.22) both; }
.priorities.section-enter .priority-confetti i:nth-child(2) { animation-delay: .09s; }
.priorities.section-enter .priority-confetti i:nth-child(3) { animation-delay: .18s; }
.priorities.section-enter article { animation: card-in .7s cubic-bezier(.2,.72,.2,1) backwards; }
.priorities.section-enter article:nth-child(2) { animation-delay: .095s; }
.priorities.section-enter article:nth-child(3) { animation-delay: .19s; }

.business-ripple { position: absolute; z-index: -1; inset: -1px 0 auto; height: clamp(1.1rem, 4.5vw, 4.8rem); background: #edf2ff; clip-path: ellipse(66% 87% at 31% 0%); transform-origin: top; pointer-events: none; }
.business.section-enter .business-ripple { animation: ripple-in 1s cubic-bezier(.16,.76,.3,1) both; }
.business.section-enter .business-line { animation: enter .8s .17s both; }

.potential { position: relative; isolation: isolate; }
.potential-fold { position: absolute; z-index: -1; left: 0; right: 0; top: -1px; height: clamp(.75rem, 2.8vw, 2.85rem); background: linear-gradient(100deg, var(--blue) 6%, var(--blue) 58%, #8bddd0 58%, var(--mint)); clip-path: polygon(0 0, 100% 0, 100% 28%, 58% 100%, 0 25%); pointer-events: none; transform-origin: top; }
.potential.section-enter .potential-fold { animation: ripple-in .88s cubic-bezier(.16,.76,.3,1) both; }

.contact-motion { position: absolute; z-index: -1; bottom: -4rem; left: 4%; display: flex; align-items: flex-end; gap: .55rem; pointer-events: none; }
.contact-motion i { display: block; width: clamp(3.4rem, 8vw, 8rem); height: clamp(7.5rem, 14vw, 14rem); border: 1px solid #31836c57; border-radius: 100vw 100vw 0 0; transform: rotate(-15deg); }
.contact-motion i:nth-child(2) { height: clamp(8.2rem, 16vw, 16rem); background: #daefae65; }
.contact-motion i:nth-child(3) { height: clamp(8.8rem, 18vw, 18rem); }
.contact.section-enter .contact-motion i { animation: door-in .85s cubic-bezier(.2,.76,.24,1.15) both; }
.contact.section-enter .contact-motion i:nth-child(2) { animation-delay: .10s; }
.contact.section-enter .contact-motion i:nth-child(3) { animation-delay: .20s; }

@keyframes confetti-in {
  from { opacity: .3; translate: 1.1rem 1.25rem; scale: .5; }
  to { opacity: 1; translate: 0; scale: 1; }
}
@keyframes card-in {
  from { opacity: .66; translate: 0 1.75rem; }
  to { opacity: 1; translate: 0; }
}
@keyframes ripple-in {
  from { transform: scaleY(.18); }
  to { transform: scaleY(1); }
}
@keyframes door-in {
  from { opacity: 0; translate: -.85rem 2.75rem; }
  to { opacity: 1; translate: 0; }
}

@keyframes headline-rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes gallery-rise {
  from { opacity: 0; transform: translateY(2rem) scale(.965) rotate(-2deg); }
  to { opacity: 1; transform: none; }
}
@keyframes band-arrive {
  from { opacity: .2; transform: translateY(.65em) rotate(-10deg); }
  to { opacity: 1; transform: none; }
}
@keyframes stroke-out { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes symbol-pop {
  from { opacity: .3; transform: translateY(10px) scale(.62) rotate(-14deg); }
  to { opacity: 1; transform: none; }
}
@keyframes rings-in {
  from { opacity: 0; transform: translate(-4rem, 4rem) scale(.8); }
  to { opacity: 1; transform: none; }
}
@keyframes photo-settle { from { transform: scale(1.095); } to { transform: scale(1); } }
@keyframes enter {
  from { opacity: .74; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .hero-grid { gap: 2rem; }
  h1 { font-size: clamp(3rem, 6.5vw, 5.2rem); }
}
@media (max-width: 760px) {
  .hero-grid, .editorial, .business-grid, .potential-grid, .contact-teaser, .contact-page-grid { grid-template-columns: 1fr; }
  .contact-panel { margin-right: .65rem; }
  .hero-grid { gap: 2rem; }
  h1 { font-size: clamp(3.05rem, 11vw, 5.75rem); }
  .hero-gallery { margin-inline: auto; max-width: 560px; width: 100%; }
  .hero-photo { aspect-ratio: 1.18; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-grid article { padding: 1.65rem; }
  .potential-photo { margin-left: .55rem; }
  .potential-photo::before { inset: .6rem .7rem -.6rem -.55rem; }
  .potential-photo img { aspect-ratio: 1.3; }
}
@media (max-width: 490px) {
  .bar { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: .85rem .6rem; gap: .55rem; }
  .bar nav { width: 100%; justify-content: space-between; gap: .6rem; }
  .bar nav a { font-size: .86rem; white-space: nowrap; }
  .bar .nav-contact { padding: .35rem .59rem; }
  .footer nav { flex-wrap: wrap; gap: .7rem 1rem; }
  .hero { padding-top: 2.3rem; }
  .work-band { gap: clamp(.4rem, 2.5vw, .8rem); }
  .hero-grid { gap: 1.55rem; }
  .hero-copy p.lead { font-size: 1.09rem; }
  .hero-copy h1 + p { margin-top: 1.25rem; }
  .actions { margin-top: 1.2rem; }

}

/* Scroll drives the handoff graphics on browsers that support view timelines. */
@supports (animation-timeline: view()) {
  .work-band { view-timeline-name: --band; }
  .band-word > span { display: block; animation: band-travel linear both; animation-timeline: --band; animation-range: entry 0% exit 100%; }
  .band-word:nth-child(3) > span { animation-name: band-center; }
  .band-word:nth-child(5) > span { animation-name: band-return; }
  .work-band.section-enter > .band-spark {
    animation: band-turn linear both;
    animation-timeline: --band;
    animation-range: entry 0% exit 100%;
  }
  .business .business-ripple, .potential .potential-fold, .contact-sweep span {
    animation: section-sweep linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
  .business.section-enter .business-ripple, .potential.section-enter .potential-fold {
    animation: section-sweep linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
}

@keyframes band-travel {
  0% { transform: translateY(.25em); }
  42%, 62% { transform: none; }
  100% { transform: translateY(.25em); }
}
@keyframes band-center {
  0% { transform: translateY(.45em) scale(.82); }
  42%, 62% { transform: none; }
  100% { transform: translateY(-.36em) scale(.9); }
}
@keyframes band-return {
  0% { transform: translateY(.25em); }
  42%, 62% { transform: none; }
  100% { transform: translateY(.25em); }
}
@keyframes band-turn {
  from { transform: scale(.55) rotate(-90deg); }
  to { transform: scale(1.13) rotate(135deg); }
}
@keyframes section-sweep {
  0% { transform: scaleY(.22); }
  48% { transform: scaleY(1.14); }
  100% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.contact-alternative { margin-top: 1.5rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-alternative a { font-weight: 680; color: var(--blue); }
.contact-panel-card h2 { font-size: clamp(1.8rem, 3.3vw, 3.1rem); }
.contact-panel-card .form-intro { margin-bottom: 1.25rem; }
.enquiry-form { display: grid; gap: 1rem; }
.enquiry-form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.enquiry-form label { display: block; font-size: .94rem; font-weight: 680; }
.enquiry-form .optional { font-weight: 450; color: var(--muted); }
.enquiry-form :is(input, select, textarea) { display: block; width: 100%; min-height: 46px; margin-top: .38rem; padding: .65rem .75rem; border: 1px solid #60788f; border-radius: .65rem; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 480; }
.enquiry-form select { appearance: none; padding-right: 2.1rem; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right .88rem center / .37rem .37rem no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) right .51rem center / .37rem .37rem no-repeat #fff; }
.enquiry-form textarea { resize: vertical; min-height: 7rem; }
.enquiry-form :is(input, select, textarea):focus-visible { outline: 3px solid #a94414; outline-offset: 2px; }
.contact-panel-card .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.contact-panel-card .form-actions p { margin: 0; font-size: .9rem; }
.form-actions .button, .form-success .button { cursor: pointer; }
.form-actions .button:disabled { cursor: wait; opacity: .65; transform: none; }
.contact-panel-card .form-error { margin: 0; padding: .75rem .9rem; border-left: 3px solid #a23922; border-radius: .25rem; background: #fbe8e1; color: #752613; }
.form-success { padding: 1.1rem; border: 1px solid #54a88b; border-radius: 1rem; background: var(--mint); }
.form-success .button { margin-top: 1rem; }
.receipt { max-width: 720px; }
.receipt .lead, .receipt .button { margin-top: 1.2rem; }

@media (max-width: 850px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-page-copy { padding-top: 0; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-panel { border-top-right-radius: 4rem; }
}

.cookie-banner[hidden], .cookie-notice-settings[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 8;
  inset: auto var(--gutter) max(.9rem, env(safe-area-inset-bottom));
  max-width: 76rem;
  margin-inline: auto;
  padding: clamp(.8rem, 2vw, 1.3rem) clamp(1rem, 3vw, 1.8rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 1.2rem;
  background: var(--paper);
  box-shadow: 0 .4rem 0 #1744ca, 0 1rem 2.5rem #10233a26;
}
.cookie-banner-copy { flex: 1 1 21rem; }
.cookie-banner h2, .cookie-dialog h2 { font-size: clamp(1.32rem, 2.2vw, 1.9rem); letter-spacing: -.035em; text-wrap: initial; }
.cookie-banner p, .cookie-dialog > p { margin-top: .35rem; color: var(--muted); font-size: .93rem; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cookie-actions .button { min-height: 43px; padding: .55rem .85rem; font-size: .87rem; cursor: pointer; }
.cookie-text-button { padding: .5rem .4rem; border: 0; border-radius: .25rem; background: transparent; color: var(--blue); font-size: .91rem; font-weight: 700; text-decoration: underline; text-underline-offset: .24em; cursor: pointer; }
.cookie-dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1.1rem, 3vw, 1.8rem);
  border: 1px solid var(--ink);
  border-radius: 1.3rem;
  background: var(--paper);
  color: var(--ink);
}
.cookie-dialog::backdrop { background: #11253baa; }
.cookie-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  margin-top: .75rem;
  border-top: 1px solid #182e4440;
}
.cookie-category h3, .cookie-category-title { display: block; font-size: 1.05rem; font-weight: 730; letter-spacing: -.02em; }
.cookie-category p, .cookie-category-description { display: block; margin-top: .3rem; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.cookie-status { flex: 0 0 auto; margin-top: .05rem; color: #205a45; font-size: .82rem; font-weight: 700; }
.cookie-option { cursor: pointer; }
.cookie-option input { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; accent-color: var(--blue); }
.cookie-option input:focus-visible { outline: 3px solid #a94414; outline-offset: 3px; }
.cookie-dialog .cookie-actions { margin-top: .65rem; }
.cookie-policy-link { display: inline-block; margin-top: .85rem; font-size: .87rem; }
.cookie-notice-settings { margin-top: .75rem; }

.text-link { color: var(--blue); font-weight: 700; }
.experience-hero { background: var(--paper); }
.experience-hero h1 { font-size: clamp(3rem, 6.2vw, 6.3rem); }
.experience-hero .lead { max-width: 30rem; margin-top: 1.3rem; }

.menu-toggle { display: none; }

@media (max-width: 760px) {
  :root { --gutter: clamp(1rem, 5vw, 2.4rem); scroll-padding-top: 5rem; }
  .bar:has(.menu-toggle:not([hidden])) { position: relative; min-height: 66px; flex-direction: row; align-items: center; justify-content: space-between; padding-block: .55rem; }
  .brand img { width: clamp(139px, 40vw, 172px); }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .5rem .85rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
  }
  .menu-toggle[aria-expanded="true"] { background: var(--ink); color: white; }
  .menu-icon { position: relative; width: 16px; height: 12px; }
  .menu-icon::before, .menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .menu-icon::before { top: 2px; }
  .menu-icon::after { bottom: 2px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { bottom: 5px; transform: rotate(-45deg); }
  .menu-toggle:not([hidden]) + nav {
    position: absolute;
    inset: calc(100% + .45rem) 0 auto;
    display: grid;
    gap: .3rem;
    padding: .55rem;
    border: 1px solid var(--ink);
    border-radius: 1.05rem;
    background: var(--paper);
    box-shadow: 0 .28rem 0 var(--blue), 0 .7rem 1.5rem #11253b24;
  }
  .menu-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .bar nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: .65rem .8rem;
    border-radius: .55rem;
    font-size: 1rem;
    white-space: normal;
  }
  .bar nav a[aria-current="page"] { background: #e2eaff; color: var(--deep-blue); }
  .bar nav .nav-contact { padding: .65rem .8rem; border: 0; background: var(--blue); color: white; }
  .bar nav .nav-contact[aria-current="page"] { background: var(--ink); color: white; }

  .hero { padding-block: clamp(1.85rem, 6vw, 3.25rem) 1.75rem; background: linear-gradient(160deg, var(--paper) 44%, #e2eaff); }
  .hero-grid { gap: 1.4rem; }
  .hero h1 { font-size: clamp(2.5rem, 10.9vw, 5rem); }
  .hero-copy h1 + p { margin-top: 1rem; }
  .hero-copy .lead { max-width: 33ch; font-size: clamp(1rem, 3vw, 1.2rem); line-height: 1.45; }
  .hero-copy .actions { margin-top: 1rem; gap: .35rem .65rem; }
  .hero-copy .actions .button { min-height: 44px; padding: .55rem .85rem; }
  .hero-copy .actions .secondary { border-color: transparent; color: var(--blue); text-decoration: underline; }
  .hero-copy .actions .secondary:hover { background: transparent; }
  .hero-gallery { max-width: none; padding: 0 .48rem .55rem 0; }
  .hero-gallery::before, .hero-photo { border-radius: 2rem 4.25rem 1.2rem 1.2rem; }
  .hero-photo { aspect-ratio: 1.65; }
  .hero-spark { right: .25rem; top: -.6rem; width: 2.9rem; }
  .hero-orbit { left: -.2rem; }
  .work-band { font-size: clamp(1.05rem, 4.6vw, 1.8rem); gap: clamp(.45rem, 3vw, 1.2rem); }
  .section { padding-block: clamp(2.65rem, 8vw, 4.25rem); }
  .section h2 { font-size: clamp(2.1rem, 8vw, 3.5rem); line-height: 1.12; }
  .section-label { margin-bottom: .65rem; }
  .editorial, .business-grid, .potential-grid, .contact-teaser, .contact-page-grid { gap: 1.35rem; }
  .purpose .prose { padding-top: 0; }
  .priority-grid { margin-top: 1.4rem; }
  .priority-grid article {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: .35rem .75rem;
    padding: 1.15rem;
    border-radius: 1.05rem;
  }
  .priority-grid .symbol { margin: 0; transform: scale(.83); transform-origin: top left; }
  .priority-grid h3 { margin: 0; font-size: 1.35rem; }
  .priority-grid p { font-size: .97rem; line-height: 1.5; }
  .business-line { margin-block: .8rem 1rem; }
  .potential-photo img { aspect-ratio: 1.55; }
  .contact-page-copy h1, .experience-hero h1 { font-size: clamp(2.6rem, 9vw, 4.5rem); }
  .contact-panel { padding: 1.35rem .7rem .7rem; border-radius: 1.25rem 2.75rem 1.25rem 1.25rem; box-shadow: .35rem .35rem 0 #24415d; margin-right: .35rem; }
  .contact-panel-card { padding: 1rem; border-radius: .8rem; }
  .contact-panel-card h2 { font-size: clamp(1.65rem, 5.5vw, 2.25rem); }
}

/* Keep text inside its column even at narrow widths and larger text sizes. */
h1, h2, h3, .prose, .button, .email, .network-link {
  overflow-wrap: anywhere;
}
.hero h1 { line-height: 1.01; }
.hero-copy, .contact-panel-card, .footer-top > *, .cookie-banner-copy { min-width: 0; }
.enquiry-form :is(label, input, select, textarea) { min-width: 0; }

@media (max-width: 760px) {
  .bar .menu-toggle:not([hidden]) + nav {
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .bar nav a { min-width: 0; overflow-wrap: anywhere; }
  .work-band {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: .45rem;
    line-height: 1.15;
  }
  .cookie-banner { max-height: calc(100dvh - 2rem); overflow-y: auto; }
}

@media (min-width: 361px) and (max-width: 760px) {
  .priority-grid article:has(> .symbol) { grid-template-columns: 48px minmax(0, 1fr); }
  .priority-grid article > .symbol { grid-row: span 2; }
  .priority-grid article > .symbol ~ :is(h3, p) { grid-column: 2; }
}

.priority-grid:has(.priority-example) { align-items: start; }
.priority-example { margin-top: .85rem; border-top: 1px solid #11253b45; }
.priority-example summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.priority-example summary::-webkit-details-marker { display: none; }
.priority-example summary::after { content: "+"; font-size: 1.45rem; line-height: 1; }
.priority-example[open] summary::after { content: "−"; }
.priority-example summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.priority-example > p { margin-top: .15rem; }
.network-arrow { display: inline-block; transition: transform .24s ease; }
.button:is(:hover, :focus-visible) .network-arrow { transform: translateX(.3em); }

@media (min-width: 361px) and (max-width: 760px) {
  .priority-grid article > .symbol ~ .priority-example { grid-column: 2; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: photo-reveal .9s .25s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero-gallery::before { animation: frame-open .8s .35s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero-spark { animation: spark-arrive .8s .55s ease-out backwards; }
  .priority-example[open] > p { animation: enter .25s ease-out both; }
  .priority-grid article:has(.priority-example[open]) .access i:nth-child(2) { animation: door-open .4s ease-out both; }
  .priority-grid article:has(.priority-example[open]) .development i { animation: bar-rise .4s ease-out both; transform-origin: bottom; }
  .priority-grid article:has(.priority-example[open]) .development i:nth-child(2) { animation-delay: .07s; }
  .priority-grid article:has(.priority-example[open]) .development i:nth-child(3) { animation-delay: .14s; }
  .priority-grid article:has(.priority-example[open]) .value i:nth-child(3) { animation: circle-join .4s ease-out both; }
}

@keyframes photo-reveal { from { clip-path: inset(12% 8% 10% 8% round 2rem); opacity: .5; } to { clip-path: inset(0); opacity: 1; } }
@keyframes frame-open { from { transform: translate(-.65rem, -.65rem) scale(.94); } to { transform: none; } }
@keyframes spark-arrive { from { opacity: 0; transform: scale(.55) rotate(-35deg); } to { opacity: 1; transform: rotate(13deg); } }
@keyframes door-open { from { transform: skewY(17deg); } to { transform: skewY(17deg) scaleX(.62); } }
@keyframes bar-rise { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes circle-join { from { transform: translateX(.35rem); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .button:is(:hover, :focus-visible) .network-arrow { transform: none; }
}
