/* =========================================================
   AntaresOrigin — site styles
   Minimal monochrome: black, white and greys
   ========================================================= */

:root {
  --black: #0a0a0a;
  --ink: #171717;
  --grey-900: #262626;
  --grey-700: #404040;
  --grey-600: #525252;
  --grey-500: #737373;
  --grey-400: #a3a3a3;
  --grey-300: #d4d4d4;
  --grey-200: #e5e5e5;
  --grey-100: #f2f2f2;
  --grey-50: #f8f8f8;
  --white: #ffffff;

  --line: #e5e5e5;
  --line-dark: rgba(255, 255, 255, 0.14);

  --radius: 6px;
  --radius-lg: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 0.5em; color: var(--black); }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--grey-500); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; }

/* Photos are shown in black and white for a consistent look */
.photo { filter: grayscale(1) contrast(1.05); object-fit: cover; width: 100%; height: 100%; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--grey-500); margin-bottom: 22px;
}
.label::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.on-dark .label { color: var(--grey-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
  font: 500 0.98rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--grey-700); }
.btn-outline { border-color: var(--grey-300); color: var(--black); background: transparent; }
.btn-outline:hover { border-color: var(--black); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--grey-200); }
.btn-sm { padding: 11px 18px; font-size: 0.9rem; }
.btn:disabled { opacity: 0.55; cursor: default; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--white); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--grey-600); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -0.02em; color: var(--black); }
.brand strong { font-weight: 700; }
.brand span span { font-weight: 400; color: var(--grey-500); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--grey-600); transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--black); }
.nav a.btn { color: var(--white); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--black); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero-top { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: end; padding-bottom: 56px; }
.hero h1 { margin-bottom: 0; }
.hero h1 .soft { color: var(--grey-400); }
.hero-side p { font-size: 1.12rem; color: var(--grey-600); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; height: clamp(360px, 52vw, 640px); border-radius: var(--radius-lg); overflow: hidden; background: var(--grey-200); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55)); }
.hero-cards { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; }
.status-card {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); font-size: 0.9rem;
  animation: floatIn 0.8s var(--ease) both;
}
.status-card:nth-child(2) { animation-delay: 0.15s; }
.status-card:nth-child(3) { animation-delay: 0.3s; }
.status-card strong { display: block; font-weight: 600; color: var(--black); line-height: 1.3; }
.status-card small { display: block; color: var(--grey-500); font-size: 0.8rem; line-height: 1.3; }
.tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--black); display: grid; place-items: center; }
.tick::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.tick.person { background: var(--white); border: 1.5px solid var(--black); }
.tick.person::after { border-color: var(--black); }
@keyframes floatIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Marquee of tasks */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; margin-top: 56px; border-top: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; color: var(--grey-400); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-size: 0.8rem; color: var(--grey-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section.grey { background: var(--grey-50); }
.section.on-dark { background: var(--black); color: var(--grey-300); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 72px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--grey-600); font-size: 1.1rem; }
.on-dark .section-head p { color: var(--grey-400); }

/* Statement */
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.statement-text { font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.25; letter-spacing: -0.025em; color: var(--black); margin-bottom: 36px; }
.statement-text .soft { color: var(--grey-400); }
.statement-media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.figures strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; color: var(--black); line-height: 1.1; }
.figures span { font-size: 0.9rem; color: var(--grey-500); }

/* Services */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 90px 1.1fr 1.4fr 40px; gap: 32px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease);
}
.service:hover { padding-left: 16px; padding-right: 0; }
.service-num { font: 500 0.85rem var(--font-mono); color: var(--grey-400); padding-top: 6px; }
.service h3 { font-size: 1.65rem; margin: 0; }
.service p { margin: 0 0 14px; color: var(--grey-600); }
.service ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 0.82rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--grey-600); }
.service-arrow { font-size: 1.4rem; color: var(--grey-300); transition: color 0.3s, transform 0.3s var(--ease); padding-top: 2px; }
.service:hover .service-arrow { color: var(--black); transform: rotate(-45deg); }

/* Process */
.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.process-media { position: sticky; top: 120px; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--grey-300); display: grid; place-items: center; font: 500 0.85rem var(--font-mono); color: var(--black); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--grey-600); }

