/* Hallmark · shape: Stage + bento · genre: modern-minimal · theme: Console (deal 1/3, seed wojood-data-software-engineering-7de9·1dfad674·2026-11-23·r0), modernised by request · job: hire · draw: manual
 * hero: Stage, head on the left, the live knowledge graph on the right over a lit grid · nav: floating glass bar · footer: mast with an oversized wordmark · imagery: drawn diagrams (by request) · signature: a live knowledge graph with وجود at its centre · console: graphite, dark only (by request)
 * axes: dark/grotesk-sans/chromatic-amber · posture: expressive · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, the studio has no real work yet, so its frames are stand-in slots for real images */
/* waive 80: the client asked for illustrations, one per service area and a knowledge-graph visual; they are diagrams of the work, not decoration */
/* waive theme-motion: the client asked for a more modern, alive feel, so glows, a ticker and one reveal are added over Console's stillness */
/* waive 2b, 29: a two-token amber-to-blue ramp on the Arabic name and one soft glow behind the graph, asked for as a more modern look */
/* waive slot-treatment: studio work is shown in full colour, not the theme's duotone, because it is the client's portfolio */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --font-arabic: "IBM Plex Sans Arabic", "Noto Sans Arabic", system-ui, sans-serif;
  --font-arabic-brand: "El Messiri", var(--font-arabic);
  --container: 1280px;
  --head-h: 84px;
  --radius-card: 24px; --radius-pill: 999px; --radius-input: 12px; --radius-xl: 32px;
  --glow-a: color-mix(in oklab, var(--color-accent) 26%, transparent);
  --glow-c: color-mix(in oklab, var(--color-cool) 24%, transparent);
  --glass: color-mix(in oklab, var(--color-paper-2) 70%, transparent);
  --color-paper: oklch(14.5% 0.008 250); --color-paper-2: oklch(19% 0.009 250); --color-paper-3: oklch(12% 0.007 250);
  --color-rule: oklch(27% 0.01 250);
}


[lang="ar"], .ar { font-family: var(--font-arabic); letter-spacing: 0; }
h1, h2 { letter-spacing: -0.04em; }

/* Floating glass header */
.site-head { position: sticky; top: 0; z-index: var(--z-sticky-nav); padding: var(--space-sm) var(--gutter) 0; }
.site-head .container { display: flex; align-items: center; gap: var(--space-lg); max-width: calc(var(--container) - 2 * var(--gutter)); min-height: 60px; padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: var(--rule-hair) solid color-mix(in oklab, var(--color-rule-2) 50%, transparent); border-radius: var(--radius-pill); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); font-weight: 500; font-size: var(--text-lg); letter-spacing: -0.02em; border-radius: var(--radius-input); }
.brand .wordmark { height: 24px; width: auto; fill: currentColor; }
.brand .wordmark-dot { fill: var(--color-accent); }
.brand .ar { font-family: var(--font-arabic-brand); font-size: 1.6rem; line-height: 1; color: var(--color-accent); font-weight: 500; }
.nav { display: flex; align-items: center; gap: var(--space-2xs); margin-inline-start: auto; }
.nav a { padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); font-weight: 500; white-space: nowrap; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav a:hover { color: var(--color-ink); background: color-mix(in oklab, var(--color-ink) 7%, transparent); }
.nav a[aria-current="page"] { color: var(--color-ink); background: color-mix(in oklab, var(--color-ink) 9%, transparent); }
.head-actions { display: flex; align-items: center; gap: var(--space-xs); }

@media (max-width: 60rem) {
  :root { --head-h: 120px; }
  .site-head { padding-top: var(--space-xs); }
  .site-head .container { flex-wrap: wrap; gap: 0 var(--space-sm); padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-md); border-radius: var(--radius-card); }
  .brand { min-height: 48px; }
  .head-actions { margin-inline-start: auto; }
  .nav { order: 3; width: 100%; margin: 0 calc(var(--space-xs) * -1) 0 calc(var(--space-md) * -1); padding: 0 var(--space-xs) var(--space-xs) var(--space-xs); overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .head-actions .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-paper-2) 60%, transparent); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-paper-2); border-color: var(--color-ink-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 6px 24px -6px var(--glow-a); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 90%, var(--color-ink)); border-color: transparent; box-shadow: 0 10px 36px -6px color-mix(in oklab, var(--color-accent) 55%, transparent); }

