/* 00-fonts.css */
/* Generated by tools/fetch-fonts.js — do not edit by hand.
   Roboto, Apache License 2.0. */
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url('/fonts/roboto-greek.abf79b1a.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url('/fonts/roboto-latin-ext.7f21d061.woff2') format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url('/fonts/roboto-latin.14f23757.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;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/roboto-greek.abf79b1a.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/roboto-latin-ext.7f21d061.woff2') format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/roboto-latin.14f23757.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;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('/fonts/roboto-greek.97fbf7bd.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('/fonts/roboto-latin-ext.cedb374b.woff2') format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('/fonts/roboto-latin.1404ca34.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;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/roboto-greek.97fbf7bd.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/roboto-latin-ext.cedb374b.woff2') format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/roboto-latin.1404ca34.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;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/roboto-greek.97fbf7bd.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/roboto-latin-ext.cedb374b.woff2') format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/roboto-latin.1404ca34.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;
}

/* 00b-font-fallback.css */
/* Metric-matched fallback for Roboto, so the hero does not jump when the web font
   finishes loading. Ascent/descent/line-gap come from Roboto's own hhea metrics
   (1900 / 500 / 0 over 2048 units); size-adjust is measured against Arial in the
   browser at 100px, weight 300 — see docs/owner-guide.el.md.
   Hand-written — tools/fetch-fonts.js only generates 00-fonts.css. */
@font-face {
  font-family: 'Roboto Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans'), local('sans-serif');
  size-adjust: 100.3%;
  ascent-override: 92.77%;
  descent-override: 24.41%;
  line-gap-override: 0%;
  unicode-range: U+0000-024F, U+0259, U+2000-206F, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans'), local('sans-serif');
  size-adjust: 100.3%;
  ascent-override: 92.77%;
  descent-override: 24.41%;
  line-gap-override: 0%;
  unicode-range: U+0370-03FF, U+1F00-1FFF;
}

/* 01-tokens.css */
/* Design tokens — dark editorial, after petras-architecture.com (owner-approved 2026-10-03).
   The field is a neutral charcoal, not a tinted one, so the renders are still judged
   against a true grey; bright interiors read stronger against it than against white.
   Type is one family, Roboto, at hairline (100) for display and light (300) for text. */
:root {
  --bg: #272727;
  --bg-alt: #2f2f2f;
  --surface: #2a2a2a;
  /* Body text; headings and links at rest take --ink-strong. */
  --ink: #e8e8e8;
  --ink-strong: #f5f5f5;
  --secondary: #c8c8c8;
  --muted: #999999;
  --line: #333333;
  --line-on-surface: #3a3a3a;
  /* Actions are white, not coloured: outline at rest, solid on hover. */
  --accent: #f5f5f5;
  --accent-hover: #ffffff;
  --on-accent: #272727;
  --focus: #f5f5f5;
  --selection: #4a4a4a;
  --flash: #ffffff;

  /* One family throughout; the two names stay so component CSS keeps reading. */
  --serif: 'Roboto', 'Roboto Fallback', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Roboto', 'Roboto Fallback', 'Helvetica Neue', Arial, sans-serif;
  /* Display weight: Roboto Thin. Body weight: Roboto Light. */
  --weight-display: 100;
  --weight-body: 300;

  --step--2: clamp(0.65rem, 0.62rem + 0.12vw, 0.7rem);
  --step--1: clamp(0.78rem, 0.75rem + 0.12vw, 0.85rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.15vw, 1rem);
  --step-1: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);
  --step-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-3: clamp(1.8rem, 1.35rem + 2.2vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.4rem + 4vw, 3.5rem);
  --step-5: clamp(3.2rem, 1.6rem + 6.5vw, 6.5rem);

  /* Their container: 1620px wide with a 4% side gutter. */
  --max: 101.25rem;
  --gutter: 4%;
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
  --space-section: var(--space-xl);

  --header-h: 5.25rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-light: cubic-bezier(0.5, 0, 0.15, 1);
}

/* 02-base.css */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: var(--weight-body);
  line-height: 1.7;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-weight: var(--weight-display); color: var(--ink-strong); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection { background: var(--selection); color: var(--ink-strong); }

main { display: block; outline: none; }

[hidden] { display: none !important; }

/* Announced to screen readers, never painted — used for the filter's live count. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-xl); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1100;
  padding: 0.7em 1em;
  background: var(--ink-strong);
  color: var(--bg);
  font-size: var(--step--1);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Their small caps label: wide tracking, uppercase, muted. */
