/* =========================================================
   FREIRE TATTOO — landing
   ========================================================= */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --ink: #07080a;
  --ink-2: #0d0f13;
  --ink-3: #15181e;
  --line: rgba(232, 236, 244, 0.12);
  --line-2: rgba(232, 236, 244, 0.22);
  --bone: #eceef2;
  --bone-dim: rgba(236, 238, 242, 0.62);
  --bone-faint: rgba(236, 238, 242, 0.38);
  --red: #c4262e;
  --red-hot: #e23b3b;
  --rose: #f4a7a1;
  --error: #ff7a70;

  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- type ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone-dim);
}
.kicker__line { width: 36px; height: 1px; background: linear-gradient(90deg, var(--red-hot), transparent); flex: 0 0 auto; }
.section__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(52px, 7.4vw, 108px);
  line-height: .92; letter-spacing: .01em; text-transform: uppercase;
}
.section__title em, .hero__title em, .popup__title em {
  font-style: normal; font-weight: 400;
  background: linear-gradient(100deg, var(--rose), var(--red-hot) 60%, var(--rose));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 10.5px; }
.btn--line { background: transparent; border-color: var(--line-2); color: var(--bone); }
.btn--line:hover { border-color: var(--rose); background: rgba(244,167,161,.06); }
.btn--solid {
  background: linear-gradient(120deg, var(--red), var(--red-hot));
  color: #fff;
  box-shadow: 0 10px 40px -10px rgba(196,38,46,.7);
}
.btn--solid:hover { box-shadow: 0 14px 50px -8px rgba(226,59,59,.9); }
.btn--block { width: 100%; }
.btn--shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out 1.5s infinite;
}
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--bone);
  padding-bottom: 6px; border-bottom: 1px solid var(--line-2);
  transition: border-color .3s, color .3s;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: var(--rose); color: var(--rose); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(7,8,10,.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 36px; height: auto; }
.brand__name { font-family: var(--f-display); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; padding-top: 3px; }
.nav { display: flex; gap: 34px; }
.nav a {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--bone-dim); transition: color .2s;
}
.nav a:hover { color: var(--bone); }
.header__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--f-mono); font-size: 11px; }
.lang__btn { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--bone-faint); letter-spacing: .14em; transition: color .2s; }
.lang__btn:hover { color: var(--bone); }
.lang__btn.is-active { color: var(--bone); }
.lang__sep { color: var(--line-2); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 96px var(--gutter) 56px;
  overflow: hidden;
  scroll-margin-top: 0;
}
.hero__photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 56%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  filter: grayscale(1) contrast(1.12) brightness(.82);
  animation: photo-in 2.2s var(--ease) both;
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--ink) 0%, transparent 28%),
    linear-gradient(180deg, rgba(7,8,10,.6) 0%, transparent 20%),
    linear-gradient(120deg, transparent 40%, rgba(196,38,46,.22) 100%);
  mix-blend-mode: normal;
}
@keyframes photo-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; left: 30%; top: 10%;
  background: radial-gradient(circle, rgba(196,38,46,.22), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1360px; margin: 0 auto;
}
.hero__inner > * { max-width: 560px; }
.hero__title {
  margin: 0 0 22px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(54px, min(6.6vw, 10.5vh), 108px);
  line-height: .9; letter-spacing: .01em; text-transform: uppercase;
}
.hero__title span, .hero__title em { display: block; }
.hero__lead { margin: 0 0 26px; color: var(--bone-dim); font-size: clamp(16px, 1.25vw, 18px); font-weight: 300; max-width: 480px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  width: 1px; height: 54px; background: var(--line);
  overflow: hidden;
}
.hero__scroll span { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--rose); animation: scroll-line 2.2s var(--ease) infinite; }
@keyframes scroll-line { to { top: 100%; } }

/* entrance */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.hero .reveal:nth-child(1) { animation-delay: .25s; }
.hero .reveal:nth-child(2) { animation-delay: .4s; }
.hero .reveal:nth-child(3) { animation-delay: .55s; }
.hero .reveal:nth-child(4) { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- luxury form ---------- */
.lux-form {
  position: relative;
  padding: 22px 28px 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.008) 60%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
/* animated hairline border */
.lux-form::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background:
    conic-gradient(from var(--a), transparent 0deg 220deg, rgba(244,167,161,.95) 290deg, rgba(196,38,46,.9) 320deg, transparent 360deg),
    linear-gradient(var(--line), var(--line));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: border-spin 7s linear infinite;
}
@keyframes border-spin { to { --a: 360deg; } }
.lux-form__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.lux-form__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose);
}
.lux-form__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 0 0 rgba(226,59,59,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(226,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(226,59,59,0); } }
.lux-form__hint { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-faint); }

