/* =====================================================================
   Malek Webworks — dark minimal theme (v1, Oct 2026)
   Black canvas, light curved panels, rotating tile rings.
   ===================================================================== */

:root {
  --black: #000;
  --ink: #0b0b0b;
  --card-dark: #161616;
  --card-dark-2: #1d1d1d;
  --line-dark: rgba(255,255,255,.08);
  --white: #fff;
  --paper: #ececec;
  --card-light: #fafafa;
  --text-light: #f4f4f4;
  --muted-light: #9a9a9a;
  --text-dark: #0d0d0d;
  --muted-dark: #8b8b8b;
  --dim: #8a8a8a;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text-light);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }
.dim { color: var(--dim); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: inherit;
  opacity: .75;
}

.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .label { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(40px, 6.4vw, 76px); }
.section-head .sub { max-width: 560px; margin: 18px auto 0; color: var(--muted-light); }

/* Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 28px; border-radius: 14px;
  font: 500 14px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 0; transition: transform .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--card-dark-2); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.4); }
.btn--dark:hover { background: #262626; }
.btn--light { background: #fff; color: #000; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* Reveal ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Menu — floating handle at top centre
   ===================================================================== */
.menu { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; align-items: center; }
/* the closed menu's invisible box must not swallow taps meant for the page beneath it (e.g. the hero buttons) */
.menu { pointer-events: none; }
.menu-handle { pointer-events: auto; }
.menu-handle {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 10px 0 8px; border-radius: 14px;
  background: rgba(22,22,22,.78); color: #fff; border: 1px solid var(--line-dark);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font: 500 13px var(--font); cursor: pointer;
  transition: background .3s;
}
.menu-handle:hover { background: rgba(34,34,34,.9); }
.menu-handle img { width: 30px; height: auto; margin-left: 4px; }
.menu-icon { width: 28px; height: 28px; border-radius: 8px; background: #2a2a2a; display: grid; place-content: center; gap: 4px; }
.menu-icon i { display: block; width: 12px; height: 1.5px; background: #fff; transition: transform .35s; }
.menu.is-open .menu-icon i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu.is-open .menu-icon i:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.menu-panel {
  margin-top: 8px; width: 220px; padding: 22px 16px 16px;
  background: #1a1a1a; border: 1px solid var(--line-dark); border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
  transform-origin: top center;
  opacity: 0; transform: scale(.85) translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.9,.2,1), visibility 0s .45s;
}
.menu.is-open .menu-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu-panel li a { display: block; text-decoration: none; font-size: 21px; line-height: 1; padding: 6px 0; }
/* text-roll hover: the label slides up and a copy slides in from below */
.menu-panel li a span { display: inline-block; position: relative; overflow: hidden; height: 1.15em; vertical-align: top; color: transparent; }
.menu-panel li a span::before, .menu-panel li a span::after { content: attr(data-text); position: absolute; left: 0; color: #fff; transition: transform .4s cubic-bezier(.2,.9,.2,1); }
.menu-panel li a span::before { top: 0; }
.menu-panel li a span::after { top: 100%; }
.menu-panel li a:hover span::before, .menu-panel li a:hover span::after,
.menu-panel li a:focus-visible span::before, .menu-panel li a:focus-visible span::after { transform: translateY(-100%); }
.menu-panel .socials { margin-top: 16px; }

.socials { display: flex; justify-content: center; gap: 8px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #242424; color: #fff; transition: background .25s, transform .25s; }
.socials a:hover { background: #333; transform: translateY(-2px); }
.socials svg { width: 14px; height: 14px; }

/* =====================================================================
   Hero — rings of tilted 3D tiles
   ===================================================================== */
.hero { position: relative; height: 170vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; padding: 76px 0 88px; }
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.3px);
  background-size: 28px 28px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0, rgba(0,0,0,.55) 45%, rgba(0,0,0,.15) 85%);
          mask-image: radial-gradient(ellipse at 50% 50%, #000 0, rgba(0,0,0,.55) 45%, rgba(0,0,0,.15) 85%);
}
.rings { position: absolute; inset: 0; perspective: 1400px; transform: scale(var(--ring-scale, 1)); transition: transform .1s linear; }
.ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin var(--dur, 120s) linear infinite; animation-direction: var(--dir, normal); }
.tile {
  position: absolute; left: 0; top: 0;
  width: var(--size); height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(var(--spin)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12%;
  border: 1px solid rgba(255,255,255,.22);
  filter: brightness(var(--bright, .6)) saturate(.9);
  background: #1a1a1a;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-copy { position: relative; z-index: 2; text-align: center; padding-inline: clamp(16px, 4vw, 32px); max-width: 1000px; opacity: var(--copy-op, 1); transform: translateY(var(--copy-y, 0)); }
/* soft dark scrim keeps the copy readable where tiles drift behind it */
.hero-copy::before { content: ""; position: absolute; inset: -18% -14%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,0,.84) 0%, rgba(0,0,0,.62) 46%, rgba(0,0,0,0) 74%); }
.hero-mark { width: 46px; height: auto; margin: 0 auto 14px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.06; max-width: 18em; margin-inline: auto; text-wrap: balance; text-shadow: 0 4px 40px #000; }
.hero .nowrap { white-space: nowrap; }
.hero-lede { margin: clamp(16px, 2vw, 22px) auto 0; max-width: 34em; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: #d4d4d4; text-wrap: pretty; text-shadow: 0 2px 16px #000; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 3vw, 32px); }
.hero-actions .btn { min-height: 52px; padding: 0 30px; font-size: 16px; }
.hero-actions .btn--light { box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.hero-actions .btn--light:hover { background: #e8e8e8; }
.btn--outline { background: rgba(12,12,12,.6); color: #fff; border: 1px solid rgba(255,255,255,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--outline:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.hero-actions .btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 7px rgba(0,0,0,.7); }
.hero-note { margin: 20px auto 0; max-width: 32em; font-size: 14px; line-height: 1.5; color: #c4c4c4; text-shadow: 0 2px 16px #000; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 12px; opacity: var(--copy-op, 1); }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* =====================================================================
   Statement — huge marquee + word-by-word reveal
   ===================================================================== */
.statement { position: relative; padding: 6vh 0 18vh; overflow: hidden; margin-top: -30vh; z-index: 3; }
.marquee { white-space: nowrap; overflow: hidden; }
.marquee-track { display: inline-flex; align-items: center; gap: .3em; font-size: clamp(80px, 15vw, 210px); letter-spacing: -0.05em; line-height: 1.1; will-change: transform; }
.marquee-track i { font-style: normal; font-size: .55em; margin-inline: .15em; }
.reveal-words {
  max-width: 820px; margin: 9vh auto 0; padding-inline: var(--gutter);
  text-align: center; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.22; letter-spacing: -0.02em;
}
.reveal-words .w { color: #4a4a4a; transition: color .35s ease; }
.reveal-words .w.on { color: #fff; }

/* =====================================================================
   Light panels — rounded clip that opens up as you scroll
   ===================================================================== */
.light-panel {
  --r: 0px; --inset: 0px;
  position: relative; z-index: 4; overflow: hidden;
  background: var(--paper); color: var(--text-dark);
  padding: clamp(80px, 12vw, 150px) 0 clamp(100px, 13vw, 170px);
  clip-path: inset(0 var(--inset) 0 var(--inset) round var(--r) var(--r) 50% 50% / var(--r) var(--r) 90px 90px);
}
.light-panel--both { clip-path: inset(0 var(--inset) 0 var(--inset) round 50% 50% 50% 50% / 90px 90px 90px 90px); }
.light-panel .section-head .label { color: #111; }
.light-panel .dim { color: #8d8d8d; }

.keep-scrolling { text-align: center; font-size: 12px; margin-bottom: clamp(80px, 14vw, 180px); color: #333; }
.keep-scrolling span { display: block; font-size: 14px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* Bento ------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: stretch; }
.bento-col { display: flex; flex-direction: column; gap: 10px; }
.bento-col .b-card:not(.b-card--small) { flex: 1; }
.b-card {
  position: relative; background: var(--card-light); border-radius: var(--radius);
  padding: 22px 22px 0; min-height: 120px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.b-card--small { padding: 18px 20px; min-height: 0; justify-content: center; }
.b-card .label { font-size: 9.5px; color: #222; margin-bottom: 8px; }
.b-card h3 { font-size: 24px; letter-spacing: -0.02em; padding-bottom: 18px; border-bottom: 1px dashed #dcdcdc; margin-bottom: 18px; }
.b-card > p:not(.label):not(.tiny):not(.stars) { font-size: 12.5px; line-height: 1.5; color: #333; max-width: 240px; }
.b-card--tall p:not(.label) { margin-top: 0; }
.svc-img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; margin: auto 0 12px; display: block; }
.b-card > p:not(.label):not(.tiny):not(.stars) { margin-bottom: 18px; }
.avatars { display: flex; margin-bottom: 10px; }
.avatars img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: left top; border: 2px solid var(--card-light); margin-right: -8px; }
.tiny { font-size: 11px; color: #222; }
.stars { font-size: 18px; letter-spacing: 2px; color: #111; margin-bottom: 6px; }

/* =====================================================================
   Work — stacked sticky case cards
   ===================================================================== */
.work { position: relative; padding: clamp(110px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); margin-top: -90px; }
.work-meta { display: flex; justify-content: space-between; font-size: 11px; color: #9a9a9a; margin: -24px 0 28px; }
.cases { position: relative; }
.case {
  position: sticky; top: 70px;
  height: min(78vh, 680px); margin-bottom: 18px;
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #1a1d20; isolation: isolate;
  box-shadow: 0 -20px 50px rgba(0,0,0,.55);
}
.case:nth-child(2) { top: 84px; }
.case:nth-child(3) { top: 98px; }
.case:nth-child(4) { top: 112px; }
.case-bg {
  position: absolute; inset: -30px; z-index: -1;
  background-size: cover; background-position: center;
  filter: blur(14px) brightness(.32) saturate(.8);
  transform: scale(1.1);
}
.case-card {
  display: block; position: relative; width: min(340px, 78%);
  background: #fff; color: #000; border-radius: 16px; padding: 6px; text-decoration: none;
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
  transition: transform .5s cubic-bezier(.2,.9,.2,1);
}
a.case-card:hover { transform: translateY(-6px) scale(1.02); }
.case-tags { display: flex; justify-content: space-between; gap: 6px; font-size: 9.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; padding: 8px 8px 9px; }
.case-tags span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; border-radius: 11px; }
.case-arrow {
  position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: #b0622e; color: #fff; display: grid; place-items: center; font-size: 15px;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: transform .4s;
}
a.case-card:hover .case-arrow { transform: rotate(45deg); }
.case-caption { margin-top: 22px; max-width: 360px; padding-inline: 20px; text-align: center; font-size: 13px; color: #b9b9b9; }

/* =====================================================================
   About — orbit + promise slider
   ===================================================================== */
#about { margin-top: 40px; }
.orbit { position: relative; width: min(560px, 92vw); aspect-ratio: 1; margin: -10px auto 30px; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
.orbit-ring.r2 { inset: 16%; }
.orbit-ring.r3 { inset: 32%; border-style: dashed; }
.orbit-spin { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbiter { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(min(560px, 92vw) * -.42)) rotate(calc(var(--a) * -1)); }
.orbiter-inner { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: spin 40s linear infinite reverse; }
.orbiter img { max-width: none; object-fit: cover; position: absolute; width: 46px; height: 46px; left: -23px; top: -23px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); background: #111; }
.orbiter b { position: absolute; left: 0; top: -64px; transform: translateX(-50%); white-space: nowrap; background: #111; color: #fff; font-size: 11px; font-weight: 500; padding: 5px 9px; border-radius: 8px; }
.orbiter b::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: #111; transform: rotate(45deg); }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,.18); }

.promise-slider { max-width: 860px; margin: 0 auto; }
.promise-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 5px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.promise-track::-webkit-scrollbar { display: none; }
.promise { scroll-snap-align: start; background: var(--card-light); border-radius: var(--radius); padding: 24px; min-height: 200px; display: flex; flex-direction: column; gap: 14px; }
.promise .label { color: #111; }
.promise .quote { font-size: 15px; line-height: 1.5; color: #1a1a1a; }
.slider-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.slider-nav button { height: 38px; border: 0; border-radius: 12px; background: var(--card-light); font-size: 20px; cursor: pointer; color: #111; transition: background .2s; }
.slider-nav button:hover { background: #fff; }

/* =====================================================================
   Plans
   ===================================================================== */
.plans { position: relative; padding: clamp(120px, 14vw, 180px) 0 clamp(80px, 10vw, 120px); margin-top: -90px; overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.dot-wave { position: absolute; left: 0; top: 140px; width: 100%; height: 520px; opacity: .7; pointer-events: none; }
.plans .wrap { position: relative; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin: 0 auto; }
.plan-col { display: flex; flex-direction: column; gap: 10px; }
.plan-col .btn { width: 100%; }
.plan {
  flex: 1; background: linear-gradient(180deg, #1b1b1b, #121212);
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px 22px 26px;
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
}
.plan-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.pill { font-size: 10px; font-weight: 500; text-transform: none; color: #ccc; background: #262626; padding: 4px 8px; border-radius: 6px; }
.plan-price { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.03em; margin: 22px 0 14px; }
.plan-desc { font-size: 12.5px; color: var(--muted-light); padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.plan-features-title { font-size: 12px; margin: 20px 0 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 24px; font-size: 12.5px; color: #a8a8a8; }
.checks li b { color: #fff; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plans-note { max-width: 560px; margin: 26px auto 0; text-align: center; font-size: 12px; color: #777; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section { padding: clamp(90px, 12vw, 150px) 0; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin: 0 auto; align-items: start; }
.faq-grid details { background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: 18px; transition: background .3s; }
.faq-grid details[open] { background: #1c1c1c; }
.faq-grid summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 18px; font-size: 15px; line-height: 1.35; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; flex: none; font-size: 18px; color: #bbb; transition: transform .35s; }
.faq-grid details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 18px 20px; font-size: 13.5px; color: var(--muted-light); }

/* =====================================================================
   CTA — arc of tiles
   ===================================================================== */
.cta { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: 20vh 0 12vh; }
.arc-wrap { position: absolute; inset: 0; }
.arc { position: absolute; left: 50%; top: 80%; width: 0; height: 0; perspective: 1200px; }
.arc .ring { --dur: 90s; }
.arc .tile img { --bright: .9; }
.cta::after { content: ""; position: absolute; inset: auto 0 0 0; height: 32%; background: linear-gradient(transparent, #000 70%); pointer-events: none; }
.cta-copy { position: relative; z-index: 2; text-align: center; padding-inline: var(--gutter); margin-top: 10vh; }
.cta-copy .label { margin-bottom: 14px; }
.cta h2 { font-size: clamp(42px, 6.6vw, 80px); }
.cta-copy p:not(.label) { max-width: 430px; margin: 18px auto 28px; color: #aaa; font-size: 14px; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact { padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px); border-top: 1px solid var(--line-dark); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: #cfcfcf; }
.req { color: #e2915a; }
.hint { color: #777; }
.field input, .field select, .field textarea {
  width: 100%; font: 15px var(--font); color: #fff;
  background: #0e0e0e; border: 1px solid #2a2a2a; border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #777; }
.field .btn { align-self: flex-start; }
.form-note { font-size: 12px; color: #777; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: 12px; background: #2a1b14; color: #f0c8ad; font-size: 14px; }
.form-status--ok { background: #15241a; color: #b8e6c4; }
.form-status a { color: inherit; }
.contact-side { display: flex; flex-direction: column; gap: 10px; }
.side-card { background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; }
.side-card .label { margin-bottom: 16px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 14px; }
.contact-list span { display: block; font-size: 11px; color: #777; margin-bottom: 2px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid #444; }
.checks--muted li { color: #a8a8a8; }

/* =====================================================================
   Footer
   ===================================================================== */
.footer { border-top: 1px solid var(--line-dark); padding: 70px 0 30px; text-align: center; }
.footer-mark { width: 54px; height: auto; margin: 0 auto 14px; }
.footer-name { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.footer-name sup { font-size: .5em; }
.footer-brand > p:not(.footer-name) { font-size: 12px; color: #999; margin: 6px 0 18px; }
.footer-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 46px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); font-size: 12.5px; }
.footer-nav a { text-decoration: none; color: #ddd; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 11.5px; color: #777; }

/* Cookie banner + WhatsApp FAB (injected by site.js) ----------------- */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 120; max-width: 380px; background: #161616; border: 1px solid #2a2a2a; border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.6); font-size: 13px; color: #ccc; }
.cookie-banner a { color: #fff; }
.cookie-banner-actions { display: flex; gap: 8px; margin-top: 14px; }
.cookie-banner .btn { min-height: 38px; padding: 0 18px; font-size: 13px; }
.cookie-banner .btn--ghost { background: #262626; color: #fff; }
.cookie-banner .btn--primary { background: #fff; color: #000; }
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 110; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #1f1f1f; border: 1px solid #333; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .25s, background .25s; }
.whatsapp-fab:hover { transform: translateY(-3px); background: #25d366; }
.whatsapp-fab svg { width: 24px; height: 24px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero { height: 150vh; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
  .hero-actions .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .b-card--tall { min-height: 300px; }
  .plan-grid, .faq-grid { grid-template-columns: 1fr; }
  .promise-track { grid-auto-columns: 88%; }
  .form { grid-template-columns: 1fr; }
  .case { height: 70vh; top: 64px; }
  .work-meta { margin-top: -14px; }
  .footer-nav { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .light-panel { clip-path: inset(0 var(--inset) 0 var(--inset) round var(--r) var(--r) 50% 50% / var(--r) var(--r) 40px 40px); }
  .cta { padding-top: 48vh; }
  .arc-wrap { bottom: auto; height: calc(44vh + 40px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
  .arc { top: 44vh; }
  .cta-copy { margin-top: 0; }
  .light-panel--both { clip-path: inset(0 round 50% 50% 50% 50% / 40px 40px 40px 40px); }
}

/* short screens (landscape phones, small laptops): tighten the hero so nothing is clipped */
@media (max-height: 700px) {
  .hero-mark { display: none; }
  .scroll-hint { display: none; }
  .hero-sticky { padding: 64px 0 72px; }
  .hero h1 { font-size: clamp(30px, 4.6vw, 54px); }
}
@media (max-height: 520px) {
  .hero-sticky { padding: 56px 0 16px; }
  .scroll-hint { display: none; }
  .hero-actions { flex-direction: row; max-width: none; }
  .hero-actions .btn { width: auto; min-height: 46px; }
  .hero-note { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

.cookie-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.cookie-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.cookie-banner:focus { outline: none; }
.footer-nav .cookie-link { color: #ddd; text-decoration: none; transition: color .2s; }
.footer-nav .cookie-link:hover { color: #fff; }
.footer-bottom .cookie-link { color: inherit; }

.field--check { gap: 6px; }
.field .check-label { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: #e4e4e4; cursor: pointer; padding: 6px 0; }
.field .check-label input[type="checkbox"] { width: 22px; height: 22px; flex: none; margin: 1px 0 0; padding: 0; accent-color: #fff; cursor: pointer; }
.field .check-label input[type="checkbox"]:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.check-note { font-size: 12.5px; color: #a8a8a8; margin: 0 0 0 34px; }