.eyebrow,
.section-label {
  display: block;
  font-size: var(--step--1);
  font-weight: var(--weight-body);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--ink-strong); text-decoration: underline; }

.section-title {
  font-size: var(--step-3);
  font-weight: var(--weight-display);
  color: var(--ink-strong);
  line-height: 1.2;
}

/* 03-chrome.css */
/* Header, mobile menu, contact block and footer — after petras-architecture.com. */

/* The bar is fixed, so every page except the home film starts below it. */
.page:not(.page--home) main { padding-top: var(--header-h); }

/* The bar floats over the hero and only takes a background once the page moves. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  padding: 1.25rem clamp(1rem, 2.8vw, 2.1rem);
  background: transparent;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
/* Their bar is a flat 50% wash; ours also blurs, because the render behind it is
   bright and white nav text has to stay legible over any frame of the video. */
.site-header.is-scrolled {
  background: rgba(39, 39, 39, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  padding-block: 1rem;
}

.brand {
  display: grid;
  gap: 0.15rem;
  color: var(--ink-strong);
  text-decoration: none;
  line-height: 1.1;
}
.brand__name {
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem);
  font-weight: var(--weight-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand__role {
  font-size: 0.6rem;
  font-weight: var(--weight-body);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a,
.lang-switch {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  font-size: 0.9rem;
  font-weight: var(--weight-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-strong);
  text-decoration: none;
  transition: color 0.3s;
}
/* The rule under a link grows from the left on hover and stays on the current page. */
.site-nav a::after,
.lang-switch::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink-strong);
  transition: width 0.3s var(--ease-out);
}
.site-nav a:hover::after,
.site-nav a[aria-current='page']::after,
.lang-switch:hover::after { width: 100%; }

.site-header__end { display: flex; align-items: center; gap: 1.5rem; }
.lang-switch { color: var(--secondary); }
.lang-switch:hover { color: var(--ink-strong); }

/* A plus that turns into a cross — their toggle, built from two 1px rules.
   The marks stay 26px like theirs; the button itself is a 44px thumb target. */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -9px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.35s var(--ease-out);
}
.nav-toggle span {
  display: block;
  position: absolute;
  background: var(--ink-strong);
}
.nav-toggle span { top: 50%; left: 50%; }
.nav-toggle span:first-child { width: 26px; height: 1px; transform: translate(-50%, -50%); }
.nav-toggle span:last-child { width: 1px; height: 26px; transform: translate(-50%, -50%); }
.nav-toggle[aria-expanded='true'] { transform: rotate(45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.mobile-menu a {
  display: block;
  padding: 0.25rem 1rem;
  font-size: 2rem;
  font-weight: var(--weight-display);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu a:hover,
.mobile-menu a[aria-current='page'] { color: var(--ink-strong); }

@media (width < 64em) {
  /* Only the brand and the plus stay in the bar; the language lives in the menu. */
  .site-nav,
  .site-header > .site-header__end > .lang-switch { display: none; }
  .nav-toggle { display: block; }
}
@media (width >= 64em) {
  .mobile-menu { display: none; }
}

/* Contact — the one centred block on the site, as the owner asked. */
.contact-section {
  border-top: 1px solid var(--line);
  padding-block: var(--space-xl);
}
.contact {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--space-s);
  max-width: 46rem;
  margin-inline: auto;
}
.contact__invite {
  font-size: var(--step-3);
  font-weight: var(--weight-display);
  line-height: 1.25;
  color: var(--ink-strong);
  max-width: 22ch;
  margin-top: 0.75rem;
}
.contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: var(--space-m);
}
@media (width >= 48em) {
  .contact__actions { flex-direction: row; justify-content: center; gap: 2.5rem; }
}
/* Their contact link: a light rule under the address that brightens on hover.
   The address never wraps — it shrinks to its column instead (--chars from the build). */
.contact__email {
  font-size: 1.15rem;
  font-size: min(1.15rem, calc(92vw / (var(--chars, 28) * 0.55)));
  font-weight: var(--weight-body);
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.contact__email:hover { color: var(--ink-strong); border-color: var(--ink-strong); }

/* Footer — their four-column grid and bottom bar. */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--space-xl) 0 var(--space-m);
  color: var(--secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--space-l);
}
.footer-brand .brand { gap: 0.3rem; }
.footer-tagline {
  margin-top: 0.75rem;
  max-width: 28ch;
  font-size: 0.8rem;
  color: var(--muted);
}
.site-footer h2 {
  margin-bottom: 1.25rem;
  font-size: 0.65rem;
  font-weight: var(--weight-body);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--ink-strong); }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.75rem;
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  color: var(--muted);
}
.footer-bar p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-nav a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-nav a:hover { color: var(--ink-strong); }

