/* Flow material and motion system. A restrained web approximation, not Apple's renderer. */
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --content-width: 1328px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius-card: 24px; --radius-control: 999px;
  --motion-press: 160ms; --motion-hover: 240ms; --motion-menu: 360ms; --motion-layout: 480ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.2, .85, .25, 1.12);
  --glass-solid: #f4f4ef;
  --glass-fill: rgb(244 244 239 / .78);
  --glass-edge: rgb(255 255 255 / .8);
  --glass-shadow: 0 8px 32px -16px rgb(22 25 20 / .22), 0 1px 3px rgb(22 25 20 / .05);
}
html { scroll-padding-top: 116px; scrollbar-gutter: stable; }
body { padding-top: 100px; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--content-width); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.hero { padding-top: var(--space-12); }
h1 { font-size: clamp(68px, 8.9vw, 136px); line-height: 1.02; margin: 28px 0 32px; }
.hero-bottom { gap: var(--space-8); margin-bottom: var(--space-12); }
.hero-bottom p { max-width: 340px; line-height: 1.65; }
.hero-art { border-radius: var(--radius-card); }
.hero-art::before, .orange, .ticker div { animation: none; }
.ticker div { margin-inline: auto; }
.section { padding-block: var(--space-24); }
.section-top { margin-bottom: var(--space-8); }
.split { gap: var(--space-16); margin-bottom: var(--space-12); }
.intro { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; }
.work-section { border-top: 0; }
.services { gap: var(--space-6); }
.services article.service-card { padding: var(--space-8); border-radius: var(--radius-card); }
.services article.service-card:hover { transform: none; border-color: var(--line); box-shadow: none; }
.services .tier { padding: var(--space-6); }
.services .service-card h3 { line-height: 1.12; }
.service-num { color: #181b17; }

/* Solid first; blur is an enhancement. Keep content surfaces opaque. */
.glass-material {
  background: var(--glass-solid);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgb(255 255 255 / .65), inset 0 -1px 0 rgb(32 33 31 / .06);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-material {
    background: var(--glass-fill);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    backdrop-filter: blur(20px) saturate(135%);
  }
}
.header {
  position: fixed; z-index: 20; top: 16px; left: 0; right: 0;
  width: calc(100% - var(--gutter) * 2); max-width: var(--content-width);
  height: 72px; margin: 0 auto; padding: 10px 14px 10px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  border-radius: 38px; isolation: isolate;
  transition: color var(--motion-hover) ease, background-color var(--motion-hover) ease, box-shadow var(--motion-hover) ease;
}
.header::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(135deg, rgb(255 255 255 / .28), transparent 48%, rgb(255 255 255 / .08));
}
.header.is-scrolled { --glass-fill: rgb(244 244 239 / .88); box-shadow: 0 12px 36px -18px #20211f40, inset 0 1px 0 #fff9; }
.header[data-tone="dark"] {
  --glass-solid: #2b2e27; --glass-fill: rgb(36 40 32 / .88); --glass-edge: rgb(255 255 255 / .2);
  color: var(--paper);
}
.header .logo { font-size: 43px; letter-spacing: -4px; justify-self: start; padding-bottom: 5px; }
.header nav { display: flex; gap: 4px; position: relative; padding: 4px; font-size: 13px; isolation: isolate; }
.header nav a { min-height: 44px; display: flex; align-items: center; padding: 0 19px; border-radius: 24px; white-space: nowrap; }
.header nav a::after { display: none; }
.header nav::before {
  content: ''; position: absolute; left: 0; top: 4px; height: 44px; width: var(--nav-width, 0px);
  transform: translateX(var(--nav-x, 0px)); opacity: var(--nav-opacity, 0);
  background: rgb(32 33 31 / .07); border-radius: 24px; z-index: -1;
  box-shadow: inset 0 1px 0 #fff6;
  transition: transform var(--motion-menu) var(--ease-spring), width var(--motion-menu) var(--ease-spring), opacity var(--motion-hover) ease;
}
.header[data-tone="dark"] nav::before { background: #ffffff1c; }
.header nav a[aria-current] { font-weight: 600; }
.nav-cta {
  justify-self: end; border: 0; border-radius: var(--radius-control); padding: 0 20px;
  min-height: 46px; gap: 28px; align-items: center; background: var(--ink); color: var(--paper);
}
.header[data-tone="dark"] .nav-cta { background: var(--paper); color: var(--ink); }
.header-glint {
  position: absolute; inset: 1px; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity var(--motion-hover) ease;
}
.header-glint::before {
  content: ''; position: absolute; left: 0; top: -75px; width: 240px; height: 220px;
  background: radial-gradient(ellipse, #ffffff6b, transparent 68%);
  transform: translateX(var(--light-x, -300px));
}
.header.is-lit .header-glint { opacity: 1; }
.button, .nav-cta, .service-cta, .contact-arrow, .contact-method, .close, .preview-toggle, .case-nav a, .menu {
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform var(--motion-press) var(--ease-spring), background-color var(--motion-hover) ease, color var(--motion-hover) ease, box-shadow var(--motion-hover) ease;
}
.button { border-radius: var(--radius-control); padding: 18px 24px; min-height: 56px; }
.button:hover { transform: none; background: var(--ink); }
.button span, .nav-cta span, .service-cta span, .contact-arrow svg, .contact-method .method-arrow { transition: transform var(--motion-hover) var(--ease-out); }
.service-cta:hover { color: var(--ink); background: var(--paper); }
.contact-arrow:hover { background: transparent; }
.button:active, .nav-cta:active, .service-cta:active, .contact-arrow:active, .contact-method:active, .close:active, .preview-toggle:active, .menu:active { transform: scale(.97); }
.work-grid .project { border-radius: var(--radius-card); transition: transform var(--motion-hover) var(--ease-out), box-shadow var(--motion-hover) ease; }
.work-grid .project-meta { padding: 20px; }
.project:active { transform: scale(.99); }
.reveal { transition: opacity var(--motion-layout) var(--ease-out), transform var(--motion-layout) var(--ease-out); transform: translateY(12px); }
.reveal.visible { transform: none; }
.preview-frame { transition: opacity var(--motion-layout) var(--ease-out); }
.preview-dot { min-width: 44px; }
.preview-dot::before { transition: width var(--motion-hover) var(--ease-spring), background-color var(--motion-hover) ease; }
.contact { --ink: #181b17; color: var(--ink); padding-block: var(--space-24) var(--space-16); }
.contact h2 { font-size: clamp(72px, 9.4vw, 136px); }
.contact-line { margin-block: 32px 48px; }
.contact-bottom { align-items: flex-start; border-color: #20211f45; padding-top: 32px; }
.contact-links { display: grid; gap: 12px; width: min(100%, 520px); }
.contact-bottom .contact-method {
  display: flex; align-items: center; gap: 20px; min-height: 72px; padding: 14px 20px;
  border: 1px solid #20211f3d; border-radius: 18px; background: #ffffff12;
}
.contact-method > span:first-child { display: grid; gap: 4px; min-width: 0; }
.contact-method small { font-size: 10px; letter-spacing: .12em; font-weight: 600; }
.contact-method strong { font-size: clamp(14px, 1.4vw, 18px); font-weight: 500; overflow-wrap: anywhere; }
.method-arrow { margin-left: auto; font-size: 24px; flex-shrink: 0; }
.contact-bottom .instagram-link { justify-self: start; font-size: 13px; min-height: 44px; display: flex; align-items: center; border-bottom: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 5px; }
.contact a:focus-visible { outline-color: var(--ink); }
footer { min-height: 144px; }
footer > a:not(.logo) { min-height: 44px; display: inline-flex; align-items: center; }
#detail { border: 1px solid #ffffffb3; border-radius: 28px; box-shadow: 0 32px 100px #0005; overscroll-behavior: contain; }
#detail::backdrop { background: rgb(22 25 20 / .48); backdrop-filter: none; }
#detail[open]::backdrop { animation: backdrop-in var(--motion-menu) ease both; }
#detail.is-closing::backdrop { animation: backdrop-out 180ms ease both; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { from { opacity: 1; } to { opacity: 0; } }
#detail .close { border: 1px solid #20211f21; background: var(--paper); box-shadow: 0 4px 14px #20211f14; }
.case-nav { padding-right: 76px; background: var(--glass-solid); border: 1px solid var(--line); box-shadow: none; min-height: 72px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .case-nav { background: rgb(244 244 239 / .9); -webkit-backdrop-filter: blur(16px) saturate(125%); backdrop-filter: blur(16px) saturate(125%); }
}
.case-nav a { min-height: 44px; display: flex; align-items: center; background: #20211f0a; }
.case-header { padding: 48px 40px 32px; }
.case-section { scroll-margin-top: 96px; }
.case-reveal { transition: opacity var(--motion-layout) var(--ease-out), transform var(--motion-layout) var(--ease-out); }
:where(a, button):focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.band-dark :where(a, button):focus-visible, .header[data-tone="dark"] :where(a, button):focus-visible { outline-color: var(--paper); }
.skip { z-index: 30; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) {
  .button:hover, .nav-cta:hover { box-shadow: 0 6px 18px #20211f26, inset 0 1px 0 #ffffff30; background: #353830; transform: translateY(-2px); }
  .header[data-tone="dark"] .nav-cta:hover { background: white; }
  .button:hover span, .nav-cta:hover span, .service-cta:hover span, .contact-method:hover .method-arrow { transform: translate(2px, -2px); }
  .button:active, .nav-cta:active { transform: scale(.97); }
  .work-grid .project:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px #20211f40, 0 0 0 1px #20211f14; }
  .work-grid .project:active { transform: scale(.99); }
  .services article.service-card:hover { transform: translateY(-3px); border-color: #85887a; box-shadow: 0 18px 36px -24px #0009; }
  .service-cta:hover { background: #e0e3d4; }
  .contact-method:hover { background: #ffffff2b; }
  .contact-arrow:hover { background: #ffffff26; }
  .close:hover, .preview-toggle:hover { background: #e6e8df; }
}
@media (max-width: 1000px) {
  .split { gap: 40px; }
  .header { gap: 16px; }
  .header nav a { padding-inline: 14px; }
  .services article.service-card { padding: 24px; }
}
@media (min-width: 701px) and (max-width: 1200px) {
  .services .service-card h3 { min-height: 2.24em; }
  .services .service-card .service-lede { min-height: 6.6em; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 100px; }
  body { padding-top: 88px; }
  .header { top: 12px; width: calc(100% - 24px); height: 64px; border-radius: 34px; padding: 8px 10px 8px 18px; display: flex; gap: 8px; }
  .header .logo { font-size: 39px; }
  .nav-cta { min-height: 44px; padding-inline: 16px; font-size: 12px; gap: 16px; }
  .menu { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex-shrink: 0; border: 1px solid #20211f18; border-radius: 50%; background: #20211f08; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--motion-hover) var(--ease-out), opacity var(--motion-hover) ease; }
  .menu-lines { background: transparent; position: relative; }
  .menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; }
  .menu-lines::before { transform: translateY(-3px); }
  .menu-lines::after { transform: translateY(3px); }
  .menu[aria-expanded="true"] .menu-lines::before { transform: rotate(45deg); }
  .menu[aria-expanded="true"] .menu-lines::after { transform: rotate(-45deg); }
  .header nav, .header nav.open {
    display: flex; position: absolute; inset: 72px 0 auto; flex-direction: column; gap: 4px; padding: 12px;
    border: 1px solid var(--glass-edge); border-radius: 24px; background: var(--glass-solid);
    box-shadow: 0 16px 40px -16px #20211f40, inset 0 1px 0 #fff6;
    transform-origin: calc(100% - 32px) -20px; transform: translateY(-8px) scale(.97); opacity: 0;
    visibility: hidden; pointer-events: none;
    transition: transform var(--motion-menu) var(--ease-spring), opacity var(--motion-hover) ease, visibility 0s var(--motion-menu);
  }
  .header nav.open { visibility: visible; pointer-events: auto; transform: none; opacity: 1; transition-delay: 0s; }
  .header nav::before { display: none; }
  .header nav a { font-size: 16px; min-height: 52px; border-radius: 16px; padding: 12px 16px; }
  .header nav a[aria-current] { background: #20211f0c; }
  .header[data-tone="dark"] nav a[aria-current] { background: #ffffff14; }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header nav { background: var(--glass-fill); -webkit-backdrop-filter: blur(20px) saturate(135%); backdrop-filter: blur(20px) saturate(135%); }
  }
  .hero { padding-top: 32px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .09em; gap: 8px; }
  .hero h1 { font-size: clamp(52px, 12.5vw, 82px); line-height: 1.04; margin: 24px 0 28px; }
  .hero-bottom { gap: 24px; margin-bottom: 32px; }
  .hero-art { border-radius: 20px; height: 340px; }
  .section { padding-block: 64px; }
  .split { gap: 24px; margin-bottom: 32px; }
  h2 { font-size: clamp(46px, 12vw, 64px); }
  .services article.service-card, .services article.service-card + .service-card { padding: 24px 20px; }
  .services .tier { padding: 20px; }
  .contact { padding-block: 64px 40px; }
  .contact h2 { font-size: clamp(56px, 14vw, 85px); }
  .contact-line { margin-block: 24px 32px; }
  .contact-arrow, .contact-arrow:hover { background: var(--ink); }
  .contact-bottom { gap: 24px; padding-top: 24px; }
  .contact-links { width: 100%; }
  .contact-bottom .contact-method { padding-inline: 16px; gap: 10px; }
  .contact-method strong { font-size: clamp(13px, 3.7vw, 17px); }
  .case-header { padding: 40px 24px 24px; }
  #detail { border-radius: 24px; }
  .case-nav { min-height: 64px; padding: 10px 72px 10px 16px; }
}
/* Work showcases: glass shell, crisp original artwork. */
#detail { --muted: #55584f; }
.work-grid .project-meta p { color: #55584f; }
:root {
  --showcase-fill: rgb(244 244 239 / .84);
  --showcase-edge: rgb(255 255 255 / .82);
  --showcase-highlight: linear-gradient(135deg, #ffffff55, #ffffff08 45%, #ffffff22);
}
#detail {
  background: var(--paper);
  border: 1px solid var(--showcase-edge);
  box-shadow: 0 32px 100px #15181240, inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff66;
}
#detail .case-header {
  background: var(--showcase-highlight);
  padding-bottom: 20px;
}
#detail .case-header h2 { margin-bottom: 0; }
#detail .case-nav {
  background: #f4f4eff0;
  border-top-color: #ffffff88;
  border-bottom-color: #20211f18;
  box-shadow: 0 8px 20px -16px #20211f55;
}
#detail .case-nav a {
  background: linear-gradient(145deg, #ffffffc9, #ffffff40);
  border: 1px solid #ffffffc9;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px #20211f08;
}
#detail .case-nav a:hover, #detail .case-nav a:focus-visible {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
#detail .close { background: linear-gradient(135deg, #fffffff0, #f4f4efc9); border-color: #ffffffd9; }
.work-grid .project {
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--showcase-edge);
  box-shadow: 0 12px 28px -20px #20211f40, inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80;
}
.work-grid .project-art { border-radius: 17px 17px 0 0; }
.work-grid .project .proof-gallery { background: #ffffff44; padding: 10px; }
.work-grid .project-meta { background: var(--showcase-highlight); border-radius: 0 0 17px 17px; padding: 18px 12px 14px; }
.work-grid .project-meta > span {
  display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 50%; border: 1px solid #ffffffb3; background: #ffffff66;
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px #20211f08;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #detail { background: var(--showcase-fill); -webkit-backdrop-filter: blur(24px) saturate(125%); backdrop-filter: blur(24px) saturate(125%); }
  .work-grid .project { background: linear-gradient(145deg, #ffffff80, #f4f4ef70); -webkit-backdrop-filter: blur(12px) saturate(120%); backdrop-filter: blur(12px) saturate(120%); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
  #detail, #detail .case-nav, .work-grid .project { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: currentColor; }
  #detail .case-header, .work-grid .project-meta { background: none; }
  #detail .case-nav a, #detail .close, .work-grid .project-meta > span { background: var(--paper); border-color: currentColor; }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .glass-material, .header.is-scrolled, .header nav, .case-nav { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: currentColor; }
  .header-glint { display: none; }
  .contact-method { background: transparent; border-color: var(--ink); }
}
@media (forced-colors: active) {
  .header, .header nav, .case-nav, .nav-cta, .button, .menu, .contact-method { background: Canvas; color: CanvasText; border: 1px solid ButtonText; backdrop-filter: none; }
  .header::before, .header-glint, .header nav::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html, #detail { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .case-reveal { opacity: 1; transform: none; }
  .header-glint { display: none; }
  .button:hover, .nav-cta:hover, .work-grid .project:hover, .services article.service-card:hover,
  .button:active, .nav-cta:active, .service-cta:active, .contact-arrow:active, .contact-method:active, .project:active { transform: none; }
}
