/* Ofir Talbi, personal site. Dark premium theme.
   Near-black with warm brown depth, off-white type, one blush accent used only
   for the primary CTA and small highlights.
   Radius rule: buttons 10px, pills full, cards 24px, frames 16px, inputs 12px. */

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/heebo-hebrew-wght-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/heebo-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0a0a;
  --bg-2: #110e0e;
  --card: #151212;
  --card-2: #1b1716;
  --line: #2a2423;
  --line-2: #3a3230;
  --field-line: #7a6d69;
  --text: #f2eeec;
  --muted: #b9b0ad;
  --faint: #998f8c;
  --accent: #e8a79a;
  --accent-2: #f0bcb1;
  --accent-wash: rgb(232 167 154 / 0.1);
  --on-accent: #1d1211;
  --error: #ff9c8f;
  --focus: #e8a79a;
  --shadow: 0 1px 0 rgb(255 255 255 / 0.03) inset, 0 24px 48px -28px rgb(0 0 0 / 0.9);

  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --track: -0.015em;
  --wrap: 1200px;
  --gutter: 20px;
  --r-btn: 10px;
  --r-card: 24px;
  --r-frame: 16px;
  --r-field: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
:root:lang(en) {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --track: -0.035em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 78% -6%, rgb(72 59 59 / 0.42), transparent 70%),
    radial-gradient(700px 500px at 0% 28%, rgb(72 59 59 / 0.18), transparent 70%),
    var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 650; letter-spacing: var(--track); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.muted { color: var(--muted); }
