/* PatilWebsmith - plain CSS (no framework) */
:root {
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;

  --background: 201 100% 13%;
  --foreground: 0 0% 100%;
  --muted-foreground: 240 4% 66%;
  --primary: 0 0% 100%;
  --primary-foreground: 0 0% 4%;
  --secondary: 0 0% 10%;
  --muted: 0 0% 10%;
  --accent: 0 0% 10%;
  --border: 0 0% 18%;
  --input: 0 0% 18%;

  --bg: hsl(var(--background));
  --fg: hsl(var(--foreground));
  --mut: hsl(var(--muted-foreground));
  --sky: #7dd3fc;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
main { flex: 1; animation: pagein .45s ease-out both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid hsl(0 0% 83%); outline-offset: 3px; }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo span {
  font-family: 'Instrument Serif', serif;
}

/* ---------- liquid glass (from the brief) ---------- */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before,
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* same glass edge with a bit more body so content cards read on the navy page */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  background-blend-mode: luminosity;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

/* ---------- animations (from the brief) ---------- */
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-rise { animation: fade-rise 0.8s ease-out both; }
.animate-fade-rise-delay { animation: fade-rise 0.8s ease-out 0.2s both; }
.animate-fade-rise-delay-2 { animation: fade-rise 0.8s ease-out 0.4s both; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,1,.36,1) var(--d, 0s), transform .6s cubic-bezier(.22,1,.36,1) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal > .glass-card { height: 100%; }

/* 3D tilt cards */
.tilt {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .4s ease-out; will-change: transform;
}
.tilt.moving { transition: transform .08s linear; }
.tilt::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--gx) var(--gy), rgba(255,255,255,.14), transparent 65%);
}
.tilt:hover::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  border-radius: 9999px; color: var(--fg); cursor: pointer; font-size: .875rem; font-weight: 500;
  padding: .625rem 1.5rem; transition: transform .2s ease;
}
.btn:hover { transform: scale(1.03); }
.btn-lg { padding: 1.25rem 3.5rem; font-size: 1rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- navigation ---------- */
.site-header.hero { position: relative; z-index: 50; }
.site-header.sticky {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: hsl(var(--background) / .6);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.nav {
  position: relative; display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem; max-width: 80rem; margin: 0 auto;
}
.logo { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.025em; color: var(--fg); }
.logo sup { font-size: .75rem; line-height: 1; }
.nav-links { display: none; align-items: center; gap: 1.5rem; }
.nl { font-size: .875rem; color: var(--mut); transition: color .2s; display: inline-flex; align-items: center; gap: .25rem; }
.nl:hover, .nl.active, .has-dd:hover > .nl, .has-dd.open > .nl { color: var(--fg); }
.nl svg { width: .875rem; height: .875rem; transition: transform .2s; }
.has-dd:hover > .nl svg, .has-dd.open > .nl svg { transform: rotate(180deg); }
.has-dd { position: relative; }
.dd {
  position: absolute; left: 0; top: 100%; z-index: 50; width: 15rem; padding-top: .75rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: none; }
.dd-panel {
  border: 1px solid rgba(255,255,255,.1); background: hsl(var(--background) / .85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-radius: 1rem; padding: .5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}
.dd-panel a { display: block; border-radius: .75rem; padding: .5rem .75rem; font-size: .875rem; color: var(--mut); transition: background .2s, color .2s; }
.dd-panel a:hover { background: rgba(255,255,255,.05); color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.nav-right .btn { display: none; }
.menu-btn { width: 2.75rem; height: 2.75rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; color: var(--fg); }
.menu-btn svg { width: 1.25rem; height: 1.25rem; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: hsl(var(--background) / .96); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .nav { padding-bottom: 1rem; }
.mm-close { padding: .5rem; color: var(--fg); }
.mm-close svg { width: 1.5rem; height: 1.5rem; }
.mm-body { padding: 0 2rem 4rem; }
.mm-item { border-bottom: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; }
.mm-item > a, .mm-item > p { display: block; font-family: var(--font-display); font-size: 2.25rem; line-height: 1.1; }
.mm-sub a { display: block; padding: .375rem 0; color: var(--mut); transition: color .2s; }
.mm-sub a:hover { color: var(--fg); }
.mm-sub { margin-top: .75rem; }
.mm-body .btn { margin-top: 2rem; }

/* ---------- hero (home) ---------- */
.hero-section {
  position: relative; display: flex; flex-direction: column; width: 100%;
  min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--bg);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-body {
  position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 8rem 1.5rem 10rem;
}
.hero-h1 {
  max-width: 80rem; font-size: 3rem; line-height: .95; letter-spacing: -2.46px; font-weight: 400;
  font-family: 'Instrument Serif', serif;
}
.hero-h1 em { font-style: normal; color: var(--mut); }
.hero-sub { color: var(--mut); font-size: 1rem; line-height: 1.625; max-width: 42rem; margin-top: 2rem; }
.hero-cta { margin-top: 3rem; }

/* ---------- inner page hero ---------- */
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 2rem; }
.page-hero .wrap { padding-top: 3.5rem; padding-bottom: 2.5rem; }
.ph-grid { display: grid; gap: .5rem; align-items: center; }
.ph-grid.center { text-align: center; }
.ph-grid.center .ph-text { max-width: 56rem; margin: 0 auto; }
.ph-text h1 { font-size: 3rem; line-height: .95; letter-spacing: -2px; font-weight: 400; }
.ph-text p { margin-top: 1.5rem; max-width: 36rem; color: var(--mut); font-size: 1rem; line-height: 1.625; }
.ph-actions { margin-top: 2rem; }
.badge { display: inline-flex; border-radius: 9999px; padding: .25rem .75rem; font-size: .75rem; font-weight: 500; margin-bottom: 1.5rem; }
.scene { position: relative; width: 100%; height: 300px; }
.scene canvas { display: block; width: 100%; height: 100%; }

/* ---------- sections ---------- */
.section { max-width: 80rem; margin: 0 auto; padding: 3.5rem 2rem; }
.section.big { padding-top: 6rem; padding-bottom: 6rem; }
.section.narrow { max-width: 64rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.sec-head { max-width: 48rem; margin-bottom: 3rem; }
.sec-head.flush { margin-bottom: 2rem; }
.sec-head h2 { font-size: 2.25rem; line-height: .98; letter-spacing: -1.5px; }
.sec-head p { margin-top: 1.25rem; color: var(--mut); font-size: 1rem; line-height: 1.625; }

.grid { display: grid; gap: 1.25rem; }
.card h3 { font-size: 1.5rem; line-height: 1.15; }
.card p { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: var(--mut); }
.icon-badge { width: 3rem; height: 3rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1.25rem; }
.icon-badge.lg { width: 3.5rem; height: 3.5rem; font-size: 1.5rem; margin-bottom: 1.5rem; }
.service-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; }
.service-card h3 { font-size: 1.875rem; line-height: 1.15; }
.service-card p { flex: 1; margin-top: .75rem; font-size: .875rem; line-height: 1.625; color: var(--mut); }
.more { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; }
.more svg { width: 1rem; height: 1rem; transition: transform .2s; }
.tilt:hover .more svg { transform: translate(2px, -2px); }
.ck { width: 1rem; height: 1rem; flex-shrink: 0; fill: none; stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* project / portfolio cards */
.thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.tilt:hover .thumb img { transform: scale(1.05); }
.glass-card.flush { padding: 0; }
.glass-card.flush a { display: block; height: 100%; }
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.5rem; line-height: 1.15; }
.card-body p { margin-top: .5rem; font-size: .875rem; color: var(--mut); }
.framed { padding: .75rem; border-radius: 2rem; }
.framed img { width: 100%; border-radius: 1.5rem; object-fit: cover; }

/* why choose us (home) */
.why { display: grid; gap: 1.5rem; align-items: center; }
.tick-list { display: grid; gap: .75rem; }
.tick-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; }
.tick-list .dot { width: 1.5rem; height: 1.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tick-list .dot .ck { width: .875rem; height: .875rem; }
.tick-list span.t { padding-top: .125rem; }
.poster-stage { position: relative; height: 360px; }
.poster-stage .scene { position: absolute; inset: 0; height: 100%; }
.poster-float { position: absolute; left: 50%; top: 50%; width: min(52%, 270px); margin: calc(min(52%, 270px) / -2) 0 0 calc(min(52%, 270px) / -2); animation: floaty 5s ease-in-out infinite; }
.poster-float .tilt { display: block; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 25px 60px -15px rgba(0,0,0,.6); }
.poster-float img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@keyframes floaty { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }

/* about */
.prose { display: grid; gap: 1.25rem; max-width: 56rem; color: var(--mut); font-size: 1rem; line-height: 1.7; }
.row-card { display: flex; align-items: center; gap: 1rem; font-size: 1.125rem; }
.row-card .dot { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* steps */
.step-num { width: 3rem; height: 3rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-family: var(--font-display); font-size: 1.5rem; }

/* pricing */
.plan { display: flex; flex-direction: column; height: 100%; padding: 2rem; }
.plan h3 { font-size: 1.875rem; }
.price { margin-top: 1rem; display: flex; align-items: baseline; gap: .5rem; }
.price b { font-family: var(--font-display); font-weight: 400; font-size: 3.75rem; line-height: 1; letter-spacing: -.025em; }
.price small { font-size: .875rem; color: var(--mut); }
.plan .desc { margin-top: 1rem; font-size: .875rem; line-height: 1.625; color: var(--mut); }
.plan ul { margin-top: 1.5rem; display: grid; gap: .75rem; }
.plan li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; }
.plan li .ck { margin-top: .125rem; }
.plan .btn { margin-top: 2rem; align-self: flex-start; }
.plan .spacer { flex: 1; }

/* checklist, challenges, info */
.check-list { display: grid; gap: .75rem; }
.check-item { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; font-size: .875rem; border-radius: 1rem; height: 100%; }
.challenge .lbl { font-size: .875rem; color: var(--mut); }
.challenge .val { margin-top: .25rem; font-size: 1.125rem; line-height: 1.35; }
.challenge .val + .lbl { margin-top: 1.25rem; }
.info-list { padding: 0; }
.info-row { display: grid; gap: .25rem; padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.info-row:first-child { border-top: 0; }
.info-row dt { font-size: .875rem; color: var(--mut); }

/* CTA band */
.cta-band { padding: 5rem 2rem; }
.cta-inner { max-width: 51rem; margin: 0 auto; text-align: center; padding: 4rem 2rem; border-radius: 2rem; }
.cta-inner h2 { font-size: 2.25rem; line-height: .98; letter-spacing: -1.5px; max-width: 48rem; margin: 0 auto; }
.cta-inner p { margin: 1.25rem auto 0; max-width: 42rem; color: var(--mut); line-height: 1.625; }
.cta-inner .btn { margin-top: 2.5rem; }

/* ---------- process ring ---------- */
.process { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem 5rem; }
.ring-stage { position: relative; margin: 0 auto; height: 280px; perspective: 1200px; --dx: 128px; --dz: 90px; --cw: 148px; --ch: 200px; }
.ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.ring-card {
  position: absolute; left: 50%; top: 50%; width: var(--cw); height: var(--ch);
  margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2);
  --d: 0; --ad: 0; --o: 1;
  transform: translateX(calc(var(--d) * var(--dx))) translateZ(calc(var(--ad) * var(--dz) * -1)) rotateY(calc(var(--d) * -38deg));
  opacity: var(--o);
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s;
}
.ring-card .glass-card {
  width: 100%; height: 100%; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  text-align: center; opacity: .6; transition: opacity .5s; border-radius: 1.5rem;
}
.ring-card .glass-card:hover { opacity: .9; }
.ring-card.active .glass-card { opacity: 1; }
.ring-card .num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--mut); }
.ring-card .emo { font-size: 2.25rem; line-height: 1; }
.ring-card .ttl { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.step-detail { max-width: 42rem; margin: 1.5rem auto 0; min-height: 150px; text-align: center; }
.detail { display: none; }
.detail.active { display: block; animation: detailin .35s ease-out both; }
@keyframes detailin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.detail h2 { font-size: 2.25rem; line-height: 1.1; }
.detail p { margin-top: 1rem; color: var(--mut); font-size: 1rem; line-height: 1.625; }
.chips { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chip { border-radius: 9999px; padding: .5rem 1rem; font-size: .875rem; color: var(--mut); transition: color .2s; }
.chip:hover { color: var(--fg); }
.chip.active { color: var(--fg); background: rgba(255,255,255,.01); box-shadow: inset 0 1px 1px rgba(255,255,255,.1), 0 0 0 1px rgba(255,255,255,.22); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 2rem; max-width: 80rem; margin: 0 auto; padding: 1.5rem 2rem 6rem; }
.stack { display: grid; gap: 1.5rem; align-content: start; }
.info-card h2, .map-card h2 { font-size: 1.875rem; line-height: 1.1; }
.contact-list { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-list .ic { width: 2.75rem; height: 2.75rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list .ic svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: .875rem; color: var(--mut); }
.contact-list a:hover { color: var(--sky); }
.map-card { padding: .75rem; border-radius: 1.5rem; }
.map-card .mh { padding: 1.25rem 1.25rem .75rem; }
.map-card .mh p { margin-top: .25rem; font-size: .875rem; color: var(--mut); }
.map-card iframe { width: 100%; height: 18rem; border: 0; border-radius: 1rem; }
.contact-form { padding: 2rem; display: grid; gap: 1.25rem; align-content: start; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border-radius: .75rem; border: 1px solid hsl(var(--input)); background: rgba(255,255,255,.04);
  padding: .65rem 1rem; font-size: .875rem; transition: border-color .2s, box-shadow .2s;
}
.field input, .field select { height: 2.75rem; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--mut); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,.4); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.field select option { background: var(--bg); color: var(--fg); }
.contact-form .btn { width: 100%; padding: .9rem 1.5rem; }
.form-status { font-size: .875rem; min-height: 1.25rem; }
.form-status.ok { color: #86efac; }
.form-status.err { color: #fca5a5; }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 2rem; max-width: 48rem; margin: 0 auto; }
.notfound h1 { font-size: 4.5rem; line-height: 1; letter-spacing: -2px; }
.notfound p { margin-top: 1.5rem; color: var(--mut); }
.notfound .btn { margin-top: 2.5rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,.1); }
.foot-grid { display: grid; gap: 3rem; max-width: 80rem; margin: 0 auto; padding: 4rem 2rem; }
.foot-grid h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.foot-grid p.about { margin-top: 1rem; max-width: 24rem; font-size: .875rem; line-height: 1.625; color: var(--mut); }
.foot-grid li { margin-bottom: .5rem; }
.foot-grid a { font-size: .875rem; color: var(--mut); transition: color .2s; }
.foot-grid a:hover { color: var(--fg); }
.foot-grid a.logo { font-size: 1.875rem; color: var(--fg); }
.foot-contact { margin-top: 1.5rem; display: grid; gap: .5rem; font-size: .875rem; color: var(--mut); }
.foot-contact li { display: flex; align-items: center; gap: .75rem; margin: 0; }
.foot-contact svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 2rem; text-align: center; font-size: .875rem; color: var(--mut); }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .hero-h1 { font-size: 4.5rem; }
  .hero-sub { font-size: 1.125rem; }
  .ph-text h1 { font-size: 3.75rem; }
  .ph-text p { font-size: 1.125rem; }
  .scene { height: 380px; }
  .sec-head h2, .cta-inner h2 { font-size: 3rem; }
  .sec-head p { font-size: 1.125rem; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .check-list { grid-template-columns: repeat(2, 1fr); }
  .tick-list { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { padding: 4rem 4rem; }
  .cta-inner p { font-size: 1.125rem; }
  .poster-stage { height: 460px; }
  .ring-stage { height: 352px; --dx: 255px; --dz: 150px; --cw: 208px; --ch: 272px; }
  .detail h2 { font-size: 3rem; }
  .detail p { font-size: 1.125rem; }
  .info-row { grid-template-columns: 180px 1fr; gap: 1.5rem; }
  .notfound h1 { font-size: 6rem; }
}
@media (min-width: 768px) {
  .hero-h1 { font-size: 6rem; }
  .ph-text h1 { font-size: 4.5rem; }
  .sec-head h2, .cta-inner h2 { font-size: 3.75rem; }
  .nav-links { display: flex; }
  .nav-right .btn { display: inline-flex; }
  .menu-btn { display: none; }
  .plans.n2 { grid-template-columns: repeat(2, 1fr); }
  .proj-3 { grid-template-columns: repeat(2, 1fr); }
  .challenges { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .nav-links { gap: 2rem; }
  .ph-grid.has-scene { grid-template-columns: 1fr 1fr; }
  .page-hero .wrap { padding-top: 5rem; }
  .scene { height: 480px; }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
  .plans.n3 { grid-template-columns: repeat(3, 1fr); }
  .proj-3 { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .poster-stage { height: 520px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (max-width: 767px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  main, .animate-fade-rise, .animate-fade-rise-delay, .animate-fade-rise-delay-2, .poster-float, .detail.active { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tilt, .ring-card { transition: none; }
}
