/* FMU portfolio · site.css (A · Page). Tokens are the shared contract (SPEC.md). */

/* ---------- self-hosted fonts (no Google request: KVKK + speed). latin + latin-ext cover Turkish (ı ş ğ İ) ---------- */
@font-face { font-family: "Archivo"; src: url(../assets/fonts/archivo-latin.woff2) format("woff2"); font-weight: 400 800; font-stretch: 62% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url(../assets/fonts/archivo-latin-ext.woff2) format("woff2"); font-weight: 400 800; font-stretch: 62% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url(../assets/fonts/plexmono-400-latin.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url(../assets/fonts/plexmono-400-latin-ext.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url(../assets/fonts/plexmono-500-latin.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url(../assets/fonts/plexmono-500-latin-ext.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* metric-matched fallbacks: text set in Arial / Courier New while the woff2 loads takes the same room (no layout shift) */
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 99%; ascent-override: 87.8%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: "Plex Mono Fallback"; src: local("Courier New"), local("Courier"); size-adjust: 100%; ascent-override: 102.5%; descent-override: 27.5%; line-gap-override: 0%; }

:root {
  --bg: #E9E7E0;
  --surface: #DFDDD5;
  --ink: #121211;
  --muted: #57554F;
  --line: rgba(18, 18, 17, .16);
  --line-2: rgba(18, 18, 17, .32);
  --accent: #E2F23A;
  --on-accent: #121211;
  --signal: #FF4A1C;

  --f-display: "Archivo", "Archivo Fallback", "Arial Narrow", sans-serif;
  --f-text: "Archivo", "Archivo Fallback", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "Plex Mono Fallback", ui-monospace, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms;
  --dur-2: 420ms;
  --dur-3: 900ms;

  --frame: min(1320px, 100vw - 48px);
  --pad: 40px;           /* inner padding of the frame */
  --bar-h: 64px;
  --sec-y: 120px;        /* section padding top/bottom */

  /* five type steps */
  --s-xl: clamp(56px, 8vw, 124px);
  --s-l: clamp(44px, 5.2vw, 80px);
  --s-m: 22px;
  --s-b: 17px;
  --s-s: 13px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0E0E0D;
  --surface: #181816;
  --ink: #ECEAE3;
  --muted: #A3A097;
  --line: rgba(236, 234, 227, .14);
  --line-2: rgba(236, 234, 227, .3);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--s-b)/1.5 var(--f-text);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button, a, [role="button"] { touch-action: manipulation; }
button, .btn, .sq, .theme, .t-go, .bar__nav a { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
input, textarea, select { font-size: max(16px, 1em); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); font-size: var(--s-s); letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.frame { width: var(--frame); margin-inline: auto; padding-inline: var(--pad); }
.caret { display: inline-block; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; font: 500 var(--s-s)/1 var(--f-mono); text-transform: uppercase; }
.skip:focus { top: 12px; }

/* fixed cube layers (B paints them) */
#vx-trail, #vx-house, #vx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

main, .foot { position: relative; z-index: 1; }
.bar { z-index: 20; }

/* ---------- hairline frame ---------- */
.rail { position: absolute; inset: 0; left: 50%; transform: translateX(-50%); padding: 0; pointer-events: none;
  border-inline: 1px solid var(--line); z-index: -1; }
.sec { position: relative; padding-block: var(--sec-y); }
.sec::before { content: ""; position: absolute; top: 0; left: 50%; width: var(--frame); transform: translateX(-50%); border-top: 1px solid var(--line); }
.hero::before { display: none; }
.x { position: absolute; top: 0; font: 400 15px/1 var(--f-mono); color: var(--muted); transform: translate(-50%, -52%); pointer-events: none; user-select: none; }
.x--tl { left: calc(50% - var(--frame) / 2); }
.x--tr { left: calc(50% + var(--frame) / 2); }
.hero .x { display: none; }

.num { color: var(--muted); margin-bottom: 18px; }
.num::first-letter { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 18px;
  font: 500 14px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0; white-space: nowrap; user-select: none;
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn--lg { --h: 52px; padding: 0 24px; }
.btn--xl { --h: 76px; padding: 0 30px; font-size: 17px; gap: 28px; }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { color: var(--ink); border-color: var(--line-2); }
.btn .arr { display: inline-block; font-family: var(--f-text); font-size: 1.15em; transition: transform var(--dur-1) var(--ease-out); }
.btn .brk { width: 14px; height: 14px; position: relative; display: inline-block; }
.btn .brk::before, .btn .brk::after { content: ""; position: absolute; inset: 0; border: 1.5px solid currentColor; transition: inset var(--dur-1) var(--ease-out); }
.btn .brk::before { border-right: 0; right: 55%; }
.btn .brk::after { border-left: 0; left: 55%; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: var(--accent); color: var(--on-accent); }
  .btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
  .btn:hover .arr { transform: translate(2px, -2px); }
  .btn--ghost:hover .brk::before { inset: 0 70% 0 -3px; }
  .btn--ghost:hover .brk::after { inset: 0 -3px 0 70%; }
}

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; padding-top: env(safe-area-inset-top, 0px); background: var(--bg); transition: background-color var(--dur-2) var(--ease-out); }
.bar::after { content: ""; position: absolute; left: 50%; bottom: 0; width: var(--frame); transform: translateX(-50%); border-bottom: 1px solid var(--line); }
.bar__in { height: var(--bar-h); display: grid; grid-template-columns: auto 1fr auto auto auto auto; align-items: stretch; padding-inline: 0; border-inline: 1px solid var(--line); }
.bar__in > * { display: flex; align-items: center; }
.bar__mark { gap: 10px; padding: 0 28px; font: 800 var(--s-m)/1 var(--f-display); font-stretch: 62%; letter-spacing: -.01em; border-right: 1px solid var(--line); }
.bar__mark .caret { color: var(--ink); }
.logo-mark { width: 28px; height: 28px; flex: none; background: currentColor; -webkit-mask: url(../assets/logo/fmu-mark-mono.svg) center / contain no-repeat; mask: url(../assets/logo/fmu-mark-mono.svg) center / contain no-repeat; transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bar__mark:hover .logo-mark { transform: rotate(-8deg); } }
.menu-btn { display: none; align-items: center; gap: 10px; padding: 0 20px; border-left: 1px solid var(--line); font: 500 13px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; min-width: 44px; }
.menu-btn__i { position: relative; width: 18px; height: 10px; }
.menu-btn__i i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--dur-1) var(--ease-out), top var(--dur-1) var(--ease-out); }
.menu-btn__i i:first-child { top: 0; }
.menu-btn__i i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__i i:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__i i:last-child { top: 4px; transform: rotate(-45deg); }
.menu-btn:active { background: var(--surface); }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); }
.menu__in { display: grid; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 8px 20px; }
.menu__in a { display: flex; align-items: baseline; gap: 14px; min-height: 56px; padding-top: 14px; border-bottom: 1px solid var(--line); font: 800 32px/1 var(--f-display); font-stretch: 62%; text-transform: uppercase; word-spacing: .14em; }
.menu__in a .mono { color: var(--muted); }
.menu__in a:active { background: var(--surface); }
.menu__grp { display: grid; }
.menu__grp > a { position: relative; }
.menu__chev { margin-left: auto; align-self: center; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-1) var(--ease-out); }
.menu__grp > a[aria-expanded="true"] .menu__chev { transform: translateY(3px) rotate(-135deg); }
.menu__in .menu__sub a { min-height: 48px; padding: 14px 0 14px 46px; align-items: center; font: 500 14px/1.2 var(--f-mono); letter-spacing: .05em; font-stretch: normal; text-transform: uppercase; word-spacing: 0; }
.menu__in .menu__sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
.menu__sub a:last-child { color: var(--muted); }
.menu__row { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.menu__lbl { color: var(--muted); }
.menu .theme--menu { border-left: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; } /* flex: the space between the two words (for the accessible name) must not render */
.menu .theme--menu .theme__opt { padding: 15px 16px; } /* 15: same 45 px box as before the toggle became flex */
@media (prefers-reduced-motion: no-preference) { .menu:not([hidden]) .menu__in { animation: menuIn 220ms var(--ease-out) both; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.bar__nav { gap: 14px; padding: 0 28px; font: 500 var(--s-s)/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.bar__nav a { position: relative; padding: 8px 0; transition: color var(--dur-1) var(--ease-out); }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.bar__nav a[aria-current="true"]::after { transform: scaleX(1); background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover::after { transform: scaleX(1); } }
.bar__nav .sl { color: var(--muted); }
/* services dropdown: hover opens on a mouse; on touch the first tap opens, the second follows the link */
.nav-dd { position: relative; align-self: stretch; display: inline-flex; align-items: center; }
.nav-dd > a::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform var(--dur-1) var(--ease-out); }
.nav-dd > a { display: inline-flex; align-items: center; flex-direction: row-reverse; gap: 0; }
.nav-dd[data-open] > a::before { transform: translateY(2px) rotate(-135deg); }
.nav-dd__panel { position: absolute; left: -18px; top: 100%; min-width: 280px; display: grid; padding: 8px 0; background: var(--bg); border: 1px solid var(--line-2); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out), visibility 0s linear var(--dur-1); z-index: 5; }
.nav-dd[data-open] .nav-dd__panel, .nav-dd:not([data-shut]):has(:focus-visible) .nav-dd__panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.bar__nav .nav-dd__panel a { padding: 13px 18px; white-space: nowrap; letter-spacing: .04em; }
.bar__nav .nav-dd__panel a::after { display: none; }
.bar__nav .nav-dd__panel a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
.nav-dd__all { margin-top: 6px; border-top: 1px solid var(--line); color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .bar__nav .nav-dd__panel a:hover { background: var(--surface); color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .nav-dd__panel { transform: none; } }
.bar__time { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 1px; padding: 0 22px; border-left: 1px solid var(--line); line-height: 1.25; }
.bar__time .lbl { color: var(--muted); font-size: 13px; }
.bar__time time { font-size: var(--s-s); color: var(--ink); }
.theme { gap: 0; padding: 0 16px; border-left: 1px solid var(--line); font: 500 13px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.theme__opt { padding: 9px 12px; border: 1px solid var(--line-2); color: var(--muted); transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), transform 120ms var(--ease-out); }
.theme__opt + .theme__opt { border-left: 0; }
[data-theme="light"] .theme__opt[data-opt="light"], [data-theme="dark"] .theme__opt[data-opt="dark"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.theme:active .theme__opt { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .theme:hover .theme__opt { color: var(--ink); } [data-theme="light"] .theme:hover .theme__opt[data-opt="light"], [data-theme="dark"] .theme:hover .theme__opt[data-opt="dark"] { color: var(--bg); } }
.bar__cta { align-self: center; margin: 0 14px 0 6px; }

/* theme circle reveal (View Transitions); C's own transitions are not affected (class-scoped) */
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.vt-theme::view-transition-old(root) { z-index: 1; }
html.vt-theme::view-transition-new(root) { z-index: 2; }

/* ---------- hero /01 ---------- */
.hero { padding-block: 0; }
.hero__grid { position: relative; min-height: max(640px, calc(100svh - var(--bar-h))); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding-block: 56px 64px; }
.side { position: absolute; left: 0; top: 0; bottom: 0; width: var(--pad); display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding-block: 56px; color: var(--muted); }
.side span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; }
.side__yr { color: var(--ink); }
.hero__copy { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; }
.hero__h { font: 800 var(--s-xl)/.92 var(--f-display); /* .92: the dot of İ (ascent .88em) clears the line above */ font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; word-spacing: .14em; margin-bottom: 30px; }
.lines .line { display: block; overflow: hidden; padding-block: .14em .06em; margin-block: -.14em -.06em; }
.lines [data-line] { display: block; white-space: nowrap; }
.hl { display: inline-block; margin-bottom: 26px; }
.hl span { background: var(--accent); color: var(--on-accent); padding: 8px 12px 7px; box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 14px; font-weight: 500; }
.hero__lead { max-width: 46ch; font-size: var(--s-b); line-height: 1.55; margin-bottom: 36px; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; }

.stage { position: relative; }
.stage--hero { grid-column: 7 / -1; grid-row: 1; justify-self: end; width: min(560px, 100%); }
.dock { display: block; }
.dock:not(.dock--cube) { pointer-events: none; }
.dock--cube { width: 100%; aspect-ratio: 1; pointer-events: auto; touch-action: pan-y; cursor: grab; }
.dock--cube:active, .dock--cube[data-vx-drag], [data-vx-drag] { cursor: grabbing; }
.ro { position: absolute; z-index: 2; color: var(--ink); pointer-events: none; }
.ro--status { top: 0; left: 0; display: flex; gap: 6px; padding-left: 12px; border-left: 2px solid var(--signal); }
.ro--status .gt { color: var(--muted); }
.ro--scn { right: 0; bottom: 0; color: var(--muted); }
.ro--hint { left: 0; bottom: 0; color: var(--muted); font-size: 13px; }
.ro--xyz { right: -12px; top: 58%; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--accent) 22%, var(--bg)); min-width: 132px; }
.ro--xyz__l { color: var(--ink); opacity: .8; letter-spacing: .12em; }

@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { animation: lineUp var(--dur-3) var(--ease-out) both; animation-delay: calc(120ms + var(--i, 0) * 110ms); }
  .js [data-hero-after] { animation: fadeUp 700ms var(--ease-out) both; animation-delay: 520ms; }
  .js .stage--hero .ro { animation: fadeIn 600ms var(--ease-out) both; animation-delay: 700ms; }
}
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- section heads ---------- */
.sec__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 64px; }
.sec__head .num { grid-column: 1 / -1; }
.sec__head .sec__t { grid-column: 1 / span 8; }
.sec__note { grid-column: 10 / span 3; justify-self: end; color: var(--muted); padding-bottom: 8px; }
.sec__t { font: 800 var(--s-l)/.92 var(--f-display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; word-spacing: .14em; }
.sec__lead { font-size: var(--s-m); line-height: 1.35; max-width: 34ch; margin-top: 22px; text-wrap: pretty; }
p, dd { text-wrap: pretty; }

/* ---------- /02 principles: one statement + a numbered list ---------- */
.pr { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.principles { padding-bottom: calc(var(--sec-y) * .7); }
.pr__lead { grid-column: 1 / span 5; display: flex; flex-direction: column; }
.pr__state { font-size: var(--s-m); line-height: 1.35; max-width: 30ch; margin-top: 24px; }
.dock--plane { margin-top: 32px; width: 100%; height: 420px; }
.pr__list { grid-column: 7 / -1; border-top: 1px solid var(--line-2); }
.pr__item { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background-color var(--dur-1) var(--ease-out); }
.pr__n { color: var(--muted); }
.pr__item h3 { font: 800 var(--s-m)/1 var(--f-display); font-stretch: 62%; text-transform: uppercase; word-spacing: .14em; }
.pr__item p { font-size: 16px; line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .pr__item:hover .pr__n { color: var(--ink); } .pr__item:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 3px; } }

/* ---------- /03 works ---------- */
.works__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 56px; }
.works__head > div:first-child { grid-column: 1 / span 7; }
.dock--stairs { grid-column: 8 / span 5; justify-self: end; width: min(100%, 520px); aspect-ratio: 3 / 2; }   /* browser window (5 tabs) */
#drawer { position: relative; min-height: 120px; }