.i { width: 1.2em; height: 1.2em; flex: none; stroke-width: 1.75; }
.i-sm { width: 1em; height: 1em; vertical-align: -0.12em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(232 167 154 / 0.35); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .lang-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 40;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 46px; padding-block: 0.55em; padding-inline: 1.1em 0.6em;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.3s var(--ease);
}
.btn:not(:has(.btn-chev)) { padding-inline: 1.15em; }
.btn:active { transform: scale(0.98); }
.btn-chev {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; margin-inline-start: 0.2em;
  background: rgb(0 0 0 / 0.08); border: 1px solid rgb(0 0 0 / 0.08);
  transition: transform 0.3s var(--ease);
}
.btn-chev .i { width: 16px; height: 16px; }
.btn:hover .btn-chev { transform: translateX(3px); }
[dir="rtl"] .btn:hover .btn-chev { transform: translateX(-3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12) inset; }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 10px 30px -12px rgb(232 167 154 / 0.6); }
.btn-dark { background: var(--card-2); color: var(--text); border-color: var(--line); }
.btn-dark .btn-chev { background: rgb(255 255 255 / 0.04); border-color: var(--line); }
.btn-dark:hover { background: #221d1c; border-color: var(--line-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card-2); }
.btn-sm { min-height: 40px; font-size: 0.92rem; }
.btn-sm .btn-chev { width: 24px; height: 24px; }
.btn-lg { min-height: 52px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- floating nav ---------- */
.site-header { position: sticky; top: 0; z-index: 30; padding-top: 12px; }
.bar {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  min-height: 60px; padding-inline: 16px 10px;
  background: rgb(21 18 18 / 0.78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px -24px rgb(0 0 0 / 0.9);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.05rem; white-space: nowrap; letter-spacing: var(--track); }
.brand-mark {
  width: 22px; height: 22px; flex: none;
  background:
    radial-gradient(circle, var(--text) 0 2.4px, transparent 2.9px) 50% 0 / 8px 8px no-repeat,
    radial-gradient(circle, var(--text) 0 2.4px, transparent 2.9px) 50% 100% / 8px 8px no-repeat,
    radial-gradient(circle, var(--text) 0 2.4px, transparent 2.9px) 0 50% / 8px 8px no-repeat,
    radial-gradient(circle, var(--text) 0 2.4px, transparent 2.9px) 100% 50% / 8px 8px no-repeat,
    radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px) 50% 50% / 8px 8px no-repeat;
}
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; padding-block: 6px; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.bar-actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.lang-link {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding-inline: 10px;
  border-radius: var(--r-btn); text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--muted);
}
.lang-link:hover { color: var(--text); background: var(--card-2); }
.menu { position: relative; }
.menu summary {
  list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-btn);
  color: var(--muted); cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { color: var(--text); background: var(--card-2); }
.menu-panel {
  position: absolute; top: calc(100% + 14px); inset-inline-end: -84px; min-width: 220px; z-index: 31;
  display: grid; padding: 8px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -20px #000;
}
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: rgb(255 255 255 / 0.05); color: var(--accent); }
@media (min-width: 940px) {
  .menu { display: none; }
  .bar { grid-template-columns: 1fr auto 1fr; padding-inline: 20px 10px; }
  .nav { display: flex; }
  .lang-long { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .lang-short { display: none; }
}
@media (max-width: 440px) {
  .bar-actions .btn .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bar-actions .btn { padding-inline: 6px; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-top: 44px; }
.hero::before {
  /* halftone glow band: a dotted ring, faded at both ends */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 1500px; height: 1500px; border-radius: 50%;
  inset-inline-start: 18%; top: 120px;
  background: radial-gradient(circle, rgb(232 167 154 / 0.55) 0 1.15px, transparent 1.7px) 0 0 / 9px 9px;
  -webkit-mask-image: radial-gradient(closest-side, transparent 66%, #000 74%, #000 82%, transparent 90%), linear-gradient(200deg, transparent 18%, #000 40%, #000 58%, transparent 80%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(closest-side, transparent 66%, #000 74%, #000 82%, transparent 90%), linear-gradient(200deg, transparent 18%, #000 40%, #000 58%, transparent 80%);
  mask-composite: intersect;
  opacity: 0.55;
}
[dir="rtl"] .hero::before {
  -webkit-mask-image: radial-gradient(closest-side, transparent 66%, #000 74%, #000 82%, transparent 90%), linear-gradient(160deg, transparent 18%, #000 40%, #000 58%, transparent 80%);
  mask-image: radial-gradient(closest-side, transparent 66%, #000 74%, #000 82%, transparent 90%), linear-gradient(160deg, transparent 18%, #000 40%, #000 58%, transparent 80%);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 26px;
  border-radius: 999px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--line);
  color: var(--text); font-size: 0.82rem; font-weight: 500;
}
:lang(en) .pill { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.74rem; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-title { font-size: clamp(2.5rem, 5.4vw + 0.4rem, 4.6rem); line-height: 1.04; font-weight: 650; }
:lang(en) .hero-title { font-size: clamp(2.4rem, 4.6vw + 0.4rem, 4.2rem); }
.hero-title > span { display: block; }
.hero-title > span + span { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 0.5vw + 1rem, 1.22rem); color: var(--muted); margin-top: 22px; max-width: 40ch; }
:lang(en) .lead { max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; justify-content: space-between; } }

.hero-visual { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin-inline: auto; margin-top: 8px; }
.hero-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-links path { fill: none; stroke: rgb(242 238 236 / 0.13); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.orb {
  position: absolute; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background:
    radial-gradient(closest-side at 34% 28%, rgb(255 255 255 / 0.95) 0 9%, rgb(255 255 255 / 0.35) 18%, transparent 34%),
    radial-gradient(closest-side at 66% 76%, rgb(255 255 255 / 0.28) 0, transparent 40%),
    radial-gradient(closest-side, transparent 70%, rgb(255 255 255 / 0.06) 80%, rgb(255 255 255 / 0.32) 91%, rgb(255 255 255 / 0.85) 97.5%, rgb(255 255 255 / 0.25) 100%),
    radial-gradient(closest-side at 50% 58%, rgb(232 167 154 / 0.12), transparent 75%),
    rgb(16 13 13 / 0.55);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.22),
    inset -6px -10px 18px rgb(255 255 255 / 0.07),
    inset 8px 10px 22px rgb(0 0 0 / 0.55),
    0 18px 36px -10px rgb(0 0 0 / 0.75);
}
.orb::after {
  /* thin bright crescent along the lower rim */
  content: ""; position: absolute; inset: 7%; border-radius: 50%;
  border-bottom: 1.5px solid rgb(255 255 255 / 0.5); border-right: 1px solid rgb(255 255 255 / 0.18);
  filter: blur(0.6px); transform: rotate(18deg);
}
.o-c  { left: 50%; top: 50%; width: 30%; }
.o-t  { left: 50%; top: 16%; width: 26%; }
.o-b  { left: 50%; top: 84%; width: 26%; }
.o-l  { left: 16%; top: 50%; width: 25%; }
.o-r  { left: 84%; top: 50%; width: 25%; }
.o-tl { left: 27%; top: 28%; width: 14%; }
.o-tr { left: 73%; top: 27%; width: 15%; }
.o-bl { left: 28%; top: 71%; width: 14%; }
.o-br { left: 74%; top: 72%; width: 13%; }

.hero-strip {
  display: grid; gap: 14px; align-items: center; margin-top: 56px; padding-block: 26px 8px;
  border-top: 1px solid var(--line);
}
.hero-strip p { color: var(--muted); font-size: 0.92rem; }
.hero-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
[dir="rtl"] .hero-strip ul { justify-content: flex-end; }
.hero-strip li { font-family: "Inter", var(--font); font-weight: 600; font-size: 0.98rem; color: #d8d0cd; letter-spacing: -0.01em; }

@media (min-width: 960px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; min-height: 480px; }
  .hero-visual { width: min(100%, 440px); margin-top: 0; }
  .hero-strip { grid-template-columns: auto 1fr; gap: 40px; margin-top: 72px; }
  .hero-strip ul { justify-content: flex-end; }
  [dir="rtl"] .hero-strip ul { justify-content: flex-start; }
  .hero::before { top: 40px; }
}

@media (prefers-reduced-motion: no-preference) {
  .orb { animation: float 7s ease-in-out infinite; }
  .o-t, .o-br { animation-duration: 8.5s; animation-delay: -2s; }
  .o-l, .o-tr { animation-duration: 6.2s; animation-delay: -4s; }
  .o-r, .o-bl { animation-duration: 7.6s; animation-delay: -1s; }
  .o-b, .o-tl { animation-duration: 9s; animation-delay: -3s; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- sections ---------- */
.section { padding-block: 72px; }
@media (min-width: 960px) { .section { padding-block: 112px; } }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 2.8vw + 1rem, 3.1rem); }
.section-head p { margin-top: 14px; max-width: 60ch; font-size: 1.08rem; }

.about-card, .service, .card, .step, .form, .aside-box, .cta-band, .process-note {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.025), transparent 60%), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

/* approach */
.section-about { padding-top: 64px; padding-bottom: 0; }
.about-card { display: grid; gap: 24px; padding: 26px; align-items: center; }
.about-photo { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; filter: saturate(0.9); }
.about-label { font-size: 0.9rem; font-weight: 600; color: var(--accent); letter-spacing: 0; margin-bottom: 10px; }
.statement { font-size: clamp(1.35rem, 1.5vw + 1rem, 2rem); font-weight: 600; line-height: 1.32; letter-spacing: var(--track); max-width: 36ch; }
:lang(en) .statement { max-width: 42ch; }
.about-small { margin-top: 14px; max-width: 62ch; }
@media (min-width: 760px) {
  .about-card { grid-template-columns: auto 1fr; gap: 40px; padding: 36px 40px; }
  .about-photo { width: 200px; height: 200px; }
}

/* services */
.services { list-style: none; display: grid; gap: 16px; }
.service { padding: 28px 26px; transition: transform 0.35s var(--ease), border-color 0.3s; }
.service:hover { transform: translateY(-4px); border-color: var(--line-2); }
.service-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 22px;
  background: var(--accent-wash); color: var(--accent); border: 1px solid rgb(232 167 154 / 0.18);
}
.service-icon .i { width: 22px; height: 22px; }
.service h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service p { color: var(--muted); }
@media (min-width: 680px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ---------- work ---------- */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.95); }
.card-media {
  margin: 10px 10px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-frame);
  background: #0e0c0c; border: 1px solid var(--line);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.7s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-cap { margin: 0; padding: 8px 24px 0; font-size: 0.8rem; color: var(--faint); }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 24px 22px; flex: 1; }
