/* Fabbrica — black and orange. One stylesheet for every page. */

:root {
  --bg: #0a0a0a;
  --bg-2: #0e0e0e;
  --card: #121212;
  --card-2: #181818;
  --orange: #e8650a;
  --orange-2: #ff7a1a;
  --orange-deep: #d95b00;
  --orange-soft: rgba(232, 101, 10, 0.1);
  --orange-line: rgba(232, 101, 10, 0.3);
  --ink-on-orange: #170a00;
  --white: #fff;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.04);
  --green: #25d366;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --header-h: 76px;
  --gutter: 20px;
  --radius: 28px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --header-h: 96px; --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: #000; }
img, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.solid { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.orange { color: var(--orange); }
.display { font-family: "Alexandria", "Cairo", sans-serif; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; direction: ltr; unicode-bidi: isolate; letter-spacing: 0.04em; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hide-scrollbar { scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* ---------- Buttons ---------- */

.btn, .btn-ghost, .btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.3s, border-color 0.3s, color 0.3s;
}
.btn { background: var(--orange); color: var(--ink-on-orange); box-shadow: 0 10px 30px -10px rgba(232, 101, 10, 0.7); }
.btn:hover { background: var(--orange-2); box-shadow: 0 14px 36px -8px rgba(255, 122, 26, 0.75); }
.btn-ghost { border: 1px solid var(--line); background: var(--glass); color: var(--white); }
.btn-ghost:hover { border-color: var(--orange-line); color: var(--orange-2); }
.btn-wa { background: var(--green); color: #04210f; }
.btn-wa:hover { background: #3be07a; }
.btn svg, .btn-ghost svg, .btn-wa svg { font-size: 1.2em; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 0.92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--orange); border-bottom: 1px solid var(--orange-line); padding-bottom: 2px; transition: gap 0.3s var(--ease), color 0.3s; }
.link-arrow:hover { gap: 14px; color: var(--orange-2); }

/* ---------- Header ---------- */

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: height 0.4s var(--ease); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; max-width: 1440px; margin-inline: auto; padding: 10px var(--gutter);
  border: 1px solid transparent; border-radius: 999px;
  transition: background 0.4s, border-color 0.4s, padding 0.4s var(--ease), max-width 0.5s var(--ease), box-shadow 0.4s;
}
.site-header.scrolled .bar {
  max-width: min(1240px, calc(100% - 24px)); padding: 8px 10px 8px 22px;
  background: rgba(16, 16, 16, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--line); box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.brand img { height: 30px; width: auto; }
.brand span { font-family: "Alexandria", sans-serif; font-weight: 800; letter-spacing: 0.22em; font-size: 1.05rem; }
.nav { display: none; align-items: center; gap: 30px; }
.nav a { position: relative; font-weight: 700; font-size: 0.95rem; color: var(--gray-300); padding: 6px 0; transition: color 0.25s; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform 0.35s var(--ease); border-radius: 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after, .nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); font-size: 1.15rem; transition: border-color 0.3s, color 0.3s; }
.icon-btn:hover { border-color: var(--orange-line); color: var(--orange); }
@media (max-width: 360px) { .header-actions .ig { display: none; } .brand span { letter-spacing: 0.14em; } }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: rgba(8, 8, 8, 0.97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.mobile-menu a.m-link { font-family: "Alexandria", sans-serif; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; padding: 6px 0; border-bottom: 1px solid var(--line-soft); transform: translateY(14px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s, color 0.3s; }
.mobile-menu a.m-link[aria-current="page"], .mobile-menu a.m-link:hover { color: var(--orange); }
.mobile-menu .btn { margin-top: 24px; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
body.menu-open .mobile-menu a.m-link { transform: none; opacity: 1; }
body.menu-open .mobile-menu a.m-link:nth-child(2) { transition-delay: 0.05s; }
body.menu-open .mobile-menu a.m-link:nth-child(3) { transition-delay: 0.1s; }
body.menu-open .mobile-menu a.m-link:nth-child(4) { transition-delay: 0.15s; }
.menu-toggle .close { display: none; }
body.menu-open .menu-toggle .open { display: none; }
body.menu-open .menu-toggle .close { display: block; }

/* ---------- Section scaffolding ---------- */

.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--orange); font-weight: 700; font-size: 0.9rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; transform-origin: right; transform: scaleX(0); transition: transform 0.9s var(--ease) 0.15s; }
.eyebrow.seen::before, .no-motion .eyebrow::before { transform: scaleX(1); }
.eyebrow .mono { color: var(--gray-500); font-size: 0.75rem; font-weight: 500; }
.section-title { font-family: "Alexandria", "Cairo", sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.38; margin-top: 14px; letter-spacing: -0.01em; }
.section-lead { color: var(--gray-400); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 620px; margin-top: 16px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* Headings rise word by word (motion.js splits them). */
.split .wi { display: inline-block; opacity: 0; transform: translateY(0.55em); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.split.seen .wi { opacity: 1; transform: none; filter: none; }

/* Blocks fade up as they enter. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.seen { opacity: 1; transform: none; }
.no-motion .reveal { opacity: 1; transform: none; }

/* A soft orange spotlight that follows the pointer. */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(232, 101, 10, 0.12), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* ---------- Hero ---------- */

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 30px) 0 70px; overflow: hidden; isolation: isolate; }
.hero-plate {
  position: absolute; inset: auto -20% -10% -20%; height: 75%; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(900px) rotateX(62deg) translateY(calc(var(--sy, 0) * 0.15px));
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.hero-glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; top: -25vmax; left: -20vmax; border-radius: 50%; background: radial-gradient(circle, rgba(232, 101, 10, 0.22), transparent 62%); transform: translate(calc(var(--px, 0) * 40px), calc(var(--py, 0) * 40px)); transition: transform 1.2s var(--ease); pointer-events: none; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); font-size: 0.88rem; font-weight: 700; color: var(--gray-300); }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(232, 101, 10, 0.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(232, 101, 10, 0.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(232, 101, 10, 0); } }
.hero h1 { font-family: "Alexandria", "Cairo", sans-serif; font-weight: 900; font-size: clamp(2.6rem, 7.4vw, 5.8rem); line-height: 1.32; letter-spacing: -0.02em; margin-top: 22px; }
.hero h1 .orange, .hero h1 .orange .wi { background: linear-gradient(100deg, var(--orange-2), var(--orange-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--gray-400); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 560px; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; color: var(--gray-400); font-size: 0.92rem; font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { color: var(--orange); font-size: 1.1rem; }

/* The hero picture is "printed" layer by layer when the page opens. */
.print-frame { position: relative; max-width: 560px; width: 100%; margin-inline: auto; transform: translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -14px)); transition: transform 1.2s var(--ease); }
.print-frame .shot { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.print-frame .shot img { width: 100%; height: 100%; object-fit: cover; }
/* motion.js draws the picture under a moving print head. Until it starts the picture is hidden; if it
   never starts (script blocked) the picture shows anyway after a few seconds. */
.js .print-frame .shot img { clip-path: inset(100% 0 0 0); animation: unhide 0.01s 5s forwards; }
.js .print-frame.printing .shot img { animation: none; }
@keyframes unhide { to { clip-path: none; } }

/* The rig: a rail across the frame and a print head that runs along it. --y is the layer being
   printed (0 at the foot of the picture, 1 at the top), --x where the head is across it, --a/--b the
   part of the current layer already drawn. */
.rig { --hw: 60px; --pad: 30px; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.8s var(--ease), transform 1.1s var(--ease); }
@media (max-width: 640px) { .rig { --hw: 46px; --pad: 22px; } }
.print-frame.printing .rig { opacity: 1; }
.print-frame.printed .rig { opacity: 0; transform: translateY(-60px); }
.gantry { position: absolute; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); bottom: calc(var(--y, 0) * 100%); height: 0; }
.rail { position: absolute; left: 0; right: 0; bottom: calc(var(--hw) * 0.98 - 6px); height: 12px; border-radius: 4px; background: linear-gradient(to bottom, #4a4a4a, #2a2a2a 45%, #1c1c1c); border: 1px solid #555; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55); }
.rail i { position: absolute; top: -9px; width: 26px; height: 28px; border-radius: 6px; background: #222; border: 1px solid #4a4a4a; }
.rail i:first-child { left: -4px; }
.rail i:last-child { right: -4px; }
.trail { position: absolute; bottom: -1px; height: 3px; border-radius: 2px; left: calc(var(--pad) + var(--a, 0) * (100% - var(--pad) * 2)); width: calc((var(--b, 0) - var(--a, 0)) * (100% - var(--pad) * 2)); background: var(--orange-2); box-shadow: 0 0 12px 2px rgba(255, 122, 26, 0.75); }
.head { position: absolute; bottom: -3px; width: var(--hw); height: calc(var(--hw) * 1.906); left: calc(var(--pad) + var(--x, 0) * (100% - var(--pad) * 2)); transform: translateX(-50%); overflow: visible; fill: initial; stroke: initial; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6)); }
.head .tube { fill: none; stroke: rgba(235, 235, 235, 0.55); stroke-width: 3; }
.head .fan { transform-origin: 32px 25px; animation: spin 0.35s linear infinite; }
.head .led { fill: var(--orange-2); filter: drop-shadow(0 0 3px var(--orange-2)); }
.head .tip { fill: var(--orange-2); filter: drop-shadow(0 0 4px #ff7a1a) drop-shadow(0 0 8px #ff7a1a); animation: glow 0.4s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { from { opacity: 0.65; } to { opacity: 1; } }
.print-frame .layers { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0 3px, rgba(0, 0, 0, 0.08) 3px 4px); mix-blend-mode: multiply; }
.print-frame .tick { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; background: rgba(14, 14, 14, 0.85); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.print-frame .tick svg { color: var(--orange); font-size: 1rem; }
.print-frame .tick.t1 { top: 9%; inset-inline-start: -6%; }
.print-frame .tick.t2 { bottom: 12%; inset-inline-end: -7%; animation-delay: -3s; }
.print-frame .corner { position: absolute; width: 22px; height: 22px; border-color: var(--orange); border-style: solid; border-width: 0; }
.print-frame .corner.c1 { top: -10px; right: -10px; border-top-width: 2px; border-right-width: 2px; }
.print-frame .corner.c2 { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.print-frame .corner.c3 { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }
.print-frame .corner.c4 { bottom: -10px; left: -10px; border-bottom-width: 2px; border-left-width: 2px; }
.print-frame .coords { position: absolute; top: 50%; inset-inline-end: -34px; transform: translateY(-50%) rotate(-90deg); transform-origin: center; white-space: nowrap; font-size: 0.68rem; color: var(--gray-500); }
@media (max-width: 1100px) { .print-frame .coords { display: none; } }
@media (max-width: 640px) { .print-frame .tick.t1 { inset-inline-start: 4%; } .print-frame .tick.t2 { inset-inline-end: 4%; } }
@keyframes float { 50% { transform: translateY(-8px); } }

.sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sparks i { position: absolute; bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: var(--orange-2); opacity: 0; box-shadow: 0 0 10px rgba(255, 122, 26, 0.8); animation: rise var(--t) linear var(--d) infinite; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 0.7; } 85% { opacity: 0.25; } 100% { transform: translate(var(--x), -100vh); opacity: 0; } }

/* ---------- Marquee ---------- */

.marquee { border-block: 1px solid var(--line-soft); background: var(--bg-2); overflow: hidden; padding: 22px 0; direction: ltr; }
.marquee.tilt { transform: rotate(-1.6deg); margin-block: 20px; background: var(--orange); color: var(--ink-on-orange); border: 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marquee 38s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee-track span { font-family: "Alexandria", "Cairo", sans-serif; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.8rem); white-space: nowrap; direction: rtl; }
.marquee-track img { width: 38px; height: auto; opacity: 0.9; }
.marquee.tilt .marquee-track img { filter: brightness(0); opacity: 0.85; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards (home) ---------- */

.svc-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-card { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--card); overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease); }
.svc-card:hover { border-color: var(--orange-line); transform: translateY(-6px); }
.svc-card .pic { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.svc-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .pic img { transform: scale(1.06); }
.svc-card .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--card), transparent 55%); }
.svc-card .body { padding: 6px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card .idx { font-size: 0.78rem; color: var(--orange); }
.svc-card h3 { font-family: "Alexandria", sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.svc-card p { color: var(--gray-400); font-size: 0.95rem; flex: 1; }
.svc-card .en { font-size: 0.68rem; color: var(--gray-500); }

/* ---------- Work cards ---------- */

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.chip { flex-shrink: 0; min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--gray-300); font-weight: 700; font-size: 0.92rem; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chip:hover { border-color: var(--orange-line); color: var(--white); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink-on-orange); }
.chip .count { font-size: 0.75rem; opacity: 0.7; margin-inline-start: 8px; }

.works-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card { position: relative; display: block; width: 100%; text-align: start; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: var(--card); aspect-ratio: 4 / 5; transition: border-color 0.4s, transform 0.35s var(--ease); transform-style: preserve-3d; }
.work-card.tilting { transition: border-color 0.4s, transform 0.08s linear; }
.work-card:hover { border-color: var(--orange-line); }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover img { transform: scale(1.05); }
.work-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 5%, rgba(0, 0, 0, 0.25) 50%, transparent 75%); }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 0.3s; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.12), transparent 45%); }
.work-card.tilting::after { opacity: 1; }
.work-card .meta { position: absolute; inset: auto 0 0; z-index: 2; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.work-card .cat { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(232, 101, 10, 0.16); border: 1px solid var(--orange-line); color: var(--orange-2); font-size: 0.78rem; font-weight: 700; }
.work-card h3 { font-family: "Alexandria", sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.work-card p { color: var(--gray-400); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-card .count { position: absolute; z-index: 2; top: 18px; inset-inline-end: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 10, 10, 0.7); backdrop-filter: blur(8px); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; }
.work-card .open { position: absolute; z-index: 2; top: 18px; inset-inline-start: 18px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink-on-orange); transform: scale(0.6); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s; }
.work-card:hover .open, .work-card:focus-visible .open { transform: none; opacity: 1; }
.works-empty { color: var(--gray-400); text-align: center; padding: 40px 0; }

/* ---------- Lightbox ---------- */

.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(5, 5, 5, 0.94); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-inner { width: min(1100px, 100%); max-height: 100%; display: grid; gap: 18px; transform: translateY(16px) scale(0.98); transition: transform 0.5s var(--ease); }
.lightbox.open .lb-inner { transform: none; }
.lb-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.lb-stage img { width: 100%; max-height: 70svh; object-fit: contain; margin-inline: auto; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 10, 0.75); border: 1px solid var(--line); font-size: 1.3rem; transition: background 0.3s, color 0.3s; }
.lb-nav:hover { background: var(--orange); color: var(--ink-on-orange); }
.lb-prev { right: 14px; }
.lb-next { left: 14px; }
.lb-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lb-info h3 { font-family: "Alexandria", sans-serif; font-size: 1.5rem; }
.lb-info p { color: var(--gray-400); max-width: 640px; }
.lb-dots { display: flex; gap: 6px; margin-top: 10px; }
.lb-dots button { width: 8px; height: 8px; border-radius: 99px; background: var(--gray-500); transition: width 0.3s var(--ease), background 0.3s; }
.lb-dots button[aria-current="true"] { width: 26px; background: var(--orange); }
.lb-close { position: absolute; top: 18px; left: 18px; z-index: 2; }