.link { color: var(--color-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.25em; border-radius: 2px; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

/* Layout */
main { display: block; }
.section { padding-block: var(--section-gap-s); }
.muted { color: var(--color-muted); }
.lead { color: var(--color-ink-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md) var(--space-2xl); margin-bottom: var(--space-2xl); }
.section-head h2 { font-size: clamp(2.25rem, 3.5vw + 1rem, 4.25rem); max-width: 14ch; }
.section-head p { color: var(--color-muted); max-width: 46ch; font-size: var(--text-lead); }

/* One reveal, only when scripting is on */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero */
.hero { position: relative; isolation: isolate; margin-top: calc(var(--head-h) * -1); padding: calc(var(--head-h) + var(--space-2xl)) 0 var(--space-2xl); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 72% 42%, var(--glow-c), transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 10%, var(--glow-a), transparent 70%),
    linear-gradient(var(--color-rule) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--color-rule) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, var(--color-ink) 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, var(--color-ink) 30%, transparent 80%); }
.hero .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; min-height: min(calc(100svh - var(--head-h) - 64px), 680px); }
.hero h1 { max-width: 11ch; font-size: clamp(2.75rem, 4.4vw + 1rem, 5.75rem); line-height: 0.98; }
.hero .lead { margin-top: var(--space-lg); max-width: 34ch; font-size: clamp(1.125rem, 0.5vw + 1rem, 1.4rem); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero-art { position: relative; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 22% 26%; z-index: -1; border-radius: 50%; background: var(--glow-a); filter: blur(60px); }
.hero-graph { width: 100%; height: auto; max-height: 620px; }
@media (max-width: 60rem) {
  .hero { padding-bottom: var(--space-xl); }
  .hero .container { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--space-lg); }
}