.card-title { font-size: 1.24rem; line-height: 1.3; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.card-title a:focus-visible { outline: none; }
.card:has(.card-title a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.card-context { font-size: 0.92rem; color: var(--muted); margin-top: -6px; }
.card-summary { color: var(--muted); font-size: 0.98rem; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.card-go {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--card-2); border: 1px solid var(--line); color: var(--text);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.card-go .i { width: 18px; height: 18px; }
.card:hover .card-go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateX(3px); }
[dir="rtl"] .card:hover .card-go { transform: translateX(-3px); }

.card-featured { margin-bottom: 18px; }
.card-featured .card-title { font-size: clamp(1.4rem, 1vw + 1rem, 1.85rem); }
@media (min-width: 900px) {
  .card-featured { display: grid; grid-template-columns: 1.2fr 1fr; }
  .card-featured .card-media { grid-column: 1; grid-row: 1; margin: 12px; margin-inline-end: 0; aspect-ratio: auto; min-height: 320px; }
  .card-featured .card-cap { grid-column: 1; grid-row: 2; padding: 0 24px 16px; }
  .card-featured .card-body { grid-column: 2; grid-row: 1 / span 2; padding: 34px 36px 30px; gap: 14px; justify-content: center; }
}
.card-grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* before / after ledger */
.ledger { margin: 2px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 0.95rem; background: var(--bg-2); }
.ledger-row { display: grid; grid-template-columns: 78px 1fr; }
:lang(en) .ledger-row { grid-template-columns: 92px 1fr; }
.ledger-row + .ledger-row { border-top: 1px solid var(--line); }
.ledger dt {
  padding: 10px 12px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--faint); border-inline-end: 1px solid var(--line);
}
.ledger dd { margin: 0; padding: 9px 14px; line-height: 1.5; }
.ledger-before dd { color: var(--muted); }
.ledger-after dt { color: var(--accent); background: var(--accent-wash); }
.ledger-after dd { font-weight: 600; color: var(--text); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 0.78rem; font-weight: 500; padding: 4px 10px; border-radius: 999px;
  background: rgb(255 255 255 / 0.03); color: var(--muted); border: 1px solid var(--line); direction: ltr; unicode-bidi: isolate;
}
.badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.02em;
}
.badge-demo { color: var(--text); border: 1px dashed var(--faint); }
.badge-live { background: var(--accent-wash); color: var(--accent); border: 1px solid rgb(232 167 154 / 0.25); }