/* Why (dark with photo) */
.why { position: relative; overflow: hidden; }
.why-bg { position: absolute; inset: 0; opacity: 0.22; }
.why-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--black) 0%, rgba(10,10,10,0.6) 50%, var(--black) 100%); }
.why .container { position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.why-item { background: rgba(10, 10, 10, 0.86); padding: 40px 32px; }
.why-item .icon { width: 44px; height: 44px; margin-bottom: 28px; }
.why-item .icon svg { width: 100%; height: 100%; fill: none; stroke: var(--white); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 1.2rem; }
.why-item p { margin: 0; color: var(--grey-400); font-size: 0.97rem; }

/* Project cards (home) */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card { display: block; text-decoration: none; color: inherit; }
.project-card .pc-media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey-100); border: 1px solid var(--line); margin-bottom: 22px; }
.project-card .pc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1); transition: transform 0.7s var(--ease), filter 0.5s var(--ease); }
.project-card .pc-media.contain { background: var(--black); }
.project-card .pc-media.contain img { object-fit: contain; padding: 6%; }
.project-card:hover .pc-media img, .project-card:focus-visible .pc-media img { transform: scale(1.04); filter: grayscale(0); }
.pc-meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 8px; }
.pc-meta h3 { margin: 0; font-size: 1.5rem; }
.pc-meta span { font: 500 0.75rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500); white-space: nowrap; }
.project-card p { color: var(--grey-600); margin: 0; }
.center-cta { text-align: center; margin-top: 64px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; }
.about p { color: var(--grey-600); font-size: 1.08rem; }
.about p strong { color: var(--black); font-weight: 600; }
.about-mark { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-mark img { width: 52px; height: 52px; }
.about-mark p { margin: 0; font-size: 0.95rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq-wrap .faq-intro p { color: var(--grey-600); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.015em; color: var(--black); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; background: linear-gradient(var(--black), var(--black)) center / 100% 1.5px no-repeat, linear-gradient(var(--black), var(--black)) center / 1.5px 100% no-repeat; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--grey-600); max-width: 640px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); }
.contact-media { position: relative; min-height: 560px; }
.contact-media img { position: absolute; inset: 0; }
.contact-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.75)); }
.contact-media-text { position: absolute; left: 44px; right: 44px; bottom: 44px; z-index: 1; color: var(--white); }
.contact-media-text h2 { color: var(--white); margin-bottom: 16px; }
.contact-media-text p { color: var(--grey-300); margin: 0 0 24px; }
.contact-details { display: flex; gap: 36px; flex-wrap: wrap; font-size: 0.92rem; }
.contact-details span { display: block; font: 500 0.72rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-400); margin-bottom: 4px; }
.contact-details a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--grey-600); }
.contact-form { background: var(--white); padding: 52px 48px; display: grid; gap: 18px; align-content: center; }
.contact-form h3 { font-size: 1.6rem; margin-bottom: 4px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--grey-700); }
label .opt { font-weight: 400; color: var(--grey-400); }
input, select, textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius);
  background: var(--grey-50); border: 1px solid var(--grey-200); color: var(--black);
  font: 0.98rem var(--font); transition: border-color 0.2s, background 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); background: var(--white); }
textarea { resize: vertical; min-height: 120px; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.92rem; }
.form-status.ok { color: var(--black); font-weight: 500; }
.form-status.err { color: #b42318; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--grey-400); padding: 88px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand span span { color: var(--grey-500); }
.footer-brand p { margin: 20px 0 0; max-width: 340px; font-size: 0.95rem; }
.footer-col h4 { color: var(--white); font-family: var(--font); font-size: 0.85rem; font-weight: 600; letter-spacing: 0; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 0.95rem; color: var(--grey-400); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 0.85rem; color: var(--grey-500); }
.footer-bottom a { color: var(--grey-400); }

/* =========================================================
   Projects page
   ========================================================= */
.page-hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 64px; align-items: end; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin: 0; }
.page-hero p { color: var(--grey-600); font-size: 1.1rem; margin: 0; }

.project-nav { position: sticky; top: 76px; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.project-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.project-nav ul::-webkit-scrollbar { display: none; }
.project-nav a { display: block; padding: 18px 16px; text-decoration: none; font-size: 0.92rem; color: var(--grey-500); white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.project-nav a:hover { color: var(--black); }
.project-nav a.active { color: var(--black); border-bottom-color: var(--black); }

.article { padding: 112px 0; border-bottom: 1px solid var(--line); }
.article:nth-of-type(even) { background: var(--grey-50); }
.article-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 48px; }
.article-head .kicker { font: 500 0.78rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--grey-500); margin-bottom: 14px; display: block; }
.article-head h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.article-head .lede { grid-column: 1 / -1; font-size: 1.25rem; color: var(--grey-600); max-width: 820px; margin: 8px 0 0; line-height: 1.55; }
.article-hero { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--black); margin-bottom: 64px; }
.article-hero img { width: 100%; }
.article-hero.light { background: var(--white); }