.lead-form { display: flex; flex-direction: column; gap: 4px; }
.lead-form > * { opacity: 0; transform: translateY(10px); animation: rise .8s var(--ease) forwards; }
.lead-form > *:nth-child(2) { animation-delay: .9s; }
.lead-form > *:nth-child(3) { animation-delay: 1s; }
.lead-form > *:nth-child(4) { animation-delay: 1.1s; }
.lead-form > *:nth-child(5) { animation-delay: 1.2s; }
.lead-form > *:nth-child(n+6) { animation-delay: 1.3s; }
.popup .lead-form > * { animation-delay: .2s; }
.lead-form > .hp { animation: none; }

.field { position: relative; display: block; padding-top: 16px; }
.field input {
  width: 100%; height: 48px; padding: 14px 0 6px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  color: var(--bone); font-family: var(--f-body); font-size: 16px; font-weight: 400;
  outline: none;
  transition: border-color .3s;
}
.field input:-webkit-autofill { -webkit-text-fill-color: var(--bone); transition: background-color 9999s; }
.field__label {
  position: absolute; left: 0; top: 34px;
  font-size: 15px; font-weight: 300; color: var(--bone-faint);
  pointer-events: none; transform-origin: left top;
  transition: transform .35s var(--ease), color .3s, top .35s var(--ease);
}
.field input:focus + .field__label,
.field input:not(:placeholder-shown) + .field__label {
  top: 14px; transform: scale(.72);
  color: var(--rose); letter-spacing: .04em;
}
.field__bar {
  position: absolute; left: 0; right: 0; height: 1px; top: 63px;
  background: linear-gradient(90deg, var(--red), var(--rose));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.field:focus-within .field__bar { transform: scaleX(1); }
.field__err { display: none; color: var(--error); font-size: 12px; padding-top: 6px; }
.field.has-error input { border-bottom-color: var(--error); }
.field.has-error .field__err { display: block; }

.phone { display: flex; align-items: flex-end; gap: 14px; }
.phone__dial-wrap {
  position: relative; flex: 0 0 auto;
  height: 48px; padding: 14px 22px 6px 0;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: flex-end;
  font-size: 16px;
}
.phone__dial-wrap::after {
  content: ""; position: absolute; right: 4px; bottom: 15px;
  width: 5px; height: 5px;
  border-right: 1px solid var(--bone-dim); border-bottom: 1px solid var(--bone-dim);
  transform: rotate(45deg); pointer-events: none;
}
.phone__dial-display { white-space: nowrap; pointer-events: none; line-height: 26px; }
.phone__dial { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.phone__dial option, .phone__dial optgroup { background: #fff; color: #111; }
.phone__num { position: relative; flex: 1 1 auto; min-width: 0; }
.phone__num input {
  width: 100%; height: 48px; padding: 14px 0 6px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  color: var(--bone); font-family: var(--f-body); font-size: 16px; outline: none;
}
.phone__num .field__label { top: 18px; }
.phone__num input:focus + .field__label,
.phone__num input:not(:placeholder-shown) + .field__label { top: -2px; transform: scale(.72); color: var(--rose); }
.field--phone .field__bar { top: auto; bottom: auto; margin-top: -1px; position: relative; display: block; }
.field--phone.has-error .phone__num input { border-bottom-color: var(--error); }

.consent {
  position: relative;
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 18px;
  font-size: 12px; line-height: 1.5; color: var(--bone-dim); font-weight: 300;
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.consent__box {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px;
  border: 1px solid var(--line-2); border-radius: 5px;
  display: grid; place-items: center;
  transition: background .25s, border-color .25s;
}
.consent__box::after { content: "✓"; font-size: 11px; color: #fff; opacity: 0; transform: scale(.4); transition: .25s var(--ease); }
.consent input:checked + .consent__box { background: var(--red); border-color: var(--red); }
.consent input:checked + .consent__box::after { opacity: 1; transform: none; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--rose); outline-offset: 2px; }
.field__err--consent { display: none; color: var(--error); font-size: 12px; padding-top: 6px; }
.consent-error .field__err--consent { display: block; }
.consent-error .consent__box { border-color: var(--error); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.lead-form .btn { margin-top: 18px; min-height: 56px; }
.btn__spinner {
  display: none; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
.is-loading .btn__spinner { display: inline-block; }
.is-loading .btn__arrow { display: none; }
.is-loading .btn { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { display: none; margin: 10px 0 0; color: var(--error); font-size: 13px; text-align: center; }
.send-error .form-error { display: block; }

.success { text-align: center; padding: 22px 6px 8px; animation: rise .8s var(--ease) both; }
.success__icon {
  width: 58px; height: 58px; margin: 0 auto 18px;
  border-radius: 50%; border: 1px solid var(--rose); color: var(--rose);
  display: grid; place-items: center; font-size: 22px;
  box-shadow: 0 0 40px -6px rgba(226,59,59,.7);
}
.success h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.success p { margin: 0 0 22px; color: var(--bone-dim); font-size: 15px; font-weight: 300; }

/* ---------- strip ---------- */
.strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-family: var(--f-serif); font-weight: 300; font-size: clamp(30px, 4vw, 54px); line-height: 1;
}
.marquee { overflow: hidden; width: 100%; }
.marquee__track { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; padding-left: 40px; animation: marquee 45s linear infinite; }
.marquee__track .it { font-style: italic; color: var(--rose); }
.marquee__track i { font-style: normal; font-size: .35em; color: var(--red-hot); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .lux-form::before, .btn--shine::after { animation: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) var(--gutter); max-width: 1440px; margin: 0 auto; scroll-margin-top: 60px; }
.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__cta { display: flex; justify-content: center; margin-top: 48px; }

/* work rail */
.rail {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__item {
  flex: 0 0 auto; width: clamp(240px, 27vw, 400px); aspect-ratio: 4 / 5;
  padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in;
  overflow: hidden; border-radius: 4px; scroll-snap-align: start;
  position: relative;
}
.rail__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .9s var(--ease), filter .6s; }
.rail__item:hover img { transform: scale(1.04); filter: grayscale(0); }
.rail__item span {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--bone-dim);
}
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  font-size: 18px; transition: border-color .3s, background .3s;
}
.rail-btn:hover { border-color: var(--rose); background: rgba(244,167,161,.06); }

/* about */
.about { display: flex; flex-direction: column; align-items: center; text-align: center; }
.about__head { margin-bottom: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; }
.kicker__line--r { background: linear-gradient(270deg, var(--red-hot), transparent); }
.about__video { position: relative; width: min(100%, 440px); aspect-ratio: 9 / 16; background: var(--ink-3); overflow: hidden; border-radius: 8px; box-shadow: 0 40px 120px -30px rgba(196,38,46,.45); }
.about__video video { width: 100%; height: 100%; object-fit: cover; }
.about__video::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
.sound-btn {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  background: rgba(7,8,10,.6); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-radius: 40px; padding: 9px 16px; cursor: pointer;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}
.sound-btn__on { display: none; }
.sound-btn.is-on .sound-btn__on { display: inline; }
.sound-btn.is-on .sound-btn__off { display: none; }
.about__copy { max-width: 620px; margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; }
.about__name { margin: 0 0 22px; font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 5.4vw, 76px); line-height: .95; letter-spacing: .02em; text-transform: uppercase; }
.about__name em { font-style: normal; font-weight: 400; background: linear-gradient(100deg, var(--rose), var(--red-hot) 60%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__text { color: var(--bone-dim); font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; margin: 0 0 16px; }
.about__text:first-of-type { color: var(--bone); }
.about__sign { font-family: var(--f-serif); font-style: italic; font-size: 34px; color: var(--rose); margin: 22px 0 30px; }

/* flash */
.flash__intro { max-width: 420px; margin: 0; color: var(--bone-dim); font-weight: 300; font-size: 16px; }
.only-flash { display: none !important; }
.popup.is-flash .only-consult { display: none !important; }
.popup.is-flash .only-flash { display: inline !important; }
.popup.is-flash .popup__title .only-flash, .popup.is-flash .popup__sub.only-flash { display: block !important; }
.flash__unique {
  display: flex; align-items: center; gap: clamp(16px, 2.6vw, 30px);
  margin: 0 0 32px; padding: clamp(16px, 2.2vw, 24px) clamp(18px, 3vw, 32px);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(196,38,46,.18), rgba(196,38,46,.03) 70%);
  border: 1px solid rgba(226,59,59,.32);
}
.flash__unique-mark {
  flex: 0 0 auto;
  font-family: var(--f-display); font-size: clamp(52px, 6vw, 80px); line-height: .85; letter-spacing: .02em;
  background: linear-gradient(100deg, var(--rose), var(--red-hot) 60%, var(--rose));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flash__unique-txt { display: flex; flex-direction: column; gap: 4px; }
.flash__unique-txt strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: .03em; line-height: 1; text-transform: uppercase; }
.flash__unique-txt span { color: var(--bone-dim); font-weight: 300; font-size: 15px; max-width: 640px; }
.flash-card__unique {
  position: absolute; top: 14px; right: 14px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(7,8,10,.6); border: 1px solid var(--line-2);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone);
}
.flash__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flash-card { display: flex; flex-direction: column; gap: 14px; }
.flash-card__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px;
  background: var(--ink-3);
}
.flash-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.flash-card:hover .flash-card__media > img { transform: scale(1.03); }
.flash-card__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  border: 1px dashed var(--line-2); border-radius: inherit;
  background:
    radial-gradient(circle at 50% 45%, rgba(196,38,46,.12), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 1px, transparent 1px 14px);
}
.flash-card__ph img { width: 72px; opacity: .22; }
.flash-card__ph span {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-faint);
  text-align: center; padding: 0 14px; line-height: 1.6;
}
.flash-card__badge {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(120deg, var(--red), var(--red-hot)); color: #fff;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 6px 24px -6px rgba(196,38,46,.7);
}
.flash-card__stamp {
  display: none;
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%) rotate(-12deg);
  padding: 8px 22px; border: 2px solid var(--red-hot); border-radius: 6px;
  font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); letter-spacing: .12em; line-height: 1;
  text-transform: uppercase; color: var(--red-hot);
  background: rgba(7,8,10,.55);
}
.flash-card__cta-taken { display: none; }
.flash-card.is-taken .flash-card__stamp { display: block; }
.flash-card.is-taken .flash-card__media > img,
.flash-card.is-taken .flash-card__ph { filter: grayscale(1) brightness(.45); }
.flash-card.is-taken .flash-card__badge,
.flash-card.is-taken .flash-card__price { opacity: .35; }
.flash-card.is-taken .flash-card__btn { opacity: .5; cursor: not-allowed; transform: none; border-color: var(--line); background: transparent; }
.flash-card.is-taken .flash-card__cta,
.flash-card.is-taken .btn__arrow { display: none; }
.flash-card.is-taken .flash-card__cta-taken { display: inline; }
.flash-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.flash-card__no { font-family: var(--f-display); font-size: 28px; letter-spacing: .04em; line-height: 1; text-transform: uppercase; }
.flash-card__info { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--bone-dim); }
.flash-card__price { display: flex; align-items: baseline; gap: 10px; margin-top: -4px; }
.flash-card__price s { font-family: var(--f-body); font-size: 16px; font-weight: 300; color: var(--bone-faint); text-decoration-color: var(--red-hot); text-decoration-thickness: 1.5px; }
.flash-card__price strong { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: .02em; color: var(--rose); }
.flash-card__btn { min-height: 48px; }
.flash__note { margin: 36px 0 0; text-align: center; color: var(--bone-faint); font-size: 14px; font-weight: 300; }
.popup__flash {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 10px;
  background: rgba(196,38,46,.12); border: 1px solid rgba(226,59,59,.35);
  font-size: 14px; color: var(--bone);
}
.popup__flash strong { color: var(--rose); font-weight: 600; }
.popup__flash s { color: var(--bone-faint); }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 36px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__no { font-family: var(--f-serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--rose); }
.step h3 { margin: 18px 0 10px; font-family: var(--f-body); font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--bone-dim); font-weight: 300; max-width: 340px; }