.demos { margin-top: 80px; }
.demos-title { font-size: 1.6rem; }
.demos > .muted { margin: 8px 0 26px; }
.card-demo .card-media { aspect-ratio: 16 / 9; }

/* ---------- process ---------- */
.steps { list-style: none; display: grid; gap: 16px; }
.step { position: relative; padding: 26px; transition: transform 0.35s var(--ease), border-color 0.3s; }
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 20px;
  background: var(--card-2); border: 1px solid var(--line-2); color: var(--text);
}
.step-icon .i { width: 21px; height: 21px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); }
@media (min-width: 680px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 49px; inset-inline-start: calc(100% + 1px); width: 16px; height: 1px; background: var(--line-2);
  }
}
.process-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 20px 24px; border-radius: 18px;
  font-weight: 500; color: var(--text); background: linear-gradient(90deg, var(--accent-wash), transparent 70%), var(--card);
}
[dir="rtl"] .process-note { background: linear-gradient(270deg, var(--accent-wash), transparent 70%), var(--card); }
.process-note .i { color: var(--accent); margin-top: 0.2em; }

/* ---------- tools ---------- */
.section-tools { padding-block: 0 24px; }
.tools-wrap { display: grid; gap: 18px; align-items: center; padding-top: 36px; }
.tools-title { font-size: 1.05rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tools { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
[dir="rtl"] .tools { justify-content: flex-end; }
.tools li {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-weight: 500; font-size: 0.93rem; font-family: "Inter", var(--font); color: #ddd5d2;
}
@media (min-width: 960px) { .tools-wrap { grid-template-columns: 220px 1fr; gap: 40px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-copy h2 { font-size: clamp(2rem, 2.8vw + 1rem, 3.1rem); }
.lead-sm { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 44ch; }
.contact-or { margin-top: 34px; font-weight: 600; }
.contact-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 14px; }
.contact-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.contact-mail:hover { color: var(--accent); text-decoration-color: currentColor; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; } }

.form { padding: 26px 22px; display: grid; gap: 18px; }
@media (min-width: 640px) { .form { padding: 34px; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 0.96rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--field-line); border-radius: var(--r-field);
  padding: 12px 14px; min-height: 48px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 124px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(232 167 154 / 0.25); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: 0.88rem; color: var(--muted); }
.field-error { font-size: 0.9rem; color: var(--error); font-weight: 600; }
.field-error:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--text); padding: 14px 16px; border-radius: var(--r-field); background: var(--accent-wash); border: 1px solid rgb(232 167 154 / 0.3); }
.form-status.is-error { color: var(--error); }
.form button:disabled { opacity: 0.7; cursor: progress; }