/* ---------- /04 services: plain text; the description box is a pointer enhancement ---------- */
.svc { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.svc__col { grid-column: span 3; }
.svc__g { font: 600 var(--s-b)/1.25 var(--f-text); }
.svc__sum { margin: 6px 0 1.1em; color: var(--muted); font-size: 16px; line-height: 1.4; max-width: 30ch; }
.svc__list li { font-size: var(--s-b); line-height: 1.3; padding: 3px 0; position: relative; transition: color var(--dur-1) var(--ease-out); }
.svc__list li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--accent); outline: 1px solid var(--ink); opacity: 0; transform: scale(.6); transition: transform var(--dur-1) var(--ease-out), opacity var(--dur-1) var(--ease-out); }
.svc__side { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 28px; }
.svc__desc { display: none; min-height: 132px; padding: 16px 18px; border: 1px solid var(--line-2); align-content: start; gap: 10px; transition: background-color var(--dur-1) var(--ease-out); }
.svc__desc .lbl { color: var(--muted); }
.svc__desc-t { font-size: var(--s-b); line-height: 1.4; }
.svc__desc.is-on { background: var(--accent); color: var(--on-accent); border-color: var(--ink); }
.svc__desc.is-on .lbl { color: var(--on-accent); }
@media (hover: hover) and (pointer: fine) {
  .svc__desc { display: grid; }
  .svc__list li { cursor: default; color: var(--muted); }
  .svc__list li.is-on { color: var(--ink); }
  .svc__list li.is-on::before { opacity: 1; transform: scale(1); }
}
.dock--tower { align-self: center; width: 100%; height: 640px; }