/* studio */
.studio { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.studio__addr { font-style: normal; font-size: clamp(18px, 1.6vw, 22px); font-weight: 300; line-height: 1.6; margin: 28px 0 18px; }
.studio__note { color: var(--bone-dim); font-weight: 300; margin: 0 0 28px; max-width: 420px; }
.studio__map { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--ink-3); }
.studio__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg) brightness(.95); }
.studio__map::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 80px rgba(196,38,46,.15); }

/* faq */
.faq__list { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 48px 26px 0;
  font-family: var(--f-serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 400;
  transition: color .2s;
}
.faq summary:hover { color: var(--rose); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-body); font-weight: 300; font-size: 26px; color: var(--rose); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--bone-dim); font-weight: 300; max-width: 720px; }

/* final */
.final {
  position: relative;
  padding: clamp(90px, 12vw, 170px) var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 100%, rgba(196,38,46,.2), transparent 60%);
}
.final__logo { width: min(260px, 60vw); margin-bottom: 44px; opacity: .9; }
.final .section__title { margin-bottom: 44px; max-width: 980px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 30px var(--gutter) 110px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-faint); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--bone); }
.footer__legal { text-transform: none; letter-spacing: .02em; margin: 16px 0 0; }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; justify-content: center;
  min-height: 54px; border-radius: 999px;
  background: linear-gradient(120deg, var(--red), var(--red-hot)); color: #fff; text-decoration: none;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 12px 40px -8px rgba(196,38,46,.7);
  transform: translateY(160%); transition: transform .4s var(--ease);
}
.sticky-cta.is-visible { transform: none; }