@media (width < 48em) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bar { justify-content: center; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* 04-components.css */
/* Shared components: buttons, arrow links, plates, captions, section heads, prose. */

/* Their two buttons: an outlined one that fills white on hover, and a solid one
   that empties. Both are uppercase, widely tracked and light. */
.button,
.button--ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.9rem 2.25rem;
  font-size: 0.85rem;
  font-weight: var(--weight-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.button {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
}
.button:hover { background: transparent; color: var(--ink-strong); }
.button--ghost {
  background: transparent;
  color: var(--ink-strong);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.button--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
/* Phones: a shorter arrow and tighter sides keep the label on one line. */
@media (width < 48em) {
  .button,
  .button--ghost { padding-inline: 1.4rem; gap: 0.6rem; }
  .button .arrow-line,
  .button--ghost .arrow-line { width: 42px; }
}

/* The long thin arrow they set beside a link. */
.arrow-line {
  flex: none;
  width: 80px;
  height: 8px;
  overflow: visible;
  transition: transform 0.3s var(--ease-out);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 3rem;
  font-size: 0.85rem;
  font-weight: var(--weight-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}
.link-arrow:hover { color: var(--ink-strong); }
.link-arrow:hover .arrow-line { transform: translateX(6px); }
/* On its own beside a caption, the arrow is the whole link. */
.arrow-only { display: inline-flex; opacity: 0.6; transition: opacity 0.3s, transform 0.3s; }
.arrow-only:hover { opacity: 1; transform: translateX(4px); }

.plate {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface);
}
.plate img,
.plate picture { width: 100%; }
.plate__img { width: 100%; height: auto; }

.caption {
  display: grid;
  gap: 0.15rem;
  padding-top: 1.25rem;
  font-size: var(--step--1);
}
.caption__title { color: var(--ink-strong); }
.caption__sub { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: var(--space-l);
}
.section-head__meta { color: var(--muted); font-size: var(--step--1); }

/* Their page header: a big thin title over a rule. */
.page-head {
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--space-2xl) - 2rem) var(--gutter) var(--space-l);
  border-bottom: 1px solid var(--line);
}
.page-head__title {
  font-size: var(--step-4);
  font-weight: var(--weight-display);
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--ink-strong);
}
.page-head__lede {
  max-width: 60ch;
  margin-top: 1rem;
  font-size: var(--step-1);
  color: var(--secondary);
}
.page-head__meta { margin-top: 0.75rem; color: var(--muted); font-size: var(--step--1); }

@media (width < 48em) {
  .page-head { padding-top: calc(var(--space-xl) + 1.5rem); padding-bottom: var(--space-m); }
}

.prose { max-width: 66ch; color: var(--secondary); }
.prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: var(--step-2);
  font-weight: var(--weight-display);
  line-height: 1.3;
  color: var(--ink-strong);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.4em; font-size: var(--step-1); font-weight: 400; color: var(--ink-strong); }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--ink); }
.prose a:hover { color: var(--ink-strong); }
.prose__updated { margin-top: 2.5em; color: var(--muted); font-size: var(--step--1); }
.prose--page {
  margin-inline: auto;
  padding-inline: var(--gutter);
  max-width: calc(66ch + 8vw);
}

.empty-state {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--space-m) var(--gutter);
  font-size: var(--step-2);
  font-weight: var(--weight-display);
  color: var(--muted);
}

.demo-note {
  max-width: 60ch;
  margin-top: var(--space-m);
  font-size: var(--step--1);
  color: var(--muted);
}