/* ---------- footer ---------- */
.site-footer { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 48px; background: linear-gradient(180deg, transparent, rgb(72 59 59 / 0.12)); }
.footer-grid { display: grid; gap: 28px; }
.footer-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.footer-label { font-weight: 600; margin-bottom: 10px; color: var(--text); }
.footer-links { list-style: none; display: grid; gap: 6px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-base { margin-top: 44px; padding-block: 20px 30px; color: var(--faint); font-size: 0.88rem; }
.rule-in { background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.notice {
  position: fixed; inset-inline: 12px; bottom: 12px; z-index: 35; max-width: 520px;
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px;
  background: var(--card-2); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 20px 50px -20px #000;
  font-size: 0.9rem; color: var(--muted);
}
.notice[hidden] { display: none; }

/* ---------- project page ---------- */
.project-head { padding-block: 48px 44px; border-bottom: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; text-decoration: none; margin-bottom: 28px; }
.back:hover { color: var(--text); }
.project-head .badge { margin-bottom: 16px; display: flex; width: max-content; }
.project-head h1 { font-size: clamp(2.1rem, 3.4vw + 1rem, 3.5rem); max-width: 22ch; }
:lang(en) .project-head h1 { max-width: 24ch; }
.project-head .lead { max-width: 60ch; }
.project-context { margin-top: 14px; color: var(--faint); font-weight: 500; }
.project-head .btn { margin-top: 24px; }

.project-body { display: grid; gap: 40px; padding-block: 48px; }
.project-main { display: grid; gap: 36px; max-width: 70ch; }
.project-main .ledger { font-size: 1rem; }
.project-main h2 { font-size: 1.4rem; margin-bottom: 12px; }
.project-main p { color: #d9d1ce; }
.how { list-style: none; counter-reset: how; display: grid; gap: 14px; }
.how li { counter-increment: how; position: relative; padding-inline-start: 48px; min-height: 32px; color: #d9d1ce; }
.how li::before {
  content: counter(how); position: absolute; inset-inline-start: 0; top: 0;
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem; background: var(--accent-wash); color: var(--accent); border: 1px solid rgb(232 167 154 / 0.2);
}
.project-aside { display: grid; gap: 16px; align-content: start; }
.aside-box { padding: 22px; border-radius: 20px; }
.aside-box h2 { font-size: 1rem; margin-bottom: 12px; letter-spacing: 0; }
.aside-cta-title { font-weight: 600; margin-bottom: 14px; }
.aside-cta .btn, .form .btn-block { justify-content: space-between; }
@media (min-width: 960px) {
  .project-body { grid-template-columns: minmax(0, 1fr) 310px; gap: 72px; padding-block: 64px; }
  .project-aside { position: sticky; top: 100px; }
}

.gallery { display: grid; gap: 44px; padding-bottom: 64px; }
.shot { margin: 0; }
.shot-frame { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; box-shadow: var(--shadow); }
.shot-frame img { border-radius: 12px; width: 100%; }
.shot-narrow .shot-frame { max-width: 420px; margin-inline: auto; }
.shot-narrow figcaption { text-align: center; }
.shot-portrait .shot-frame, .shot-portrait figcaption { max-width: 760px; margin-inline: auto; }
.shot-tall .shot-frame { position: relative; }
.shot-tall .shot-frame::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 12px; height: 110px; border-radius: 0 0 12px 12px;
  background: linear-gradient(to bottom, rgb(21 18 18 / 0), var(--card));
}
.shot figcaption { margin-top: 12px; color: var(--faint); font-size: 0.9rem; }
.shot figcaption a { color: var(--accent); font-weight: 600; margin-inline-start: 10px; text-underline-offset: 3px; }

.next { padding-bottom: 24px; }
.next a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 26px 0; border-block: 1px solid var(--line); text-decoration: none;
}
.next-label { grid-column: 1; color: var(--faint); font-size: 0.9rem; font-weight: 500; }
.next-title { grid-column: 1; font-size: clamp(1.2rem, 1vw + 1rem, 1.6rem); font-weight: 650; line-height: 1.3; letter-spacing: var(--track); }
.next .i-arrow { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; transition: transform 0.3s var(--ease); }
.next a:hover .next-title { color: var(--accent); }
.next a:hover .i-arrow { transform: translateX(4px); }
[dir="rtl"] .next a:hover .i-arrow { transform: translateX(-4px); }

.cta-band {
  display: grid; gap: 22px; align-items: center; margin-block: 32px 80px; padding: 34px 28px;
  max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter));
  background: radial-gradient(600px 220px at 85% 0%, rgb(232 167 154 / 0.12), transparent 70%), var(--card);
}
.cta-band h2 { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); }
.cta-band p { margin-top: 8px; color: var(--muted); }
.cta-band .cta-row { margin-top: 0; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1fr auto; padding: 48px 52px; } }

.simple { padding-block: 110px; min-height: 55vh; }
.simple h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem); }
.simple .btn { margin-top: 28px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-visual { animation: fade-in 1.2s 0.15s var(--ease) both; }
}
@keyframes fade-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