/* ---------- /05 process: four steps on the grid ---------- */
.process__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 56px; }
.process__head > div:first-child { grid-column: 1 / span 5; position: relative; }
/* off-page waypoint: the travelling cubes slip out behind the title here and come back over the FAQ */
.dock--exit { position: absolute; left: -75vw; top: 0; width: 120px; height: 120px; pointer-events: none; }
.dock--drafts { grid-column: 7 / -1; height: 420px; align-self: end; position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; counter-reset: st; }
.mo { display: flex; flex-direction: column; padding-top: 18px; border-top: 2px solid var(--ink); }
.mo__n { color: var(--muted); margin-bottom: 12px; }
.mo__c { font: 800 var(--s-m)/1.05 var(--f-display); font-stretch: 62%; text-transform: uppercase; word-spacing: .14em; margin-bottom: 12px; min-height: 2.1em; }
.mo__t { font-size: 16px; line-height: 1.5; max-width: 32ch; }
.mo__fig { margin-top: var(--gap, 96px); aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); position: relative; }
.mo__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform 1.2s var(--ease-out); }
.mo__fig--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
.mo__fig--pair img { height: 100%; border: 1px solid var(--line-2); }
@media (hover: hover) and (pointer: fine) { .mo:hover .mo__fig img { transform: scale(1.03); } }