/* Knowledge graph and illustrations */
.g-edge { stroke: var(--color-rule-2); stroke-width: 1.25; fill: none; }
.g-edge--main { stroke: var(--color-cool); stroke-width: 1.5; opacity: 0.55; }
.g-edge--cross { stroke: var(--color-rule-2); stroke-dasharray: 3 5; }
.g-flow { stroke: var(--color-accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 22; fill: none; animation: flow 1.8s linear infinite; }
.g-flow--sub { stroke: var(--color-cool); stroke-width: 2; stroke-dasharray: 2 26; opacity: 0.8; animation-duration: 2.6s; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.g-core { fill: var(--color-accent-soft); stroke: var(--color-accent); stroke-width: 1.5; }
.g-core-text { fill: var(--color-ink); font-family: var(--font-arabic); font-size: 30px; font-weight: 500; }
.g-main { fill: var(--color-cool); }
.g-sub { fill: var(--color-paper); stroke: var(--color-cool); stroke-width: 1.5; }
.g-label { fill: var(--color-ink); font-family: var(--font-body); font-size: 17px; font-weight: 500; }
.g-sub-label { fill: var(--color-muted); font-family: var(--font-body); font-size: 13.5px; }
.g-pulse { fill: none; stroke: var(--color-cool); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; animation: pulse 4.8s var(--ease-out) infinite; }
.g-pulse--core { stroke: var(--color-accent); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 40%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .g-pulse, .g-flow { animation: none; opacity: 0; } }
@media (max-width: 40rem) { .g-sub-label { display: none; } .g-label { font-size: 22px; } }

.ill { width: 100%; height: auto; }
.i-line { stroke: var(--color-rule-2); stroke-width: 1.5; fill: none; }
.i-cool { stroke: var(--color-cool); stroke-width: 1.5; fill: none; }
.i-acc { stroke: var(--color-accent); stroke-width: 1.5; fill: none; }
.i-dash { stroke-dasharray: 4 4; }
.i-box { fill: var(--color-paper-3); stroke: var(--color-rule-2); stroke-width: 1; }
.i-box-2 { fill: var(--color-paper-2); stroke: var(--color-rule-2); stroke-width: 1; }
.i-soft { fill: var(--color-accent-soft); stroke: var(--color-accent); stroke-width: 1.5; }
.i-coolsoft { fill: var(--color-cool-soft); stroke: var(--color-cool); stroke-width: 1.5; }
.i-node { fill: var(--color-paper-2); stroke: var(--color-cool); stroke-width: 1.5; }
.i-fill-cool { fill: var(--color-cool); }
.i-fill-acc { fill: var(--color-accent); }
.i-fill-rule { fill: var(--color-rule-2); }
.i-fill-ink { fill: var(--color-ink-2); }
.i-text { fill: var(--color-muted); font-family: var(--font-body); font-size: 13px; }
.i-text-ink { fill: var(--color-ink); font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.i-mono { fill: var(--color-muted); font-family: var(--font-outlier); font-size: 11px; }
.i-ar { fill: var(--color-ink); font-family: var(--font-arabic); font-size: 19px; font-weight: 500; }

/* Capability ticker */
.ticker { display: grid; gap: var(--space-sm); padding-block: var(--space-lg) var(--space-xl); -webkit-mask-image: linear-gradient(90deg, transparent, var(--color-ink) 12%, var(--color-ink) 88%, transparent); mask-image: linear-gradient(90deg, transparent, var(--color-ink) 12%, var(--color-ink) 88%, transparent); }
.ticker-row { display: flex; overflow: hidden; }
.ticker-track { display: flex; flex-shrink: 0; gap: var(--space-sm); margin: 0; padding: 0 var(--space-sm) 0 0; list-style: none; animation: tick 60s linear infinite; }
.ticker-row--rev .ticker-track { animation-direction: reverse; animation-duration: 70s; }
.ticker li { padding: var(--space-sm) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
@keyframes tick { to { transform: translateX(-100%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Bento cards */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md); }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; grid-column: span 6; overflow: hidden; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); transition: transform var(--dur-long) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.card--data, .card--studio { grid-column: span 7; }
.card--ai, .card--software { grid-column: span 5; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--glow-a), transparent 65%); transition: opacity var(--dur-long) var(--ease-out); }
.card:hover { transform: translateY(-4px); border-color: var(--color-rule-2); }
.card:hover::before { opacity: 1; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.card-art { display: grid; place-items: center; flex: 1; padding: var(--space-xl) var(--space-xl) var(--space-md); background: radial-gradient(ellipse 70% 60% at 50% 40%, var(--glow-c), transparent 75%); }
.card-art .ill { max-width: 520px; }
.card-body { padding: 0 var(--space-xl) var(--space-xl); }
.card h3 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); letter-spacing: -0.03em; }
.card p { margin-top: var(--space-xs); color: var(--color-muted); max-width: 46ch; }
.card-link { color: inherit; text-decoration: none; outline: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
@media (max-width: 52rem) { .bento { grid-template-columns: minmax(0, 1fr); } .card, .card--data, .card--studio, .card--ai, .card--software { grid-column: auto; } .card-art { padding: var(--space-lg) var(--space-lg) var(--space-sm); } .card-body { padding: 0 var(--space-lg) var(--space-lg); } }

/* Name */
.name-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.name-split .glyph { margin: 0; font-family: var(--font-arabic); font-weight: 500; font-size: clamp(7rem, 17vw, 15rem); line-height: 1.1; color: var(--color-accent); background: linear-gradient(120deg, var(--color-accent) 20%, var(--color-cool) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.name-split h2 { margin-bottom: var(--space-lg); font-size: clamp(2.25rem, 3.5vw + 1rem, 4.25rem); }
.name-split p:not(.glyph) { color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.5; max-width: 46ch; }
@media (max-width: 52rem) { .name-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }

/* Call to action panel */
.cta { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-xl); padding: clamp(32px, 6vw, 88px); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-xl);
  background: radial-gradient(ellipse 60% 90% at 90% 0%, var(--glow-a), transparent 70%), radial-gradient(ellipse 50% 80% at 0% 100%, var(--glow-c), transparent 70%), var(--color-paper-2); }
.cta h2 { max-width: 14ch; font-size: clamp(2.25rem, 3.5vw + 1rem, 4.25rem); }
.cta p { margin-top: var(--space-md); color: var(--color-ink-2); max-width: 46ch; font-size: var(--text-lead); }

/* Page header */
.page-head { position: relative; isolation: isolate; margin-top: calc(var(--head-h) * -1); padding: calc(var(--head-h) + var(--space-3xl)) 0 var(--space-2xl); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 45% 70% at 85% 0%, var(--glow-c), transparent 70%), radial-gradient(ellipse 35% 60% at 10% 0%, var(--glow-a), transparent 70%), linear-gradient(var(--color-rule) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, var(--color-rule) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(var(--color-ink) 40%, transparent); mask-image: linear-gradient(var(--color-ink) 40%, transparent); }
.page-head h1 { font-size: clamp(3rem, 5vw + 1rem, 6rem); line-height: 0.98; }
.page-head .lead { margin-top: var(--space-lg); font-size: var(--text-lead); }
.jump { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xl); padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--glass); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.jump a:hover { background: var(--color-paper-2); border-color: var(--color-rule-2); }

/* Services detail */
.area { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: start; padding-block: var(--space-3xl); scroll-margin-top: var(--head-h); }
.area figure { position: sticky; top: calc(var(--head-h) + var(--space-lg)); margin: 0; padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: radial-gradient(ellipse 70% 60% at 50% 40%, var(--glow-c), transparent 75%), var(--color-paper-2); }
.area h2 { font-size: clamp(2.5rem, 3.5vw + 1rem, 4.5rem); }
.area .lead { margin-top: var(--space-md); font-size: var(--text-lead); }
.includes { margin: var(--space-xl) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.includes li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper-2); color: var(--color-ink); transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.includes li:hover { border-color: var(--color-rule-2); transform: translateX(4px); }
.includes .n { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-cool); font-variant-numeric: tabular-nums slashed-zero; padding-top: var(--space-3xs); }
.area:nth-child(even) figure { order: 2; }
@media (max-width: 52rem) { .area { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-2xl); } .area figure { position: static; padding: var(--space-lg); } .area:nth-child(even) figure { order: 0; } }