/* 05-home.css */
/* Home — their two screens: a full-bleed film, then the statement beside a render. */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  padding-bottom: var(--space-xl);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background: #1b1b1b;
}
.hero__video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Their film is a dusk exterior and needs no scrim; ours is a bright interior, so the
   top and bottom are darkened — otherwise white nav links and the headline sit on white. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(18, 18, 18, 0.6) 0%, rgba(18, 18, 18, 0) 26%),
    linear-gradient(to top, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.5) 42%, rgba(18, 18, 18, 0.18) 72%),
    rgba(18, 18, 18, 0.22);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  color: var(--ink-strong);
}
.hero__eyebrow {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
}
.hero__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  font-weight: var(--weight-display);
  line-height: 1.1;
  color: var(--ink-strong);
  max-width: 20ch;
  text-wrap: balance;
}
/* Greek sets longer than English at the same point size; it stays three lines. */
:lang(el) .hero__title { font-size: clamp(2.1rem, 4.2vw, 3.9rem); line-height: 1.18; max-width: 22ch; }
.hero__lede {
  max-width: 55ch;
  margin-bottom: 2.5rem;
  font-size: var(--step-1);
  line-height: 1.8;
  color: var(--secondary);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero__scroll {
  position: absolute;
  right: clamp(1rem, 2.8vw, 2.1rem);
  bottom: 2rem;
  z-index: 2;
}

@media (width < 48em) {
  .hero { padding-bottom: var(--space-l); }
  .hero__title { font-size: clamp(2rem, 8vw, 3.5rem); max-width: none; }
  .hero__lede { margin-bottom: 2rem; font-size: var(--step-0); line-height: 1.7; }
  .hero__scroll { display: none; }
}

/* Statement — label, heading and text on the left, a render and its link on the right. */
.split { border-bottom: 1px solid var(--line); }
.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.split__heading {
  margin: 1rem 0 1.5rem;
  font-size: var(--step-3);
  font-weight: var(--weight-display);
  line-height: 1.2;
  color: var(--ink-strong);
}
.split__text { color: var(--secondary); font-size: var(--step-1); line-height: 1.8; }
.split__text p + p { margin-top: 1.8rem; }
.split__right { display: flex; flex-direction: column; }
.split__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
/* The <picture> has to fill the frame too, or the image inside resolves 100% against nothing. */
.split__media picture { height: 100%; }
.split__media .plate__img { width: 100%; height: 100%; object-fit: cover; }
.split__caption {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.split__desc { font-size: var(--step-2); font-weight: var(--weight-body); line-height: 1.5; color: var(--ink-strong); }

@media (width < 48em) {
  .split__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split__desc { font-size: var(--step-1); }
}

/* 06-works.css */
/* Projects page — their /projects, rule for rule: a bordered filter bar of rectangular
   buttons over a three-column card grid. */
.filters-bar {
  padding-block: var(--space-m);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn {
  padding: 0.5rem 1.25rem;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: var(--weight-body);
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: all 0.3s var(--ease-out);
}
.filter-btn:hover { border-color: var(--secondary); color: var(--ink); }
.filter-btn[aria-pressed='true'] {
  background: var(--surface);
  border-color: var(--ink-strong);
  color: var(--ink-strong);
}
/* Their buttons are 32px tall; ours keep a 44px thumb target without growing the box. */
@media (pointer: coarse) {
  .filter-btn { padding-block: 0.75rem; }
}

.works {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--space-xl) var(--gutter);
}

.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-m); }
@media (width < 64em) { .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 48em) { .works-grid { grid-template-columns: 1fr; } }

