/* ============================================================
   Glass Portrait Studio — front-end styles
   Palette + layout reproduced from the reference site, driven by
   the editable content JSON served by the Node backend.
   ============================================================ */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Regular.woff2') format('woff2'), url('/fonts/Satoshi-Regular.woff') format('woff');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Bold.woff2') format('woff2'), url('/fonts/Satoshi-Bold.woff') format('woff');
  font-weight: 700; font-display: swap;
}

:root {
  --bg: #080808;
  --bg-2: #0d0d0d;
  --card: #111111;
  --fg: #f8f8f8;
  --muted: #9c9c9c;
  --line: rgba(255, 255, 255, .13);
  --primary: #f2b705;
  --primary-strong: #d9a514;
  --light-bg: #f8f8f8;
  --ink: #101010;
  --header-h: 76px;
  --font: 'Satoshi', 'Plus Jakarta Sans', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html[data-theme='light'] {
  --bg: #f6f6f6; --bg-2: #ffffff; --card: #ffffff; --fg: #121212;
  --muted: #5c5c5c; --line: rgba(0, 0, 0, .14); --light-bg: #ececec; --ink: #101010;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ------------------------------- buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 8px; padding: 15px 26px; font-weight: 700;
  font-size: 15px; line-height: 1.2; transition: transform .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: #0a0a0a; box-shadow: 0 8px 28px rgba(255, 255, 255, .08); }
.btn-light:hover { background: #ededed; }
.btn-primary { background: var(--primary); color: #171200; }
.btn-primary:hover { background: #ffc634; box-shadow: 0 8px 26px rgba(242, 183, 5, .25); }
.btn-sm { padding: 10px 17px; font-size: 13px; border-radius: 6px; }
.btn-block { width: 100%; padding: 17px; font-size: 16px; border-radius: 8px; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 0; background: transparent; color: var(--fg); border-radius: 8px;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: var(--primary); }

/* -------------------------------- header ------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 100;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: background .3s;
}
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; position: relative; }
.brand { display: inline-flex; align-items: center; min-width: 130px; }
.brand-logo { width: 76px; height: auto; object-fit: contain; }
.logo-dark { display: block; mix-blend-mode: screen; }
.logo-light { display: none; }
html[data-theme='light'] .logo-dark { display: none; }
html[data-theme='light'] .logo-light { display: block; }

/* Editable text wordmark — driven by site.logoText in the admin panel */
.brand-wordmark {
  display: inline-flex; align-items: baseline; gap: .3em;
  padding: .24em .52em .28em; border-radius: 7px;
  background: var(--logo-bg, #fff); color: var(--logo-fg, #101010);
  font-family: var(--font); font-size: var(--logo-size, 27px); font-weight: 700;
  line-height: 1; letter-spacing: -.055em; white-space: nowrap;
  box-shadow: 0 1px 10px rgba(0, 0, 0, .10);
  transition: font-size .2s, background .2s, color .2s;
}
.brand-wordmark-text { display: inline-block; }
.brand-wordmark-sub {
  font-size: .3em; font-weight: 700; letter-spacing: .22em;
  opacity: .7; align-self: center;
}
.brand-wordmark.no-tile { background: transparent; color: var(--fg); box-shadow: none; padding: 0; }
.header-wordmark { max-width: 220px; }
.footer-wordmark.brand-wordmark { margin-bottom: 18px; }
.main-nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 36px;
}
.main-nav a {
  font-size: 13.5px; font-weight: 500; color: var(--fg); opacity: .92;
  transition: color .2s, opacity .2s; white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

/* --------------------------------- hero -------------------------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; background: var(--bg);
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 300px at 88% 28%, rgba(214, 150, 22, .16), transparent 70%),
    radial-gradient(500px 280px at 58% 88%, rgba(190, 130, 20, .12), transparent 72%);
  filter: blur(12px);
}
.hero-media { position: absolute; inset: 0 0 0 40%; z-index: -1; pointer-events: none; }
.hero-slide {
  position: absolute; inset: 0; background-repeat: no-repeat;
  background-position: 88% center; background-size: contain;
  opacity: 0; transition: opacity 1.1s ease;
  filter: brightness(.62) saturate(.8);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000 25%, transparent 82%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000 25%, transparent 82%);
}
.hero-slide.active { opacity: .72; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 4%, transparent 55%);
}
.hero-inner { padding-top: var(--header-h); }
.hero-eyebrow {
  display: inline-block; margin: 0 0 24px; font-size: 12px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--primary);
}
.hero-title {
  margin: 0 0 22px; font-size: clamp(42px, 5.1vw, 76px); font-weight: 700;
  line-height: 1.06; letter-spacing: -.025em; max-width: 780px;
}
.hero-title > span { display: block; }
.hero-title em { font-style: normal; color: var(--primary); }
.hero-sub { margin: 0 0 36px; max-width: 640px; font-size: 15.5px; color: var(--muted); line-height: 1.75; }
.hero-cta { min-width: 210px; }
.hero-controls {
  position: absolute; right: max(32px, calc((100vw - 1240px) / 2)); bottom: 74px;
  display: flex; align-items: center; gap: 14px;
}
.hero-arrow {
  width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--fg); border-radius: 50%;
  transition: border-color .2s, color .2s;
}
.hero-arrow:hover { border-color: var(--primary); color: var(--primary); }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot { width: 7px; height: 7px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .3); padding: 0; transition: all .3s; }
.hero-dot.active { background: var(--primary); width: 20px; border-radius: 5px; }
.hero-scroll-hint {
  position: absolute; left: max(32px, calc((100vw - 1240px) / 2)); bottom: 40px;
  width: 1px; height: 54px; background: linear-gradient(var(--primary), transparent); opacity: .65;
}

/* ------------------------------- sections ----------------------------- */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-kicker { color: var(--primary); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 12px; font-weight: 700; }
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------- featured works -------------------------- */
.featured-section { background: var(--bg); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.work-card { min-width: 0; }
.work-image-wrap {
  display: block; position: relative; overflow: hidden; border-radius: 12px;
  aspect-ratio: 1.1 / 1; background: var(--card); border: 1px solid var(--line);
}
.work-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work-image-wrap:hover img { transform: scale(1.07); }
.work-image-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .32));
}
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 2px 0; }
.work-meta h3 { margin: 0; min-width: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.work-socials { display: flex; gap: 7px; flex: 0 0 auto; }
.work-socials a {
  width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%;
  color: var(--muted); background: var(--card); transition: color .2s, transform .2s;
}
.work-socials a:hover { color: var(--primary); transform: translateY(-2px); }
.work-socials svg { width: 14px; height: 14px; }
.cta-band { text-align: center; margin-top: 90px; padding: 70px 20px; border-top: 1px solid var(--line); }
.cta-band p { font-size: 20px; margin: 0 0 24px; font-weight: 500; }

/* ------------------------------ about --------------------------------- */
.about-section { background: #f8f8f8; color: #111; }
html[data-theme='light'] .about-section { background: #ececec; }
.about-title { text-align: center; font-size: 27px; margin-bottom: 60px; color: #111; }
.about-grid { display: grid; grid-template-columns: minmax(300px, 38%) 1fr; gap: 56px; align-items: start; }
.about-photo { overflow: hidden; border-radius: 10px; }
.about-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%; }
.about-copy h3 { margin: 0 0 24px; font-size: 32px; font-weight: 700; color: #111; }
.about-paragraphs p { margin: 0 0 22px; font-size: 15px; line-height: 1.75; color: #3a3a3a; }
.say-hi { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.say-hi > span { font-weight: 700; font-size: 14px; color: #111; }
.say-hi-socials { display: flex; gap: 10px; }
.say-hi-socials .social-btn { width: 38px; height: 38px; }

/* ---------------------------- how it works ---------------------------- */
.how-section { background: var(--bg); }
.how-section .section-title { margin-bottom: 70px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; max-width: 1120px; margin-inline: auto; }
.step-icon {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 10px;
  background: var(--card); margin-bottom: 22px; border: 1px solid var(--line);
}
.step-icon svg { width: 23px; height: 23px; }
.step-num { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.step-item h3 { margin: 0 0 12px; font-size: 19px; font-weight: 700; }
.step-item p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* -------------------------------- footer ------------------------------ */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-logo, .footer-wordmark.brand-logo { width: 72px; margin-bottom: 18px; }
html[data-theme='dark'] .footer-logo, html[data-theme='dark'] .footer-wordmark.brand-logo { mix-blend-mode: screen; }
html[data-theme='light'] .footer-logo, html[data-theme='light'] .footer-wordmark.brand-logo { filter: invert(1); }
.footer-brand p { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 250px; }
.footer-col h3 { font-size: 15px; margin: 0 0 20px; font-weight: 700; }
.footer-col a { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--muted); }

/* --------------------------- floating socials ------------------------- */
.floating-social {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.social-btn {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transition: transform .2s, box-shadow .2s;
}
.social-btn:hover { transform: scale(1.1); box-shadow: 0 8px 26px rgba(0, 0, 0, .5); }
.social-btn svg { width: 30px; height: 30px; }
.soc-whatsapp { background: #25d366; }
.soc-instagram { background: radial-gradient(circle at 30% 105%, #ffd600 5%, #ff7a00 30%, #f6339a 62%, #833ab4 95%); }
.soc-tiktok { background: #0b0b0b; border: 1px solid rgba(255, 255, 255, .18); }
.soc-facebook { background: #1877f2; }
.soc-youtube { background: #ff0033; }

/* -------------------------------- lightbox ---------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
  background: rgba(0, 0, 0, .94); padding: 30px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 78vh; object-fit: contain; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin: 18px 0 0; font-weight: 700; }
.lightbox-close { position: absolute; top: 24px; right: 28px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 50%; }
.lightbox-close svg { width: 20px; height: 20px; margin: auto; }

/* ------------------------------- toast -------------------------------- */
.toast-box { position: fixed; top: 92px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 220px; max-width: 360px; padding: 13px 18px; border-radius: 8px; font-size: 14px;
  background: #1b1b1b; color: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4); animation: toast-in .25s ease;
}
.toast-ok { border-left: 3px solid #25d366; }
.toast-err { border-left: 3px solid #ff4d4f; }
.toast-out { opacity: 0; transform: translateX(20px); transition: all .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ------------------------------ order page ---------------------------- */
.order-page { padding: calc(var(--header-h) + 60px) 0 100px; min-height: 70vh; }
.order-container { max-width: 1000px; }
.order-intro { text-align: center; margin-bottom: 46px; }
.order-intro h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; margin: 0 0 12px; letter-spacing: -.02em; }
.order-intro p { color: var(--muted); font-size: 14.5px; margin: 0; }
.order-panel {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2);
  padding: 28px; margin-bottom: 24px;
}
.order-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.order-panel-head h2 { font-size: 22px; margin: 0 0 4px; font-weight: 700; }
.order-panel-head p { font-size: 13px; margin: 0; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.size-card {
  position: relative; border: 1px solid var(--line); border-radius: 10px; background: var(--card);
  padding: 22px 12px 18px; text-align: center; transition: border-color .2s, background .2s, transform .2s;
  cursor: pointer;
}
.size-card:hover { transform: translateY(-3px); border-color: rgba(242, 183, 5, .45); }
.size-card.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, var(--card)); }
.size-shape {
  width: 26px; height: 36px; margin: 0 auto 18px; background: #f7f7f7; border: 1px solid #d9d9d9;
  border-radius: 2px; box-shadow: 0 3px 12px rgba(255, 255, 255, .12);
}
.size-card h3 { font-size: 13px; margin: 0 0 8px; font-weight: 700; }
.size-price { color: var(--primary); font-weight: 700; font-size: 14px; }
.size-usd { color: var(--muted); font-size: 11.5px; margin: 2px 0 12px; }
.size-radio { width: 15px; height: 15px; border: 1px solid var(--muted); border-radius: 3px; margin: 0 auto; }
.size-card.selected .size-radio { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--card); }
.field-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.upload-zone {
  position: relative; min-height: 240px; border: 1.5px dashed var(--line); border-radius: 10px;
  display: grid; place-items: center; text-align: center; cursor: pointer; overflow: hidden;
  transition: border-color .2s, background .2s;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 4%, transparent); }
.upload-inner { padding: 30px; }
.upload-icon { color: var(--muted); margin-bottom: 14px; }
.upload-icon svg { width: 32px; height: 32px; margin: auto; }
.upload-hint { font-size: 15px; margin: 0 0 8px; font-weight: 500; }
.upload-desc { font-size: 13px; color: var(--muted); margin: 0; }
.upload-formats { font-size: 12px; color: var(--muted); margin: 6px 0 0; opacity: .8; }
.upload-preview { max-height: 300px; max-width: 100%; object-fit: contain; }
.upload-remove {
  position: absolute; top: 12px; right: 12px; padding: 7px 12px; font-size: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 6px;
}
.order-form .form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: var(--card); color: var(--fg); border: 1px solid var(--line);
  border-radius: 7px; padding: 14px 15px; font-size: 14px; outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); opacity: .65; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}
.order-summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding: 20px 0 24px; margin-top: 8px;
  font-size: 14px; color: var(--muted);
}
.order-summary strong { color: var(--fg); font-size: 16px; }
.order-summary .summary-price { color: var(--primary); font-weight: 700; font-size: 20px; }
.form-error { color: #ff6b6b; font-size: 13.5px; min-height: 20px; margin: 0 0 10px; }
.order-success { text-align: center; padding: 70px 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.success-icon { width: 66px; height: 66px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(37, 211, 102, .12); color: #25d366; }
.success-icon svg { width: 34px; height: 34px; }
.order-success h2 { font-size: 30px; margin: 0 0 12px; }
.order-success > p { color: var(--muted); margin: 0 0 26px; }
.success-receipt { display: inline-block; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px 28px; margin-bottom: 28px; font-size: 14px; line-height: 2; }
.success-receipt b { color: var(--primary); }

/* light theme: same carousel as dark, rebalanced for a light canvas.
   Never hide .hero-media here — both themes must show the artwork. */
html[data-theme='light'] .hero { background: #f6f6f6; }
html[data-theme='light'] .hero::after {
  /* explicit same-colour stops: `transparent` interpolates through black
     and leaves a grey band across the artwork */
  background: linear-gradient(90deg, #f6f6f6 0%, rgba(246, 246, 246, .94) 22%, rgba(246, 246, 246, 0) 56%);
}
html[data-theme='light'] .hero-media { display: block; }
html[data-theme='light'] .hero-slide {
  filter: brightness(.94) contrast(1.08) saturate(.9);
  -webkit-mask-image: radial-gradient(ellipse 76% 86% at 72% 50%, #000 40%, rgba(0, 0, 0, 0) 88%);
  mask-image: radial-gradient(ellipse 76% 86% at 72% 50%, #000 40%, rgba(0, 0, 0, 0) 88%);
}
html[data-theme='light'] .hero-slide.active { opacity: 1; }
html[data-theme='light'] .hero-glow { opacity: .4; }
html[data-theme='light'] .hero-arrow { background: rgba(255, 255, 255, .9); border-color: rgba(0, 0, 0, .18); }
html[data-theme='light'] .hero-dot { background: rgba(0, 0, 0, .22); }
html[data-theme='light'] .hero .btn-light { background: #111; color: #fff; }
html[data-theme='light'] .hero-sub { color: #5c5c5c; }

/* ------------------------------ responsive --------------------------- */
@media (max-width: 1024px) {
  .container { width: min(100% - 44px, 1240px); }
  .main-nav { gap: 22px; }
  .works-grid { gap: 20px; }
  .about-grid { gap: 34px; }
  .steps-grid { gap: 44px 28px; }
}
@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; transform: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 20px;
    background: var(--bg-2); border-bottom: 1px solid var(--line); display: none;
  }
  .main-nav.nav-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-grid; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media { inset: 0 0 0 20%; opacity: .55; }
  .hero-controls { right: 22px; bottom: 40px; }
}
@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .container { width: min(100% - 32px, 1240px); }
  .section { padding: 74px 0; }
  .header-order { padding: 9px 12px; font-size: 12px; }
  .brand-logo { width: 62px; }
  .brand-wordmark { font-size: min(var(--logo-size, 27px), 21px); }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 14px; }
  .hero-media { opacity: .35; }
  .works-grid, .steps-grid { grid-template-columns: 1fr; }
  .work-meta { flex-wrap: wrap; gap: 8px; }
  .work-socials { gap: 5px; }
  .work-socials a { width: 22px; height: 22px; }
  .work-socials svg { width: 13px; height: 13px; }
  .section-head { margin-bottom: 38px; }
  .cta-band { margin-top: 56px; padding: 50px 10px; }
  .order-panel { padding: 18px; }
  .size-grid { gap: 10px; }
  .order-panel-head { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .floating-social { right: 12px; bottom: 12px; }
  .social-btn { width: 40px; height: 40px; }
  .social-btn svg { width: 26px; height: 26px; }
  .hero-controls { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