/* ---------- popup ---------- */
.popup { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(4,5,8,.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .5s;
}
.popup__panel.lux-form {
  width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto;
  padding: 40px 36px 32px;
  background: linear-gradient(160deg, rgba(20,24,34,.55), rgba(7,8,10,.35));
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.popup.is-open .popup__backdrop { opacity: 1; }
.popup.is-open .popup__panel { opacity: 1; transform: none; }
.popup__title { margin: 0 0 12px; font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 6vw, 64px); line-height: .92; letter-spacing: .01em; text-transform: uppercase; }
.popup__title span, .popup__title em { display: block; }
.popup__sub { margin: 0 0 6px; color: var(--bone-dim); font-size: 14px; font-weight: 300; }
.popup__close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  font-size: 28px; font-weight: 300; line-height: 1; color: var(--bone-dim); transition: color .2s, transform .3s var(--ease);
}
.popup__close:hover { color: var(--bone); transform: rotate(90deg); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(4,5,8,.94); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 36px; color: var(--bone); cursor: pointer; }

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 260;
  width: min(440px, calc(100vw - 32px));
  padding: 18px 20px; border-radius: 14px;
  background: rgba(13,15,19,.92); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s var(--ease);
}
.cookie.is-open { opacity: 1; transform: none; }
.cookie__text { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--bone-dim); font-weight: 300; }
.cookie__text a { color: var(--rose); }
.cookie__btns { display: flex; gap: 10px; }
.cookie__btns .btn { flex: 1; min-height: 42px; }
.footer__legal a { color: var(--bone-dim); text-decoration: underline; text-underline-offset: 3px; }
.consent a { color: var(--rose); }