/* drawn pieces inside the steps */
.mo__fig--ui { padding: 18px; display: flex; flex-direction: column; }
.brief__h, .tw__h { padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.brief dl { display: grid; gap: 12px; }
.brief dt { color: var(--muted); font-size: 13px; }
.brief dd { font-size: 16px; line-height: 1.35; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.wire { gap: 14px; background: var(--bg); }
.wire p { display: flex; gap: 8px; }
.wire i, .wire b { display: block; height: 8px; background: var(--line-2); }
.wire__bar { align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.wire__bar i { width: 26px; height: 6px; }
.wire__bar .wire__logo { width: 22px; height: 22px; background: var(--ink); margin-right: auto; }
.wire__bar b { width: 40px; height: 18px; background: var(--ink); }
.wire__h { flex-direction: column; margin-top: 10px; }
.wire__h i { width: var(--w); height: 22px; background: var(--ink); }
.wire__l { flex-direction: column; }
.wire__l i { width: var(--w); }
.wire__acts b { width: 74px; height: 26px; background: var(--accent); outline: 1px solid var(--ink); }
.wire__acts i { width: 60px; height: 26px; background: transparent; border: 1px solid var(--line-2); }
.wire__img { flex: 1; min-height: 60px; border: 1px dashed var(--line-2); }
.wire__tag { color: var(--muted); justify-content: flex-end; }
.tw { gap: 4px; }
.tw__r { display: grid; gap: 8px; padding: 8px 0; }
.tw__r span { font-size: 13px; color: var(--muted); }
.tw__r i { height: 2px; background: var(--line-2); position: relative; }
.tw__r i::after { content: ""; position: absolute; top: -6px; left: calc(var(--v) * 100%); width: 14px; height: 14px; margin-left: -7px; background: var(--bg); border: 2px solid var(--ink); }
.tw__r i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--ink); }
.tw__sw { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.tw__sw span { font-size: 13px; color: var(--muted); margin-right: auto; }
.tw__sw b { width: 26px; height: 26px; border: 1px solid var(--line-2); background: var(--ink); }
.tw__sw b:first-of-type { background: var(--signal); }
.tw__sw b.on { background: var(--accent); outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- /06 SSS + service area: native details, hairline rows, a crosshair that turns ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.faq__head { grid-column: 1 / span 7; margin-bottom: 56px; }
.faq__list { grid-column: 1 / span 7; grid-row: 2; border-top: 1px solid var(--line-2); }
.dock--question { grid-column: 9 / span 4; grid-row: 1; justify-self: end; align-self: start; width: min(100%, 380px); aspect-ratio: 1; margin-bottom: 40px; }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__i summary { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr) 28px; column-gap: 16px; align-items: baseline; padding: 22px 0; cursor: pointer; user-select: none; -webkit-user-select: none; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary:focus-visible { outline-offset: 4px; }
.faq__n { color: var(--muted); transition: color var(--dur-1) var(--ease-out); }
.faq__q { font: 800 var(--s-m)/1.05 var(--f-display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.005em; word-spacing: .14em; text-wrap: balance; padding-top: .06em; }
.faq__x { position: relative; width: 16px; height: 16px; align-self: center; justify-self: end; transition: transform var(--dur-2) var(--ease-out); }
.faq__x::before, .faq__x::after { content: ""; position: absolute; background: currentColor; }
.faq__x::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; }
.faq__x::after { top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -.75px; }
.faq__i[open] .faq__x { transform: rotate(45deg); }
.faq__i[open] .faq__n { color: var(--ink); }
.faq__a { padding: 0 44px 26px 80px; }
.faq__a p { max-width: 62ch; font-size: var(--s-b); line-height: 1.55; }
.faq__a a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; transition: background-color var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .faq__i summary:hover .faq__n { color: var(--ink); }
  .faq__i summary:hover .faq__q { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 3px; }
  .faq__a a:hover { background: var(--accent); color: var(--on-accent); }
}
/* open/close height where the browser can interpolate it; elsewhere it simply snaps open */
@media (prefers-reduced-motion: no-preference) {
  .faq { interpolate-size: allow-keywords; }
  .faq__i::details-content { block-size: 0; overflow: clip; transition: block-size var(--dur-2) var(--ease-out), content-visibility var(--dur-2) allow-discrete; }
  .faq__i[open]::details-content { block-size: auto; }
}

.area { grid-column: 9 / span 4; justify-self: end; width: min(100%, 380px); grid-row: 2; position: sticky; top: calc(var(--bar-h) + 24px); border: 1px solid var(--line-2); background: var(--bg); }
.area__t { padding: 14px 16px; border-bottom: 1px solid var(--line-2); color: var(--muted); font-weight: 400; }
.area__list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.area__n { font: 800 clamp(30px, 2.8vw, 40px)/.9 var(--f-display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; padding-top: .06em; }
.area__k { color: var(--muted); font-size: 12px; white-space: nowrap; }
.area__list li:first-child .area__k { background: var(--accent); color: var(--on-accent); padding: 4px 6px 3px; }
.area__g { display: flex; align-items: center; gap: 8px; padding: 14px 16px; color: var(--muted); font-size: 12px; }

/* ---------- /07 contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 72px; align-items: end; }
.contact__head { grid-column: 1 / span 8; }
.contact__h { font: 800 var(--s-xl)/.92 var(--f-display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; word-spacing: .14em; white-space: nowrap; }
.contact__call { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; padding-bottom: 6px; }
.contact__p { font-size: var(--s-b); max-width: 34ch; }
.contact__or { color: var(--muted); }
.contact__ask { grid-column: 1 / span 8; align-self: start; min-height: 120px; }
.dock--envelope { grid-column: 9 / span 4; align-self: center; width: 100%; aspect-ratio: 1; }

/* ---------- footer tiles ---------- */
.foot { padding-top: 40px; }
.foot > .frame { padding-inline: 0; }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 220px 320px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { position: relative; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.t-lbl { color: var(--muted); margin-bottom: 14px; }
.t-state { grid-column: 1 / span 4; justify-content: space-between; }
.t-state__s { font-size: var(--s-m); line-height: 1.3; max-width: 22ch; }
.t-legal { color: var(--muted); }
.t-nav { grid-column: 5 / span 3; }
.t-nav ul { display: grid; gap: 6px; }
.t-nav a { font-size: 16px; min-height: 32px; display: inline-flex; align-items: center; gap: 8px; transition: transform var(--dur-1) var(--ease-out); }
.t-nav a::before { content: "→"; width: 0; overflow: hidden; display: inline-block; transition: width var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .t-nav a:hover::before { width: 1.1em; } }
.t-time { grid-column: 8 / span 2; }
.t-time__c { font-size: var(--s-b); }
.t-time__g { margin-top: 8px; color: var(--muted); display: grid; }
.t-time__t { margin-top: auto; font-size: var(--s-m); letter-spacing: 0; }
.t-contact { grid-column: 10 / span 3; }
.t-contact__h { margin-top: 14px; font-size: 12px; line-height: 1.6; letter-spacing: .04em; color: var(--muted); }
.t-contact__h span { white-space: nowrap; }
.t-contact__a { margin-top: auto; font-size: var(--s-m); display: inline-flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.t-contact__a .arr, .t-contact__b .arr { transition: transform var(--dur-1) var(--ease-out); display: inline-block; }
.t-contact__b { margin-top: 10px; font-size: 16px; color: var(--muted); text-align: left; display: inline-flex; gap: 8px; transition: color var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .t-contact__a:hover .arr { transform: translate(3px, -3px); }
  .t-contact__b:hover { color: var(--ink); }
  .t-contact__b:hover .arr { transform: translateX(3px); }
}
.t-word { grid-column: 1 / span 8; background: var(--ink); color: var(--bg); flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
.t-word__w { font: 800 clamp(96px, 12vw, 188px)/.8 var(--f-display); font-stretch: 62%; letter-spacing: -.01em; }
.t-word__w .caret { color: var(--accent); }
.vx-on .t-word__w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dock--letters { align-self: stretch; flex: 1; }
.t-go { grid-column: 9 / span 4; background: var(--accent); color: var(--on-accent); justify-content: space-between; transition: background-color var(--dur-1) var(--ease-out); }
.t-go__t { font: 800 var(--s-l)/.9 var(--f-display); font-stretch: 62%; text-transform: uppercase; word-spacing: .14em; }
.t-go__a { width: 64px; height: 64px; align-self: flex-end; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: square; transition: transform var(--dur-2) var(--ease-out); }
.t-go:active { background: color-mix(in srgb, var(--accent) 86%, #121211); }
@media (hover: hover) and (pointer: fine) { .t-go:hover .t-go__a { transform: translate(6px, -6px); } }
.t-go:focus-visible { outline-offset: -6px; outline-color: #121211; }

.status { border-top: 0; }
.status__in { display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; padding-inline: 0; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status__c { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; }
.status__top { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-left: 1px solid var(--line); color: var(--ink); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.status__top span { transition: transform var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .status__top:hover { background: var(--accent); color: var(--on-accent); } .status__top:hover span { transform: translateY(-2px); } }
.status__top:active { background: var(--surface); }
.status__c--hl { background: var(--ink); color: var(--bg); justify-content: center; }
.status__c--r { justify-content: flex-end; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
.foot { padding-bottom: env(safe-area-inset-bottom); }

/* ---------- section entrances ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .bar__time { display: none; }
  .hero__grid { grid-template-columns: 1fr; row-gap: 48px; min-height: 0; padding-block: 72px; }
  .hero__copy { grid-column: 1; grid-row: 1; }
  .hero__h { font-size: 11vw; }
  .stage--hero { grid-column: 1; grid-row: 2; justify-self: end; width: min(560px, 100%); }
  .pr__lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: end; }
  .pr__lead .num, .pr__lead .sec__t { grid-column: 1; }
  .pr__state { grid-column: 1; }
  .dock--plane { grid-column: 2; grid-row: 1 / span 3; margin: 0; height: 340px; }
  .pr__list { grid-column: 1 / -1; margin-top: 48px; }
  .svc__col { grid-column: span 4; }
  .svc__side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px; }
  .mo__fig { margin-top: 40px; aspect-ratio: 4 / 3; }
  .mo__fig.brief, .mo__fig.tw { aspect-ratio: auto; }
  .contact__head, .contact__ask { grid-column: 1 / -1; }
  .contact__call { grid-column: 1 / span 7; }
  .dock--envelope { grid-column: 8 / span 5; }
}
@media (max-width: 960px) {
  .bar__nav { visibility: hidden; min-width: 0; overflow: hidden; }
  .menu-btn { display: flex; }
}

/* ---------- phone: its own composition ---------- */
@media (max-width: 760px) {
  :root {
    --frame: calc(100vw - 32px);
    --pad: 16px;
    --bar-h: 56px;
    --sec-y: 80px;
    --s-xl: 14vw;
    --s-l: 12vw;
    --s-m: 20px;
  }
  .frame { padding-inline: var(--pad); }
  .bar__in { grid-template-columns: 1fr auto auto; }
  .bar__mark { padding: 0 16px; }
  .bar__nav, .bar__in > .theme { display: none; }
  .bar__cta { margin: 0 8px 0 0; --h: 44px; padding: 0 16px; }
  .menu-btn { padding: 0 16px; }
  .menu__in a { font-size: 28px; }
  .side { display: none; }

  .hero__grid { display: flex; flex-direction: column; align-items: stretch; min-height: 0; row-gap: 0; padding-block: 32px 40px; }
  .hero__copy { display: contents; }
  .hero__copy .num { order: 1; }
  .hero__h { order: 2; margin-bottom: 20px; font-size: var(--s-xl); }
  .hl { order: 3; margin-bottom: 18px; }
  .hl span { font-size: 13px; }
  .hero__lead { order: 4; margin-bottom: 26px; font-size: 16px; }
  .stage--hero { order: 6; width: 100%; margin-top: 28px; }
  .hero__acts { order: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__acts .btn { justify-content: center; padding: 0 14px; }
  .ro--xyz { right: 0; top: auto; bottom: 36px; min-width: 0; padding: 12px; font-size: 13px; }

  .sec__head { display: block; margin-bottom: 36px; }
  .sec__note { display: none; }
  .sec__lead { font-size: 18px; }

  .pr { display: flex; flex-direction: column; }
  .pr__lead { display: flex; flex-direction: column; align-items: stretch; }
  .pr__state { font-size: 18px; margin-top: 18px; }
  .dock--plane { order: 0; width: 100%; height: 260px; margin: 28px 0 0; }
  .pr__list { margin-top: 28px; }
  .pr__item { grid-template-columns: 28px minmax(0, 1fr); row-gap: 6px; padding: 18px 0; }
  .pr__item h3 { grid-column: 2; }
  .pr__item p { grid-column: 2; }

  .works__head { display: flex; flex-direction: column; align-items: stretch; margin-bottom: 32px; }
  .dock--stairs { align-self: center; width: min(100%, 360px); height: auto; aspect-ratio: 3 / 2; margin-top: 24px; }

  .svc { display: flex; flex-direction: column; gap: 40px; }
  .svc__list li { font-size: 18px; line-height: 1.4; padding: 2px 0; }
  .svc__side { display: block; margin-top: 0; }
  .dock--tower { margin-inline: auto; width: 240px; height: 480px; }

  .process__head { display: flex; flex-direction: column; align-items: stretch; gap: 24px; margin-bottom: 36px; }
  .dock--drafts { height: 320px; align-self: stretch; }
  .steps { display: flex; flex-direction: column; gap: 48px; }
  .mo__c { min-height: 0; }
  .mo__fig { margin-top: 24px; aspect-ratio: 16 / 11; }
  .mo__fig--pair { aspect-ratio: 16 / 13; }
  .mo__fig.brief, .mo__fig.tw { aspect-ratio: auto; }

  .contact__grid { display: flex; flex-direction: column; align-items: stretch; row-gap: 32px; }
  .contact__h { font-size: 11.2vw; }
  .contact__call { padding: 0; }
  .btn--xl { width: 100%; justify-content: space-between; --h: 64px; }
  .dock--envelope { order: 5; min-height: 0; width: 100%; aspect-ratio: 3 / 2; }
  .contact__ask { align-self: stretch; }

  .foot { padding-top: 24px; }
  .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .tile { padding: 20px; min-height: 150px; }
  .t-word { grid-column: 1 / -1; order: 1; flex-direction: column; align-items: stretch; min-height: 180px; }
  .dock--letters { flex: 1; width: 100%; min-height: 140px; }
  .t-go { grid-column: 1 / -1; order: 2; min-height: 160px; }
  .t-go__t { font-size: 13vw; }
  .t-go__a { width: 48px; height: 48px; }
  .t-nav { grid-column: auto; order: 3; }
  .t-nav ul { gap: 0; }
  .t-nav a { min-height: 44px; }
  .t-contact { grid-column: auto; order: 4; }
  .t-contact__a { font-size: 18px; }
  .t-contact__a, .t-contact__b { min-height: 44px; align-items: center; }
  .t-contact__b { margin-top: 0; }
  .t-time { grid-column: auto; order: 5; }
  .t-time__g { font-size: 13px; }
  .t-state { grid-column: auto; order: 6; gap: 20px; }
  .t-state__s { font-size: 17px; }
  .status__in { grid-template-columns: 1fr 1fr; }
  .status__c--hl { grid-column: 1 / -1; order: -1; }
  .status__top { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); font-size: 13px; }
  .status__c { padding: 0 12px; gap: 8px; font-size: 13px; white-space: nowrap; letter-spacing: .02em; }
}

/* landscape notch: keep the frame inside the safe area */
@supports (padding: env(safe-area-inset-left)) {
  :root { --safe-x: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
  @media (max-width: 960px) and (orientation: landscape) { :root { --frame: calc(100vw - 32px - 2 * var(--safe-x)); } }
}

/* menu trigger lives only at ≤960px; nothing in the bar wraps */
[hidden] { display: none !important; }
@media (min-width: 961px) { .menu-btn, .menu { display: none !important; } }
.bar__mark, .bar__mark > span, .menu-btn, .bar__cta { white-space: nowrap; }
.bar__mark { min-width: 0; }
@media (max-width: 380px) { .bar__mark { padding: 0 12px; gap: 8px; } .menu-btn { padding: 0 12px; } .bar__cta { padding: 0 12px; } }

/* ---------- S · local SEO additions: service area line, KVKK link, SSS responsive ---------- */
@media (min-width: 761px) { .t-nav ul { grid-template-columns: repeat(2, max-content); column-gap: 28px; row-gap: 2px; } }
@media (max-width: 440px) { .status__cp { display: none; } }
/* 2026-11-09 tablet (761–1100px): the two-column footer menu and the phone number were clipped by their tiles, and the
   status bar (now with "Başa dön") squeezed "KVKK ve gizlilik · © 2026 FMU" into three lines */
@media (min-width: 761px) and (max-width: 1100px) {
  .tiles { grid-template-rows: minmax(220px, auto) 320px; }
  .t-nav ul { grid-template-columns: none; }
  .t-state { grid-column: 1 / span 3; } .t-nav { grid-column: 4 / span 3; } .t-time { grid-column: 7 / span 3; } .t-contact { grid-column: 10 / span 3; }
  .t-contact__a { font-size: 18px; }
  .status__cp { display: none; }
  .status__c { padding: 0 12px; white-space: nowrap; }
}
.t-time__a { margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.status__c--r { gap: 8px; }
.status__a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .status__a:hover { text-decoration-color: var(--accent); } }
@media (max-width: 1100px) {
  .faq__head { grid-column: 1 / -1; }
  .faq__list { grid-column: 1 / -1; grid-row: 3; }
  .dock--question { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: min(100%, 360px); margin: 0 0 40px; }
  .area { grid-column: 1 / -1; grid-row: 4; position: static; width: auto; justify-self: stretch; margin-top: 48px; display: grid; grid-template-columns: 1fr; }
  .area__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area__list li { flex-direction: column; align-items: flex-start; gap: 10px; border-bottom: 0; border-right: 1px solid var(--line); }
  .area__list li:last-child { border-right: 0; }
  .area__g { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .faq__grid { display: flex; flex-direction: column; align-items: stretch; }
  .faq__head { margin-bottom: 32px; }
  .dock--question { align-self: center; width: min(100%, 320px); margin: 0 0 28px; }
  .faq__i summary { grid-template-columns: 44px minmax(0, 1fr) 20px; column-gap: 10px; padding: 18px 0; min-height: 44px; }
  .faq__q { font-size: 20px; }
  .faq__a { padding: 0 0 22px 54px; }
  .faq__a p { font-size: 16px; }
  .area { margin-top: 36px; }
  .area__list { grid-template-columns: 1fr; }
  .area__list li { flex-direction: row; align-items: baseline; border-right: 0; border-bottom: 1px solid var(--line); }
  .area__n { font-size: 30px; }
  .status__c--r { font-size: 12px; }
}

/* ---------- 2026-11-07 hizmet turu: the lemon line is part of the H1 (place + service), services link out ---------- */
/* the label sits inside the heading but keeps the look it had as a separate line: same font, size, spacing */
.hero__h { margin-bottom: 26px; }
.hero__h .hl { display: block; width: fit-content; margin: 30px 0 0; font-family: var(--f-mono); font-size: var(--s-s); font-weight: 500; font-stretch: 100%; line-height: 1.4; letter-spacing: .04em; word-spacing: normal; }
@media (max-width: 760px) {
  .hero__h { margin-bottom: 18px; }
  .hero__h .hl { margin-top: 20px; }
  .hero__h .hl span { line-height: 2.25; padding-block: 6px 5px; }
}

.svc__a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 32px; text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: text-decoration-color var(--dur-1) var(--ease-out); }
.svc__a .arr { font-size: .9em; color: var(--muted); transition: transform var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.svc__li-a { text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc__a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
  .svc__a:hover .arr { transform: translate(2px, -2px); color: var(--ink); }
  .svc__li-a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
}

/* footer: the four service pages, one quiet row above the status bar */
.foot > .foot-svc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 14px 20px; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.foot-svc__l { color: var(--muted); }
.foot-svc__list { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-svc__list a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot-svc__list a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; } }
@media (max-width: 760px) {
  .foot > .foot-svc { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 12px; }
  .foot-svc__list { flex-direction: column; gap: 2px; }
  .foot-svc__list a { min-height: 40px; font-size: 16px; }
}

/* inline call link: reads as text, works as the call button (lemon underline, phone on tap) */
.cta-tel, .faq__a a.cta-tel { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-skip-ink: none; transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.cta-tel::after { content: " ↗"; font-weight: 400; }
@media (hover: hover) and (pointer: fine) { .cta-tel:hover, .faq__a a.cta-tel:hover { background: var(--accent); color: var(--on-accent); text-decoration-color: var(--on-accent); } }
.cta-tel:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* services menu: a quiet "SEKTÖRLER" group label between the service pages and the sector pages */
.nav-dd__lbl { margin-top: 6px; padding: 12px 18px 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .06em; cursor: default; }
.menu__sublbl { padding: 16px 0 8px 46px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .06em; }

/* very narrow screens (320 px, WCAG 1.4.10 reflow; 2026-11-09 audit): the two-button rows stack, the large contact buttons tighten */
@media (max-width: 359px) {
  .hero__acts { grid-template-columns: minmax(0, 1fr); }
  .contact__call { grid-template-columns: minmax(0, 1fr); }
  .btn--xl { padding: 0 18px; gap: 12px; }
  canvas.vx-house { max-width: 100%; }
  .bar__mark > span:not(.logo-mark) { display: none; } /* the "Arayın" button sat on top of the FMU_ word; the cube logo and the link's aria-label stay */
}
/* footer phone in the half-width /İLETİŞİM tile: below ~412 px the number + ↗ were wider than the tile and the arrow was cut off (2026-11-09 audit) */
@media (max-width: 420px) { .t-contact__a { font-size: max(14px, calc(6.5vw - 9px)); gap: 5px; } }
@media (max-width: 359px) { .t-contact__a { flex-wrap: wrap; row-gap: 0; } }
