/* Sam Studio — public website. Dark ember.
   Logical properties (inline-start/end) keep Arabic and other RTL languages correct. */

@font-face { font-family: 'Geist'; src: url('fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/plex-arabic-400.woff2') format('woff2'); font-weight: 300 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/plex-arabic-500.woff2') format('woff2'); font-weight: 500 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --panel: #121212; --line: #262626; --text: #f4f1ee; --muted: #aaa49f;
  --ember: #ff4d0d; --ember-hi: #ff7a2f; --ember-lo: #a8250a; --peach: #ffd9c2;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: 'Geist', 'Plex Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #000; color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: var(--text); }
a:hover { color: var(--ember-hi); }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
::selection { background: var(--ember); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ember); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ember-hi); outline-offset: 3px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.center-flex { justify-content: center; }
.top-gap { margin-top: 40px; }
.top-gap-lg { margin-top: 56px; }

/* Layout */
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.wrap-wide { max-width: 1440px; margin-inline: auto; padding-inline: 12px; }
.wrap-faq { max-width: 860px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 120px 40px; }
.section-tight { padding-block: 40px; }
.section-head { margin-bottom: 56px; }
.section-head.center { max-width: 760px; margin-inline: auto; }
.section-head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--muted); max-width: 520px; margin-top: 22px; }
.center .lead { margin-inline: auto; }
.lead-sm { font-size: 17px; color: #d4cec9; }
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.grid-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px 24px; }
.two-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: start; }

