/* Atölye4 Reklam: design tokens first, everything below references them. */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(/public/fonts/bebas-latin.woff2) format('woff2'); 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: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(/public/fonts/bebas-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'EB Garamond'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/public/fonts/garamond-latin.woff2) format('woff2'); 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: 'EB Garamond'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/public/fonts/garamond-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'EB Garamond'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(/public/fonts/garamond-italic-latin.woff2) format('woff2'); 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: 'EB Garamond'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(/public/fonts/garamond-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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; }

:root {
  /* the palette, exactly as supplied (coolors "renk teması") */
  --cream: #EFECCA;
  --sand: #D8C99B;
  --yellow: #F7FF58;
  --rust: #6F1A07;
  --orange: #FF934F;

  /* roles: cream ground, sand cards, orange for the warm field and the action, rust ink, yellow for the lit moments */
  --bg: var(--cream);
  --bg-lift: color-mix(in srgb, var(--cream) 62%, var(--sand));
  --surface: var(--sand);
  --surface-2: var(--orange);
  --steel: var(--sand);
  --steel-text: color-mix(in srgb, var(--rust) 55%, var(--cream));
  --ink: var(--rust);
  --muted: color-mix(in srgb, var(--rust) 88%, var(--cream));
  --paper: var(--cream);
  --paper-ink: var(--rust);
  --paper-muted: color-mix(in srgb, var(--rust) 88%, var(--cream));
  --accent: var(--orange);
  --accent-hi: var(--yellow);
  --accent-text: var(--rust);
  --accent-ink: var(--rust);
  --lit: var(--yellow);
  --on-photo: var(--cream);
  --on-photo-muted: color-mix(in srgb, var(--cream) 88%, var(--rust));
  --scrim: rgb(111 26 7 / .72);
  --lb-ground: rgb(40 10 3 / .97);
  /* material colours used only where a material is drawn */
  --wood: var(--orange);
  --neon: var(--orange);
  --neon-core: color-mix(in srgb, var(--yellow) 40%, #fff);
  --led: rgb(247 255 88 / .5);
  --steel-hi: #d9dcdd;
  --steel-lo: #aeb3b6;
  --wall-day: var(--sand);
  --fascia-day: var(--rust);
  --wall-night: #2a0d05;
  --fascia-night: #3a1308;

  /* type */
  --f-display: 'Bebas Neue', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-text: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-statement: clamp(1.5rem, 1.05rem + 1.4vw, 2.25rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-giant: clamp(6rem, 17vw, 17rem);

  /* space */
  --m: clamp(16px, 2.2vw, 32px);
  --g: clamp(12px, 1.6vw, 24px);
  --gap-section: clamp(120px, 14vw, 200px);
  --bar-h: 64px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --dur: 900ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 60px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-text); font-weight: 500; font-size: var(--step-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--rust); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--m); top: -80px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 18px; }
.skip:focus { top: 12px; }

/* controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer;
  font-family: var(--f-display); font-size: 1.375rem; letter-spacing: .02em; line-height: 1; text-decoration: none;
  transition: background-color .25s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: scale(.97); }
.btn-block { width: 100%; }
.tlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; transition: text-decoration-color .25s, color .25s; }
.tlink:hover { text-decoration-color: var(--accent); color: var(--accent-text); }

/* bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2vw, 32px); padding: 0 var(--m);
  transition: transform .5s var(--ease), background-color .3s; view-transition-name: bar;
}
.bar.solid, body[data-page="contact"] .bar { background: var(--bg); }
.bar.hide { transform: translate3d(0, -100%, 0); }
.bar-mark { margin-right: auto; font-family: var(--f-display); font-size: 1.75rem; line-height: 1; text-decoration: none; letter-spacing: .01em; }
.bar-nav ul { display: flex; gap: clamp(16px, 2vw, 32px); list-style: none; margin: 0; padding: 0; }
.bar-nav a { position: relative; text-decoration: none; padding: 8px 0; }
.bar-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.bar-nav a:hover::after, .bar-nav a[aria-current]::after { transform: scaleX(1); }
.bar-nav a[aria-current]::after { background: var(--accent); }
.bar-ig, .bar-wa { display: grid; place-items: center; width: 44px; height: 44px; transition: color .25s, transform .25s var(--ease); }
.bar-ig { margin-right: -10px; }
.bar-wa { margin-right: calc(clamp(16px, 2vw, 32px) * -1 + 4px); } /* sits right next to Instagram, whatever the bar's gap is */
.bar-ig:hover { color: var(--accent-text); transform: rotate(-6deg); }
.bar-wa:hover { color: var(--accent-text); transform: rotate(6deg); }
/* on the home first screen the bar floats over both ground and photograph, so its controls carry their own ground */
body[data-page="home"] .bar:not(.solid) .bar-nav ul { background: var(--bg); padding: 0 20px; }
body[data-page="home"] .bar:not(.solid) .bar-ig { background: var(--bg); margin-right: 0; }
body[data-page="home"] .bar:not(.solid) .bar-wa { background: var(--bg); }
.bar-menu { display: none; background: none; border: 0; padding: 10px 0; font-family: var(--f-display); font-size: 1.5rem; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: calc(var(--bar-h) + 6vh) var(--m) var(--m); display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { font-family: var(--f-display); font-size: clamp(3rem, 15vw, 6rem); line-height: .95; text-decoration: none; display: block; }
.menu a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .06em; text-underline-offset: .12em; }
.menu .menu-ig { font-size: 2rem; }
.menu-social { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* home: hero with the pinned, lighting name */
.hero { position: relative; }
/* A pinned layer: an absolute frame the size of its section holding a sticky screen, so it releases exactly at the section's end. */
.pin { position: absolute; inset: 0; pointer-events: none; }
.pin-in { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.name-pin { z-index: 3; }
/* the name ("ATÖLYE" top left, "4" bottom right) stays pinned through the hero and the workshop film, and is released where the first work panel begins */
.stage { position: relative; }
.hw { position: absolute; font-family: var(--f-display); font-size: var(--step-giant); line-height: .8; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.hw-a { top: calc(var(--m) + .04em); left: var(--m); pointer-events: auto; }
.hw-b { right: var(--m); bottom: calc(var(--m) - .06em); display: grid; color: var(--on-photo); }
.hw { transition: color .4s var(--ease); }
/* the name is graphite on the ground and turns light once the photographs pass beneath it (set by site.js) */
.pin.over .hw { color: var(--on-photo); }
.four { grid-area: 1 / 1; }
.four-lit { color: var(--lit); text-shadow: 0 0 .22em var(--led); opacity: 0; will-change: opacity; } /* taste-skill-ignore: draws the sign material (LED, neon, brushed steel, perforation) */
.hero-one { height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g); padding-left: var(--m); }
.hero-copy { grid-column: 3 / span 5; margin-top: 44svh; display: grid; gap: 28px; align-content: start; }
.hero-lead { font-size: var(--step-statement); line-height: 1.22; max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-photo { grid-column: 9 / -1; margin: 0; height: 100svh; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.86); }
.hero-two { position: relative; height: 100svh; overflow: hidden; }
.hero-wide { position: absolute; inset: -6% 0; margin: 0; }
.hero-wide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.56); }
.hero-two-line { color: var(--on-photo); position: absolute; left: calc(var(--m) + 16.6%); top: 44%; max-width: 22ch; font-size: var(--step-statement); line-height: 1.22; }