/* ---------- legal page ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 130px var(--gutter) 80px; }
.legal .section__title { margin-bottom: 32px; }
.legal__doc h2 { margin: 40px 0 12px; font-family: var(--f-display); font-weight: 400; font-size: 28px; letter-spacing: .03em; text-transform: uppercase; }
.legal__doc p, .legal__doc li { color: var(--bone-dim); font-weight: 300; font-size: 16px; line-height: 1.7; }
.legal__doc strong { color: var(--bone); font-weight: 500; }
.legal__doc a { color: var(--rose); }
.legal__doc ul { padding-left: 20px; }
.legal__doc li { margin-bottom: 8px; }
.legal__link { background: none; border: 0; padding: 0; color: var(--rose); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.legal-page .footer { padding-bottom: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
}
@media (max-width: 900px) {
  .hero { display: block; padding: 0 var(--gutter) 64px; min-height: 0; }
  .hero__photo {
    position: relative; width: auto; height: 66vh; height: 66svh;
    margin: 0 calc(var(--gutter) * -1);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 45%, transparent 92%);
  }
  .hero__photo img { object-position: 50% 12%; }
  .hero__glow { left: -20%; top: 40%; width: 140vw; height: 140vw; }
  .hero__inner { margin-top: -14vh; margin-top: -14svh; }
  .hero__inner > * { max-width: none; }
  .hero__scroll { display: none; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .rail-nav { display: none; }
  .rail__item { width: 72vw; }
  .studio { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .flash__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .flash-card__no { font-size: 22px; }
  .step, .step + .step { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .sticky-cta { display: flex; }
  .cookie { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .header { padding-top: 14px; padding-bottom: 14px; }
  .brand__name { font-size: 18px; }
  .brand__mark { width: 30px; }
  .header__cta { display: none; }
  .lux-form { padding: 22px 20px 20px; }
  .cookie { left: 12px; right: 12px; width: auto; }
  .flash-card__btn { padding: 0 12px; font-size: 10px; letter-spacing: .1em; }
  .flash-card__btn .btn__arrow { display: none; }
  .flash-card__badge { top: 10px; left: 10px; padding: 5px 9px; font-size: 9px; }
  .flash-card__stamp { padding: 6px 14px; font-size: 26px; }
  .flash-card__unique { top: auto; bottom: 10px; right: 10px; padding: 4px 8px; font-size: 8.5px; letter-spacing: .1em; }
  .flash-card__ph { gap: 12px; }
  .flash-card__ph img { width: 48px; }
  .flash-card__ph span { font-size: 9px; letter-spacing: .14em; }
  .popup { padding: 0; align-items: end; }
  .popup__panel.lux-form { max-width: none; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 34px 22px 26px; background: linear-gradient(160deg, rgba(20,24,34,.8), rgba(7,8,10,.7)); }
}