/* ---------- CAD to print comparison ---------- */

.compare-wrap { display: grid; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (min-width: 1024px) { .compare-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.compare { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%; box-shadow: var(--shadow); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--orange); transform: translateX(-1px); box-shadow: 0 0 20px rgba(232, 101, 10, 0.8); }
.compare .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: var(--ink-on-orange); display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 0 0 6px rgba(232, 101, 10, 0.25); }
.compare .label { position: absolute; top: 18px; z-index: 2; padding: 6px 14px; border-radius: 999px; background: rgba(10, 10, 10, 0.78); backdrop-filter: blur(8px); border: 1px solid var(--line); font-size: 0.78rem; font-weight: 700; }
.compare .label.l-cad { left: 18px; display: inline-flex; align-items: center; gap: 6px; }
.compare .label .mono { font-size: 0.68rem; color: var(--gray-400); }
.compare .label.l-print { right: 18px; color: var(--orange-2); }
.compare input[type="range"] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: ew-resize; margin: 0; }
.compare-points { display: grid; gap: 14px; margin-top: 30px; }
.compare-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--gray-300); }
.compare-points svg { color: var(--orange); font-size: 1.3rem; margin-top: 4px; }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-soft); overflow: hidden; transition: border-color 0.4s; }
.step:hover { border-color: var(--orange-line); }
.step .n { position: absolute; top: 18px; inset-inline-end: 22px; font-family: "JetBrains Mono", monospace; font-size: 3.2rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, 0.06); }
.step .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange); font-size: 1.4rem; margin-bottom: 26px; }
.step h3 { font-family: "Alexandria", sans-serif; font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--gray-400); font-size: 0.95rem; }
/* The stacked bars at the foot of each step grow like layers. */
.step .stack { display: flex; flex-direction: column-reverse; gap: 3px; margin-top: 22px; }
.step .stack i { height: 4px; border-radius: 2px; background: var(--line); }
.step .stack i.on { background: var(--orange); }