/* Type */
.display { font-family: var(--sans); font-weight: 300; letter-spacing: -.05em; line-height: .95; }
[dir='rtl'] .display { letter-spacing: 0; line-height: 1.2; }
.h-xl { font-size: clamp(44px, 5.6vw, 80px); }
.h-lg { font-size: clamp(34px, 4.2vw, 58px); }
.h-md { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.serif, .serif-plain, .serif-ember { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.serif { background: linear-gradient(95deg, var(--peach) 0%, var(--ember-hi) 55%, var(--ember) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
.serif-ember { color: #ff8a4d; }
[dir='rtl'] .serif, [dir='rtl'] .serif-plain, [dir='rtl'] .serif-ember { font-family: var(--sans); font-style: normal; font-weight: 500; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); }
.kicker-light { color: #efe7e1; }
.small-h { font-size: 13px; font-weight: 500; color: #ffd9c2; margin-bottom: 12px; }

/* Motion */
.rise { opacity: 0; transform: translateY(32px); filter: blur(10px); animation: rise 1.1s var(--ease) forwards; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .6s; } .d5 { animation-delay: .8s; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.word { display: inline-block; opacity: 0; transform: translateY(60%) rotate(4deg); animation: word 1s var(--ease) forwards; }
@keyframes word { to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
  .reveal-scale { animation: revealScale linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(56px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes revealScale { from { opacity: 0; transform: scale(.92) translateY(36px); } to { opacity: 1; transform: none; } }
.breathe { animation: breathe 5s ease-in-out infinite; } @keyframes breathe { 50% { opacity: .65; filter: brightness(1.3); } }
.spin { animation: spin 36s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.float { animation: float 7s ease-in-out infinite; } @keyframes float { 50% { transform: translateY(-14px); } }

/* Glass */
.glass { position: relative; isolation: isolate;
  background: linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.035) 55%, rgba(255,255,255,.08));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.04), 0 24px 60px rgba(0,0,0,.4); }
.glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,.18), transparent 45%); }
.glass-dark { -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  background: rgba(10,10,10,.6); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.chip-glass { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; color: #fff;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pill-glass { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; align-self: flex-start; }

/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding-block: 5px; padding-inline: 24px 5px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.btn-primary::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 40px rgba(255,77,13,.5), 0 0 0 1px rgba(255,255,255,.2) inset; transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-glass { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn-glass::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ember), var(--ember-hi)); clip-path: circle(0% at 90% 50%); transition: clip-path .6s var(--ease); }
.btn-glass:hover { color: #fff; border-color: transparent; }
.btn-glass:hover::before { clip-path: circle(150% at 90% 50%); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.5); transform: translateY(-2px); }
.btn-text { padding-inline: 22px; }
.btn-sm { min-height: 44px; font-size: 14px; padding-inline-start: 20px; }
.btn-sm .arw { width: 34px; height: 34px; }
.btn-spread { width: 100%; justify-content: space-between; }
.arw { position: relative; overflow: hidden; flex: none; display: flex; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ember); }
.arw svg { position: absolute; inset: 0; margin: auto; transition: transform .45s var(--ease); }
.arw svg + svg { transform: translateX(-200%); }
.btn:hover .arw svg:first-child { transform: translateX(200%); }
.btn:hover .arw svg + svg { transform: none; }
.btn-dark .arw { background: var(--ember); color: #fff; }
.btn-glass .arw { background: #fff; color: #000; }
.arw-static svg { transform: none !important; }
[dir='rtl'] .arw, [dir='rtl'] .flip, [dir='rtl'] .card-more svg { transform: scaleX(-1); }
.uline { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.uline:hover { background-size: 100% 1px; }

/* Header */
.header-wrap { position: sticky; top: 0; z-index: 50; height: 0; padding: 24px 36px 0; }
.site-header { display: flex; align-items: center; gap: 12px; max-width: 1368px; margin-inline: auto; min-height: 64px;
  padding: 8px; padding-inline-start: 12px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(140deg, var(--ember-hi), #c8300b); box-shadow: 0 0 24px rgba(255,77,13,.45), inset 0 1px 0 rgba(255,255,255,.35);
  font: italic 26px/1 var(--serif); color: #fff; padding-bottom: 2px; }
.brand-name { font-size: 17px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.brand-name em { font: italic 19px var(--serif); }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.navlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; text-decoration: none; color: #e9e4df; transition: background-color .3s, color .3s; }
.navlink:hover { background: rgba(255,255,255,.08); color: #fff; }
.navlink[aria-current='page'] { background: rgba(255,255,255,.14); color: #fff; }
.navlink .icon { opacity: .7; transition: transform .3s var(--ease); }
.nav-drop { position: relative; }
.nav-drop:hover .navlink .icon, .nav-drop:focus-within .navlink .icon { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 14px); inset-inline-start: -16px; width: 400px; padding: 8px; border-radius: 24px; display: grid; gap: 2px;
  background: #0e0e0e; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.1); }
.drop-panel::before { content: ''; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 16px; text-decoration: none; color: #fff; transition: background-color .25s; }
.drop-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.drop-item strong { display: block; font-size: 15px; font-weight: 500; }
.drop-item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.drop-icon { display: flex; flex: none; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; background: rgba(255,77,13,.14); color: var(--ember-hi); }
.drop-all { margin-top: 4px; border-top: 1px solid rgba(255,255,255,.08); border-radius: 0 0 16px 16px; padding-top: 14px; }
.drop-all .drop-icon { background: var(--ember); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current='true'] { background: var(--ember); color: #fff; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; margin-inline-start: auto; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }

/* Hero */
.hero-section { padding: 12px; }
.hero { position: relative; max-width: 1416px; margin-inline: auto; border-radius: 32px; overflow: hidden; min-height: 860px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.075) 0 30px, rgba(0,0,0,.24) 30px 64px), linear-gradient(100deg, #0d0200 0%, #3a0a02 22%, #a8250a 48%, #ff4d0d 72%, #ff8a3d 100%); }
[dir='rtl'] .hero { background: repeating-linear-gradient(90deg, rgba(255,255,255,.075) 0 30px, rgba(0,0,0,.24) 30px 64px), linear-gradient(260deg, #0d0200 0%, #3a0a02 22%, #a8250a 48%, #ff4d0d 72%, #ff8a3d 100%); }
.hero-page { min-height: 600px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 30px, rgba(0,0,0,.24) 30px 64px), linear-gradient(100deg, #0d0200 0%, #2a0802 30%, #8a1d05 60%, #ff4d0d 88%, #ff8a3d 100%); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 18% 62%, rgba(0,0,0,.78), transparent 60%), linear-gradient(0deg, rgba(0,0,0,.7), transparent 42%); }
[dir='rtl'] .hero-shade { background: radial-gradient(ellipse at 82% 62%, rgba(0,0,0,.78), transparent 60%), linear-gradient(0deg, rgba(0,0,0,.7), transparent 42%); }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 540px), 1fr)); gap: 24px; padding: 150px 56px 56px; align-items: end; }
.hero-grid-page { padding-top: 190px; gap: 40px; }
.hero-title-wrap { position: relative; display: inline-block; }
.we-are { position: absolute; inset-inline-end: 4%; top: -64px; display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; font: italic clamp(26px, 2.8vw, 40px) var(--serif); }
[dir='rtl'] .we-are { font-family: var(--sans); font-style: normal; font-size: 24px; }
.we-are-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.75); }
.hero-title { margin-top: 44px; font-size: clamp(60px, 10vw, 164px); line-height: .88; }
.page-title { font-size: clamp(52px, 7.4vw, 118px); }
.page-title-xl { font-size: clamp(56px, 9vw, 148px); }
.hero-lead { margin-top: 28px; max-width: 460px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; font-weight: 300; color: #efe7e1; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.hero-cards { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero-card { width: 200px; min-height: 200px; padding: 16px; border-radius: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-decoration: none; color: #fff; }
.hero-card:hover { color: #fff; transform: translateY(-4px); transition: transform .4s var(--ease); }
.hero-card-img { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -2; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-card-label { font-size: 12px; color: #f1e6de; }
.hero-card strong { font-weight: 500; font-size: 17px; line-height: 1.25; }
.hero-card-cta { justify-content: space-between; }
.hero-card-cta .arw { background: #fff; color: var(--ember); width: 34px; height: 34px; }
.hero-orb { position: relative; height: 640px; display: flex; align-items: center; justify-content: center; }
.orb-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,47,.6), transparent 65%); filter: blur(30px); }
.orb { position: relative; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #ffe2cf 0%, #ff7a2f 22%, #c8300b 48%, #3a0a02 74%, #000 100%); box-shadow: 0 0 140px rgba(255,77,13,.6), inset -30px -40px 80px rgba(0,0,0,.7); }
.orb-ring { position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); }
.orb-ring span { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px #fff; }

/* Cards */
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; min-height: 300px; padding: 28px; border-radius: 28px;
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .4s, transform .5s var(--ease); }
.card:hover { color: var(--text); border-color: rgba(255,122,47,.45); transform: translateY(-4px); }
.card h3 { font-size: 22px; letter-spacing: -.025em; }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-ember { background: radial-gradient(circle at 50% 20%, #ff8a3d, #c8300b 42%, #2a0802 88%); border-color: rgba(255,122,47,.35); box-shadow: 0 30px 80px rgba(255,77,13,.22); }
.card-ember p { color: #fff1e8; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,77,13,.14); color: var(--ember-hi); }
.card-ember .card-icon { background: rgba(255,255,255,.18); color: #fff; }
.card-icon-lg { width: 68px; height: 68px; border-radius: 20px; margin-bottom: 22px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ember-hi); }
.card-ember .card-more { color: #fff; }

/* Tiles (projects, products) */
.tile { display: block; text-decoration: none; color: var(--text); border-radius: 28px; transition: transform .5s var(--ease); }
.tile:hover { color: var(--text); transform: translateY(-6px); }
.tile-media { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #111; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover .tile-img { transform: scale(1.06); }
.tile-tag { position: absolute; top: 16px; inset-inline-start: 16px; }
.tile-go { position: absolute; bottom: 16px; inset-inline-end: 16px; width: 46px; height: 46px; padding: 0; justify-content: center; transition: background-color .3s; }
.tile:hover .tile-go { background: var(--ember); border-color: var(--ember); }
.tile-body { padding: 18px 6px 0; }
.tile-body h3 { font-size: 22px; letter-spacing: -.025em; }
.tile-body p { margin-top: 4px; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.price { font-size: 20px; color: #ffb27a; font-weight: 500; }
.price-big .price { font-size: 34px; }
.status-sold { background: rgba(0,0,0,.65); color: #c9c3be; }
.status-reserved { background: rgba(255,196,107,.2); border-color: rgba(255,196,107,.5); }

/* Quotes */
.quote-card { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 26px; border-radius: 28px;
  background: linear-gradient(160deg, #181818 40%, #a8250a 88%, #ff4d0d); border: 1px solid #2a2a2a; }
.quote-card blockquote { margin: 0; font: italic 22px/1.32 var(--serif); }
[dir='rtl'] .quote-card blockquote { font: 400 19px/1.6 var(--sans); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote-card figcaption > span:not(.chip-glass):not(.quote-initial) { display: grid; flex: 1; font-size: 14px; }
.quote-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-initial { display: grid; place-items: center; background: rgba(0,0,0,.4); font-weight: 600; }
.rating { color: #ffd0ad; letter-spacing: 1px; }

/* Steps / timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.step { padding: 30px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.step h3 { font-size: 22px; margin-top: 10px; letter-spacing: -.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.step-ember { background: linear-gradient(150deg, #ff6a24, #c8300b 60%, #4a0e03); border-color: rgba(255,170,120,.45); }
.step-ember p, .step-ember .step-num { color: #ffe9dc; }
.step-num { font-size: 14px; color: var(--ember-hi); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; position: relative; }
.timeline::before { content: ''; position: absolute; inset-inline: 0; top: 11px; height: 1px; background: linear-gradient(90deg, transparent, var(--ember) 15%, var(--ember-hi) 85%, transparent); }
.timeline-dot { display: block; width: 22px; height: 22px; border-radius: 50%; background: #000; border: 2px solid var(--ember-hi); box-shadow: 0 0 18px var(--ember); position: relative; margin-bottom: 28px; }
.timeline h3 { font-size: 26px; letter-spacing: -.03em; margin: 6px 0 16px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #d6d0cb; }
.checks svg { flex: none; margin-top: 4px; color: #fff; background: var(--ember); border-radius: 5px; padding: 2px; width: 18px; height: 18px; }

/* Arcs CTA */
.arcs { position: relative; max-width: 1416px; margin: 60px auto 0; height: 780px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.arc { position: absolute; inset-inline: -12%; height: 740px; border-radius: 50%; pointer-events: none; }
.arc-top { top: -520px; border-bottom: 3px solid #ffd0ad; box-shadow: 0 24px 50px -6px rgba(255,90,20,.9), inset 0 -30px 60px -20px rgba(255,90,20,.7); }
.arc-bottom { bottom: -520px; border-top: 3px solid #ffd0ad; box-shadow: 0 -24px 50px -6px rgba(255,90,20,.9), inset 0 30px 60px -20px rgba(255,90,20,.7); animation-delay: -2.5s; }
.arc-tile { position: absolute; border-radius: 10px; }
.arc-tile.t1 { left: 12%; top: 36%; width: 118px; height: 74px; background: linear-gradient(180deg, #ff2a0a, #3a0602); box-shadow: 0 0 40px rgba(255,42,10,.5); }
.arc-tile.t2 { left: 21%; top: 57%; width: 66px; height: 50px; background: radial-gradient(circle, transparent 38%, #ff3a10 40%, #ff3a10 46%, transparent 48%), #2a0402; animation-delay: -2s; }
.arc-tile.t3 { right: 14%; top: 37%; width: 118px; height: 56px; background: radial-gradient(circle at 50% 80%, #ffb27a, #ff4d0d 40%, #5a1004); animation-delay: -4s; }
.arc-tile.t4 { right: 20%; top: 57%; width: 66px; height: 54px; background: radial-gradient(circle at 50% 40%, #ffcfb0, #c8300b 50%, #2a0402); animation-delay: -1s; }
.arcs-content { position: relative; padding-inline: 24px; display: grid; justify-items: center; gap: 0; }
.arcs-content .btn { margin-top: 32px; }

/* Page intros */
.page-intro { position: relative; overflow: hidden; padding: 200px 24px 90px; text-align: center; }
.page-intro .arc-top { top: -560px; height: 820px; inset-inline: -15%; }
.page-intro-content { position: relative; display: grid; justify-items: center; }
.page-intro-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; text-align: start; padding-top: 190px; padding-bottom: 60px; overflow: visible; }
.page-intro-split .lead { max-width: 360px; }

/* Services accordion */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); transition: background-color .4s; }
.acc:hover { background: rgba(255,255,255,.02); }
.acc summary { list-style: none; display: grid; grid-template-columns: 72px minmax(0, 1fr) 56px; align-items: center; gap: 16px; padding: 34px 8px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc-num { font-size: 15px; color: var(--ember-hi); }
.acc-title { font-size: clamp(30px, 4vw, 56px); line-height: 1.05; }
.acc-plus { display: flex; width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); transition: background-color .3s, transform .4s var(--ease); }
.acc[open] .acc-plus { background: var(--ember); border-color: var(--ember); transform: rotate(45deg); }
.acc-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; padding: 0 8px 40px; padding-inline-start: 96px; }
.acc-body .prose { gap: 18px; }
.acc-body .btn { justify-self: start; }
.deliver { padding: 22px; border-radius: 22px; background: linear-gradient(140deg, rgba(255,106,36,.25), rgba(255,255,255,.04)); }

/* Plans */
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.plan-featured { background: linear-gradient(160deg, #ff6a24, #c8300b 55%, #4a0e03); border-color: rgba(255,170,120,.5); box-shadow: 0 30px 80px rgba(255,77,13,.3); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-head h3 { font-size: 24px; letter-spacing: -.025em; }
.plan-price { font-size: 54px; margin-block: 4px; }
.plan-label, .plan-note { font-size: 14px; color: var(--muted); }
.plan-featured .plan-label, .plan-featured .plan-note { color: #ffe5d6; }
.plan-list { flex: 1; }
.plan-featured .checks svg { background: #fff; color: var(--ember); }

/* FAQ */
.faqs { display: grid; gap: 12px; }
.faq { border-radius: 22px; padding-inline: 24px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; cursor: pointer; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--ember-hi); font-size: 26px; font-weight: 300; transition: transform .3s var(--ease); }
.faq[open] .faq-plus { transform: rotate(45deg); }
.faq-body { padding-bottom: 24px; color: #c9c3be; display: grid; gap: 12px; }

/* Detail pages */
.detail { padding-top: 140px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 15px; min-height: 44px; }
.back-link .flip { display: inline-flex; transform: scaleX(-1); }
[dir='rtl'] .back-link .flip { transform: none; }
.detail-head { padding-block: 30px 40px; }
.detail-head .lead { max-width: 640px; }
.detail-head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.detail-head-split .lead { max-width: 440px; }
.detail-cover { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.detail-cover img, .cover-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-block: 56px; align-items: start; }
.side { display: grid; gap: 16px; position: sticky; top: 110px; }
.prose { display: grid; gap: 1.1em; font-size: 18px; line-height: 1.7; color: #d9d3ce; max-width: 70ch; }
.prose-wide { max-width: 80ch; }
.meta { margin: 0; padding: 22px; border-radius: 22px; display: grid; gap: 14px; }
.meta dt { font-size: 13px; color: var(--muted); }
.meta dd { margin: 2px 0 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery img { border-radius: 22px; border: 1px solid var(--line); width: 100%; }
.big-quote { margin: 80px auto 0; max-width: 900px; text-align: center; display: grid; gap: 22px; }
.big-quote blockquote { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; }
.next-project { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 34px 38px; border-radius: 32px; text-decoration: none; color: var(--text); }
.next-project:hover { color: var(--text); }
.next-project .arw { width: 54px; height: 54px; }

/* Work page */
.feature-tile { position: relative; display: block; height: min(70vw, 620px); border-radius: 32px; overflow: hidden; }
.feature-tile:hover { transform: none; }
.feature-card { position: absolute; inset-inline-start: 24px; bottom: 24px; max-width: 480px; padding: 28px; border-radius: 26px; color: #fff; display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  text-decoration: none; font-size: 14px; color: #e9e4df; transition: background-color .3s, border-color .3s; }
.chip span { opacity: .6; }
.chip:hover { border-color: rgba(255,255,255,.45); color: #fff; }
.chip.is-on { background: var(--ember); border-color: var(--ember); color: #fff; }
.empty-note { padding: 60px 24px; border: 1px dashed #333; border-radius: 28px; text-align: center; display: grid; justify-items: center; gap: 18px; color: var(--muted); }

/* Product */
.product-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; padding-top: 30px; align-items: start; }
.product-media { display: grid; gap: 12px; }
.product-media > img, .product-media > .cover-art { border-radius: 28px; border: 1px solid var(--line); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.thumbs img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.product-side { display: grid; gap: 18px; position: sticky; top: 110px; }
.product-side .chip-glass { justify-self: start; }
.product-side .lead { margin-top: 0; }
.product-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.features-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.features-table caption { text-align: start; }
.features-table th, .features-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: start; font-size: 15px; vertical-align: top; }
.features-table th { font-weight: 400; color: #e4ded9; display: flex; gap: 10px; align-items: center; }
.features-table td { color: var(--muted); text-align: end; }
.feat-icon { display: inline-flex; color: var(--ember-hi); }
.feat-icon.is-no { color: #6f6a66; }

/* Contact */
.contact { position: relative; padding-top: 180px; padding-bottom: 60px; }
.contact-glow { position: absolute; inset-inline-end: -10%; top: 120px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,13,.55), rgba(168,37,10,.25) 45%, transparent 70%); filter: blur(20px); pointer-events: none; }
.contact-ring { position: absolute; inset-inline-end: 8%; top: 260px; width: 520px; height: 520px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: start; }
.channels { display: grid; gap: 12px; margin-top: 44px; max-width: 440px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; text-decoration: none; color: var(--text); transition: border-color .3s, transform .4s var(--ease); }
a.channel:hover { color: var(--text); border-color: rgba(255,122,47,.6); transform: translateX(6px); }
[dir='rtl'] a.channel:hover { transform: translateX(-6px); }
.channel > span:last-child { display: grid; }
.channel-value { font-size: 17px; }
.channel-icon { display: flex; flex: none; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.channel-ember { background: linear-gradient(140deg, var(--ember-hi), #c8300b); border: 0; }
.form-card { padding: 36px; border-radius: 32px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-title { grid-column: 1 / -1; font-size: 24px; letter-spacing: -.025em; }
.field { display: grid; gap: 8px; font-size: 14px; }
.field-wide { grid-column: 1 / -1; }
.field em { font-style: normal; }
.input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.42); color: #fff; font: 400 16px var(--sans); transition: border-color .3s, background-color .3s, box-shadow .3s; }
textarea.input { resize: vertical; line-height: 1.55; }
.input:hover { border-color: rgba(255,255,255,.35); }
.input:focus { outline: none; border-color: #fff; background: rgba(0,0,0,.6); box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.has-error .input { border-color: #ff8a7a; }
.field-error { color: #ffb4a8; font-size: 13px; }
.form-alert { grid-column: 1 / -1; padding: 12px 16px; border-radius: 14px; background: rgba(255,90,70,.14); border: 1px solid rgba(255,138,122,.4); color: #ffd3cc; font-size: 14px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 14px; margin-bottom: 10px; padding: 0; }
.check-chip { position: relative; cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); font-size: 14px; transition: background-color .3s, border-color .3s; }
.check-chip:hover span { border-color: rgba(255,255,255,.45); }
.check-chip input:checked + span { background: var(--ember); border-color: var(--ember); color: #fff; }
.check-chip input:focus-visible + span { outline: 2px solid var(--ember-hi); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 4px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: grid; justify-items: start; gap: 16px; padding-block: 20px; }
.sent-icon { display: flex; width: 64px; height: 64px; border-radius: 50%; background: var(--ember); align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(255,77,13,.6); }

/* About */
.section-band { padding: 40px 12px; }
.band { position: relative; max-width: 1416px; margin-inline: auto; border-radius: 32px; overflow: hidden; padding: 96px 0; }
.band-ember { background: radial-gradient(ellipse at 50% 120%, #ff6a24 0%, #a8250a 35%, #2a0802 70%, #000 100%); }
.band-glow { position: absolute; left: 50%; top: 40%; width: 600px; height: 600px; margin-left: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,61,.45), transparent 65%); pointer-events: none; }
.band .wrap-narrow { position: relative; }
.value-card { padding: 32px; border-radius: 28px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.value-card h3 { font-size: 24px; letter-spacing: -.025em; }
.value-card p { margin-top: 10px; color: #f1e6de; font-size: 15px; }
.founder { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 40px; border-radius: 32px; }
.founder-mark { display: grid; place-items: center; width: 140px; height: 140px; border-radius: 50%; flex: none; background: linear-gradient(140deg, var(--ember-hi), #8a1d05); font: italic 80px/1 var(--serif); box-shadow: 0 0 60px rgba(255,77,13,.45); }
.founder > div { flex: 1; min-width: 260px; display: grid; gap: 10px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding: 100px 0 0; }
.footer-glow { position: absolute; left: 50%; bottom: -300px; width: 1100px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,77,13,.38), transparent); pointer-events: none; }
.site-footer .wrap { position: relative; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 40px; border-radius: 32px; margin-bottom: 80px; }
.footer-main { display: flex; flex-wrap: wrap; gap: 48px 40px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-brand { flex: 1.7 1 300px; }
.footer-col { flex: 1 1 170px; }
.footer-about { margin-top: 20px; max-width: 380px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.footer-social { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 10px; }
.footer-social a { display: flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.footer-social a:hover { background: var(--ember); border-color: var(--ember); color: #fff; transform: translateY(-3px); }
.footer-h { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 20px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer-links a, .footer-contact a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.5; }
.footer-contact .icon { flex: none; margin-top: 2px; color: var(--ember-hi); }
.footer-word { margin-top: 80px; font-size: clamp(56px, 13vw, 200px); line-height: .82; font-weight: 500; letter-spacing: -.07em; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,122,47,.9) 0%, #8a1d05 55%, rgba(0,0,0,0) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: var(--muted); }
.footer-top { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: var(--muted); text-decoration: none; }
.footer-top:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* Home hero: devices */
.hero-home { min-height: 0; }
.hero-grid-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 48px; padding: 160px 56px 80px; }
.hero-copy { position: relative; z-index: 2; }
.hero-title-home { margin-top: 6px; font-size: clamp(64px, 8.6vw, 142px); }
.hero-proof { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: #efe7e1; }
.hero-proof .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ember); color: #fff; flex: none; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 520px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats dt { font-size: clamp(34px, 3.4vw, 48px); }
.hero-stats dd { margin: 6px 0 0; font-size: 14px; color: #d9d1cb; }
.devices { position: relative; height: 560px; }
.devices-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,47,.55), transparent 65%); filter: blur(40px); }
.laptop { position: absolute; inset-inline-end: 0; top: 50px; width: 90%; }
.screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.2); box-shadow: 0 50px 100px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.12); }
.laptop-base { height: 16px; margin-inline: -5%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #4a4a4a, #161616); box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.browser-bar { display: flex; flex: none; align-items: center; gap: 6px; height: 34px; padding-inline: 14px; background: #161616; border-bottom: 1px solid rgba(255,255,255,.08); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.browser-bar i:first-child { background: var(--ember); }
.browser-bar span { margin-inline: auto; padding: 3px 16px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 11.5px; color: var(--muted); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen-body { position: relative; flex: 1; overflow: hidden; }
.screen-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone { position: absolute; inset-inline-start: 0; bottom: 0; width: 168px; aspect-ratio: 9 / 19; padding: 7px; border-radius: 32px; background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.24); box-shadow: 0 40px 80px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.15); }
.phone-screen { position: relative; height: 100%; border-radius: 25px; overflow: hidden; background: #111; }
.device-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; color: #fff; white-space: nowrap; }
.device-chip .icon { color: var(--ember-hi); }
.chip-a { top: 8px; inset-inline-start: 16%; }
.chip-b { top: 46%; inset-inline-end: -14px; }
.chip-c { bottom: 18px; inset-inline-end: 18%; }
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px 22px;
  background: radial-gradient(circle at 82% 34%, rgba(255,77,13,.6), transparent 42%), linear-gradient(160deg, #1a0602, #060606 60%); }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-nav b { width: 18px; height: 18px; border-radius: 50%; background: var(--ember); }
.mock-nav span { width: 34px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); }
.mock-nav em { margin-inline-start: auto; width: 58px; height: 18px; border-radius: 999px; background: var(--ember); }
.mock-hero { display: grid; gap: 10px; max-width: 64%; margin-top: 7%; }
.mock-hero strong { font: 300 clamp(20px, 2.5vw, 36px)/1 var(--sans); letter-spacing: -.045em; }
.mock-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,.2); }
.mock-line.short { width: 60%; }
.mock-btn { justify-self: start; min-width: 60px; min-height: 20px; padding: 5px 12px; border-radius: 999px; background: var(--ember); font-size: 10px; }
.mock-cards { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock-cards span { height: 64px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.mock-cards span:first-child { background: linear-gradient(150deg, #ff7a2f, #8a1d05); border: 0; }
.mock-phone { padding: 22px 12px 12px; gap: 12px; }
.mock-phone .mock-hero { max-width: 100%; margin-top: 14%; }
.mock-phone .mock-hero strong { font-size: 19px; }
.mock-phone .mock-cards { grid-template-columns: 1fr; }
.mock-phone .mock-cards span { height: 54px; }

/* Project tiles in a browser frame */
.tile-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #0c0c0c; transition: border-color .4s; }
.tile:hover .tile-frame { border-color: rgba(255,122,47,.45); }
.tile-frame .browser-bar { height: 30px; }
.tile-frame .tile-media { aspect-ratio: 16 / 10; border: 0; border-radius: 0; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; position: relative; }
.process-step { position: relative; padding: 30px 28px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.process-step:last-child { background: linear-gradient(150deg, #ff6a24, #c8300b 60%, #4a0e03); border-color: rgba(255,170,120,.45); }
.process-step:last-child p { color: #ffe9dc; }
.process-num { display: flex; width: 54px; height: 54px; margin-bottom: 28px; border-radius: 50%; align-items: center; justify-content: center; font-size: 24px; letter-spacing: 0;
  background: rgba(255,77,13,.12); color: var(--ember-hi); border: 1px solid rgba(255,122,47,.35); }
.process-step:last-child .process-num { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }
.process-step h3 { font-size: 21px; letter-spacing: -.02em; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Responsive */
@media (max-width: 1000px) {
  .detail-grid, .product-grid { grid-template-columns: 1fr; }
  .side, .product-side { position: static; }
}
@media (max-width: 1100px) {
  .hero-grid-home { grid-template-columns: 1fr; padding-bottom: 56px; }
  .devices { height: 520px; max-width: 760px; width: 100%; margin-inline: auto; }
}
@media (max-width: 1000px) {
  .site-header { flex-wrap: wrap; border-radius: 28px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 4px 6px; }
  .site-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; margin: 0; }
  .navlink { min-height: 48px; font-size: 16px; justify-content: space-between; }
  .drop-panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 4px; }
  .drop-panel::before { display: none; }
  .drop-item small, .drop-all { display: none; }
  .drop-item { padding: 8px 12px; align-items: center; }
  .drop-icon { width: 34px; height: 34px; }
  .navlink .icon { display: none; }
  .nav-actions { justify-content: space-between; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }
  .no-js .site-nav { display: flex; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .header-wrap { padding: 18px 20px 0; }
  .devices { height: 380px; }
  .laptop { width: 96%; top: 30px; }
  .phone { width: 116px; border-radius: 24px; padding: 5px; }
  .phone-screen { border-radius: 19px; }
  .chip-b { display: none; }
  .chip-a { inset-inline-start: 30%; top: 0; }
  .chip-c { inset-inline-end: 4%; bottom: 4px; }
  .device-chip { font-size: 12.5px; padding: 8px 12px; }
  .hero-grid-home { padding: 130px 22px 40px; gap: 32px; }
  .mock-cards span { height: 40px; }
  .footer-word { margin-top: 56px; }
  .hero { min-height: 0; }
  .hero-grid { padding: 130px 22px 32px; }
  .hero-card { width: calc(50% - 8px); min-height: 170px; }
  .we-are { width: 96px; height: 96px; top: -40px; }
  .section { padding-top: 90px; }
  .acc summary { grid-template-columns: 40px minmax(0, 1fr) 48px; padding-block: 26px; }
  .acc-plus { width: 44px; height: 44px; }
  .acc-body { padding-inline-start: 8px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .feature-card { inset-inline: 12px; bottom: 12px; padding: 20px; }
  .feature-tile { height: 520px; }
  .arcs { height: 640px; }
  .footer-cta, .founder { padding: 26px; }
  .next-project { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .word, .reveal, .reveal-scale, .breathe, .spin, .float { animation: none !important; opacity: 1; transform: none; filter: none; }
  .btn, .tile, .tile-img, .arw svg, .card, .channel { transition: none; }
}
