/* ardaboz.com
   Type does the work: one family, Familjen Grotesk, from the hero down to the
   captions. One colour beyond ink and paper: #FFD400, the price colour of the
   Fiyat Gör kiosk, used only where something responds to you. */

/* Self-hosted fonts (SIL Open Font License), latin + latin-ext for Turkish and the lira sign. */
@font-face { font-family: "Familjen Grotesk"; src: url("../fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; 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: "Familjen Grotesk"; src: url("../fonts/familjen-grotesk-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 700; 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("../fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; 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: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; 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: "Montserrat"; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); font-weight: 800; 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: "Montserrat"; src: url("../fonts/montserrat-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-ext-800-normal.woff2") format("woff2"); font-weight: 800; 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --paper: #F4F4F1;
  --ink: #121211;
  --ink-2: #55554F;
  --ink-3: #6E6E67;
  --rule: #D6D6CF;
  --hl: #FFD400;
  --on-hl: #121211;
  --shot-edge: rgba(18, 18, 17, .12);

  /* the software band is the kiosk's own world, dark in both themes */
  --night: #0B0B0A;
  --night-ink: #EDEDE7;
  --night-ink-2: #A5A59D;
  --night-ink-3: #8E8E86;
  --night-rule: #2A2A26;

  /* kiosk, from the real app's colors.xml */
  --k-bg: #000000;
  --k-name: #FFFFFF;
  --k-price: #FFD400;
  --k-muted: #8A8A8A;
  --k-err: #FF5252;
  --k-ok: #2ECC40;

  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Atkinson Hyperlegible Mono", ui-monospace, "Cascadia Mono", monospace;
  --f-kiosk: "Montserrat", system-ui, sans-serif;

  --gutter: clamp(16px, 4.2vw, 56px);
  --maxw: 1320px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121211; --ink: #ECECE6; --ink-2: #A8A8A0; --ink-3: #8D8D85; --rule: #2C2C28;
    --shot-edge: rgba(255, 255, 255, .1); --night: #050505; --night-rule: #232320;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121211; --ink: #ECECE6; --ink-2: #A8A8A0; --ink-3: #8D8D85; --rule: #2C2C28;
  --shot-edge: rgba(255, 255, 255, .1); --night: #050505; --night-rule: #232320;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--f-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--hl); color: var(--on-hl); }
:focus-visible { outline: 3px solid var(--hl); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------- type */
.h2 {
  font: 600 clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem)/1 var(--f-display);
  letter-spacing: -.03em;
  margin: 0 0 clamp(28px, 4vw, 56px);
}
.h3 { font: 600 clamp(1.45rem, 1.2rem + .9vw, 1.9rem)/1.1 var(--f-display); letter-spacing: -.02em; margin: 0 0 .5em; }
.h4 { font: 600 1.3rem/1.15 var(--f-display); letter-spacing: -.015em; margin: 1.1em 0 .45em; }
.meta { font-size: .9rem; color: var(--ink-3); margin: 0; }
.out { display: inline-block; margin-top: .7em; font-weight: 600; font-size: .95rem; }
.out::after { content: "\2197"; display: inline-block; margin-left: .3em; text-decoration: none; }

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand { font: 600 1.08rem/1 var(--f-display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a, .top-cv { text-decoration: none; font-size: .95rem; color: var(--ink-2); }
.nav a:hover, .top-cv:hover { color: var(--ink); text-decoration: underline; }
.top-end { display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; gap: 2px; }
.lang button { border: 0; background: none; padding: 4px 6px; font: 600 .82rem/1 var(--f-body); letter-spacing: .04em; color: var(--ink-3); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.top-cv { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .nav { display: none; } .top-end { margin-left: auto; } }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(40px, 9vh, 120px); padding-bottom: clamp(56px, 10vh, 120px); }
.hero-text {
  font: 500 clamp(2.3rem, 1rem + 5.4vw, 6rem)/1.02 var(--f-display);
  letter-spacing: -.035em;
  max-width: 13em;
  margin: 0;
  text-wrap: pretty;
}
.hero-text a {
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .12em;
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 100% / 0 100%;
  transition: background-size .28s cubic-bezier(.6, 0, .2, 1), color .2s;
  padding: 0 .04em;
  margin: 0 -.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-text a:hover, .hero-text a:focus-visible { background-size: 100% 100%; color: var(--on-hl); text-decoration-color: transparent; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 40px; margin-top: clamp(36px, 6vh, 64px); padding-top: 18px; border-top: 1px solid var(--rule); }
.hero-open { margin: 0; color: var(--ink-2); }
.hero-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-links a { font-weight: 600; }

/* the peek: a small print of the thing a hero link names, carried by the pointer */
.peek { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; pointer-events: none; opacity: 0; transform: translate3d(-999px, -999px, 0); transition: opacity .18s; }
.peek.on { opacity: 1; }
.peek > * { display: none; width: 100%; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.peek > .show { display: block; }
.peek-kiosk { aspect-ratio: 16 / 10; background: #000; color: #fff; font-family: var(--f-kiosk); text-align: center; padding: 16% 8% 0; border: 8px solid #141414; border-radius: 12px; }
.peek-kiosk.show { display: block; }
.peek-kiosk b { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.15; }
.peek-kiosk i { display: block; font-style: normal; font-weight: 800; font-size: 2.1rem; color: var(--k-price); margin-top: 10px; }
@media (hover: none), (pointer: coarse) { .peek { display: none; } }

/* ---------------------------------------------------------------- sections */
.sec { padding-top: clamp(80px, 11vw, 150px); }
.hero + .peek + .sec { padding-top: clamp(24px, 3vw, 48px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.sec-head .h2 { margin: 0; }
.sec-intro { margin: 0; color: var(--ink-2); max-width: 32em; font-size: 1.08rem; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

.shot { display: block; border: 1px solid var(--shot-edge); border-radius: 6px; overflow: hidden; background: #000; }
a.shot { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
a.shot:hover { transform: translateY(-3px); }

/* ---------------------------------------------------------------- websites */
.lead-site { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.lead-media { position: relative; padding-right: 7%; }
.lead-site + .lead-site { margin-top: clamp(80px, 9vw, 128px); }
.lead-flip { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.lead-flip .lead-media { order: 2; }
.shot-phone { position: absolute; right: 0; bottom: -28px; width: 22%; border-radius: 16px; border: 5px solid #0c0c0c; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.lead-text { padding-bottom: 6px; }
.lead-text p:not(.meta) { color: var(--ink-2); }
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(20px, 2.6vw, 40px); margin-top: clamp(72px, 8vw, 112px); }
.site p:not(.meta) { color: var(--ink-2); font-size: 1rem; margin-bottom: .6em; }
@media (max-width: 1000px) {
  .lead-site, .lead-flip { grid-template-columns: 1fr; }
  .lead-flip .lead-media { order: 0; }
  .lead-text { margin-top: 24px; }
}
@media (max-width: 640px) { .sites { grid-template-columns: 1fr; } .shot-phone { bottom: -18px; } }

/* ---------------------------------------------------------------- software (night band) */
.night {
  --paper: var(--night); --ink: var(--night-ink); --ink-2: var(--night-ink-2); --ink-3: var(--night-ink-3); --rule: var(--night-rule);
  --shot-edge: rgba(255, 255, 255, .1);
  background: var(--paper); color: var(--ink);
  margin-top: clamp(80px, 11vw, 150px);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.night .sec { padding-top: clamp(72px, 9vw, 120px); }
.fg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.fg-text p:not(.meta) { color: var(--ink-2); }
.fg-text .meta { margin-bottom: 1.6em; }
.fg-try { font-size: .95rem; margin-bottom: .8em; }
.power {
  display: inline-flex; align-items: center; gap: .55em;
  border: 1px solid var(--rule); background: none; color: var(--ink);
  padding: 10px 16px; border-radius: 4px; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.power::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--k-ok); }
.power:hover { border-color: var(--ink-2); }
.power:disabled { cursor: default; color: var(--ink-3); }
.power:disabled::before { background: var(--k-err); }
@media (max-width: 900px) { .fg { grid-template-columns: 1fr; } }

/* kiosk: the tablet on the wall */
.kiosk {
  position: relative; aspect-ratio: 16 / 10; width: 100%;
  border-radius: 20px; padding: 3.2% 3%;
  background: linear-gradient(160deg, #2a2b2e, #0d0d0e 45%, #060606);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.kiosk::before { content: ""; position: absolute; top: 1.3%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1b1e24; }
.kiosk-screen { position: relative; height: 100%; border-radius: 5px; overflow: hidden; background: var(--k-bg); font-family: var(--f-kiosk); container-type: size; }
.k-content { position: absolute; left: 5%; right: 5%; top: 11cqh; display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .2s; }
.k-content p { margin: 0; }
.k-placeholder { color: var(--k-muted); font-weight: 600; font-size: 7.2cqh; }
.k-name { color: var(--k-name); font-weight: 800; font-size: 10.5cqh; line-height: 1.08; max-width: 100%; overflow-wrap: anywhere; }
.k-price { color: var(--k-price); font-weight: 800; font-size: 16cqh; line-height: 1.05; margin-top: 5cqh !important; white-space: nowrap; }
.k-stock { color: var(--k-muted); font-weight: 600; font-size: 5.4cqh; margin-top: 3.5cqh !important; }
.k-error { color: var(--k-err); font-weight: 600; font-size: 7.4cqh; margin-top: 8cqh !important; }
.k-name:empty, .k-price:empty, .k-stock:empty, .k-error:empty, .k-placeholder:empty { display: none; }
.k-gear { position: absolute; left: 2.6cqh; bottom: 2.6cqh; width: 5.5cqh; height: 5.5cqh; color: var(--k-muted); opacity: .8; }
.k-dot { position: absolute; right: 3.4cqh; bottom: 3.4cqh; width: 3.2cqh; height: 3.2cqh; border-radius: 50%; background: var(--k-ok); transition: background .3s; }
.k-boot { position: absolute; inset: 0; display: grid; place-items: center; background: #000; opacity: 0; pointer-events: none; }
.k-boot span { width: 12cqh; height: 12cqh; border-radius: 50%; border: .9cqh solid #1c1c1c; border-top-color: #9a9a9a; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.kiosk[data-state="off"] .k-content, .kiosk[data-state="off"] .k-dot, .kiosk[data-state="off"] .k-gear,
.kiosk[data-state="booting"] .k-content, .kiosk[data-state="booting"] .k-dot, .kiosk[data-state="booting"] .k-gear { opacity: 0; }
.kiosk[data-state="off"] .kiosk-screen { background: #030303; }
.kiosk[data-state="booting"] .k-boot { opacity: 1; }
.kiosk[data-state="connecting"] .k-dot { background: var(--k-err); }
.kiosk.flash .k-content { animation: kflash .28s ease-out; }
@keyframes kflash { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }

/* shelf labels: real products, printed the way the shop prints them */
.shelf { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.label {
  position: relative; width: 100%; height: 100%;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto;
  background: #fff; color: #121211; text-align: left;
  border: 0; border-radius: 3px; padding: 0; cursor: pointer; overflow: hidden;
  transition: transform .16s ease;
  font-family: var(--f-body);
}
.label:hover { transform: translateY(-2px); }
.label-name { grid-column: 1 / -1; padding: 9px 10px 6px; font: 600 .86rem/1.15 var(--f-display); }
.label-code { padding: 0 10px 8px; position: relative; overflow: hidden; align-self: end; }
.label-code svg { display: block; width: 100%; height: 26px; }
.label-code small { display: block; font: 400 .52rem/1 var(--f-mono); letter-spacing: 0; margin-top: 3px; color: #333; white-space: nowrap; overflow: hidden; }
.label-price { align-self: stretch; display: flex; align-items: center; background: var(--hl); padding: 0 10px; font: 700 .95rem/1 var(--f-display); white-space: nowrap; }
.label-code::after { content: ""; position: absolute; left: 0; right: 0; top: 40%; height: 2px; background: #ff1f1f; box-shadow: 0 0 8px 2px rgba(255, 31, 31, .7); opacity: 0; transform: scaleX(.2); }
.label.scanning .label-code::after { animation: laser .38s ease-out; }
@keyframes laser { 0% { opacity: 0; transform: scaleX(.1); } 30% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
.label[aria-pressed="true"] { outline: 2px solid var(--hl); outline-offset: 3px; }
.kiosk-typed { font: 600 .8rem/1 var(--f-mono); letter-spacing: .06em; color: var(--hl); margin: 12px 0 0; min-height: 1em; }
@media (max-width: 640px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(20px, 2.6vw, 40px); margin-top: clamp(64px, 7vw, 100px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--rule); }
.app .shot { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: left top; }
.app p:not(.meta) { color: var(--ink-2); font-size: 1rem; margin-bottom: .6em; }
@media (max-width: 1000px) { .apps { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------------------------------------------------------------- projects */
.row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 20px clamp(24px, 3vw, 48px); padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--rule); align-items: start; }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row .h3 { margin-bottom: .25em; }
.row-text { color: var(--ink-2); margin: 0; }
.row-short .row-media { align-self: start; }
.row-short .out { margin-top: 0; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.phones img { border-radius: 16px; border: 5px solid #0c0c0c; background: #000; }
@media (max-width: 1000px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .row-media { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

.tg { background: #0E1621; border-radius: 10px; overflow: hidden; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #fff; max-width: 440px; }
.tg-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #17212B; }
.tg-head b { display: block; font-size: .92rem; }
.tg-head small { color: #93A1AE; font-size: .78rem; }
.tg-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #d9505a; font: 700 .76rem/1 system-ui; }
.tg-feed { height: 300px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.tg-msg { align-self: flex-start; max-width: 90%; background: #182533; border-radius: 12px 12px 12px 4px; padding: 8px 11px 5px; font-size: .86rem; line-height: 1.4; animation: tgin .4s cubic-bezier(.2, .8, .2, 1); }
.tg-msg .u { color: #6ab3f3; font-size: .78rem; word-break: break-all; }
.tg-msg time { display: block; text-align: right; font-size: .68rem; color: #93A1AE; margin-top: 2px; }
.tg-kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 4px; }
.tg-kb span { background: #1f2f40; text-align: center; font-size: .76rem; padding: 6px 4px; border-radius: 6px; }
@keyframes tgin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- design */
/* Printed work sits on a studio stage: the same cool grey as the ARC mockup
   render, kept light in both themes so print colours read true. */
:root { --stage-a: #E3E7EC; --stage-b: #D2D8DF; --lift: 0 2px 4px rgba(20, 30, 45, .12), 0 22px 44px rgba(20, 30, 45, .22); }
.arc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(24px, 3.5vw, 56px); align-items: center; }
.arc-text p { color: var(--ink-2); margin: 0; }
.arc-fair img { border-radius: 6px; }
.arc-text { align-self: end; }
.arc-fair { grid-column: 2; grid-row: 1 / span 2; }
.arc-logo { grid-column: 1; grid-row: 2; align-self: start; max-width: 340px; }
.lg { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 8% 12%; background: #fff; border-radius: 6px; border: 1px solid var(--shot-edge); }
.lg img { width: 100%; }
.caption { font-size: .9rem; color: var(--ink-3); margin: 10px 0 0; }
figcaption { font-size: .88rem; color: var(--ink-3); margin-top: 8px; }
.zoomable { position: relative; cursor: zoom-in; }
.zoom-btn { position: absolute; left: 0; top: 0; height: var(--zh, 100%); width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.zoom-btn:focus-visible { outline-offset: -3px; }
@media (max-width: 900px) { .arc { grid-template-columns: 1fr; } .arc-fair, .arc-logo { grid-column: auto; grid-row: auto; } .arc-logo { max-width: 420px; } }

.stage-set { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(24px, 3.5vw, 56px); margin-top: clamp(64px, 7vw, 100px); align-items: center; }
.stage-head .h4 { margin-top: 0; }
.stage-head p { color: var(--ink-2); font-size: 1rem; margin: 0; }
.stage {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 36px);
  padding: clamp(28px, 4.5vw, 64px) clamp(18px, 3vw, 48px);
  background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 75%), linear-gradient(var(--stage-a), var(--stage-b));
  border-radius: 8px;
}
.stage figure { flex: 1 1 0; min-width: 0; }
.stage img { box-shadow: var(--lift); border-radius: 2px; }
.stage-posts figure { max-width: 250px; }
.stage-posts figure:nth-child(2) { transform: translateY(-14px); }
.stage-marks figure { max-width: 190px; }
.stage-marks .mark-card { flex-grow: 2.4; max-width: 440px; }
@media (max-width: 900px) { .stage-set { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- about */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.about-lead { font: 500 clamp(1.3rem, 1.1rem + .7vw, 1.7rem)/1.3 var(--f-display); letter-spacing: -.015em; }
.about-text > p:not(.about-lead) { color: var(--ink-2); max-width: 36em; }
.skills { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); }
.skills dt { color: var(--ink-3); font-size: .95rem; }
.skills dd { font-size: .95rem; }
.cv { list-style: none; }
.cv li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.cv li:last-child { border-bottom: 1px solid var(--rule); }
.when { color: var(--ink-3); font-size: .92rem; padding-top: .1em; }
.what { font-weight: 600; }
.what small { display: block; font-weight: 400; color: var(--ink-2); font-size: .95rem; margin-top: 2px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cv li { grid-template-columns: 1fr; gap: 2px; } .skills { grid-template-columns: 1fr; gap: 2px; } .skills dd { margin-bottom: 10px; } }

/* ---------------------------------------------------------------- contact */
.contact { padding-top: clamp(96px, 12vw, 170px); padding-bottom: clamp(72px, 9vw, 120px); }
.contact .h2 { margin-bottom: .35em; }
.contact-mail { margin: 0; font: 500 clamp(1.6rem, .6rem + 4.6vw, 5rem)/1.05 var(--f-display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.contact-mail a {
  text-decoration: none;
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 100% / 100% .09em;
  transition: background-size .28s cubic-bezier(.6, 0, .2, 1), color .2s;
}
.contact-mail a:hover, .contact-mail a:focus-visible { background-size: 100% 100%; color: var(--on-hl); }
.contact-row { display: flex; align-items: center; gap: 14px; margin: 22px 0 28px; }
.copy { border: 1px solid var(--rule); background: none; padding: 9px 14px; border-radius: 4px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.copy:hover { border-color: var(--ink-2); }
.copied { font-size: .92rem; color: var(--ink-2); }
.contact-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 36px; font-size: .9rem; color: var(--ink-3);
  background: linear-gradient(var(--rule), var(--rule)) no-repeat 50% 0 / calc(100% - 2 * var(--gutter)) 1px; }
.foot p { margin: 0; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 8, 8, .9); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; margin: 0 auto; }
.lightbox p { color: #d8d8d2; text-align: center; margin: 10px 0 0; font-size: .92rem; }
.lightbox-close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #121211; font: 600 1.5rem/1 var(--f-body); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .top, .peek, .power, .shelf, .lightbox { display: none !important; }
  .stage { background: none; }
  .night { --paper: #fff; --ink: #000; --ink-2: #333; --ink-3: #555; }
}
