/* v3 — dedicated phone layout. Loaded only below 768px (media attr), desktop untouched. */
:root{--g:max(20px,env(safe-area-inset-left));--gr:max(20px,env(safe-area-inset-right));--bar:64px}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:12px}
body{font-size:17px;line-height:1.6;overflow-x:hidden;-webkit-tap-highlight-color:rgba(26,43,74,.12);padding-bottom:calc(var(--bar) + env(safe-area-inset-bottom))}
img{height:auto}
a,button,label,summary{touch-action:manipulation}
h2{font-size:clamp(1.6rem,7vw,2.1rem);line-height:1.1;letter-spacing:-.03em;text-wrap:balance}
p{text-wrap:pretty}
.wrap,.container{padding-left:var(--g)!important;padding-right:var(--gr)!important;max-width:none!important}

/* ---------- Home hero: full-bleed photo, headline across the width ---------- */
.hero-wrap{padding:0!important}
.hero-panel{border-radius:0!important;padding:0!important;box-shadow:none!important;background:var(--navy-deep)!important}
.hero-bar{position:absolute!important;inset:0 0 auto 0;z-index:6!important;display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  padding:calc(env(safe-area-inset-top) + 14px) var(--gr) 0 var(--g)}
.hero-bar .brand{background:rgba(255,255,255,.94);border-radius:14px;padding:8px 12px 6px;box-shadow:0 6px 20px rgba(0,0,0,.18)}
.hero-bar .brand img{height:34px!important}
.hero-bar .slogan{font-size:.66rem}
.hero-bar > .btn{display:none!important}
.pill-nav{order:3;width:100%;display:grid!important;grid-template-columns:repeat(4,1fr);gap:2px!important;padding:4px!important;
  background:rgba(255,255,255,.16)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.22)}
.pill-nav a{min-height:44px;display:flex!important;align-items:center;justify-content:center;padding:0 4px!important;font-size:.84rem!important;color:#fff!important;text-align:center;line-height:1.1}
.pill-nav a[aria-current="page"]{background:#fff!important;color:var(--ink)!important}
.hero-stage{display:flex!important;flex-direction:column;justify-content:flex-end;gap:0!important;min-height:88svh;padding:0!important;position:relative}
@supports not (height:1svh){.hero-stage{min-height:620px}}
.hero-copy{max-width:none!important;position:relative;z-index:4;padding:0 var(--gr) 18px var(--g);color:#fff}
.hero-copy .eyebrow{color:rgba(255,255,255,.88)!important;font-size:.72rem!important;margin-bottom:10px}
.hero-copy h1{color:#fff!important;font-size:clamp(2.6rem,12.4vw,3.6rem)!important;line-height:.98!important;letter-spacing:-.04em!important;text-wrap:balance;text-shadow:0 2px 24px rgba(0,0,0,.25)}
.hero-photo{position:static!important}
.hero-slides{position:absolute!important;inset:0;height:auto!important;border-radius:0!important;z-index:0}
.hero-shade{background:linear-gradient(180deg,rgba(18,32,51,.55) 0%,rgba(18,32,51,0) 28%,rgba(18,32,51,.15) 50%,rgba(18,32,51,.88) 100%)!important}
.hero-dots{top:auto!important;bottom:auto!important;right:var(--gr);left:auto!important;top:calc(env(safe-area-inset-top) + 150px)!important}
.hero-aside{position:relative!important;inset:auto!important;z-index:4!important;margin:0 var(--gr) 22px var(--g);max-width:none!important;
  display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;align-items:stretch!important;text-align:left!important;
  background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.2);border-radius:18px!important;padding:14px!important}
.hero-aside p{grid-column:1/-1;color:#fff!important;font-size:1rem!important;font-style:italic}
.hero-aside .btn{justify-content:center;min-height:48px;background:#fff!important;color:var(--navy)!important}
.hero-aside .text-link{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;border:1.5px solid rgba(255,255,255,.7);color:#fff!important;font-weight:600;text-decoration:none;font-size:.92rem;text-align:center}
.hero-cloud{display:none!important}
.photo-note{margin:0!important;padding:12px var(--gr) 0 var(--g)!important;font-size:.82rem;text-align:center}

/* ---------- Sections: rhythm ---------- */
.section{padding:48px 0!important}
.section-head{margin-bottom:22px!important}
.band{min-height:auto!important}
.band img{height:100%!important;object-fit:cover}
.band-copy{padding:48px var(--gr) 48px var(--g)!important;margin:0!important;max-width:none!important}
.about-photo img{aspect-ratio:4/3;object-fit:cover;border-radius:18px;width:100%}
.switcher-tabs{display:flex!important;overflow-x:auto;gap:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.switcher-tabs label{min-height:44px;display:flex!important;align-items:center;white-space:nowrap}
.faq-list{padding-inline:0!important}
.faq-list summary{min-height:52px;display:flex!important;align-items:center;padding-block:10px!important}
.btn{min-height:48px}
.more-projects .btn,.band-copy .btn,.contact-inner .btn{width:100%;justify-content:center}
.contact-band{padding-bottom:24px!important}
.phone a{display:inline-flex;align-items:center;min-height:44px}

/* ---------- Inner pages (Projects / Small works) ---------- */
.site-header{position:sticky;top:0;z-index:50;padding-top:env(safe-area-inset-top);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.header-inner{min-height:64px;align-items:center}
.brand-lockup{height:36px!important;width:auto!important}
.nav-toggle{min-height:44px;min-width:64px;border-radius:999px}
.site-nav a{min-height:48px;display:flex!important;align-items:center}
.page-intro h1{font-size:clamp(2.2rem,10vw,3rem)!important;line-height:1;letter-spacing:-.035em;text-wrap:balance}
.work-tabs{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
.work-tab{min-height:44px;display:flex!important;align-items:center;justify-content:center}
.gallery{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;columns:auto!important}
.project-card{margin:0!important;break-inside:avoid}
.project-photo{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:cover;border-radius:12px}
.gallery-group{margin-bottom:36px}
.small-work-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.small-work-link{min-height:44px;display:inline-flex!important;align-items:center}
.footer-nav a,.site-footer a{min-height:44px;display:inline-flex;align-items:center}

/* ---------- Sticky bottom contact bar ---------- */
.m-bar{display:grid!important;position:fixed;left:0;right:0;bottom:0;z-index:100;grid-template-columns:1.15fr 1.15fr .8fr;gap:8px;
  padding:8px var(--gr) calc(8px + env(safe-area-inset-bottom)) var(--g);background:rgba(246,241,232,.92);
  backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-top:1px solid rgba(26,43,74,.1)}
.m-bar a{min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;font:600 .9rem/1.1 var(--font);text-decoration:none;text-align:center;color:var(--navy);border:1.5px solid var(--navy)}
.m-bar a.primary{background:var(--navy);color:#fff}
.m-bar a:active{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.m-bar a:active{transform:none}}
.hero-aside .text-link{font-size:.86rem;padding:0 8px;line-height:1.15}
.m-bar a{font-size:.84rem;padding:0 6px}
.pill-nav a{font-size:.8rem!important}
.services{grid-template-columns:1fr 1fr!important;gap:10px!important;margin-bottom:32px!important}
.services li{min-height:60px;padding:12px 14px!important;font-size:.95rem;border-radius:14px!important}
.services li:first-child,.services li:last-child{grid-column:1/-1!important}