/* ---------- About ---------- */

.about { display: grid; gap: clamp(36px, 5vw, 70px); align-items: center; }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1fr; } }
.about-visual { position: relative; border-radius: var(--radius); border: 1px solid var(--line-soft); background: radial-gradient(circle at 50% 60%, rgba(232, 101, 10, 0.2), transparent 60%), var(--card); padding: 30px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.about-visual img { width: 82%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.about-visual .plate { position: absolute; inset: auto 0 0; height: 40%; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to top, #000, transparent); -webkit-mask-image: linear-gradient(to top, #000, transparent); }
.about-copy p { color: var(--gray-400); margin-top: 18px; font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; margin-top: 34px; }
.fact { padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-soft); }
.fact strong { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; }
.fact strong svg { color: var(--orange); }
.fact span { display: block; color: var(--gray-400); font-size: 0.88rem; margin-top: 4px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--line-soft); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--orange-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; transition: transform 0.4s var(--ease), background 0.3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.faq details[open] .plus { background: var(--orange); color: var(--ink-on-orange); border-color: var(--orange); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 26px 24px; color: var(--gray-400); }

/* ---------- Call to action band ---------- */

.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 7vw, 90px) clamp(24px, 6vw, 80px); background: linear-gradient(130deg, var(--orange-2), var(--orange-deep) 70%); color: var(--ink-on-orange); display: grid; gap: 30px; align-items: center; isolation: isolate; }
@media (min-width: 1024px) { .cta-band { grid-template-columns: 1.3fr auto; } }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 9px); }
.cta-band .mark { position: absolute; z-index: -1; width: min(520px, 70%); left: -60px; bottom: -80px; opacity: 0.14; filter: brightness(0); transform: rotate(-12deg); }
.cta-band h2 { font-family: "Alexandria", sans-serif; font-weight: 900; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.38; }
.cta-band p { font-size: 1.1rem; font-weight: 600; margin-top: 12px; max-width: 560px; opacity: 0.85; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-dark { background: #0a0a0a; color: var(--white); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6); }
.cta-band .btn-dark:hover { background: #1b1b1b; }
.cta-band .btn-line { border: 1.5px solid rgba(23, 10, 0, 0.35); color: var(--ink-on-orange); }
.cta-band .btn-line:hover { background: rgba(23, 10, 0, 0.08); }

/* ---------- Sub-page hero ---------- */

.page-hero { position: relative; padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(40px, 6vw, 70px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000, transparent 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; top: -35vmax; right: -15vmax; border-radius: 50%; background: radial-gradient(circle, rgba(232, 101, 10, 0.18), transparent 62%); }
.page-hero h1 { font-family: "Alexandria", sans-serif; font-weight: 900; font-size: clamp(2.4rem, 6.4vw, 4.8rem); line-height: 1.38; margin-top: 16px; }
.page-hero p { color: var(--gray-400); font-size: clamp(1rem, 1.6vw, 1.2rem); margin-top: 18px; max-width: 640px; }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--gray-500); font-size: 0.9rem; font-weight: 600; }
.crumbs a:hover { color: var(--orange); }

/* ---------- Services page ---------- */

.svc-detail { display: grid; gap: clamp(30px, 5vw, 70px); align-items: center; padding-block: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line-soft); }
@media (min-width: 1024px) {
  .svc-detail { grid-template-columns: 1fr 1fr; }
  .svc-detail:nth-child(even) .svc-media { order: 2; }
}
.svc-media { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; border: 1px solid var(--line-soft); aspect-ratio: 3 / 4; }
.svc-media img:nth-child(2) { aspect-ratio: auto; margin-top: 30%; height: 70%; }
.svc-copy .idx { font-size: 0.85rem; color: var(--orange); }
.svc-copy h2 { font-family: "Alexandria", sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.42; margin-top: 10px; }
.svc-copy > p { color: var(--gray-400); font-size: 1.05rem; margin-top: 16px; }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 560px) { .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--gray-300); font-size: 0.97rem; }
.ticks svg { color: var(--orange); margin-top: 5px; }
.svc-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }

.panel { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-soft); }
.files { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 700px) { .files { grid-template-columns: repeat(3, 1fr); } }
.file { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line-soft); }
.file .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 1.25rem; flex-shrink: 0; }
.file strong { display: block; }
.file span { color: var(--gray-400); font-size: 0.9rem; }

/* ---------- Order page ---------- */

.order-grid { display: grid; gap: 24px; align-items: start; }
.order-grid > * { min-width: 0; }
@media (min-width: 1024px) { .order-grid { grid-template-columns: 1.35fr 0.65fr; } }
.form { display: grid; gap: 26px; }
.field { display: grid; gap: 10px; }
.field > label, .field > .label { font-weight: 700; font-size: 0.98rem; }
.field .hint { color: var(--gray-500); font-size: 0.85rem; font-weight: 500; }
.input, .textarea, .select { width: 100%; min-height: 54px; padding: 12px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); color: var(--white); outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.input::placeholder, .textarea::placeholder { color: var(--gray-500); }
.row-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; font-weight: 700; font-size: 0.95rem; transition: border-color 0.3s, background 0.3s; }
.option label svg { color: var(--orange); font-size: 1.25rem; }
.option label:hover { border-color: var(--orange-line); }
.option input:checked + label { border-color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange); }
.option input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 3px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); overflow: hidden; }
.qty button { width: 52px; height: 52px; font-size: 1.3rem; transition: background 0.3s, color 0.3s; }
.qty button:hover { background: var(--orange-soft); color: var(--orange); }
.qty input { width: 64px; height: 52px; border: 0; text-align: center; background: transparent; font-weight: 800; font-size: 1.1rem; outline: none; }
.form-error { color: #f87171; font-size: 0.9rem; font-weight: 600; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary h3 { font-family: "Alexandria", sans-serif; font-size: 1.25rem; margin-bottom: 14px; }
.summary pre { white-space: pre-wrap; font-family: "Cairo", sans-serif; font-size: 0.92rem; color: var(--gray-300); background: var(--bg-2); border: 1px dashed var(--line); border-radius: 16px; padding: 16px; min-height: 160px; margin: 0; }
.summary .note { display: flex; gap: 10px; color: var(--gray-400); font-size: 0.88rem; margin-top: 16px; }
.summary .note svg { color: var(--orange); margin-top: 4px; }
.summary .btn-wa { width: 100%; margin-top: 18px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); padding: clamp(60px, 8vw, 100px) 0 30px; margin-top: clamp(60px, 8vw, 100px); background: linear-gradient(to bottom, transparent, rgba(232, 101, 10, 0.04)); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 150px; }
.footer-brand p { color: var(--gray-400); margin-top: 16px; max-width: 320px; font-size: 0.95rem; }
.site-footer h4 { font-weight: 800; margin-bottom: 18px; }
.foot-links { display: grid; gap: 10px; color: var(--gray-400); font-size: 0.95rem; }
.foot-links a:hover { color: var(--orange); }
.foot-links li { display: flex; align-items: center; gap: 10px; }
.foot-links svg { color: var(--orange); }
.socials { display: flex; gap: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--gray-500); font-size: 0.88rem; }
.foot-word { font-family: "Alexandria", sans-serif; font-weight: 900; font-size: clamp(3.4rem, 15vw, 13rem); line-height: 1; letter-spacing: 0.04em; text-align: center; direction: ltr; margin-top: 50px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; overflow: hidden; white-space: nowrap; }