/* home: statements over the workshop film */
.mat { position: relative; }
.mat-pin { pointer-events: auto; }
.mat-pin .pin-in { background: var(--wall-night); }
.mat-video, .mat-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.44) saturate(.9); }
.mat-steps { position: relative; z-index: 1; padding-top: 34svh; pointer-events: none; }
.mat-line { color: var(--on-photo); height: 66svh; display: flex; align-items: center; padding: 0 var(--m); font-size: var(--step-statement); line-height: 1.22; }
.mat-line:nth-child(1) { padding-left: calc(var(--m) + 8.3%); }
.mat-line:nth-child(2) { justify-content: flex-end; padding-right: calc(var(--m) + 8.3%); text-align: right; }
.mat-line:nth-child(3) { padding-left: calc(var(--m) + 33%); }
.mat-line span { max-width: 22ch; }

/* home: full panels, one midline row */
.panel { position: relative; display: block; height: 100svh; overflow: hidden; text-decoration: none; background: var(--surface); }
.panel-media { position: absolute; inset: 0; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88); transform: scale(1.12); will-change: transform; }
.panel-row {
  position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; min-height: 96px;
  display: grid; grid-template-columns: 10% 1fr auto; align-items: center; column-gap: var(--g); padding: 0 var(--m);
  background: var(--scrim); font-size: var(--step-small); transition: background-color .35s var(--ease);
}
.panel-title { font-family: var(--f-display); font-size: var(--step-statement); line-height: 1; letter-spacing: .01em; transition: color .3s; }
.panel-row { color: var(--on-photo); }
.panel:hover .panel-row, .panel:focus-visible .panel-row { background: var(--paper); color: var(--paper-ink); }
.panel:focus-visible { outline-offset: -6px; }