.card__link { display: block; text-decoration: none; }
.card__media { aspect-ratio: 4 / 3; }
.card__media picture { height: 100%; }
.card__media .plate__img { width: 100%; height: 100%; object-fit: cover; }
.card__meta { display: grid; gap: 0.4rem; padding: 1.25rem 0; }
.card__cat {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title {
  font-size: 1.35rem;
  font-weight: var(--weight-body);
  line-height: 1.3;
  color: var(--ink-strong);
  transition: color 0.3s;
}
.card__link:hover .card__title { color: var(--secondary); }
.card__sub { font-size: 0.85rem; color: var(--muted); }

/* 07-project.css */
/* Project page: head, cover, intro, gallery rows, credits, next project. */
.project-head {
  display: grid;
  gap: var(--space-s) var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--space-l) var(--gutter) var(--space-m);
}
.project-head__title {
  font-weight: var(--weight-display);
  font-size: var(--step-4);
  line-height: 1.02;
  overflow-wrap: break-word;
  hyphens: auto;
}
.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-s) var(--gutter);
  margin-top: var(--space-s);
}
.project-meta__item { padding-top: 0.6rem; border-top: 1px solid var(--line); }
.project-meta dt { font-size: var(--step--2); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.project-meta dd { font-size: var(--step--1); }
@media (min-width: 64em) {
  /* Compact head so the cover arrives inside the first screen. */
  .project-head { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .project-head .eyebrow { grid-column: 1 / span 8; grid-row: 1; }
  .project-head__title { grid-column: 1 / span 7; grid-row: 2; }
  .project-meta { grid-column: 9 / -1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .project-head .demo-note { grid-column: 1 / span 8; grid-row: 3; }
}

.project-cover { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.project-intro {
  display: grid;
  gap: var(--space-m) var(--gutter);
  max-width: var(--max);
  margin: var(--space-l) auto;
  padding-inline: var(--gutter);
}
.project-intro__summary {
  font-weight: var(--weight-display);
  font-size: var(--step-2);
  line-height: 1.25;
  max-width: 30ch;
}
.project-intro .prose { color: var(--muted); }
@media (min-width: 64em) {
  .project-intro { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .project-intro__summary { grid-column: 1 / span 7; }
  .project-intro .prose { grid-column: 9 / -1; padding-top: 0.35rem; }
}

/* No render taller than the screen: width comes from the image ratio. */
@media (width >= 48em) {
  .g-figure--cover,
  .g-figure--full { width: min(100%, calc(max(18rem, 100svh - 8rem) * var(--ratio, 1.5))); margin-inline: auto; }
}

.gallery {
  display: grid;
  gap: var(--space-l);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.g-row { display: grid; gap: var(--gutter); }
.g-figure { display: grid; gap: 0.6rem; }
.zoom { cursor: zoom-in; }
.g-caption { font-size: var(--step--1); color: var(--muted); max-width: 60ch; }
@media (min-width: 48em) {
  .g-row--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .g-row--pair .g-figure:nth-child(2) { margin-top: var(--space-l); }
  .g-row--wide,
  .g-row--detail { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .g-row--wide .g-figure { grid-column: 2 / span 10; }
  .g-row--detail .g-figure { grid-column: 7 / -1; }
}

.credits {
  max-width: var(--max);
  margin: var(--space-xl) auto 0;
  padding-inline: var(--gutter);
}
.credits__list {
  display: grid;
  gap: var(--space-s) var(--gutter);
  margin-top: var(--space-s);
  padding-top: var(--space-s);
  border-top: 1px solid var(--line);
}
@media (min-width: 40em) { .credits__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.credits dt { font-size: var(--step--2); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.next-project {
  max-width: var(--max);
  margin: var(--space-xl) auto 0;
  padding-inline: var(--gutter);
}
.next-project__link {
  display: grid;
  gap: var(--space-m) var(--gutter);
  padding-top: var(--space-s);
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.next-project__text { display: grid; align-content: start; gap: 0.5rem; }
.next-project__title {
  font-weight: var(--weight-display);
  font-size: var(--step-4);
  line-height: 1.02;
}
.next-project__sub { color: var(--muted); font-size: var(--step--1); }
.next-project__link:hover .next-project__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.1em; }
@media (min-width: 64em) {
  .next-project__link { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .next-project__text { grid-column: 1 / span 6; }
  .next-project__media { grid-column: 7 / -1; }
}

/* PhotoSwipe tuned to the white-cube palette ("html" outranks photoswipe.css, which loads later). */
html .pswp { --pswp-bg: var(--bg); --pswp-placeholder-bg: var(--surface); --pswp-icon-color: var(--ink); --pswp-icon-color-secondary: var(--on-accent); --pswp-icon-stroke-color: var(--on-accent); --pswp-icon-stroke-width: 2px; --pswp-error-text-color: var(--ink); }

/* A section inside a project: one project can cover several spaces. */
.g-section {
  max-width: var(--max);
  margin: var(--space-l) auto var(--space-s);
  padding-inline: var(--gutter);
}
.g-section__title {
  font-weight: var(--weight-display);
  font-size: var(--step-2);
  line-height: 1.1;
}
:lang(el) .g-section__title { line-height: 1.15; letter-spacing: -0.015em; }
.g-section__text {
  max-width: 54ch;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: var(--step-0);
  line-height: 1.6;
}
@media (width >= 64em) {
  .g-section { margin-top: var(--space-xl); }
  .g-section__title { font-size: var(--step-3); }
}

/* 08-studio.css */
/* Studio, legal and 404 pages. */
.studio-intro,
.studio-block {
  display: grid;
  gap: var(--space-m) var(--gutter);
  max-width: var(--max);
  margin: 0 auto var(--space-section);
  padding: var(--space-s) var(--gutter) 0;
}
.studio-intro .section-label,
.studio-block > .section-label { padding-top: var(--space-s); border-top: 1px solid var(--line); }
.studio-intro__body { display: grid; gap: var(--space-l); }
.studio-intro__text {
  font-size: var(--step-1);
  line-height: 1.55;
  max-width: 54ch;
}
.facts { display: grid; gap: 0; max-width: 70ch; border-top: 1px solid var(--line); }
.facts li { padding-block: 0.9rem; border-bottom: 1px solid var(--line); font-size: var(--step-0); }

@media (min-width: 64em) {
  .studio-intro,
  .studio-block { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .studio-intro .section-label,
  .studio-block > .section-label { grid-column: 1 / span 3; }
  .studio-intro__body,
  .studio-block > .service-list,
  .studio-block > .steps,
  .studio-block > .ledger { grid-column: 4 / -1; }
  .studio-block > .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-block .section-label { border-top: 1px solid var(--line); }
}

.service-list { display: grid; gap: var(--space-m) var(--gutter); }
@media (min-width: 40em) { .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80em) { .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service { display: grid; align-content: start; gap: 0.5rem; padding-top: var(--space-s); border-top: 1px solid var(--line); }
.service__title { font-size: var(--step-0); font-weight: 400; line-height: 1.3; }
.service-list--primary .service__title {
  font-weight: var(--weight-display);
  font-size: var(--step-2);
  line-height: 1.15;
}
.service__text { color: var(--muted); font-size: var(--step--1); max-width: 40ch; }

.ledger { display: grid; border-top: 1px solid var(--line); }
.ledger__item {
  display: grid;
  gap: 0.25rem var(--gutter);
  padding-block: var(--space-s);
  border-bottom: 1px solid var(--line);
}
.ledger__org {
  font-weight: var(--weight-display);
  font-size: var(--step-2);
  line-height: 1.2;
}
.ledger__role { font-weight: 400; font-size: var(--step--1); }
.ledger__period { font-weight: 400; color: var(--muted); }
.ledger__period::before { content: '· '; }
.ledger__summary { color: var(--muted); font-size: var(--step--1); max-width: 60ch; }
.ledger__year { color: var(--muted); }
@media (min-width: 48em) {
  .ledger__item { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: baseline; }
  .ledger__org { grid-row: span 2; }
}

.not-found {
  display: grid;
  gap: var(--space-s);
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--space-xl) var(--gutter);
}

/* 09-motion.css */
/* Motion — after petras-architecture.com: scroll reveals, a hairline that runs down the
   hero, and slow hover moves. No libraries; the work is done by IntersectionObserver.
   Everything is scoped to html.motion-ok, which the head script sets only when JavaScript
   runs and the visitor has not asked for reduced motion — so with JS off, or with reduced
   motion, every element is simply visible from the start. */

.motion-ok [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.motion-ok [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.motion-ok [data-reveal-delay='1'] { transition-delay: 0.15s; }
.motion-ok [data-reveal-delay='2'] { transition-delay: 0.3s; }
.motion-ok [data-reveal-delay='3'] { transition-delay: 0.45s; }

/* A hairline of light falling down the rule beside the hero. */
.scroll-line {
  position: relative;
  width: 1px;
  height: 60px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}
.motion-ok .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  animation: cb-scroll-line 2s var(--ease-in-out) infinite;
}
@keyframes cb-scroll-line {
  from { top: -100%; }
  to { top: 100%; }
}

/* Images fade in as they decode, so a slow connection never shows a half-painted plate. */
.motion-ok .plate__img { opacity: 0; transition: opacity 0.8s ease, transform 0.8s var(--ease-out); }
.motion-ok .plate__img.is-loaded { opacity: 1; }

/* A slow push in on the render under the pointer. */
@media (hover: hover) and (pointer: fine) {
  .motion-ok a:hover .plate__img,
  .motion-ok .zoom:hover .plate__img { transform: scale(1.04); }
}

/* Page morphs between a plate and its project cover (Chromium, Safari). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.45s; }
::view-transition-group(project-media) {
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1);
}
::view-transition-old(project-media),
::view-transition-new(project-media) { height: 100%; object-fit: cover; }

/* Belt and braces: the OS setting always wins, even if a class was set earlier. */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-force) *,
  html:not(.motion-force) *::before,
  html:not(.motion-force) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