/* ---------- WhatsApp button, reading line ---------- */

.wa-fab { position: fixed; z-index: 40; bottom: 22px; left: 22px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 1.8rem; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6); transition: transform 0.35s var(--ease); }
.wa-fab.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: wa 2.6s infinite; }
@keyframes wa { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-hint { position: fixed; z-index: 40; bottom: 34px; left: 94px; padding: 10px 16px; border-radius: 14px; background: #fff; color: #111; font-weight: 700; font-size: 0.9rem; box-shadow: var(--shadow); opacity: 0; transform: translateX(-10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.wa-hint.show { opacity: 1; transform: none; }
.read-progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--orange-deep), var(--orange-2)); transform-origin: right; transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .js .print-frame .shot img { clip-path: none; animation: none; }
  .rig { display: none; }
  .marquee-track { animation: none; }
}

/* ---------- Graduation projects page ---------- */

.grad-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .grad-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .grad-grid { grid-template-columns: repeat(3, 1fr); } }
.grad-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-soft); transition: border-color 0.4s; }
.grad-card:hover { border-color: var(--orange-line); }
.grad-card .cat { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange-2); font-size: 0.76rem; font-weight: 700; }
.grad-card .ex { color: var(--gray-300); font-size: 0.97rem; line-height: 1.75; }
.grad-card .blk { padding: 14px 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-soft); }
.grad-card h4 { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--orange); margin: 0 0 8px; }
.grad-card ul { display: grid; gap: 6px; }
.grad-card li { display: flex; gap: 8px; align-items: flex-start; color: var(--gray-300); font-size: 0.9rem; line-height: 1.6; }
.grad-card li svg { color: var(--green); margin-top: 5px; font-size: 0.85rem; }
.grad-card .btn-wa { margin-top: auto; align-self: stretch; }
.grad-note { margin-top: 26px; color: var(--gray-400); text-align: center; }
.grad-card h3 { font-family: "Alexandria", sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.5; }
.grad-card .hw { background: rgba(232, 101, 10, 0.05); border-color: var(--orange-line); }
.grad-card .hw li { gap: 10px; }
.grad-card .hw li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 10px; border-radius: 2px; background: var(--orange); }
.area-nav { position: sticky; top: calc(var(--header-h) - 6px); z-index: 5; padding: 10px 0; margin-bottom: 10px; background: linear-gradient(var(--bg) 75%, transparent); }
a.chip { display: inline-flex; align-items: center; }
.area { padding-top: 34px; scroll-margin-top: calc(var(--header-h) + 70px); }
.area-title { display: flex; align-items: center; gap: 12px; font-family: "Alexandria", sans-serif; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; margin-bottom: 18px; }
.area-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); box-shadow: 0 0 12px rgba(232, 101, 10, 0.7); }
.principles { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .principles { grid-template-columns: 0.8fr 1.2fr; } }
.principles ul { display: grid; gap: 14px; }
.principles li { position: relative; padding: 18px 20px 18px 20px; padding-inline-start: 52px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-soft); color: var(--gray-400); line-height: 1.8; }
.principles li::before { content: ""; position: absolute; inset-inline-start: 20px; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange-soft); border: 2px solid var(--orange); }
.principles strong { color: var(--white); }
.grad-card li span { flex: 1; }