.article-body { display: grid; grid-template-columns: 280px 1fr; gap: 72px; align-items: start; }
.facts { position: sticky; top: 160px; border-top: 2px solid var(--black); }
.facts dl { margin: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 0.72rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-500); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; color: var(--black); font-size: 0.97rem; }
.facts .btn { width: 100%; margin-top: 22px; }

.article-body > * { min-width: 0; }
.prose { max-width: 720px; }
.prose table { display: block; overflow-x: auto; }
.prose table thead, .prose table tbody { display: table; width: 100%; }
.prose h3 { font-size: 1.55rem; margin: 48px 0 16px; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--grey-700); font-size: 1.05rem; }
.prose ul { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--grey-400); }
.prose strong { color: var(--black); font-weight: 600; }
.prose code { font: 0.88em var(--font-mono); padding: 2px 6px; border-radius: 4px; background: var(--grey-100); border: 1px solid var(--line); color: var(--black); }
.prose a { color: var(--black); }
.prose figure { margin: 40px 0; }
.prose figure img { border-radius: 10px; border: 1px solid var(--line); background: var(--white); }
.prose figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--grey-500); }
.prose blockquote { margin: 36px 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--black); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; letter-spacing: -0.015em; color: var(--black); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0 8px; font-size: 0.95rem; }
.prose th { text-align: left; font: 500 0.72rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--black); }
.prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); color: var(--grey-700); }
.prose td:first-child { color: var(--black); font-weight: 500; }
.callouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0 8px; }
.callout { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.callout strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 6px; }
.callout p { margin: 0; font-size: 0.95rem; }

.code {
  margin: 28px 0; border-radius: 10px; overflow: hidden; background: var(--black); color: #e5e5e5;
  font: 0.88rem/1.7 var(--font-mono); border: 1px solid var(--grey-900);
}
.code-bar { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--grey-900); color: var(--grey-500); font-size: 0.75rem; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; }
.code .k { color: #ffffff; font-weight: 600; }
.code .c { color: var(--grey-500); }
.code .s { color: #bdbdbd; }

.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.more-item { display: block; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; background: var(--white); transition: border-color 0.25s, transform 0.25s var(--ease); }
.more-item:hover { border-color: var(--black); transform: translateY(-3px); }
.more-item span { font: 500 0.72rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-500); }
.more-item h3 { margin: 10px 0 8px; }
.more-item p { margin: 0; color: var(--grey-600); font-size: 0.95rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 60px 1fr 30px; }
  .service > div:nth-child(3) { grid-column: 2 / 3; }
  .service-arrow { grid-column: 3; grid-row: 1; }
  .article-body { grid-template-columns: 1fr; gap: 48px; }
  .facts { position: static; }
  .more-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 88px 0; }
  .hero { padding-top: 48px; }
  .hero-top, .section-head, .statement, .process, .about, .faq-wrap, .contact, .page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-media { position: static; aspect-ratio: 16 / 10; }
  .statement-media, .about-media { aspect-ratio: 16 / 11; }
  .contact-media { min-height: 420px; }
  .project-grid { grid-template-columns: 1fr; }
  .article { padding: 80px 0; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 28px; background: var(--white); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--black); }
  .nav a.btn { margin-top: 18px; border: 0; padding: 15px 26px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-cards { left: 14px; right: 14px; bottom: 14px; }
  .status-card:nth-child(3) { display: none; }
  .figures { grid-template-columns: 1fr 1fr; }
  .why-grid, .more-grid, .callouts { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr 24px; gap: 14px; padding: 30px 0; }
  .service-num { display: none; }
  .service > div:nth-child(3) { grid-column: 1 / -1; }
  .service-arrow { grid-column: 2; }
  .service:hover { padding-left: 0; }
  .contact-form { padding: 32px 22px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-media-text { left: 22px; right: 22px; bottom: 26px; }
  .footer-top { grid-template-columns: 1fr; }
  .article-head { grid-template-columns: 1fr; }
}

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

/* Project links (added) */
.facts .btn + .btn { margin-top: 10px; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.project-card .pc-main { display: block; text-decoration: none; color: inherit; }
.project-card .pc-main:hover .pc-media img, .project-card .pc-main:focus-visible .pc-media img { transform: scale(1.04); filter: grayscale(0); }
.pc-links { display: flex; gap: 22px; margin-top: 14px; font-size: 0.92rem; font-weight: 500; }
.pc-links a { text-decoration: none; color: var(--black); border-bottom: 1px solid var(--grey-300); padding-bottom: 1px; transition: border-color 0.2s; }
.pc-links a:hover { border-color: var(--black); }