/* Studio */
.work { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl); align-items: end; padding-block: var(--space-2xl); scroll-margin-top: var(--head-h); }
.frame { margin: 0; aspect-ratio: 16 / 10; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.frame > svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.frame:hover > svg { transform: scale(1.04); }
[data-slot].frame > img { filter: none; mix-blend-mode: normal; }
[data-slot].frame:has(> img)::before { display: none; }
.work h2 { font-size: clamp(2.5rem, 3.5vw + 1rem, 4.5rem); }
.work p { margin-top: var(--space-md); color: var(--color-muted); max-width: 46ch; font-size: var(--text-lead); }
.work:nth-child(even) .frame { order: 2; }
.work:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
@media (max-width: 52rem) { .work, .work:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } .work:nth-child(even) .frame { order: 0; } }

/* About */
.trail { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.trail li { padding: var(--space-xl) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); transition: transform var(--dur-long) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.trail li:hover { transform: translateY(-4px); border-color: var(--color-rule-2); }
.trail h3 { margin: var(--space-2xl) 0 var(--space-sm); font-size: var(--text-xl); }
.trail p { color: var(--color-muted); }
@media (max-width: 60rem) { .trail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .trail { grid-template-columns: minmax(0, 1fr); } .trail h3 { margin-top: 0; } }
.mission-panel { padding: clamp(32px, 6vw, 88px); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-xl); background: radial-gradient(ellipse 60% 90% at 100% 100%, var(--glow-c), transparent 70%), var(--color-paper-2); }
.mission { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3vw + 1rem, 4rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.details { margin: 0; display: grid; gap: var(--space-sm); }
.details > div { padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.details dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.details dd { margin: var(--space-2xs) 0 0; font-size: var(--text-lg); color: var(--color-ink); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); font-size: var(--text-md); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-xl); background: radial-gradient(ellipse 60% 50% at 100% 0%, var(--glow-a), transparent 70%), var(--color-paper-2); }
.field { display: grid; gap: var(--space-xs); }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.field .opt { color: var(--color-muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); transition: border-color var(--dur-short) var(--ease-out); }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-rule-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-focus); }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field .err { font-size: var(--text-sm); color: var(--color-error); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.form-status { font-size: var(--text-sm); color: var(--color-ink-2); }
@media (max-width: 60rem) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 36rem) { .form { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); } }

/* Footer */
.site-foot { position: relative; overflow: hidden; margin-top: var(--section-gap-s); padding-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); background: radial-gradient(ellipse 50% 80% at 50% 120%, var(--glow-a), transparent 70%), var(--color-paper-3); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: var(--space-xl); }
.foot-grid p { margin-top: var(--space-md); color: var(--color-muted); max-width: 34ch; }
.foot-grid h2 { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-muted); margin-bottom: var(--space-sm); }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); }
.foot-grid a { color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); border-radius: 2px; }
.foot-grid a:hover { color: var(--color-accent); }
.foot-base { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }
.foot-mark { margin: var(--space-lg) 0 0; overflow: hidden; text-align: center; white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: clamp(3.5rem, 15vw, 15rem); line-height: 0.8; letter-spacing: -0.06em; color: color-mix(in oklab, var(--color-ink) 7%, transparent); transform: translateY(0.12em); }
@media (max-width: 52rem) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-grid > :first-child { grid-column: 1 / -1; } }
.logo-line { fill: none; stroke: var(--color-cool); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
