/*
Theme Name: Aiolos Studio
Theme URI: https://aiolos.media/
Author: AIOLOS MEDIA
Author URI: https://aiolos.media/
Description: A modern, lightweight portfolio theme for AIOLOS MEDIA.
Version: 3.9.7
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aiolos
*/

:root { color-scheme:dark; --ink:#f4f4f1; --ink-soft:#aaa; --paper:#080808; --white:#fff; --charcoal:#111; --dark-soft:#1b1b1b; --rule:#ffffff26; --accent:#ff714a; --font:'Inter',Arial,sans-serif; --mono:'DM Mono',monospace; --shell:1320px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:104px; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:var(--font); font-size:16px; line-height:1.6; overflow-x:hidden; font-synthesis:none; }
body.menu-open { overflow:hidden; }
button,input,textarea,select { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; height:auto; }
h1,h2,h3,h4,p { margin:0; }
h1,h2,h3,h4 { font-weight:500; text-wrap:balance; }
em { font-style:normal; font-weight:inherit; }
::selection { color:#080808; background:var(--accent); }
:focus-visible { outline:2px solid var(--accent); outline-offset:6px; }
.shell,.section-shell { width:min(calc(100% - 112px),var(--shell)); margin:0 auto; }
.section-shell { padding:100px 0; }
.section-dark { color:var(--ink); background:var(--charcoal); }
.skip-link { position:fixed; top:-100px; left:20px; z-index:1000; padding:12px 20px; background:var(--accent); color:#080808; }
.skip-link:focus { top:20px; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.kicker { display:flex; align-items:center; gap:10px; font-family:var(--mono); font-size:10px; line-height:1.5; font-weight:400; letter-spacing:.035em; }
.kicker::before { content:''; width:5px; height:5px; flex:0 0 5px; border-radius:50%; background:var(--accent); }
.kicker-light { color:var(--ink-soft); }
.section-head h2,.contact-head h2 { font-size:clamp(56px,6.4vw,88px); line-height:1.02; letter-spacing:-.055em; margin-top:20px; }
.section-head h2 em,.contact-head h2 em { color:#888; }
.button { display:inline-flex; align-items:center; justify-content:space-between; min-height:52px; padding:13px 22px; gap:32px; border:1px solid transparent; border-radius:99px; font-size:13px; font-weight:500; transition:background .2s,color .2s; }
.button span { font-size:24px; line-height:1; }
.button-light,.button-dark { color:#0a0a0a; background:var(--ink); }
.button:hover { background:var(--accent); color:#080808; }
.line-link { display:inline-flex; align-items:center; gap:38px; min-height:44px; font-size:14px; border-bottom:1px solid #ffffff70; padding:0 0 8px; transition:color .2s; }
.line-link:hover { color:var(--accent); }
.line-link span { font-size:24px; }

/* Navigation */
.site-header { position:fixed; z-index:100; inset:0 0 auto; height:88px; color:var(--ink); background:#080808f2; border-bottom:1px solid var(--rule); backdrop-filter:blur(16px); }
body.admin-bar .site-header { top:var(--wp-admin--admin-bar--height,32px); }
.header-inner { height:100%; display:flex; align-items:center; justify-content:space-between; gap:35px; }
.brand { display:inline-flex; align-items:center; flex:0 0 auto; }
.brand-logo { width:170px; height:auto; filter:invert(1); }
.main-navigation { display:flex; align-items:center; gap:36px; }
.main-navigation .menu { display:flex; align-items:center; gap:28px; list-style:none; padding:0; margin:0; }
.main-navigation .menu a { display:block; font-size:12px; padding:12px 0; color:#bdbdbd; transition:color .2s; }
.main-navigation .menu a:hover,.main-navigation .current-menu-item > a,.main-navigation .current-page-ancestor > a,.main-navigation .current-menu-ancestor > a { color:var(--white); }
.header-cta { display:flex; align-items:center; gap:24px; font-size:12px; border:1px solid #ffffff70; border-radius:99px; padding:10px 18px; transition:background .2s,color .2s; }
.header-cta span { font-size:22px; line-height:1; }
.header-cta:hover { color:#080808; background:var(--ink); }
.menu-toggle { display:none; }
.header-progress { position:absolute; z-index:2; left:0; bottom:-1px; width:100%; height:1px; background:var(--accent); transform:scaleX(0); transform-origin:left center; pointer-events:none; }

/* Type-led introduction */
.hero { min-height:760px; color:var(--ink); background:var(--paper); }
.hero-inner { min-height:760px; display:flex; flex-direction:column; justify-content:space-between; padding-top:122px; padding-bottom:34px; gap:28px; }
.hero-topline { display:flex; justify-content:space-between; gap:20px; color:var(--ink-soft); font-family:var(--mono); font-size:10px; line-height:1.5; }
.hero-status { display:inline-flex; align-items:center; gap:8px; }
.hero-status i { width:5px; height:5px; border-radius:50%; background:var(--accent); }
.hero-main { text-align:center; min-width:0; }
.hero-main .kicker { justify-content:center; margin-bottom:20px; color:var(--ink-soft); }
.hero h1 { position:relative; z-index:2; font-size:clamp(72px,8.4vw,120px); font-weight:500; line-height:.96; letter-spacing:-.065em; }
.hero-title-line { display:block; max-inline-size:100%; white-space:nowrap; }
.hero-visual { position:relative; z-index:1; width:min(62vw,760px); margin:-5px auto 0; aspect-ratio:1.52; overflow:hidden; border-radius:22px; background:#1d1d1d; box-shadow:0 22px 70px #0007; }
.hero-visual img { width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-visual::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,#000b,transparent 60%); pointer-events:none; }
.hero-visual-caption { position:absolute; z-index:1; right:22px; bottom:20px; left:22px; display:grid; grid-template-columns:1fr 1fr auto; align-items:center; gap:15px; color:#e9e9e7; font-family:var(--mono); font-size:9px; letter-spacing:.03em; text-align:left; }
.hero-visual-caption span:nth-child(2) { text-align:center; color:#bdbdbd; }
.hero-visual-arrow { display:grid; place-items:center; width:40px; height:40px; border:1px solid #fff9; border-radius:50%; font-family:var(--font); font-size:22px; }
.hero-visual:hover img { transform:scale(1.025); }
.hero-bottom { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; }
.hero-bottom p { max-width:340px; font-size:12px; line-height:1.7; color:var(--ink-soft); }
.hero-actions { display:flex; align-items:center; gap:30px; }
.hero-text-link { font-size:12px; display:flex; align-items:center; gap:20px; min-height:44px; padding:8px 0; border-bottom:1px solid #ffffff60; }
.hero-text-link:hover { color:var(--accent); }
.hero-text-link span { font-size:20px; }
.ticker-band { position:relative; width:100%; max-width:100%; overflow:hidden; overflow:clip; padding:12px 0; color:#a5a5a5; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.ticker-track { display:flex; align-items:center; width:max-content; white-space:nowrap; font-family:var(--mono); font-size:10px; letter-spacing:.06em; animation:ticker-move 35s linear infinite; }
.ticker-group { display:flex; align-items:center; justify-content:space-around; flex:0 0 auto; min-width:100vw; gap:30px; padding:0 15px; }
.ticker-track i { color:#666; font-style:normal; font-size:12px; }
@keyframes ticker-move { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* Portfolio: equal frames and uninterrupted rows. */
.projects.section-shell { padding-top:48px; padding-bottom:90px; }
.projects-head { display:flex; align-items:flex-end; justify-content:space-between; gap:50px; margin-bottom:28px; }
.projects-head h2 { margin-top:14px; }
.section-side { max-width:270px; display:flex; flex-direction:column; gap:15px; padding-bottom:4px; }
.section-count { font-family:var(--mono); font-size:10px; color:var(--ink-soft); }
.section-side p { font-size:12px; color:var(--ink-soft); line-height:1.8; }
.project-filters { display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; border-top:1px solid var(--rule); padding:16px 0 20px; }
.filter-button { display:inline-flex; align-items:center; gap:9px; min-height:44px; padding:10px 16px; background:transparent; border:1px solid transparent; border-radius:99px; font-size:12px; color:#aaa; transition:color .2s,background .2s,border-color .2s; }
.filter-button span { font-family:var(--mono); font-size:9px; }
.filter-button:hover { border-color:#ffffff50; color:var(--white); }
.filter-button.is-active { color:#080808; background:var(--ink); }
.projects-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:42px 24px; }
.project-card { min-width:0; }
.project-card.is-hidden { display:none; }
.project-link { display:block; min-width:0; border-radius:18px; }
.project-media { position:relative; display:block; aspect-ratio:16 / 9; overflow:hidden; border-radius:18px; background:#1b1b1b; isolation:isolate; }
.project-media img { width:100%; height:100%; object-fit:cover; transition:transform .65s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-media img,.project-card:focus-within .project-media img { transform:scale(1.035); }
.project-media::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,#0009,transparent 55%); opacity:0; transition:opacity .3s; pointer-events:none; }
.project-card:hover .project-media::after,.project-card:focus-within .project-media::after { opacity:1; }
.play-button { position:absolute; z-index:2; right:18px; bottom:18px; width:44px; height:44px; display:grid; place-items:center; color:#080808; background:#f4f4f1; font-size:25px; border-radius:50%; transition:background .2s,transform .2s; }
.project-card:hover .play-button,.project-card:focus-within .play-button { background:var(--accent); transform:rotate(5deg); }
.project-hover-label { position:absolute; z-index:2; left:22px; bottom:29px; color:#fff; font-size:12px; opacity:0; transform:translateY(8px); transition:opacity .25s,transform .25s; }
.project-hover-label b { display:none; }
.project-card:hover .project-hover-label,.project-card:focus-within .project-hover-label { opacity:1; transform:translateY(0); }
.project-meta { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; padding:17px 0 15px; border-bottom:1px solid var(--rule); }
.project-label { display:block; font-family:var(--mono); font-size:9px; color:#aaa; margin-bottom:7px; }
.project-meta h3 { font-size:18px; line-height:1.45; letter-spacing:-.025em; font-weight:500; }
.project-number { font-family:var(--mono); font-size:10px; color:#aaa; padding-top:2px; }
.portfolio-contact { display:flex; align-self:stretch; min-width:0; }
.portfolio-contact-link { display:flex; flex-direction:column; justify-content:space-between; gap:24px; width:100%; padding:clamp(24px,3vw,42px); border:1px solid #ffffff32; border-radius:18px; background:#141414; transition:background .25s; }
.portfolio-contact-link:hover { background:#1c1c1c; }
.portfolio-contact .kicker { color:var(--ink-soft); }
.portfolio-contact h3 { font-size:clamp(28px,3.5vw,52px); line-height:1.1; letter-spacing:-.045em; }
.portfolio-contact-bottom { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:13px; color:#bdbdbd; }
.portfolio-contact-arrow { display:grid; place-items:center; flex:0 0 48px; height:48px; border-radius:50%; color:#080808; background:var(--ink); font-size:27px; transition:background .25s; }
.portfolio-contact-link:hover .portfolio-contact-arrow { background:var(--accent); }
.projects-grid.is-filtered .portfolio-contact { display:none; }
.projects-grid.is-filtered .project-card { grid-column:auto; padding-top:0; }
.section-action { display:flex; justify-content:flex-end; margin-top:40px; }

/* Services and studio */
.services { padding:95px 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.services-head { display:flex; align-items:flex-end; justify-content:space-between; gap:60px; margin-bottom:58px; }
.services-intro { max-width:320px; color:var(--ink-soft); font-size:14px; line-height:1.8; }
.services-layout { display:grid; grid-template-columns:1.2fr 1fr; gap:80px; align-items:start; }
.service-list { border-top:1px solid var(--rule); }
.service-row { position:relative; display:grid; grid-template-columns:24px 1fr 26px; gap:0 18px; padding:28px 0; border-bottom:1px solid var(--rule); }
.service-number { font-family:var(--mono); font-size:10px; color:var(--ink-soft); padding-top:8px; }
.service-row h3 { font-size:30px; line-height:1.2; letter-spacing:-.04em; }
.service-row h3 a::after { content:''; position:absolute; inset:0; }
.service-row p { grid-column:2; color:var(--ink-soft); font-size:13px; line-height:1.8; margin-top:12px; max-width:370px; }
.service-arrow { grid-column:3; grid-row:1; font-size:26px; color:#bdbdbd; transition:color .2s,transform .2s; }
.service-row:hover .service-arrow { color:var(--accent); transform:translate(2px,-2px); }
.service-row:focus-within { outline:2px solid var(--accent); outline-offset:5px; }
.service-image-stack { position:relative; padding-bottom:30px; }
.service-image { overflow:hidden; border-radius:20px; background:#222; }
.service-image img { width:100%; height:100%; object-fit:cover; }
.service-image-main { aspect-ratio:.85; width:100%; }
.service-image-small { display:none; }
.service-image-caption { position:absolute; left:0; bottom:0; font-family:var(--mono); font-size:9px; color:var(--ink-soft); }
.about-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:90px; align-items:start; }
.about-copy { padding-top:30px; }
.about-copy p { color:var(--ink-soft); font-size:15px; line-height:1.9; margin-bottom:26px; max-width:580px; }
.about-copy .about-lead { color:var(--ink); font-size:28px; line-height:1.5; letter-spacing:-.025em; margin-bottom:28px; }
.about-copy .line-link { margin-top:8px; }
.timeline { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:45px; border-top:1px solid var(--rule); margin-top:70px; padding-top:30px; }
.timeline > div { border-right:1px solid var(--rule); }
.timeline > div:last-child { border-right:0; }
.timeline span { display:block; font-size:48px; letter-spacing:-.04em; line-height:1; margin-bottom:15px; }
.timeline p { font-size:12px; color:var(--ink-soft); }
.statement { padding:85px 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.statement-inner { display:grid; grid-template-columns:.75fr 2fr; gap:30px 70px; }
.statement .kicker { align-self:start; padding-top:12px; }
.statement h2 { font-size:64px; line-height:1.08; letter-spacing:-.045em; }
.statement h2 em { color:#999; }
.statement-copy { grid-column:2; max-width:540px; color:var(--ink-soft); font-size:14px; line-height:1.9; }

/* Contact and footer */
.contact-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:90px; }
.contact-head h2 { font-size:clamp(76px,8vw,112px); }
.contact-info { padding-top:32px; }
.contact-info > p { max-width:430px; color:var(--ink-soft); font-size:14px; line-height:1.9; margin-bottom:30px; }
.contact-links { border-top:1px solid var(--rule); }
.contact-links a { display:grid; grid-template-columns:75px 1fr 24px; align-items:center; gap:15px; padding:23px 0; border-bottom:1px solid var(--rule); }
.contact-links a > span { font-family:var(--mono); font-size:9px; color:var(--ink-soft); }
.contact-links strong { font-size:23px; font-weight:400; letter-spacing:-.02em; }
.contact-links b { font-size:25px; font-weight:400; }
.contact-links a:hover strong,.contact-links a:hover b { color:var(--accent); }
.site-footer { background:#0d0d0d; border-top:1px solid var(--rule); }
.footer-main { display:flex; justify-content:space-between; gap:50px; padding-top:65px; padding-bottom:60px; }
.footer-brand p { font-size:12px; max-width:240px; color:var(--ink-soft); margin-top:20px; }
.footer-columns { display:flex; gap:clamp(30px,5vw,85px); }
.footer-columns > div { display:flex; flex-direction:column; gap:8px; }
.footer-label { font-family:var(--mono); font-size:9px; color:var(--ink-soft); margin-bottom:10px; }
.footer-columns a { font-size:12px; padding:4px 0; }
.footer-columns a:hover { color:var(--accent); }
.footer-columns a span { margin-left:15px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--rule); padding:22px 0; font-family:var(--mono); font-size:9px; color:var(--ink-soft); }
.footer-bottom a span { margin-left:18px; font-size:15px; }

/* Standard WordPress content */
.content-page { min-height:70vh; padding-top:165px; }
.content-entry { max-width:950px; margin:0 auto; }
.content-page h1 { font-size:60px; line-height:1.15; letter-spacing:-.04em; margin:20px 0 38px; }
.entry-content { font-size:17px; line-height:1.9; }
.entry-content p,.entry-content ul,.entry-content ol,.entry-content figure,.entry-content h2,.entry-content h3 { margin-bottom:24px; }
.entry-content h2 { font-size:32px; margin-top:40px; }
.entry-content h3 { font-size:25px; margin-top:35px; }
.entry-content a { text-decoration:underline; }
.content-featured { margin-bottom:40px; }
.content-featured img { width:100%; height:auto; border-radius:18px; }
.error-page p { color:var(--ink-soft); margin-bottom:30px; }
.wp-block-image img { height:auto; }
.reveal { transition:opacity .55s ease,transform .55s ease; }
.js .reveal:not(.is-visible) { opacity:0; transform:translateY(18px); }

@media (max-width:1199px) {
  .shell,.section-shell { width:calc(100% - 80px); }
  .section-shell { padding:85px 0; }
  .main-navigation { gap:24px; }
  .main-navigation .menu { gap:20px; }
  .hero,.hero-inner { min-height:700px; }
  .services-layout { gap:45px; }
  .service-row h3 { font-size:25px; }
  .about-layout,.contact-layout { gap:55px; }
  .contact-links a { grid-template-columns:62px 1fr 22px; gap:10px; }
  .contact-links strong { font-size:19px; }
}
@media (max-width:960px) {
  .shell,.section-shell { width:calc(100% - 64px); }
  .header-cta { display:none; }
  .brand-logo { width:155px; }
  .hero,.hero-inner { min-height:680px; }
  .hero-inner { padding-top:120px; }
  .hero h1 { font-size:clamp(65px,8.7vw,84px); }
  .section-side { max-width:220px; }
  .project-meta h3 { font-size:16px; }
  .services { padding:80px 0; }
  .services-head { gap:35px; }
  .services-intro { max-width:250px; font-size:13px; }
  .services-layout { gap:35px; }
  .service-row { padding:22px 0; gap:0 10px; }
  .service-row h3 { font-size:22px; }
  .service-row p { font-size:12px; }
  .service-image-main { aspect-ratio:.65; }
  .about-layout,.contact-layout { gap:35px; }
  .about-copy .about-lead { font-size:23px; }
  .statement-inner { grid-template-columns:.7fr 2fr; gap:30px; }
  .statement h2 { font-size:50px; }
  .contact-links a { grid-template-columns:1fr 22px; }
  .contact-links a > span { grid-column:1 / -1; }
}
@media (max-width:720px) {
  html { scroll-padding-top:92px; }
  .shell,.section-shell { width:calc(100% - 40px); }
  .section-shell { padding:65px 0; }
  .site-header { height:76px; }
  .brand-logo { width:145px; }
  .menu-toggle { display:flex; align-items:center; gap:14px; min-height:44px; background:none; color:var(--ink); border:0; padding:10px 0 10px 15px; }
  .menu-toggle-label { font-size:11px; }
  .menu-toggle-icon { width:25px; height:18px; position:relative; display:block; }
  .menu-toggle-icon i { position:absolute; left:0; right:0; top:4px; height:1px; background:currentColor; transition:transform .2s,top .2s; }
  .menu-toggle-icon i:last-child { top:12px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i { top:8px; transform:rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { transform:rotate(-45deg); }
  .main-navigation { display:none; position:absolute; inset:100% 0 auto; background:var(--paper); padding:35px 20px; }
  .main-navigation.is-open { display:flex; flex-direction:column; align-items:stretch; justify-content:space-between; gap:30px; height:calc(100dvh - 76px); overflow-y:auto; overscroll-behavior:contain; }
  body.admin-bar .main-navigation.is-open { height:calc(100dvh - 76px - var(--wp-admin--admin-bar--height,46px)); }
  .main-navigation .menu { flex-direction:column; align-items:stretch; gap:0; }
  .main-navigation .menu a { font-size:30px; padding:15px 0; border-bottom:1px solid var(--rule); }
  .header-cta { display:flex; justify-content:space-between; font-size:14px; padding:17px 20px; }
  .hero,.hero-inner { min-height:640px; }
  .hero-inner { padding-top:104px; padding-bottom:30px; gap:24px; }
  .hero-topline { font-size:8px; }
  .hero-status { display:none; }
  .hero-main .kicker { font-size:9px; margin-bottom:22px; }
  .hero h1 { font-size:clamp(36px,11.9vw,78px); line-height:1.03; letter-spacing:-.065em; }
  .hero-bottom { flex-direction:column; align-items:flex-start; gap:22px; }
  .hero-bottom p { font-size:12px; line-height:1.75; }
  .hero-actions { gap:25px; }
  .hero-visual { width:100%; margin-top:12px; border-radius:14px; aspect-ratio:1.35; }
  .hero-visual-caption { right:14px; bottom:14px; left:14px; font-size:8px; }
  .hero-visual-arrow { width:34px; height:34px; font-size:19px; }
  .button { min-height:48px; font-size:12px; padding:12px 19px; gap:25px; }
  .hero-text-link { font-size:11px; }
  .ticker-band { padding:11px 0; }
  .ticker-track { font-size:9px; }
  .ticker-group { gap:22px; padding:0 11px; }
  .projects.section-shell { padding-top:35px; padding-bottom:65px; }
  .section-head h2,.contact-head h2 { font-size:50px; margin-top:15px; }
  .projects-head { gap:25px; margin-bottom:25px; }
  .projects-head h2 { font-size:52px; }
  .section-side { max-width:145px; gap:12px; }
  .section-side p { font-size:10px; }
  .section-count { font-size:9px; }
  .project-filters { gap:3px; padding:13px 0 18px; }
  .filter-button { font-size:11px; padding:10px 11px; gap:7px; }
  .filter-button span { font-size:8px; }
  .projects-grid { grid-template-columns:1fr; gap:30px; }
  .portfolio-contact { display:none; }
  .project-media,.project-link { border-radius:12px; }
  .project-meta { padding-top:14px; gap:15px; }
  .project-meta h3 { font-size:16px; }
  .project-label { font-size:9px; }
  .play-button { width:38px; height:38px; right:13px; bottom:13px; font-size:23px; }
  .project-hover-label { display:none; }
  .services { padding:65px 0; }
  .services-head { display:block; margin-bottom:35px; }
  .services-intro { max-width:360px; margin-top:25px; font-size:13px; }
  .services-layout { grid-template-columns:1fr; gap:35px; }
  .service-row { padding:24px 0; gap:0 12px; }
  .service-row h3 { font-size:26px; }
  .service-row p { font-size:13px; }
  .service-image-stack { max-width:520px; }
  .service-image-main { aspect-ratio:1.35; }
  .about-layout,.contact-layout { grid-template-columns:1fr; gap:28px; }
  .about-copy { padding:0; }
  .about-copy .about-lead { font-size:24px; }
  .about-copy p { font-size:14px; }
  .timeline { grid-template-columns:1fr; gap:0; margin-top:35px; padding-top:0; }
  .timeline > div { border-right:0; border-bottom:1px solid var(--rule); padding:24px 0; display:flex; align-items:center; gap:35px; }
  .timeline span { font-size:36px; margin:0; }
  .timeline p { font-size:11px; }
  .statement { padding:65px 0; }
  .statement-inner { grid-template-columns:1fr; gap:25px; }
  .statement .kicker { padding:0; }
  .statement h2 { font-size:45px; }
  .statement-copy { grid-column:auto; font-size:13px; }
  .contact-head h2 { font-size:76px; }
  .contact-info { padding:0; }
  .contact-info > p { font-size:13px; margin-bottom:25px; }
  .contact-links a { grid-template-columns:60px 1fr 22px; gap:10px; padding:22px 0; }
  .contact-links a > span { grid-column:auto; font-size:8px; }
  .contact-links strong { font-size:18px; }
  .footer-main { flex-direction:column; gap:38px; padding-top:45px; padding-bottom:40px; }
  .footer-columns { display:grid; grid-template-columns:1fr 1fr; gap:30px 20px; }
  .footer-bottom { display:grid; grid-template-columns:1fr auto; gap:14px; font-size:8px; padding:20px 0; }
  .footer-bottom > span { grid-column:1 / -1; }
  .content-page { padding-top:120px; }
  .content-page h1 { font-size:37px; }
  .entry-content { font-size:15px; }
}
@media (max-width:390px) {
  .section-side { display:none; }
  .projects-head h2 { font-size:46px; }
  .contact-links a { grid-template-columns:1fr 22px; }
  .contact-links a > span { grid-column:1 / -1; }
}
@media (max-width:600px) { .admin-bar #wpadminbar { position:fixed; } }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
}

/* Keep content available even when site.js cannot finish booting. */
html.js body:not(.motion-enabled) .reveal:not(.is-visible),
html.js body:not(.motion-enabled) .motion-item:not(.is-visible),
html.js body:not(.motion-enabled) .project-card:not(.is-visible) .project-media,
html.js body:not(.motion-enabled) .page-hero,
html.js body:not(.motion-enabled) .page-photo,
html.js body:not(.motion-enabled) .editorial-section,
html.js body:not(.motion-enabled) .page-timeline,
html.js body:not(.motion-enabled) .project-screen,
html.js body:not(.motion-enabled) .project-navigation,
html.js body:not(.motion-enabled) .contact-directory,
html.js body:not(.motion-enabled) .page-contact-band {
  opacity:1;
  transform:none;
  clip-path:none;
}


@media (prefers-reduced-motion:reduce) {
  .ticker-track { animation:none !important; }
  .motion-cursor { display:none; }
  html.js body.motion-enabled .motion-item:not(.is-visible) {
    opacity:0 !important;
    transform:none !important;
    clip-path:none !important;
  }
  html.js body.motion-enabled .motion-item.is-visible {
    opacity:1 !important;
    transform:none !important;
    animation:motion-opacity-reveal .55s ease both !important;
  }
  html.js body.motion-enabled .project-card:not(.is-visible) .project-media {
    opacity:0 !important;
    transform:none !important;
    clip-path:none !important;
  }
  html.js body.motion-enabled .project-card.is-visible .project-media,
  html.js body.motion-enabled .project-card.is-visible .project-meta,
  html.js body.motion-enabled .project-card.is-visible .project-media img,
  html.js body.motion-enabled .project-card.is-visible .play-button,
  html.js body.motion-enabled .service-row.is-visible .service-number,
  html.js body.motion-enabled .service-row.is-visible .service-arrow,
  html.js body.motion-enabled .service-image-stack.is-visible .service-image-main {
    animation:motion-opacity-reveal .55s ease both !important;
    transform:none !important;
    clip-path:none !important;
  }
  html.js body.motion-enabled .page-hero,
  html.js body.motion-enabled .page-photo,
  html.js body.motion-enabled .editorial-section,
  html.js body.motion-enabled .page-timeline,
  html.js body.motion-enabled .project-screen,
  html.js body.motion-enabled .project-navigation,
  html.js body.motion-enabled .contact-directory,
  html.js body.motion-enabled .page-contact-band {
    opacity:0;
    transform:none;
    transition:none;
  }
  html.js body.motion-enabled .page-hero.is-in-view,
  html.js body.motion-enabled .page-photo.is-in-view,
  html.js body.motion-enabled .editorial-section.is-in-view,
  html.js body.motion-enabled .page-timeline.is-in-view,
  html.js body.motion-enabled .project-screen.is-in-view,
  html.js body.motion-enabled .project-navigation.is-in-view,
  html.js body.motion-enabled .contact-directory.is-in-view,
  html.js body.motion-enabled .page-contact-band.is-in-view {
    opacity:1;
    animation:motion-opacity-reveal .55s ease both;
  }
  .hero.is-ready .hero-topline,
  .hero.is-ready .hero-main .kicker,
  .hero.is-ready .hero-title-line,
  .hero.is-ready .hero-visual,
  .hero.is-ready .hero-visual img,
  .hero.is-ready .hero-bottom {
    animation:motion-opacity-reveal .55s ease both !important;
    transform:none !important;
    clip-path:none !important;
    filter:none !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero.is-ready .hero-topline,
  .hero.is-ready .hero-main .kicker,
  .hero.is-ready .hero-title-line,
  .hero.is-ready .hero-visual,
  .hero.is-ready .hero-visual img,
  .hero.is-ready .hero-bottom { animation:motion-opacity-reveal .45s ease both !important; transform:none !important; clip-path:none !important; filter:none !important; }
}

/* Motion safety net: if the script is delayed, blocked or an observer is
 * unavailable, the editorial content remains readable in its normal layout. */
html.js body:not(.motion-enabled) .reveal,
html.js body:not(.motion-enabled) .motion-item,
html.js body:not(.motion-enabled) .project-card .project-media,
html.js body:not(.motion-enabled) .page-hero,
html.js body:not(.motion-enabled) .page-photo,
html.js body:not(.motion-enabled) .editorial-section,
html.js body:not(.motion-enabled) .page-timeline,
html.js body:not(.motion-enabled) .project-screen,
html.js body:not(.motion-enabled) .project-navigation,
html.js body:not(.motion-enabled) .contact-directory,
html.js body:not(.motion-enabled) .page-contact-band {
  opacity:1;
  transform:none;
  clip-path:none;
}

/* 3.8.0 finishing motion: a composed image settle and small editorial
 * accents give each reveal a distinct phase without adding a runtime library. */
@keyframes motion-project-image-settle {
  from { opacity:.7; transform:scale(1.09); filter:saturate(.72) contrast(.94); }
  to { opacity:1; transform:scale(1); filter:saturate(1) contrast(1); }
}
@keyframes motion-accent-pulse {
  0%,100% { box-shadow:0 0 0 0 #ff714a00; }
  42% { box-shadow:0 0 0 9px #ff714a18; }
}

.project-card.is-visible .project-media img {
  animation:motion-project-image-settle 1.25s calc(var(--motion-delay,0ms) + .08s) var(--ease-editorial) both;
}
.project-card.is-visible .play-button {
  animation:motion-accent-pulse 1.1s calc(var(--motion-delay,0ms) + .42s) var(--ease-editorial) both;
}
.contact-links a b,
.portfolio-contact-arrow { transition:transform .55s var(--ease-editorial), color .3s ease, background .3s ease; }
.contact-links a:hover b,
.contact-links a:focus-visible b { transform:translate3d(4px,-4px,0) rotate(8deg); }
.portfolio-contact-link:hover .portfolio-contact-arrow,
.portfolio-contact-link:focus-visible .portfolio-contact-arrow { transform:translate3d(3px,-3px,0) rotate(8deg); }
.service-row h3 a { transition:color .35s ease, letter-spacing .55s var(--ease-editorial); }
.service-row:hover h3 a,
.service-row:focus-within h3 a { color:var(--accent); letter-spacing:-.02em; }

@media (prefers-reduced-motion:reduce) {
  .project-card.is-visible .project-media img,
  .project-card.is-visible .play-button { animation:none; }
  .contact-links a b,
  .portfolio-contact-arrow { transform:none !important; }
}

/* 3.8.0 motion direction: the reference demos use an editorial rhythm of
 * masked type, composed image reveals, scroll-linked drift and a tactile
 * pointer. These effects are native CSS/JS so the portfolio stays light. */
:root {
  --ease-editorial: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .75, .24, 1);
}

html.js body.has-motion-cursor,
html.js body.has-motion-cursor a,
html.js body.has-motion-cursor button { cursor:none; }
.motion-cursor {
  position:fixed;
  z-index:250;
  top:0;
  left:0;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  margin:-9px 0 0 -9px;
  color:#080808;
  background:#f4f4f1;
  border-radius:50%;
  pointer-events:none;
  opacity:.9;
  mix-blend-mode:difference;
  transition:width .45s var(--ease-editorial),height .45s var(--ease-editorial),margin .45s var(--ease-editorial),opacity .25s ease,background .3s ease, mix-blend-mode .3s ease;
  will-change:transform;
}
.motion-cursor-dot { width:4px; height:4px; border-radius:50%; background:currentColor; transition:opacity .25s ease; }
.motion-cursor-label { position:absolute; white-space:nowrap; font-family:var(--mono); font-size:9px; letter-spacing:.04em; opacity:0; transform:scale(.7); transition:opacity .25s ease,transform .45s var(--ease-editorial); }
.motion-cursor.is-active {
  width:92px;
  height:92px;
  margin:-46px 0 0 -46px;
  color:#080808;
  background:var(--ink);
  mix-blend-mode:normal;
}
.motion-cursor.is-active .motion-cursor-dot { opacity:0; }
.motion-cursor.is-active .motion-cursor-label { opacity:1; transform:scale(1); }

.button,.header-cta,.hero-text-link,.line-link {
  transform:translate3d(var(--mag-x,0px),var(--mag-y,0px),0);
  transition-property:background,color,border-color,transform;
  transition-duration:.25s,.25s,.25s,.5s;
  transition-timing-function:ease,ease,ease,var(--ease-editorial);
}

.projects-head h2,
.services-head h2,
.about-head h2,
.contact-head h2,
.statement h2 {
  transform:translate3d(var(--scroll-drift-x,0px),0,0);
  transition:transform .8s var(--ease-editorial);
  will-change:transform;
}
.service-image-main { transform:translate3d(0,var(--scroll-drift-y,0px),0); transition:transform .9s var(--ease-editorial); will-change:transform; }

html.js body.motion-enabled .motion-item:not(.is-visible) {
  opacity:0;
  transform:translate3d(0,36px,0);
}
html.js body.motion-enabled .motion-item.is-visible {
  transition-delay:var(--motion-delay,0ms);
}
.motion-item.is-visible h1,
.motion-item.is-visible h2,
.motion-item.is-visible h3 {
  animation:motion-heading-reveal .95s var(--motion-delay,0ms) var(--ease-editorial) both;
}

@keyframes motion-heading-reveal {
  from { opacity:0; clip-path:inset(0 0 100% 0); transform:translate3d(var(--scroll-drift-x,0px),1.05em,0); }
  to { opacity:1; clip-path:inset(0 0 0 0); transform:translate3d(var(--scroll-drift-x,0px),0,0); }
}
@keyframes motion-media-reveal {
  from { opacity:.25; clip-path:inset(0 0 100% 0 round 5px); }
  to { opacity:1; clip-path:inset(0 0 0 0 round 5px); }
}
@keyframes motion-meta-reveal {
  from { opacity:0; transform:translate3d(0,14px,0); }
  to { opacity:1; transform:translate3d(0,0,0); }
}
@keyframes motion-line-sweep {
  from { transform:scaleX(0); transform-origin:left center; }
  to { transform:scaleX(1); transform-origin:left center; }
}
@keyframes motion-photo-reveal {
  from { opacity:.25; clip-path:inset(0 100% 0 0 round 18px); transform:translate3d(22px,0,0); }
  to { opacity:1; clip-path:inset(0 0 0 0 round 18px); transform:translate3d(0,0,0); }
}
@keyframes motion-service-image-reveal {
  from { opacity:.25; clip-path:inset(0 0 100% 0 round 18px); }
  to { opacity:1; clip-path:inset(0 0 0 0 round 18px); }
}

.projects-head { position:relative; }
.projects-head::after {
  content:'';
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:1px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left center;
}
.projects-head.is-visible::after { animation:motion-line-sweep 1.1s .12s var(--ease-editorial) both; }

html.js body.motion-enabled .project-card:not(.is-visible) .project-media { clip-path:inset(0 0 100% 0 round 5px); }
.project-card.is-visible .project-media {
  animation:motion-media-reveal 1s var(--motion-delay,0ms) var(--ease-editorial) both;
}
.project-card.is-visible .project-meta {
  animation:motion-meta-reveal .72s calc(var(--motion-delay,0ms) + .12s) var(--ease-editorial) both;
}
.project-media::after { transition:opacity .45s ease,background .45s ease; }
.project-card:hover .project-media::after,
.project-card:focus-within .project-media::after { background:linear-gradient(0deg,#050806e8 0%,#05080615 66%,transparent 100%); }
.project-hover-label { transition:opacity .35s ease,transform .6s var(--ease-editorial); }
.play-button { transition:background .3s ease,transform .6s var(--ease-editorial),box-shadow .3s ease; }
.project-card:hover .play-button,.project-card:focus-within .play-button { box-shadow:0 0 0 8px #ff714a24; transform:rotate(12deg) scale(1.04); }

.service-row { overflow:hidden; }
.service-row::before {
  content:'';
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:1px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .8s var(--ease-editorial);
}
.service-row.is-visible::before { transform:scaleX(1); }
.service-row.is-visible .service-number { animation:motion-meta-reveal .65s var(--motion-delay,0ms) var(--ease-editorial) both; }
.service-row.is-visible .service-arrow { animation:motion-arrow-in .8s calc(var(--motion-delay,0ms) + .15s) var(--ease-editorial) both; }
@keyframes motion-arrow-in {
  from { opacity:0; transform:translate3d(-12px,12px,0) rotate(-18deg); }
  to { opacity:1; transform:translate3d(0,0,0) rotate(0); }
}
.service-image-stack.is-visible .service-image-main { animation:motion-service-image-reveal 1.05s .12s var(--ease-editorial) both; }

.timeline { position:relative; }
.timeline::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:0;
  height:1px;
  background:var(--accent);
}
.timeline.is-visible::before { width:100%; transition:width 1.1s var(--ease-editorial); }
.timeline > div { transition:border-color .35s ease; }
.timeline > div:hover { border-color:var(--accent); }
.timeline > div.is-visible span { animation:motion-meta-reveal .8s var(--motion-delay,0ms) var(--ease-editorial) both; }

.statement { position:relative; overflow:hidden; }
.statement::before {
  content:'';
  position:absolute;
  inset:-30%;
  background:radial-gradient(circle at 72% 40%,#ff714a12,transparent 28%);
  opacity:0;
  transform:scale(.8);
  transition:opacity 1.2s ease,transform 1.4s var(--ease-editorial);
  pointer-events:none;
}
.statement .statement-inner { position:relative; z-index:1; }
.statement.is-visible::before { opacity:1; transform:scale(1); }

html.js body.motion-enabled .page-hero.is-in-view .page-heading h1 { animation:motion-heading-reveal 1.05s .08s var(--ease-editorial) both; }
html.js body.motion-enabled .page-hero.is-in-view .page-lead { animation:motion-meta-reveal .8s .24s var(--ease-editorial) both; }
html.js body.motion-enabled .page-photo.is-in-view img,
html.js body.motion-enabled .video-poster.is-in-view img { animation:motion-photo-reveal 1s var(--ease-editorial) both; }
html.js body.motion-enabled .page-contact-band.is-in-view h2 { animation:motion-heading-reveal .9s .08s var(--ease-editorial) both; }

@media (min-width:721px) {
  .service-image-stack { position:sticky; top:120px; }
}

@media (max-width:720px) {
  .motion-cursor { display:none; }
  html.js body.has-motion-cursor,
  html.js body.has-motion-cursor a,
  html.js body.has-motion-cursor button { cursor:auto; }
  .projects-head h2,
  .services-head h2,
  .about-head h2,
  .contact-head h2,
  .statement h2,
  .service-image-main { transform:none; }
  html.js body.motion-enabled .projects-head h2 {
    animation:none;
    clip-path:none;
    transform:none;
    transition:none;
    will-change:auto;
  }
  .service-image-stack { position:relative; top:auto; }
}

@media (prefers-reduced-motion:reduce) {
  .motion-cursor { display:none; }
  html.js body.motion-enabled .motion-item:not(.is-visible) { opacity:1; transform:none; }
  .motion-item.is-visible h1,
  .motion-item.is-visible h2,
  .motion-item.is-visible h3,
  .project-card.is-visible .project-media,
  .project-card.is-visible .project-meta,
  .service-row.is-visible .service-number,
  .service-row.is-visible .service-arrow,
  .service-image-stack.is-visible .service-image-main,
  html.js body.motion-enabled .page-hero.is-in-view .page-heading h1,
  html.js body.motion-enabled .page-hero.is-in-view .page-lead,
  html.js body.motion-enabled .page-photo.is-in-view img,
  html.js body.motion-enabled .page-contact-band.is-in-view h2 { animation:none; }
  html.js body.motion-enabled .project-card:not(.is-visible) .project-media { clip-path:none; }
  .projects-head::after { transform:scaleX(1); }
  .timeline::before { width:100%; }
  .statement::before { opacity:1; transform:none; }
  .button,.header-cta,.hero-text-link,.line-link { transform:none; }
}

/* Reduced-motion users still receive a clear state change, but without
 * movement, parallax, masking or an endlessly moving marquee. A short fade
 * keeps the live site from feeling broken in browsers that request reduced
 * motion while respecting that preference. */
@keyframes motion-opacity-reveal {
  from { opacity:0; }
  to { opacity:1; }
}
@media (prefers-reduced-motion:reduce) {
  .ticker-track { animation:none !important; }
  html.js body.motion-enabled .motion-item:not(.is-visible) { opacity:0; transform:none; }
  html.js body.motion-enabled .motion-item.is-visible { opacity:1; transform:none; animation:motion-opacity-reveal .45s ease both !important; }
  html.js body.motion-enabled .project-card:not(.is-visible) .project-media { opacity:0; clip-path:none; transform:none; }
  .project-card.is-visible .project-media,
  .project-card.is-visible .project-meta,
  .project-card.is-visible .project-media img,
  .project-card.is-visible .play-button,
  .service-row.is-visible .service-number,
  .service-row.is-visible .service-arrow,
  .service-image-stack.is-visible .service-image-main,
  html.js body.motion-enabled .page-hero.is-in-view .page-heading h1,
  html.js body.motion-enabled .page-hero.is-in-view .page-lead,
  html.js body.motion-enabled .page-photo.is-in-view img,
  html.js body.motion-enabled .page-contact-band.is-in-view h2 { animation:motion-opacity-reveal .45s ease both !important; transform:none !important; clip-path:none !important; }
  .projects-head::after,.timeline::before { transform:none; }
  .timeline::before { width:100%; }
}

/* 3.7 Brandberry-inspired art direction: oversized type, an image that cuts
 * through the headline, and a portfolio rhythm with intentional offsets. */
.hero { min-height:clamp(780px,92vh,940px); background:radial-gradient(circle at 70% 40%,#17241f 0,#080909 35%,#080808 72%); overflow:hidden; }
.hero-inner { min-height:inherit; padding-top:clamp(126px,10vw,158px); padding-bottom:clamp(34px,4vw,58px); }
.hero-topline { position:relative; z-index:4; color:#9b9e9a; }
.hero-main { position:relative; z-index:1; text-align:left; }
.hero-main .kicker { justify-content:flex-start; margin:0 0 clamp(24px,3vw,42px) clamp(4px,8vw,118px); color:#aeb3ae; }
.hero h1 { max-width:none; font-size:clamp(78px,10.7vw,166px); line-height:.83; letter-spacing:-.085em; text-wrap:nowrap; }
.hero-title-line { position:relative; z-index:2; width:max-content; max-width:100%; }
.hero-title-line:first-child { color:#f3f4f0; }
.hero-title-line:nth-child(2) { margin-left:clamp(22px,8vw,126px); color:#747b76; }
.hero-visual { z-index:1; width:min(78vw,1100px); margin:-1.5vw 0 0 auto; aspect-ratio:1.72; border-radius:8px; box-shadow:0 24px 100px #0009; transform:translate3d(var(--hero-x,0),var(--hero-y,0),0); }
.hero-visual::after { background:linear-gradient(0deg,#040807d9 0%,#04080712 55%,transparent 100%); }
.hero-visual-caption { right:24px; bottom:22px; left:24px; }
.hero-bottom { position:relative; z-index:3; margin-top:-3px; }
.hero-bottom p { max-width:390px; color:#adb2ad; }
.hero-actions { gap:34px; }
.ticker-band { background:#111815; }

.projects.section-shell { padding-top:clamp(96px,10vw,156px); padding-bottom:clamp(96px,10vw,160px); }
.projects-head { align-items:end; margin-bottom:0; padding-bottom:34px; border-bottom:1px solid var(--rule); }
.projects-head h2 { font-size:clamp(68px,8.3vw,126px); line-height:.9; letter-spacing:-.075em; }
.section-side { max-width:300px; padding-bottom:7px; }
.section-side p { font-size:13px; line-height:1.75; }
.section-count { color:var(--accent); }
.project-filters { border-top:0; padding:18px 0 36px; gap:4px 26px; }
.filter-button { min-height:42px; padding:9px 0; border:0; border-bottom:1px solid transparent; border-radius:0; color:#9da19d; }
.filter-button:hover { border-color:var(--accent); color:var(--ink); }
.filter-button.is-active { color:var(--ink); background:transparent; border-color:var(--accent); }
.filter-button span { color:#767d77; }
.projects-grid { grid-template-columns:repeat(12,minmax(0,1fr)); gap:clamp(48px,5.6vw,82px) 24px; }
.projects-grid > .project-card { grid-row:auto; min-width:0; }
.projects-grid > .project-card:nth-child(1) { grid-column:1 / span 7; grid-row:1; }
.projects-grid > .project-card:nth-child(2) { grid-column:8 / span 5; grid-row:1; padding-top:clamp(22px,4vw,62px); }
.projects-grid > .project-card:nth-child(3) { grid-column:1 / span 5; grid-row:2; }
.projects-grid > .project-card:nth-child(4) { grid-column:6 / span 7; grid-row:2; padding-top:clamp(18px,3.6vw,54px); }
.projects-grid > .project-card:nth-child(5) { grid-column:1 / span 7; grid-row:3; }
.projects-grid > .project-card:nth-child(6) { grid-column:8 / span 5; grid-row:3; padding-top:clamp(24px,4vw,64px); }
.projects-grid > .project-card:nth-child(7) { grid-column:1 / span 5; grid-row:4; }
.projects-grid > .project-card:nth-child(8) { grid-column:6 / span 7; grid-row:4; padding-top:clamp(18px,3.6vw,54px); }
.projects-grid > .project-card:nth-child(9) { grid-column:1 / span 7; grid-row:5; }
.projects-grid > .project-card:nth-child(10) { grid-column:8 / span 5; grid-row:5; padding-top:clamp(22px,4vw,62px); }
.projects-grid > .project-card:nth-child(11) { grid-column:1 / span 7; grid-row:6; }
.projects-grid > .portfolio-contact { grid-column:8 / span 5; grid-row:6; }
.project-media { border-radius:4px; aspect-ratio:1.52; background:#151d1a; }
.projects-grid > .project-card:nth-child(2) .project-media,
.projects-grid > .project-card:nth-child(6) .project-media,
.projects-grid > .project-card:nth-child(10) .project-media { aspect-ratio:1.27; }
.projects-grid > .project-card:nth-child(3) .project-media,
.projects-grid > .project-card:nth-child(7) .project-media { aspect-ratio:1.4; }
.project-meta { padding:14px 0 16px; border-bottom-color:#ffffff2e; }
.project-meta h3 { font-size:clamp(16px,1.45vw,21px); line-height:1.28; }
.project-label { margin-bottom:8px; color:#8d958e; }
.project-number { color:#7b837d; }
.play-button { width:48px; height:48px; right:18px; bottom:18px; color:#101311; background:#f2f4ed; }
.project-card:hover .project-media img,.project-card:focus-within .project-media img { transform:scale(1.045); }
.portfolio-contact { align-self:stretch; padding-top:clamp(22px,4vw,62px); }
.portfolio-contact-link { min-height:100%; border-radius:4px; padding:clamp(24px,3.2vw,44px); background:#111815; border-color:#ffffff2c; }
.portfolio-contact h3 { font-size:clamp(30px,3.8vw,54px); }
.portfolio-contact .kicker::before { border-radius:0; }
.projects-grid.is-filtered { grid-template-columns:repeat(2,minmax(0,1fr)); }
.projects-grid.is-filtered > .project-card { grid-column:auto !important; grid-row:auto !important; padding-top:0; }

@media (max-width:960px) and (min-width:721px) {
  .hero h1 { font-size:clamp(66px,9.2vw,105px); }
  .projects-grid { gap:48px 18px; }
  .projects-grid > .project-card:nth-child(2),.projects-grid > .project-card:nth-child(4),.projects-grid > .project-card:nth-child(6),.projects-grid > .project-card:nth-child(8),.projects-grid > .project-card:nth-child(10) { padding-top:24px; }
}

@media (max-width:720px) {
  .hero { min-height:0; background:radial-gradient(circle at 80% 30%,#152019 0,#080808 52%); }
  .hero-inner { min-height:0; padding-top:104px; padding-bottom:38px; gap:30px; }
  .hero-topline { font-size:8px; }
  .hero-main .kicker { margin:0 0 22px; font-size:8px; }
  .hero h1 { font-size:clamp(40px,11.7vw,72px); line-height:.88; letter-spacing:-.075em; }
  .hero-title-line { max-width:100%; white-space:nowrap; }
  .hero-title-line:nth-child(2) { margin-left:16px; }
  .hero-visual { width:calc(100% - 2px); margin:22px 0 0; aspect-ratio:1.28; border-radius:6px; box-shadow:0 18px 50px #0008; transform:none; }
  .hero-visual-caption { right:14px; bottom:14px; left:14px; font-size:8px; }
  .hero-visual-arrow { width:36px; height:36px; }
  .hero-bottom { margin-top:0; gap:25px; }
  .hero-bottom p { max-width:300px; font-size:12px; }
  .hero-actions { gap:24px; }
  .ticker-band { padding:11px 0; }
  .projects.section-shell { padding-top:74px; padding-bottom:88px; }
  .projects-head { display:block; padding-bottom:25px; }
  .projects-head h2 { font-size:clamp(58px,15vw,82px); }
  .section-side { max-width:300px; padding-top:20px; }
  .section-side p { font-size:11px; }
  .project-filters { padding:15px 0 27px; gap:2px 18px; }
  .filter-button { min-height:38px; font-size:11px; }
  .projects-grid,.projects-grid.is-filtered { grid-template-columns:1fr; gap:42px; }
  .projects-grid > .project-card,.projects-grid.is-filtered > .project-card { grid-column:1 !important; grid-row:auto !important; padding-top:0; }
  .projects-grid > .project-card:nth-child(even) { padding-top:0; }
  .project-media,.projects-grid > .project-card:nth-child(2) .project-media,.projects-grid > .project-card:nth-child(3) .project-media,.projects-grid > .project-card:nth-child(6) .project-media,.projects-grid > .project-card:nth-child(7) .project-media,.projects-grid > .project-card:nth-child(10) .project-media { aspect-ratio:1.32; }
  .project-meta { padding-top:12px; }
  .project-meta h3 { font-size:17px; }
  .portfolio-contact { display:none; }
}

@media (max-width:360px) {
  .hero h1 { font-size:39px; }
  .hero-title-line:nth-child(2) { margin-left:10px; }
  .hero-actions { gap:16px; }
  .button { padding-left:16px; padding-right:16px; }
}

/* 3.7.4 desktop refinement: let editorial copy use the available width,
 * keep the portfolio hierarchy bold, and reserve the stacked treatment for
 * narrow screens where it improves reading. */
:root { --shell:1480px; --heading-muted:#9da69f; }
.section-head h2 em,.contact-head h2 em,.statement h2 em,.page-contact-band h2 em { color:var(--heading-muted); }
.hero-title-line:nth-child(2) { color:#8c9890; }
.page-lead { max-width:560px; }
.contact-info > p { max-width:600px; }
.services-intro { max-width:420px; }
.projects-head h2 { font-size:clamp(72px,8.6vw,138px); }
.project-meta h3 { font-size:clamp(17px,1.5vw,23px); }
.service-row h3 { font-size:clamp(29px,2.1vw,36px); }
.page-heading h1 { max-width:17ch; }
.filter-button { min-height:44px; }

@media (min-width:1200px) {
  .contact-layout { grid-template-columns:minmax(0,1fr) minmax(0,1.22fr); gap:clamp(90px,7vw,150px); }
  .services-layout { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(80px,6vw,130px); }
}

@media (min-width:960px) {
  .page-contact-band h2 { white-space:nowrap; }
}

@media (max-width:720px) {
  .page-lead,.contact-info > p { max-width:100%; }
  .services-intro { max-width:360px; }
  .projects-head h2 { font-size:clamp(58px,15vw,82px); }
  .project-meta h3 { font-size:17px; }
  .service-row h3 { font-size:26px; }
  .filter-button { min-height:44px; }
  .contact-head h2 em,.page-contact-band h2 em { display:block; }
  .page-heading h1 { max-width:15ch; }
}

/* 3.7.5 motion system: a small set of composited transitions gives the
 * interface the same considered pace as the reference demos. Motion is
 * state-driven so it stays cheap, interruptible and easy to disable. */
:root {
  --ease-silk: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.22, .8, .24, 1);
}

.hero.is-ready .hero-topline {
  animation: hero-fade-up .8s var(--ease-silk) both;
}
.hero.is-ready .hero-main .kicker {
  animation: hero-fade-up .8s .08s var(--ease-silk) both;
}
.hero.is-ready .hero-title-line {
  animation: hero-title-in 1.05s var(--ease-silk) both;
}
.hero.is-ready .hero-title-line:nth-child(2) {
  animation-delay: .13s;
}
.hero.is-ready .hero-visual {
  animation: hero-image-in 1.1s .24s var(--ease-silk) both;
}
.hero.is-ready .hero-visual img {
  animation: hero-image-settle 1.35s .24s var(--ease-silk) both;
}
.hero.is-ready .hero-bottom {
  animation: hero-fade-up .9s .36s var(--ease-silk) both;
}

@keyframes hero-fade-up {
  from { opacity:0; transform:translate3d(0,20px,0); }
  to { opacity:1; transform:translate3d(0,0,0); }
}
@keyframes hero-title-in {
  from { opacity:0; clip-path:inset(0 0 100% 0); transform:translate3d(0,28px,0); }
  to { opacity:1; clip-path:inset(0 0 0 0); transform:translate3d(0,0,0); }
}
@keyframes hero-image-in {
  from { opacity:0; clip-path:inset(0 100% 0 0 round 8px); }
  to { opacity:1; clip-path:inset(0 0 0 0 round 8px); }
}
@keyframes hero-image-settle {
  from { transform:scale(1.08); filter:saturate(.78) brightness(.72); }
  to { transform:scale(1); filter:saturate(1) brightness(1); }
}

.reveal {
  transition-property:opacity, transform;
  transition-duration:.8s, .9s;
  transition-timing-function:ease, var(--ease-silk);
  transition-delay:var(--reveal-delay, 0ms);
  will-change:opacity, transform;
}
.js .reveal:not(.is-visible) {
  opacity:0;
  transform:translate3d(0,28px,0) scale(.985);
}
.project-card {
  transition:opacity .65s var(--ease-silk), transform .8s var(--ease-silk);
  transition-delay:var(--reveal-delay, 0ms);
}
.project-card.is-filtered-in {
  animation:filter-card-in .7s var(--filter-delay, 0ms) var(--ease-silk) both;
}
@keyframes filter-card-in {
  from { opacity:0; transform:translate3d(0,18px,0) scale(.985); }
  to { opacity:1; transform:translate3d(0,0,0) scale(1); }
}
.projects-grid.is-filtering .project-media {
  transition-duration:.45s;
}

.project-media {
  --tilt-x:0deg;
  --tilt-y:0deg;
  --pointer-x:50%;
  --pointer-y:50%;
  transform:perspective(1100px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateZ(0);
  transform-origin:center center;
  transition:transform .7s var(--ease-silk), box-shadow .5s ease;
  will-change:transform;
}
.project-media::before {
  content:'';
  position:absolute;
  z-index:1;
  inset:0;
  border:1px solid #ffffff26;
  border-radius:inherit;
  background:radial-gradient(circle at var(--pointer-x) var(--pointer-y), #ffffff25, transparent 34%);
  opacity:0;
  transition:opacity .45s ease;
  pointer-events:none;
}
.project-card:hover .project-media,
.project-card:focus-within .project-media {
  box-shadow:0 22px 44px #0008;
}
.project-card:hover .project-media::before,
.project-card:focus-within .project-media::before {
  opacity:1;
}
.project-card:hover .project-meta h3,
.project-card:focus-within .project-meta h3 {
  color:var(--accent);
}
.project-meta h3 { transition:color .3s ease; }
.ticker-band:hover .ticker-track,
.ticker-band:focus-within .ticker-track { animation-play-state:paused; }

/* Inner pages use the same reveal language as the home page. Keeping the
 * default state visible makes the content resilient if an observer is absent. */
@media (prefers-reduced-motion:no-preference) {
  html.js body.motion-enabled .page-hero,
  html.js body.motion-enabled .page-photo,
  html.js body.motion-enabled .editorial-section,
  html.js body.motion-enabled .page-timeline,
  html.js body.motion-enabled .project-screen,
  html.js body.motion-enabled .project-navigation,
  html.js body.motion-enabled .contact-directory,
  html.js body.motion-enabled .page-contact-band {
    opacity:0;
    transform:translate3d(0,26px,0);
    transition:opacity .85s ease, transform .95s var(--ease-silk);
    transition-delay:var(--reveal-delay, 0ms);
  }
  html.js body.motion-enabled .page-hero.is-in-view,
  html.js body.motion-enabled .page-photo.is-in-view,
  html.js body.motion-enabled .editorial-section.is-in-view,
  html.js body.motion-enabled .page-timeline.is-in-view,
  html.js body.motion-enabled .project-screen.is-in-view,
  html.js body.motion-enabled .project-navigation.is-in-view,
  html.js body.motion-enabled .contact-directory.is-in-view,
  html.js body.motion-enabled .page-contact-band.is-in-view {
    opacity:1;
    transform:none;
  }
}

@media (max-width:720px) {
  .hero.is-ready .hero-title-line { animation-duration:.85s; }
  .hero.is-ready .hero-visual { animation-duration:.9s; }
  .project-media { transform:none; }
  .project-card:hover .project-media,
  .project-card:focus-within .project-media { box-shadow:none; }
  .project-card:hover .project-media::before,
  .project-card:focus-within .project-media::before { opacity:0; }
}

@media (prefers-reduced-motion:reduce) {
  .project-media { transform:none; }
  .project-card.is-filtered-in { animation:none; }
}

/* If site.js is blocked after adding the html.js marker, never keep a
 * content section in its pre-reveal state. */
html.js body:not(.motion-enabled) .reveal:not(.is-visible),
html.js body:not(.motion-enabled) .motion-item:not(.is-visible),
html.js body:not(.motion-enabled) .project-card:not(.is-visible) .project-media,
html.js body:not(.motion-enabled) .page-hero,
html.js body:not(.motion-enabled) .page-photo,
html.js body:not(.motion-enabled) .editorial-section,
html.js body:not(.motion-enabled) .page-timeline,
html.js body:not(.motion-enabled) .project-screen,
html.js body:not(.motion-enabled) .project-navigation,
html.js body:not(.motion-enabled) .contact-directory,
html.js body:not(.motion-enabled) .page-contact-band {
  opacity:1;
  transform:none;
  clip-path:none;
}

/* Reduced-motion mode keeps a clear, low-stimulation state change. The
 * browser preference removes parallax, tilt, masking and the moving ticker,
 * but it should not make the page look completely static while scrolling. */
@media (prefers-reduced-motion:reduce) {
  .ticker-track { animation:none !important; }
  .motion-cursor { display:none; }
  html.js body.motion-enabled .motion-item:not(.is-visible) {
    opacity:0 !important;
    transform:none !important;
    clip-path:none !important;
  }
  html.js body.motion-enabled .motion-item.is-visible {
    opacity:1 !important;
    transform:none !important;
    animation:motion-opacity-reveal .55s ease both !important;
  }
  html.js body.motion-enabled .project-card:not(.is-visible) .project-media {
    opacity:0 !important;
    transform:none !important;
    clip-path:none !important;
  }
  html.js body.motion-enabled .project-card.is-visible .project-media,
  html.js body.motion-enabled .project-card.is-visible .project-meta,
  html.js body.motion-enabled .project-card.is-visible .project-media img,
  html.js body.motion-enabled .project-card.is-visible .play-button,
  html.js body.motion-enabled .service-row.is-visible .service-number,
  html.js body.motion-enabled .service-row.is-visible .service-arrow,
  html.js body.motion-enabled .service-image-stack.is-visible .service-image-main {
    animation:motion-opacity-reveal .55s ease both !important;
    transform:none !important;
    clip-path:none !important;
  }
  html.js body.motion-enabled .page-hero,
  html.js body.motion-enabled .page-photo,
  html.js body.motion-enabled .editorial-section,
  html.js body.motion-enabled .page-timeline,
  html.js body.motion-enabled .project-screen,
  html.js body.motion-enabled .project-navigation,
  html.js body.motion-enabled .contact-directory,
  html.js body.motion-enabled .page-contact-band {
    opacity:0;
    transform:none;
    transition:none;
  }
  html.js body.motion-enabled .page-hero.is-in-view,
  html.js body.motion-enabled .page-photo.is-in-view,
  html.js body.motion-enabled .editorial-section.is-in-view,
  html.js body.motion-enabled .page-timeline.is-in-view,
  html.js body.motion-enabled .project-screen.is-in-view,
  html.js body.motion-enabled .project-navigation.is-in-view,
  html.js body.motion-enabled .contact-directory.is-in-view,
  html.js body.motion-enabled .page-contact-band.is-in-view {
    opacity:1;
    animation:motion-opacity-reveal .55s ease both;
  }
  .hero.is-ready .hero-topline,
  .hero.is-ready .hero-main .kicker,
  .hero.is-ready .hero-title-line,
  .hero.is-ready .hero-visual,
  .hero.is-ready .hero-visual img,
  .hero.is-ready .hero-bottom {
    animation:motion-opacity-reveal .55s ease both !important;
    transform:none !important;
    clip-path:none !important;
    filter:none !important;
  }
}