/* The graduation projects link stands out in the menus, and the home page points to it. */
.nav a.hot { color: var(--white); }
.new { display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px; background: var(--orange); color: var(--ink-on-orange); font-size: 0.66rem; font-weight: 800; line-height: 1.6; vertical-align: middle; }
.mobile-menu .new { font-size: 0.8rem; padding: 2px 10px; }
body.menu-open .mobile-menu a.m-link:nth-child(5) { transition-delay: 0.2s; }
.grad-promo { position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: linear-gradient(120deg, rgba(232, 101, 10, 0.18), rgba(232, 101, 10, 0.04) 60%), var(--card); border: 1px solid var(--orange-line); transition: border-color 0.4s, transform 0.5s var(--ease); }
.grad-promo:hover { border-color: var(--orange); transform: translateY(-4px); }
@media (min-width: 860px) { .grad-promo { grid-template-columns: auto 1fr auto; } }
.grad-promo .ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--orange); color: var(--ink-on-orange); font-size: 2rem; box-shadow: 0 12px 30px -10px rgba(232, 101, 10, 0.8); }
.grad-promo .txt { display: grid; gap: 6px; }
.grad-promo .tag { color: var(--orange-2); font-weight: 800; font-size: 0.88rem; }
.grad-promo strong { font-family: "Alexandria", sans-serif; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.35; }
.grad-promo .sub { color: var(--gray-300); font-size: 1.02rem; }
.grad-promo .btn { pointer-events: none; }