/* home: sticky photograph, active list */
.svc { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g); padding: var(--gap-section) var(--m); background: linear-gradient(180deg, var(--bg), var(--bg-lift)); position: relative; } /* taste-skill-ignore: requested colour transition between sections */
.work .panel:last-child { background: var(--bg); }
.work .panel:last-child .panel-media { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); } /* taste-skill-ignore: requested colour transition between sections */
.svc-media { grid-column: 1 / 6; position: sticky; top: 12vh; align-self: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.svc-img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.svc-img.on { opacity: 1; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-list { grid-column: 7 / 13; }
.svc-title { font-family: var(--f-display); font-size: var(--step-head); line-height: .9; margin-bottom: 48px; }
.svc-list ul { list-style: none; margin: 0; padding: 0; }
.svc-row { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 20px 0; }
.svc-name { font-family: var(--f-display); font-size: var(--step-statement); line-height: 1; text-decoration: none; color: var(--muted); transition: color .3s; }
.svc-group { font-size: var(--step-small); color: var(--muted); align-self: center; }
.svc-desc { grid-column: 1 / -1; margin-top: 10px; max-width: 46ch; color: var(--muted); transition: color .3s; }
.svc-row.on .svc-name, .svc-name:hover { color: var(--ink); }
.svc-row.on .svc-desc { color: var(--ink); }
.svc-row.on .svc-group { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .3em; }

/* home: the live sign */
.try { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g); row-gap: 40px; padding: var(--gap-section) var(--m); background: linear-gradient(180deg, var(--bg-lift), var(--surface)); align-items: center; } /* taste-skill-ignore: requested colour transition between sections */
.try-copy { grid-column: 1 / 5; display: grid; gap: 20px; }
.try-title { font-family: var(--f-display); font-size: var(--step-head); line-height: .9; }
.try-form { display: grid; gap: 18px; margin-top: 8px; }
.try-label, .seg legend { font-size: var(--step-small); color: var(--muted); padding: 0; margin-bottom: 6px; }
#try-name { width: 100%; height: 60px; padding: 0 16px; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; font-family: var(--f-display); font-size: 2rem; letter-spacing: .02em; }
#try-name:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.seg legend { width: 100%; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: var(--bg); color: var(--muted); transition: background-color .25s, color .25s; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
/* the live sign: a shopfront drawn in CSS. Everything here is drawn material (plaster, glass, acrylic, steel, wood, light), not interface chrome. */
.try-stage { grid-column: 6 / 13; display: grid; gap: 12px; --spill: rgb(255 214 150 / .42); --spill-pos: 50% 34%; --fascia: var(--fascia-night); }
.try-stage[data-time="gunduz"] { --fascia: var(--fascia-day); }
.try-stage[data-mat="neon"] { --spill: rgb(255 147 79 / .38); }
.try-stage[data-mat="paslanmaz"] { --spill: rgb(255 200 130 / .4); }
.try-stage[data-mat="isikli"] { --spill: rgb(255 240 200 / .4); }
.try-stage[data-mat="oyma"] { --spill: rgb(255 196 140 / .34); --spill-pos: 50% 36%; }
.try-stage[data-mat="totem"] { --spill: rgb(255 170 100 / .4); --spill-pos: 83% 62%; }
.try-wall { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--wall-night); transition: background-color .7s var(--ease); container-type: inline-size; overflow: hidden; isolation: isolate; }
.try-wall > * { position: absolute; }
.try-stage[data-time="gunduz"] .try-wall { background: var(--wall-day); }
/* plaster grain */
.try-wall::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .18 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .34; mix-blend-mode: multiply; pointer-events: none; } /* taste-skill-ignore: draws the wall material */
/* daylight: sun from the upper left, shade under the eaves */
.scene-sun { inset: 0; opacity: 0; transition: opacity .7s var(--ease); background: linear-gradient(112deg, rgb(255 255 240 / .3) 0 36%, rgb(255 255 240 / 0) 58%, rgb(40 20 10 / .2) 100%), linear-gradient(180deg, rgb(40 20 10 / .3), transparent 14%); } /* taste-skill-ignore: draws daylight */
.try-stage[data-time="gunduz"] .scene-sun { opacity: 1; }
/* night: the sign's light on the wall */
.scene-spill { inset: 0; opacity: 1; transition: opacity .7s var(--ease); background: radial-gradient(ellipse 48% 58% at var(--spill-pos), var(--spill), transparent 72%); mix-blend-mode: screen; } /* taste-skill-ignore: draws light */
.try-stage[data-time="gunduz"] .scene-spill { opacity: 0; }
/* shopfront */
.scene-shop { left: 7%; right: 7%; top: 53%; bottom: 12%; display: grid; grid-template-columns: 1.8fr 1fr; gap: 2cqi; }
.shop-window, .shop-door { position: relative; border: .6cqi solid #25201d; background: #1e2327; overflow: hidden; }
.shop-window::before, .shop-door::before, .shop-window::after, .shop-door::after { content: ''; position: absolute; inset: 0; transition: opacity .7s var(--ease); }
.shop-window::before, .shop-door::before { background: linear-gradient(155deg, rgb(255 255 255 / .34) 0 22%, rgb(255 255 255 / 0) 22% 30%, rgb(255 255 255 / .14) 30% 36%, rgb(255 255 255 / 0) 36%), linear-gradient(180deg, #7f949a, #4d5f66); } /* taste-skill-ignore: draws glass */
.shop-door::before { background: linear-gradient(0deg, #1d1816 0 16%, transparent 16%), linear-gradient(155deg, rgb(255 255 255 / .34) 0 22%, rgb(255 255 255 / 0) 22% 30%, rgb(255 255 255 / .14) 30% 36%, rgb(255 255 255 / 0) 36%), linear-gradient(180deg, #7f949a, #4d5f66); } /* taste-skill-ignore: draws glass */
.shop-window::after, .shop-door::after { opacity: 0; background: radial-gradient(ellipse at 50% 100%, rgb(255 214 140 / .95), rgb(210 140 70 / .8) 55%, rgb(110 60 30 / .92)); } /* taste-skill-ignore: draws interior light */
.try-stage[data-time="gece"] .shop-window::before, .try-stage[data-time="gece"] .shop-door::before { opacity: 0; }
.try-stage[data-time="gece"] .shop-window::after, .try-stage[data-time="gece"] .shop-door::after { opacity: 1; }
/* pavement */
.scene-ground { left: 0; right: 0; bottom: 0; height: 12%; background: linear-gradient(180deg, #6f6a5f 0 3%, #a49d90 3% 10%, #8d8679); } /* taste-skill-ignore: draws the pavement */
.scene-ground::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); background: linear-gradient(180deg, #17100d 0 3%, #241812 3% 10%, #1b120e); } /* taste-skill-ignore: draws the pavement */
.scene-ground::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgb(0 0 0 / .16) 0 .25cqi, transparent .25cqi 11cqi); } /* taste-skill-ignore: draws paving joints */
.try-stage[data-time="gece"] .scene-ground::before { opacity: 1; }
/* the fascia board the letters are fixed to */
.sign-slot { left: 0; right: 0; top: 8%; height: 42%; display: grid; place-items: center; }
.sign-slot::before { content: ''; position: absolute; inset: 0; background-color: var(--fascia); background-image: linear-gradient(180deg, rgb(255 255 255 / .22) 0 2.5%, rgb(255 255 255 / 0) 2.5% 90%, rgb(0 0 0 / .4)); transition: opacity .6s var(--ease), background-color .7s var(--ease); } /* taste-skill-ignore: draws the fascia */
.sign-slot::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 2.2cqi; background: linear-gradient(180deg, rgb(0 0 0 / .38), transparent); transition: opacity .6s var(--ease); } /* taste-skill-ignore: draws the shadow under the fascia */
.try-stage[data-mat="isikli"] .sign-slot::before, .try-stage[data-mat="isikli"] .sign-slot::after,
.try-stage[data-mat="oyma"] .sign-slot::before, .try-stage[data-mat="oyma"] .sign-slot::after { opacity: 0; }
.try-sign { position: relative; font-family: var(--f-display); font-size: clamp(2rem, 11cqi, 9rem); line-height: 1; letter-spacing: .03em; white-space: nowrap; transition: color .6s var(--ease), text-shadow .6s var(--ease), filter .6s var(--ease), background-color .6s var(--ease); }
.try-note { font-size: var(--step-small); color: var(--muted); }

/* kutu harf: channel letters with aluminium returns, face lit from inside at night */
.try-stage[data-mat="kutu"][data-time="gunduz"] .try-sign { color: #f6f2e6; text-shadow: .012em .012em 0 #b9b4a8, .024em .024em 0 #a8a396, .036em .036em 0 #8e897c, .048em .048em 0 #6f6a5e; filter: drop-shadow(.05em .09em .07em rgb(0 0 0 / .5)); } /* taste-skill-ignore: draws the sign material */
.try-stage[data-mat="kutu"][data-time="gece"] .try-sign { color: #fffaf0; text-shadow: 0 0 .03em #fff, 0 0 .12em rgb(255 214 150 / .95), 0 0 .36em rgb(255 190 110 / .6), .012em .012em 0 #4a3a2a, .024em .024em 0 #3a2d20; } /* taste-skill-ignore: draws the sign material */

/* paslanmaz: brushed stainless letters; at night a dark face with a halo behind it */
.try-stage[data-mat="paslanmaz"][data-time="gunduz"] .try-sign { color: transparent; background-image: repeating-linear-gradient(90deg, rgb(0 0 0 / .08) 0 1px, transparent 1px 3px), linear-gradient(100deg, #f4f6f7 0 16%, #a9b0b3 30%, #eef0f1 46%, #8e969a 62%, #eaeced 78%, #b6bdc0); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: .008em #6d7579; filter: drop-shadow(.04em .08em .05em rgb(0 0 0 / .55)); } /* taste-skill-ignore: draws brushed steel */
.try-stage[data-mat="paslanmaz"][data-time="gece"] .try-sign { color: #1d1a18; -webkit-text-stroke: .008em #6a6f72; text-shadow: 0 0 .05em rgb(255 226 170 / .95), 0 0 .2em rgb(255 200 120 / .75), 0 0 .5em rgb(255 170 80 / .45); } /* taste-skill-ignore: draws a halo */

/* neon: glass tube on a black acrylic backer with stand-off screws */
.try-stage[data-mat="neon"] .try-sign { font-family: var(--f-text); font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: clamp(1.4rem, min(9.4cqi, calc(86cqi / (var(--len, 7) * .62 + 1.1))), 7.6rem); padding: .2em .55em .26em; border-radius: .1em; background-image: radial-gradient(circle .6cqi at 1.3cqi 1.3cqi, #d4d6d8 0 55%, transparent 60%), radial-gradient(circle .6cqi at calc(100% - 1.3cqi) 1.3cqi, #d4d6d8 0 55%, transparent 60%), radial-gradient(circle .6cqi at 1.3cqi calc(100% - 1.3cqi), #d4d6d8 0 55%, transparent 60%), radial-gradient(circle .6cqi at calc(100% - 1.3cqi) calc(100% - 1.3cqi), #d4d6d8 0 55%, transparent 60%); } /* taste-skill-ignore: draws the backer screws */
.try-stage[data-mat="neon"][data-time="gunduz"] .try-sign { color: #e6dccb; background-color: #2a201d; text-shadow: 0 .03em .04em rgb(0 0 0 / .6); filter: drop-shadow(.4cqi .8cqi .8cqi rgb(0 0 0 / .4)); } /* taste-skill-ignore: draws unlit glass */
.try-stage[data-mat="neon"][data-time="gece"] .try-sign { color: #ffe3cc; background-color: #0f0a09; text-shadow: 0 0 .03em #fff, 0 0 .09em #ffc9a0, 0 0 .18em var(--neon), 0 0 .45em var(--neon), 0 0 .9em rgb(255 147 79 / .6); filter: drop-shadow(0 0 2cqi rgb(255 147 79 / .4)); } /* taste-skill-ignore: draws neon light */

/* ışıklı tabela: an aluminium-framed light box with a milky acrylic face */
.try-stage[data-mat="isikli"] .try-sign { font-size: clamp(1.8rem, 8.2cqi, 6.8rem); padding: .24em .62em .28em; color: var(--rust); border: .55cqi solid #a7aeb1; outline: .22cqi solid rgb(0 0 0 / .28); border-radius: .5cqi; }
.try-stage[data-mat="isikli"][data-time="gunduz"] .try-sign { background-color: #efeadb; background-image: linear-gradient(180deg, #faf8f0, #e7e2d2); filter: drop-shadow(.4cqi .8cqi .7cqi rgb(0 0 0 / .4)); } /* taste-skill-ignore: draws acrylic */
.try-stage[data-mat="isikli"][data-time="gece"] .try-sign { background-color: #fff1cf; background-image: linear-gradient(180deg, #fffdf4, #ffefc8); filter: drop-shadow(0 0 1.2cqi rgb(255 236 190 / .8)) drop-shadow(0 0 4.5cqi rgb(255 214 140 / .4)); } /* taste-skill-ignore: draws a lit acrylic face */

/* oyma: a carved timber board, engraved letters, a warm spot at night */
.try-stage[data-mat="oyma"] .try-sign { font-family: var(--f-text); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.3rem, min(7.4cqi, calc(90cqi / (var(--len, 7) * .69 + 1.5))), 6.2rem); padding: .28em .7em .32em; color: #3a1d0d; border: .45cqi solid #5a2a12; background-color: #96502a; background-image: repeating-linear-gradient(92deg, rgb(60 25 8 / .1) 0 .25cqi, transparent .25cqi 1.1cqi), repeating-linear-gradient(90deg, rgb(255 230 190 / .06) 0 .6cqi, transparent .6cqi 1.7cqi), linear-gradient(180deg, #b8693a, #96502a 60%, #84431f); text-shadow: .008em .012em 0 rgb(255 225 185 / .45), -.006em -.01em 0 rgb(30 10 2 / .6); filter: drop-shadow(.4cqi .7cqi .6cqi rgb(0 0 0 / .4)); } /* taste-skill-ignore: draws carved wood */
.try-stage[data-mat="oyma"] .try-sign::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); background: radial-gradient(ellipse at 50% -25%, rgb(255 222 160 / .6), transparent 68%); pointer-events: none; } /* taste-skill-ignore: draws a spot light */
.try-stage[data-mat="oyma"][data-time="gece"] .try-sign { filter: brightness(.82) drop-shadow(.4cqi .7cqi .6cqi rgb(0 0 0 / .4)); } /* taste-skill-ignore: draws the board's shadow on the wall */
.try-stage[data-mat="oyma"][data-time="gece"] .try-sign::after { opacity: 1; }

/* totem: a free-standing pylon in front of the shop; the fascia stays blank */
.try-stage[data-mat="totem"] .try-sign { visibility: hidden; }
.try-totem { display: none; right: 9%; bottom: 12%; width: 15cqi; height: 41cqi; flex-direction: column; align-items: center; }
.try-stage[data-mat="totem"] .try-totem { display: flex; }
.totem-face { flex: 1 1 auto; width: 100%; display: grid; place-items: center; text-align: center; padding: 1.2cqi; font-family: var(--f-display); font-size: 3.4cqi; line-height: 1.02; letter-spacing: .03em; overflow-wrap: anywhere; border: .5cqi solid #20201f; transition: color .6s var(--ease), filter .6s var(--ease), background-color .6s var(--ease); }
.totem-plinth { position: relative; flex: none; width: 24%; height: 7cqi; background: linear-gradient(90deg, #4b4b4b, #9a9a9a 45%, #3d3d3d); } /* taste-skill-ignore: draws the steel post */
.totem-plinth::after { content: ''; position: absolute; left: -70%; right: -70%; bottom: 0; height: 1.4cqi; background: #555; }
.try-stage[data-time="gunduz"] .totem-face { color: #f6f2e6; background-color: #6f1a07; background-image: linear-gradient(90deg, rgb(0 0 0 / .22), rgb(0 0 0 / 0) 20%, rgb(0 0 0 / 0) 80%, rgb(0 0 0 / .22)); filter: drop-shadow(1.6cqi .6cqi 1.2cqi rgb(0 0 0 / .35)); } /* taste-skill-ignore: draws the pylon face */
.try-stage[data-time="gece"] .totem-face { color: #fff4d6; background-color: #8a2e14; background-image: linear-gradient(180deg, rgb(255 190 110 / .25), rgb(255 190 110 / 0) 70%); text-shadow: 0 0 .3em rgb(255 214 150 / .8); filter: drop-shadow(0 0 2cqi rgb(255 170 100 / .55)); } /* taste-skill-ignore: draws a lit pylon face */

/* home: visit card on a photograph */
.visit { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.visit-media { position: absolute; inset: -6% 0; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.92); }
.visit::before, .visit::after { content: ''; position: absolute; left: 0; right: 0; height: 26%; pointer-events: none; z-index: 1; } /* taste-skill-ignore: requested colour transition between sections */
.visit::before { top: 0; background: linear-gradient(180deg, var(--surface), transparent); } /* taste-skill-ignore: requested colour transition between sections */
.visit::after { bottom: 0; background: linear-gradient(180deg, transparent, var(--bg)); } /* taste-skill-ignore: requested colour transition between sections */
.visit-card { z-index: 2; position: absolute; top: calc(var(--bar-h) + 24px); right: var(--m); width: min(400px, calc(100% - 2 * var(--m))); background: var(--paper); color: var(--paper-ink); padding: 32px; display: grid; gap: 16px; }
.visit-card h2 { font-family: var(--f-display); font-size: var(--step-head); line-height: .9; }
.visit-addr { white-space: pre-line; }
.hours { margin: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { color: inherit; }
.hours dd { margin: 0; }

/* footer: one quiet line */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; column-gap: 24px; padding: 30svh var(--m) 30px; font-size: var(--step-small); color: var(--muted); }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.foot-year { text-align: right; }

/* about */
.about { position: relative; padding-bottom: 24svh; }
.about-pin { z-index: 2; }
/* the title holds the left half; the lead and the steps pass in the right half, never under it */
.about-pin .pin-in { display: grid; align-items: center; padding: 0 var(--m); }
.about-title { font-family: var(--f-display); font-size: clamp(4.5rem, 11vw, 12rem); line-height: .95; text-transform: uppercase; max-width: 5.5ch; }
.about-lead { position: relative; z-index: 3; margin: 0 var(--m) 0 calc(var(--m) + 50%); padding-top: 42svh; max-width: 30ch; font-size: var(--step-statement); line-height: 1.22; }
.steps { list-style: none; margin: 0; padding: 22svh var(--m) 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g); row-gap: 14svh; }
.step:nth-child(odd) { grid-column: 7 / 10; }
.step:nth-child(even) { grid-column: 10 / 13; margin-top: 24svh; }
.step figure { margin: 0 0 16px; aspect-ratio: 4 / 5; overflow: hidden; }
.step img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.96); }
.step-title { font-family: var(--f-display); font-size: var(--step-statement); line-height: 1; margin-bottom: 8px; }
.step p { max-width: 34ch; }
.story { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g); row-gap: 40px; padding: var(--gap-section) var(--m); background: linear-gradient(180deg, var(--bg) 0, var(--surface-2) var(--gap-section), var(--surface-2) calc(100% - var(--gap-section)), var(--bg) 100%); align-items: start; } /* taste-skill-ignore: requested colour transition between sections */
.story-media { grid-column: 1 / 6; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-text { grid-column: 7 / 12; display: grid; gap: 22px; }
.story-text h2 { font-family: var(--f-display); font-size: var(--step-head); line-height: .9; margin-bottom: 8px; }
.story-text p { max-width: 60ch; }
.call { padding: var(--gap-section) var(--m) 0; display: grid; gap: 18px; justify-items: start; }
.call h2 { font-family: var(--f-display); font-size: var(--step-head); line-height: .9; }
.call-phone { font-family: var(--f-display); font-size: clamp(3rem, 9vw, 9rem); line-height: .9; text-decoration: none; transition: color .3s; }
.call-phone:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .06em; text-underline-offset: .1em; }

/* portfolio */
.pf-head { padding: calc(var(--bar-h) + 12svh) var(--m) 8svh; display: grid; gap: 24px; }
.pf-title { font-family: var(--f-display); font-size: clamp(3rem, 16vw, 16rem); line-height: .92; text-transform: uppercase; overflow-wrap: break-word; }
.pf-lead { font-size: var(--step-statement); line-height: 1.22; max-width: 34ch; }
.pf-bar { position: sticky; top: var(--bar-h); z-index: 20; background: var(--surface); transition: top .5s var(--ease); }
.bar-hidden .pf-bar { top: 0; }
.pf-bar-inner { display: flex; gap: 40px; overflow-x: auto; padding: 14px var(--m); scrollbar-width: none; }
.pf-bar-inner::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .pf-bar-inner { flex-direction: column; gap: 6px; overflow: visible; } .pf-bar-group { flex-wrap: wrap; white-space: normal; } }
.pf-bar-group { display: flex; align-items: baseline; gap: 20px; white-space: nowrap; }
.pf-bar-name { font-family: var(--f-display); font-size: 1.375rem; }
.pf-bar a { font-size: var(--step-small); color: var(--muted); text-decoration: none; padding: 6px 0; white-space: nowrap; transition: color .25s; }
.pf-bar a:hover, .pf-bar a.on { color: var(--ink); }
.pf-bar a.on { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.pf-group { padding-top: var(--gap-section); }
.pf-group-title { font-family: var(--f-display); font-size: clamp(4rem, 12vw, 12rem); line-height: .85; color: var(--steel-text); padding: 0 var(--m); margin-bottom: 6vw; }
.cat { padding: 0 var(--m) clamp(96px, 10vw, 160px); scroll-margin-top: calc(var(--bar-h) + 70px); }
.cat-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g); row-gap: 20px; align-items: end; margin-bottom: 40px; }
.cat-title { grid-column: 1 / 8; font-family: var(--f-display); font-size: var(--step-head); line-height: .9; }
.cat-title span { display: inline-block; }
.cat-sum { grid-column: 9 / -1; max-width: 42ch; }
.cat-empty { color: var(--muted); }
.projs { display: grid; gap: var(--g); }
.projs-2 { grid-template-columns: 1fr 1fr; }
.proj { background: var(--surface); padding: 14px; min-width: 0; }
.proj-title { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; margin: 2px 0 12px; }
.gal { display: grid; grid-template-columns: 1fr 88px; gap: 8px; height: clamp(300px, 32vw, 540px); }
.projs:not(.projs-2) .gal { height: clamp(320px, 44vw, 720px); grid-template-columns: 1fr 124px; }
.gal-single, .projs:not(.projs-2) .gal-single { grid-template-columns: 1fr; }
.gal-stage { padding: 0; border: 0; background: var(--bg); cursor: zoom-in; overflow: hidden; min-height: 0; display: block; width: 100%; height: 100%; }
.gal-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .8s var(--ease); }
.gal-stage:hover img { transform: scale(1.025); }
.gal-stage img.swap { opacity: 0; }
.gal-stage img.fit { object-fit: contain; }
.gal-rail { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--steel) transparent; }
.gal-thumb { flex: none; padding: 0; border: 0; aspect-ratio: 4 / 3; background: var(--bg); cursor: pointer; opacity: .55; transition: opacity .25s; outline-offset: -2px; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb:hover { opacity: .9; }
.gal-thumb[aria-current] { opacity: 1; outline: 2px solid var(--ink); }

/* each category title speaks its own material */
[data-cat="branda"] .cat-title span { display: block; background: var(--steel); padding: .14em .3em .02em; }
[data-cat="folyo"] .cat-title span { background: var(--ink); color: var(--bg); padding: .14em .5em .02em .3em; clip-path: polygon(0 0, calc(100% - .5em) 0, 100% .5em, 100% 100%, 0 100%); }
[data-cat="oneway"] .cat-title span { -webkit-mask: radial-gradient(circle, #000 52%, transparent 56%) 0 0 / 6px 6px; mask: radial-gradient(circle, #000 52%, transparent 56%) 0 0 / 6px 6px; } /* taste-skill-ignore: draws the sign material (LED, neon, brushed steel, perforation) */
[data-cat="mesh"] .cat-title span { -webkit-mask: linear-gradient(90deg, #000 70%, transparent 0) 0 0 / 6px 6px, linear-gradient(#000 70%, transparent 0) 0 0 / 6px 6px; -webkit-mask-composite: source-in; mask: linear-gradient(90deg, #000 70%, transparent 0) 0 0 / 6px 6px, linear-gradient(#000 70%, transparent 0) 0 0 / 6px 6px; mask-composite: intersect; } /* taste-skill-ignore: draws the sign material (LED, neon, brushed steel, perforation) */
[data-cat="kutuharf"] .cat-title span { text-shadow: .015em .015em 0 color-mix(in srgb, var(--rust) 25%, var(--cream)), .03em .03em 0 color-mix(in srgb, var(--rust) 35%, var(--cream)), .045em .045em 0 color-mix(in srgb, var(--rust) 45%, var(--cream)), .06em .06em 0 color-mix(in srgb, var(--rust) 55%, var(--cream)); } /* taste-skill-ignore: draws the sign material (LED, neon, brushed steel, perforation) */
[data-cat="isikli"] .cat-title span { background: var(--surface-2); padding: .16em .32em .04em; box-shadow: inset 0 0 0 .07em var(--steel); } /* taste-skill-ignore: draws the sign material (LED, neon, brushed steel, perforation) */
[data-cat="oyma"] .cat-title span { background: var(--wood); color: var(--ink); padding: .16em .32em .04em; text-shadow: .025em .025em 0 rgb(255 255 255 / .16), -.02em -.02em 0 rgb(0 0 0 / .55); } /* taste-skill-ignore: draws the sign material (LED, neon, brushed steel, perforation) */
[data-cat="paslanmaz"] .cat-title span { color: transparent; background: repeating-linear-gradient(90deg, var(--rust) 0 2px, color-mix(in srgb, var(--rust) 60%, var(--cream)) 2px 3px, color-mix(in srgb, var(--rust) 80%, var(--cream)) 3px 5px); -webkit-background-clip: text; background-clip: text; } /* taste-skill-ignore: draws the sign material (LED, neon, brushed steel, perforation) */
[data-cat="neon"] .cat-title span { background: var(--wall-night); padding: .14em .3em .02em; color: var(--neon-core); text-shadow: 0 0 .04em #fff, 0 0 .16em var(--neon), 0 0 .42em var(--neon); } /* taste-skill-ignore: draws the sign material (LED, neon, brushed steel, perforation) */

/* clients */
.logos-wrap { padding: 0 var(--m); }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.logo { width: 100%; aspect-ratio: 3 / 2; background: color-mix(in srgb, var(--cream) 35%, #fff); border: 0; padding: 14%; cursor: zoom-in; display: grid; place-items: center; overflow: hidden; }
.logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .45s var(--ease); }
.logo:hover img, .logo:focus-visible img { transform: scale(1.06); }
.logos-empty { font-size: var(--step-statement); color: var(--muted); max-width: 30ch; }

/* contact: card on the map */
.ct { position: relative; min-height: 100svh; padding-top: var(--bar-h); }
.ct-map { position: absolute; inset: var(--bar-h) 0 0; background: var(--surface); }
.ct-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.ct-card { position: relative; z-index: 2; width: min(440px, calc(100% - 2 * var(--m))); margin: 32px 0 32px var(--m); background: var(--paper); color: var(--paper-ink); padding: 32px; display: grid; gap: 18px; }
.ct-title { font-family: var(--f-display); font-size: var(--step-head); line-height: .9; text-transform: uppercase; }
.ct-list { margin: 0; display: grid; gap: 12px; }
.ct-list dt { font-size: var(--step-small); color: var(--paper-muted); }
.ct-list dd { margin: 0; }
.ct-list a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ct-list a:hover { color: #a8340f; }
.ct-social { display: flex; flex-wrap: wrap; gap: 12px; }
/* social icons: on hover the amber fill rises from the bottom while the tile lifts and the logo tilts and grows; transform only */
.ct-list .ct-icon { position: relative; overflow: hidden; display: grid; place-items: center; width: 60px; height: 60px; background: var(--paper-ink); color: var(--paper); text-decoration: none; transition: transform .45s var(--ease), color .35s var(--ease); }
.ct-icon::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.ct-icon svg { position: relative; width: 30px; height: 30px; transition: transform .5s var(--ease); }
.ct-list .ct-icon:active { transform: scale(.95); transition-duration: .12s; }
@media (hover: hover) {
  .ct-list .ct-icon:hover, .ct-list .ct-icon:focus-visible { transform: translate3d(0, -6px, 0); color: var(--paper-ink); }
  .ct-icon:hover::before, .ct-icon:focus-visible::before { transform: scaleY(1); }
  .ct-icon:hover svg, .ct-icon:focus-visible svg { transform: scale(1.18) rotate(-8deg); }
}

/* credits */
.credits { padding: 0 var(--m); max-width: 90ch; }
.credits ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; font-size: var(--step-small); }
.credits a { color: var(--ink); }

/* lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: var(--lb-ground); color: var(--on-photo); }
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; place-items: center; }
.lb-fig { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lb-img { max-width: 90vw; max-height: 80dvh; width: auto; height: auto; object-fit: contain; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.lb-img.enter { opacity: 0; transform: scale(.97); }
.lb.logo-mode .lb-img { background: var(--paper); padding: clamp(24px, 5vw, 72px); max-width: min(90vw, 900px); }
.lb-cap { font-size: var(--step-small); color: var(--on-photo-muted); text-align: center; max-width: 70ch; padding: 0 var(--m); }
.lb-btn { position: fixed; background: var(--bg); color: var(--ink); border: 0; min-height: 48px; padding: 0 18px; font-family: var(--f-display); font-size: 1.25rem; cursor: pointer; transition: background-color .25s, color .25s; }
.lb-btn:hover { background: var(--ink); color: var(--bg); }
.lb-close { top: var(--m); right: var(--m); }
.lb-prev { left: var(--m); top: 50%; translate: 0 -50%; }
.lb-next { right: var(--m); top: 50%; translate: 0 -50%; }
.lb.single .lb-prev, .lb.single .lb-next { display: none; }

/* entrances: content is visible without script, staggered when it runs */
.js [data-r] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0ms); }
.js [data-r].in { opacity: 1; transform: none; }

/* page-to-page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* phone and tablet */
@media (max-width: 899px) {
  :root { --step-giant: 24vw; --bar-h: 58px; }
  .bar-nav { display: none; }
  .bar-menu { display: block; }
  .bar-mark { font-size: 1.5rem; }
  .hero-one { display: flex; flex-direction: column; height: auto; min-height: 100svh; padding: calc(var(--step-giant) * .8 + var(--m) + 28px) 0 calc(var(--step-giant) * .8 + 40px); }
  .hero-photo { order: -1; height: 46svh; }
  .hero-copy { margin: 28px 0 0; padding: 0 var(--m); max-width: 80vw; gap: 22px; }
  .hero-two-line { left: var(--m); right: 22vw; top: 40%; }
  .mat-line, .mat-line:nth-child(n) { padding: 0 var(--m); text-align: left; justify-content: flex-start; }
  .mat-line:nth-child(2) { justify-content: flex-end; text-align: right; }
  .panel { height: 82svh; }
  .panel-row { top: auto; bottom: 20px; translate: none; grid-template-columns: 1fr auto; row-gap: 6px; padding: 14px var(--m); }
  .panel-title { grid-column: 1 / -1; grid-row: 1; }
  .hw-b { color: var(--ink); } /* the phone's "4" sits on the ground, not on the photograph */
  .svc { display: block; padding-top: 0; }
  .svc-media { position: relative; top: auto; aspect-ratio: auto; height: 50svh; margin: 0 calc(-1 * var(--m)); }
  .svc-title { margin: 48px 0 24px; }
  .try { display: flex; flex-direction: column; align-items: stretch; }
  .try-stage { order: -1; margin-bottom: 48px; }
  .try-wall { aspect-ratio: 4 / 3; }
  .visit { height: auto; min-height: 0; overflow: visible; }
  .visit-media { position: relative; inset: auto; height: 70svh; overflow: hidden; }
  .visit-card { position: relative; top: auto; right: auto; margin: -80px var(--m) 0; width: auto; }
  .foot { display: grid; grid-template-columns: 1fr; row-gap: 8px; padding-top: 20svh; padding-bottom: 24px; }
  .foot-links { flex-wrap: wrap; column-gap: 20px; row-gap: 4px; }
  .foot-year { text-align: left; }
  .about-pin { position: relative; }
  .about-pin .pin-in { position: static; height: auto; padding-top: calc(var(--bar-h) + 10svh); }
  .about-title { font-size: 22vw; max-width: none; }
  .about-lead { margin: 0 var(--m); }
  .steps { display: block; padding-top: 12svh; padding-bottom: 10svh; }
  .step, .step:nth-child(n) { width: 72%; margin-top: 48px; }
  .step:first-child { margin-top: 0; }
  .step:nth-child(even) { margin-left: auto; }
  .about-lead { padding-top: 32px; }
  .story { display: block; }
  .story-media { margin-bottom: 40px; }
  .cat-head { display: block; }
  .cat-sum { margin-top: 16px; }
  .projs-2 { grid-template-columns: 1fr; }
  .gal, .projs:not(.projs-2) .gal { grid-template-columns: 1fr; height: auto; }
  .gal-stage { aspect-ratio: 4 / 3; height: auto; }
  .gal-rail { flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .gal-thumb { width: 84px; }
  .lb-prev, .lb-next { top: auto; bottom: var(--m); translate: none; }
  .ct { padding-top: var(--bar-h); }
  .ct-map { position: relative; inset: auto; height: 60svh; }
  .ct-card { margin: -80px var(--m) 0; width: auto; }
}
@media (min-width: 900px) {
  .hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%); mask-image: linear-gradient(90deg, transparent, #000 32%); } /* taste-skill-ignore: requested colour transition between sections */
  [data-cat="totem"] { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 64px); }
  [data-cat="totem"] .cat-head { display: contents; }
  [data-cat="totem"] .cat-title { grid-column: 1; grid-row: 1 / 3; writing-mode: vertical-rl; transform: rotate(180deg); align-self: start; }
  [data-cat="totem"] .cat-sum { grid-column: 2; margin-bottom: 40px; }
  [data-cat="totem"] .projs { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-r] { opacity: 1; transform: none; }
  .panel-media img { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
