/* Self-hosted free fonts (SIL OFL). Latin + Latin Extended (Turkish). */
@font-face{font-family:"Cormorant";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/cormorant-latin-ext-500-normal.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}
@font-face{font-family:"Cormorant";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/cormorant-latin-500-normal.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:"Cormorant";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/cormorant-latin-ext-600-normal.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}
@font-face{font-family:"Cormorant";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/cormorant-latin-600-normal.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:"Newsreader";font-style:italic;font-weight:300;font-display:swap;src:url("../fonts/newsreader-latin-ext-300-italic.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}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:300;font-display:swap;src:url("../fonts/newsreader-latin-300-italic.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:"Newsreader";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/newsreader-latin-ext-400-italic.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}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/newsreader-latin-400-italic.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:"Newsreader";font-style:italic;font-weight:700;font-display:swap;src:url("../fonts/newsreader-latin-ext-700-italic.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}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:700;font-display:swap;src:url("../fonts/newsreader-latin-700-italic.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:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/source-sans-3-latin-ext-400-normal.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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/source-sans-3-latin-400-normal.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:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/source-sans-3-latin-ext-600-normal.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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/source-sans-3-latin-600-normal.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:"Archivo";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/archivo-latin-ext-700-normal.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}
@font-face{font-family:"Archivo";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/archivo-latin-700-normal.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:"Archivo";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/archivo-latin-ext-800-normal.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}
@font-face{font-family:"Archivo";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/archivo-latin-800-normal.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}

/* ==========================================================================
   Özer+Tulgan Architects — static site
   Brand tokens come straight from the InDesign portfolio.
   ========================================================================== */

:root {
  --red: #ef2e31;
  --red-mark: #e02b2d;
  --red-deep: #a51e20;
  --red-dark: #7a1515;
  --gray: #c1c0c1;
  --charcoal: #444141;
  --ink: #111;
  --paper: #fff;
  --gutter: clamp(20px, 3.4vw, 65px);

  /* Licensed fonts: if you self-host Myriad Pro / Nice Headline (see the
     @font-face template at the bottom of this file), put them FIRST in
     these stacks. The remaining families are free stand-ins. */
  --f-sans: "Myriad Pro", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --f-head: "Nice Headline", "Newsreader", Georgia, serif;
  --f-bold: "Archivo", "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
em { font-family: var(--f-head); font-style: italic; font-weight: 400; }

/* Brand marks ------------------------------------------------------------- */
.mark { fill: currentColor; display: block; flex: none;
  width: calc(var(--w, 64.6) * 0.0417vw); height: calc(var(--h, 62.8) * 0.0417vw);
  min-width: 26px; }
.founded__marks .mark { width: calc(var(--w) * 0.052vw); height: calc(var(--h) * 0.052vw); min-width: 0; }
.mark--j { color: var(--red); width: clamp(34px, 3.4vw, 64px); height: clamp(33px, 3.3vw, 62px); }
.mark--j.mark--sm { width: clamp(16px, 1.6vw, 30px); height: clamp(15px, 1.55vw, 29px); }
/* use <symbol> viewBoxes: svg elements need their own viewBox via <use> */
.mark, .bracket { overflow: visible; }

.section-title {
  font-family: var(--f-head); font-style: italic; font-weight: 300;
  font-size: clamp(1.6rem, 2.1vw, 2.6rem); color: #fff; letter-spacing: .005em;
}

/* Reveal ------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 1 · Cover --------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; min-height: max(560px, 100svh); color: #fff; overflow: hidden; background: #cfcfcf; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%; }
.hero__logo { position: absolute; top: clamp(24px, 4.3vw, 82px); left: var(--gutter); width: clamp(220px, 45vw, 870px); color: #000; }
.logo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.logo-svg .ltr { fill: currentColor; }
.logo-svg .plus { fill: var(--logo-plus, var(--red)); }
.hero__tagline { position: absolute; left: var(--gutter); bottom: 25%; font-size: clamp(1.15rem, 1.75vw, 2.1rem); letter-spacing: .005em; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(18px, 3.4vw, 56px); display: flex; justify-content: space-between; gap: 1rem; font-size: clamp(.8rem, .95vw, 1.1rem); }
.hero__meta li:nth-child(2) { margin-left: auto; margin-right: auto; }


/* 2 · About: one-screen composition of the portfolio's intro pages --------- */
.about { display: flex; flex-direction: column; background: #fff; min-height: max(640px, calc(100svh - var(--hh) - 12px)); }
.ticker { overflow: hidden; white-space: nowrap; color: var(--red); font-size: clamp(1.05rem, 1.5vw, 1.7rem); line-height: 1; padding: .55em 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.ticker__track { display: inline-flex; width: max-content; animation: ticker 90s linear infinite; }
.ticker span { padding-right: 3.2em; }
.ticker i { font-family: var(--f-head); font-weight: 400; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.about__grid { flex: 1; display: grid; grid-template-columns: 1.12fr 1fr 1.75fr; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.ab { min-width: 0; min-height: 0; position: relative; }
.ab--statement { grid-column: 1; grid-row: 1 / span 2; }
.ab--expertise { grid-column: 2 / span 2; grid-row: 1; }
.ab--work { grid-column: 2; grid-row: 2; }
.ab--global { grid-column: 3; grid-row: 2; }

/* red statement panel */
.ab--statement { background: var(--red); color: var(--red-dark); padding: clamp(20px, 2.6vw, 48px); display: flex; flex-direction: column; }
.ab--statement .mark--j { color: var(--red-dark); }
.ab__title { display: grid; margin-top: clamp(14px, 2.2vw, 40px); font-size: clamp(1.9rem, 2.55vw, 3.4rem); line-height: 1.1; }
.ab__title em { font-weight: 300; }
.ab__title strong { font-family: var(--f-bold); font-weight: 800; letter-spacing: -.01em; }
.ab__marks { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 40px); margin: clamp(14px, 1.8vw, 32px) 0; color: var(--red-dark); }
.ab__marks .mark { width: calc(var(--w) * .026vw); height: calc(var(--h) * .026vw); min-width: 0; }
.ab__lead { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1rem, 1.2vw, 1.5rem); line-height: 1.5; color: #fff; }
.ab__team { margin-top: auto; padding-top: clamp(16px, 2vw, 32px); }
.ab__team img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ab__team figcaption { margin-top: .8rem; color: #fff; font-size: clamp(.85rem, .98vw, 1.15rem); line-height: 1.5; }
.ab__team figcaption em { font-weight: 300; }
.ab__team figcaption b { font-weight: 700; font-style: italic; }

/* grey expertise panel */
.ab--expertise { background: var(--gray); padding: clamp(18px, 2.2vw, 40px) clamp(18px, 2.4vw, 44px) clamp(20px, 2.4vw, 44px); }
.ab--expertise .section-title { margin-bottom: clamp(12px, 1.6vw, 28px); }
.xgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 28px); }
.xcard__img { position: relative; aspect-ratio: 16 / 10; }
.xcard__img img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.xcard { --cut: clamp(18px, 2.3vw, 36px); }
.xcard .bracket { position: absolute; width: clamp(9px, 1.05vw, 15px); height: auto; aspect-ratio: 45.9 / 44.6; fill: var(--red-mark); }
.xcard .bracket--tl { left: 4%; top: 5%; }
.xcard .bracket--br { right: 4%; bottom: 5%; transform: rotate(180deg); }
.xcard h4 { margin: .75rem 0 .25rem; font-weight: 400; font-size: clamp(.9rem, 1.1vw, 1.3rem); color: #3f3d3e; }
.xcard p { font-family: var(--f-serif); font-weight: 600; font-size: clamp(.84rem, .98vw, 1.15rem); line-height: 1.38; color: #555356; }

/* white "Designed to Work" + lobby */
.ab--work { background: #fff; display: flex; flex-direction: column; }
.ab__text { padding: clamp(18px, 2.2vw, 40px) clamp(18px, 2.4vw, 44px) clamp(14px, 1.6vw, 28px); color: var(--red); }
.work__title { display: grid; line-height: 1.06; font-size: clamp(1.7rem, 2.3vw, 3rem); margin-bottom: clamp(8px, 1vw, 18px); }
.work__title em { font-weight: 300; }
.work__title span { font-family: var(--f-sans); }
.ab__text p { font-family: var(--f-serif); font-weight: 600; font-size: clamp(.92rem, 1.1vw, 1.3rem); line-height: 1.45; }
.ab--work > img { flex: 1 1 0; min-height: 150px; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* dark-red global panel with the dotted map */
.ab--global { background: var(--red-deep); color: #fff; overflow: hidden; padding: clamp(18px, 2.2vw, 40px) clamp(18px, 2.4vw, 44px); display: flex; flex-direction: column; }
.ab__map { position: absolute; left: 8%; top: 12%; width: 86%; height: auto; pointer-events: none; opacity: .95; }
.ab--global .section-title, .ab__globaltext { position: relative; }
.ab__globaltext { margin-top: auto; max-width: 44rem; text-shadow: 0 0 18px rgba(165, 30, 32, .9); }
.ab__globallead { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1rem, 1.35vw, 1.65rem); line-height: 1.6; margin-bottom: .7em; }
.ab__globaltext p:not(.ab__globallead) { font-size: clamp(.85rem, 1vw, 1.2rem); line-height: 1.6; }

@media (max-width: 1100px) {
  .about { min-height: 0; }
  .about__grid { display: block; }
  .ab--statement .ab__team { max-width: 640px; }
  .xgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .ab--work { display: grid; grid-template-columns: 1fr 1fr; }
  .ab--work > img { height: 100%; min-height: 260px; }
  .ab--global { min-height: 600px; }
  .ab__map { left: 4%; width: 92%; top: 14%; }
}
@media (max-width: 700px) {
  .hero__tagline { bottom: 22%; }
  .hero__meta { flex-direction: column; gap: .15rem; }
  .hero__meta li:nth-child(2) { margin: 0; }
  .ab--work { display: flex; }
  .ab--work > img { flex: none; height: 62vw; min-height: 0; }
  .ab--global { min-height: 520px; }
}
@media (max-width: 430px) { .xgrid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Self-hosted licensed fonts (template). Upload the web-font files you are
   licensed to use into /fonts and uncomment.

   @font-face { font-family: "Myriad Pro"; src: url("../fonts/MyriadPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
   @font-face { font-family: "Nice Headline"; src: url("../fonts/NiceHeadline-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
   @font-face { font-family: "Nice Headline"; src: url("../fonts/NiceHeadline-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
   @font-face { font-family: "Nice Headline"; src: url("../fonts/NiceHeadline-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
   -------------------------------------------------------------------------- */

/* ==========================================================================
   Shared site chrome + inner pages (category, project, contact)
   ========================================================================== */
:root { --hh: 68px; --grey: #d9d9d9; --maxw: 1760px; }
html { scroll-padding-top: calc(var(--hh) + 12px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: #fff; color: #000; padding: .6rem 1rem; border-radius: 4px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.no-scroll { overflow: hidden; }

/* Header ------------------------------------------------------------------ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 120; height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 var(--gutter); background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.07); transition: background .35s, border-color .35s; }
.site-header__logo { display: block; width: clamp(118px, 10vw, 164px); color: #000; transition: opacity .35s; }
.site-header__logo .logo-svg { display: block; width: 100%; height: auto; }
.site-nav > ul { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.6rem); font-size: .98rem; }
.site-nav a { display: block; padding: .5rem 0; color: #1d1d1d; letter-spacing: .01em; }
.site-nav a:hover { color: var(--red); text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a[aria-current="true"] { color: var(--red); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .5em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.2em) rotate(45deg); }
.has-sub::after { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: 22px; }
.sub { position: absolute; top: calc(100% + 14px); left: -1.2rem; min-width: 14rem; padding: .7rem 0; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.16); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: .55rem 1.3rem; white-space: nowrap; }
.sub a:hover { background: #f4f4f4; }

/* Home: transparent over the cover until you scroll */
.site-header[data-home]:not(.is-solid) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; }
.site-header[data-home]:not(.is-solid) .site-header__logo { opacity: 0; pointer-events: none; }
.site-header[data-home]:not(.is-solid) .site-nav > ul { background: rgba(255,255,255,.93); padding: .15rem 1.3rem; border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.12); }

.nav-toggle { display: none; position: relative; width: 46px; height: 46px; margin-right: -10px; border: 0; background: transparent; cursor: pointer; z-index: 2; }
.nav-toggle span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: #111; transition: transform .3s, top .3s, background .3s; }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:not(.sr) { background: #fff; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  :root { --hh: 60px; }
  .nav-toggle { display: block; }
  .site-header[data-home]:not(.is-solid) .nav-toggle { background: rgba(255,255,255,.93); border-radius: 50%; margin-right: 0; width: 44px; height: 44px; }
  .site-header[data-home]:not(.is-solid) .nav-toggle span:not(.sr) { left: 12px; right: 12px; }
  .nav-open .site-header[data-home]:not(.is-solid) .nav-toggle { background: transparent; }
  .site-header[data-home]:not(.is-solid) .site-nav > ul { background: none; padding: 0; box-shadow: none; border-radius: 0; }
  .site-nav { position: fixed; inset: 0; z-index: 1; background: var(--red); color: #fff; padding: calc(var(--hh) + 28px) var(--gutter) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .3s, visibility .3s; }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .site-header__logo { position: relative; z-index: 2; opacity: 1 !important; color: #fff; --logo-plus: var(--red-dark); }
  .site-nav > ul { flex-direction: column; align-items: flex-start; gap: .2rem; font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .site-nav a { color: #fff; padding: .35rem 0; }
  .site-nav a:hover, .site-nav a[aria-current] { color: var(--red-dark); }
  .has-sub > a::after, .has-sub::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: .1rem 0 .6rem 1rem; min-width: 0; font-family: var(--f-sans); font-style: normal; font-size: 1.15rem; }
  .sub a { padding: .3rem 0; white-space: normal; }
  .sub a:hover { background: none; }
}

/* Footer ------------------------------------------------------------------ */
.footer { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem 2.4rem; align-items: center; padding: 1.8rem var(--gutter); font-size: .92rem; }
.footer__brand { display: flex; align-items: center; gap: .8rem; color: #fff; }
.footer__nav, .footer__contact { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.footer__nav { justify-content: center; }
.footer a { color: #d8d6d6; }
.footer a:hover { color: #fff; }
.footer__legal { grid-column: 1 / -1; font-size: .8rem; color: #8d8a8a; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; }
@media (max-width: 860px) { .footer { grid-template-columns: 1fr; } .footer__nav { justify-content: flex-start; } }

/* Home: Fields of Work ----------------------------------------------------- */
.fields { background: var(--grey); padding: clamp(24px, 3.4vw, 65px) var(--gutter) clamp(40px, 6vw, 110px); }
.fields .section-title { color: var(--red); margin-bottom: clamp(28px, 4vw, 72px); }
.fields__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 28px); }
.field { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; padding: clamp(16px, 1.8vw, 32px); color: #fff; overflow: hidden; background: var(--charcoal); isolation: isolate; }
.field img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.field::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20,8,8,.72), rgba(20,8,8,0) 58%); }
a.field:hover { text-decoration: none; }
a.field:hover img { transform: scale(1.045); }
.field__name { font-size: clamp(1.4rem, 2.1vw, 2.5rem); line-height: 1.1; }
.field__count { font-family: var(--f-head); font-style: italic; font-weight: 400; color: #fff; font-size: clamp(1rem, 1.25vw, 1.45rem); margin-top: .25rem; }
.field__arrow { position: absolute; right: clamp(16px, 1.8vw, 32px); top: clamp(16px, 1.8vw, 32px); width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,.85); border-radius: 50%; transition: background .3s, transform .3s; }
.field__arrow::after { content: ""; position: absolute; left: 11px; top: 13px; width: 10px; height: 10px; border: solid #fff; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg) translate(-1px, 1px); }
a.field:hover .field__arrow { background: var(--red); border-color: var(--red); transform: translate(3px,-3px); }
.field--plain { background: var(--red-deep); }
.field--plain::before { display: none; }
.field--plain .mark { position: absolute; right: 8%; top: 12%; width: 28%; height: auto; aspect-ratio: 1; color: rgba(255,255,255,.14); min-width: 0; }
@media (max-width: 900px) { .fields__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fields__grid { grid-template-columns: 1fr; } .field { aspect-ratio: 16 / 10; } }

/* Category page ----------------------------------------------------------- */
.cat-hero { position: relative; background: var(--red); color: #5a1010; min-height: min(88svh, 900px); padding: calc(var(--hh) + clamp(30px, 5vw, 90px)) var(--gutter) clamp(40px, 5vw, 90px); display: flex; flex-direction: column; overflow: hidden; }
.cat-hero__kicker { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1.1rem, 1.7vw, 2rem); margin-left: clamp(0px, 1.1vw, 20px); }
.cat-hero__title { margin-top: auto; font-weight: 400; font-size: clamp(2.6rem, 6.1vw, 7.4rem); line-height: 1; letter-spacing: -.01em; }
.cat-hero__count { margin-top: clamp(18px, 2.6vw, 48px); font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1.05rem, 1.7vw, 2rem); }
.cat-hero__intro { margin-top: clamp(28px, 6vw, 110px); max-width: 62rem; font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.1rem, 1.55vw, 1.9rem); line-height: 1.6; color: #4a0d0d; }
.cat-hero .mark--j { color: var(--red-dark); margin-bottom: clamp(14px, 1.6vw, 28px); }
.cat-hero__corner { position: absolute; right: var(--gutter); bottom: clamp(18px, 2.6vw, 48px); width: clamp(26px, 2.6vw, 50px); height: auto; aspect-ratio: 45.9 / 44.6; color: var(--red-dark); }

.cat-grid { background: #fff; padding: clamp(36px, 5vw, 96px) var(--gutter) clamp(40px, 6vw, 110px); }
.cat-grid__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: clamp(20px, 2.6vw, 44px); color: var(--red); }
.cat-grid__head h2 { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 1.9vw, 2.3rem); }
.cat-grid__head span { font-size: .95rem; color: #6b6868; }
.pgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(28px, 3.2vw, 60px) clamp(18px, 2.2vw, 40px); }
.pcard { display: block; color: inherit; }
.pcard:hover { text-decoration: none; }
.pcard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__kicker { display: block; margin-top: 1rem; font-family: var(--f-head); font-style: italic; font-weight: 400; color: var(--red); font-size: 1rem; }
.pcard__title { margin-top: .15rem; font-size: clamp(1.15rem, 1.45vw, 1.6rem); font-weight: 400; line-height: 1.22; color: #151515; }
.pcard:hover .pcard__title { color: var(--red); }
.pcard__meta { display: block; margin-top: .45rem; font-size: .92rem; color: #6b6868; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: 1fr 1fr; } .pgrid > li { grid-column: auto; } .pgrid > li:last-child:nth-child(odd) { grid-column: 1 / -1; } .pgrid > li:last-child:nth-child(odd) .pcard__img { aspect-ratio: 16 / 7; } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } .pgrid > li:last-child:nth-child(odd) .pcard__img { aspect-ratio: 16 / 10; } }

.other-fields { background: var(--grey); padding: clamp(28px, 4vw, 72px) var(--gutter); }
.other-fields h2 { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 1.9vw, 2.3rem); color: var(--red); margin-bottom: 1.2rem; }
.other-fields ul { display: flex; flex-wrap: wrap; gap: .5rem 2.4rem; font-size: clamp(1.1rem, 1.5vw, 1.7rem); }
.other-fields a:hover { color: var(--red); }

/* Project page ------------------------------------------------------------ */
.phead { background: var(--grey); padding: calc(var(--hh) + clamp(26px, 5vw, 90px)) var(--gutter) clamp(26px, 4vw, 70px); color: var(--red); }
.phead__crumbs { font-size: .95rem; }
.phead__crumbs a { color: var(--red); }
.phead__crumbs i { font-family: var(--f-head); }
.phead__title { margin-top: .55rem; font-size: clamp(1.9rem, 3.4vw, 4.2rem); font-weight: 400; line-height: 1.1; max-width: 22ch; }
.phead__meta { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin-top: clamp(22px, 3.2vw, 56px); font-size: clamp(.95rem, 1.05vw, 1.2rem); }
.phead__meta em { color: var(--red); font-weight: 400; }
.phead__meta span::after { content: "/"; margin-left: 2rem; color: var(--red); }
.phead__meta span:last-child::after { display: none; }
@media (max-width: 700px) { .phead__meta span::after { display: none; } .phead__meta { flex-direction: column; } }
.phead__lists { display: flex; flex-wrap: wrap; gap: 1.4rem 4rem; margin-top: clamp(24px, 3vw, 52px); }
.phead__lists h2 { font-size: clamp(.95rem, 1.05vw, 1.2rem); font-weight: 400; }
.phead__lists ul { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.phead__lists li a, .phead__lists li span { display: block; padding: .3rem .8rem; border: 1px solid rgba(239,46,49,.55); border-radius: 999px; font-size: .95rem; color: #3b3a3a; }
.phead__lists li a { color: var(--red); }
.phead__lists li a:hover { background: var(--red); color: #fff; text-decoration: none; }

.phero { background: var(--grey); }
.phero img { width: 100%; height: auto; max-height: 86svh; object-fit: cover; display: block; }

.pcols { background: var(--grey); padding: clamp(34px, 5vw, 96px) var(--gutter) clamp(44px, 6vw, 120px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 4vw, 90px); }
.pcols h3 { color: var(--red); font-weight: 400; font-size: clamp(1rem, 1.12vw, 1.3rem); margin-bottom: .55rem; }
.pcols p { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.2rem, 1.4vw, 1.6rem); line-height: 1.45; color: #2c2a2a; }
@media (max-width: 860px) { .pcols { grid-template-columns: 1fr; gap: 1.8rem; } }

.gallery { padding: clamp(28px, 4vw, 80px) var(--gutter) clamp(20px, 3vw, 60px); background: #fff; }
.gallery__tag { margin: clamp(10px, 2vw, 30px) auto clamp(14px, 1.6vw, 26px); max-width: var(--maxw); }
.gallery__tag span { display: inline-block; background: var(--red); color: #fff; padding: .3rem 1rem; font-size: clamp(.95rem, 1.1vw, 1.25rem); }
.spread { max-width: var(--maxw); margin: 0 auto clamp(26px, 3.6vw, 66px); }
.spread__grid { position: relative; aspect-ratio: var(--ratio); }
.spread__item { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); overflow: hidden; background: var(--grey); cursor: zoom-in; display: block; }
.spread__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.spread__item:hover img { transform: scale(1.035); }
.spread figcaption { margin-top: .7rem; text-align: right; font-family: var(--f-serif); font-weight: 500; font-size: clamp(.95rem, 1.05vw, 1.2rem); color: #4d4b4b; }
@media (max-width: 760px) {
  .spread__grid { aspect-ratio: auto; display: grid; gap: 10px; }
  .spread__item { position: static; width: auto; height: auto; }
  .spread__item img { height: auto; }
  .spread figcaption { text-align: left; }
}

.quote { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(72svh, 680px); padding: clamp(40px, 6vw, 110px) var(--gutter); background: #222 var(--bg) center / cover no-repeat; color: #fff; overflow: hidden; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,10,10,.78), rgba(12,10,10,.5) 70%, rgba(12,10,10,.4)); }
.quote__text { display: flex; gap: clamp(12px, 1.6vw, 28px); align-items: flex-start; max-width: 60rem; margin-left: clamp(0px, 4vw, 90px); }
.quote__text .mark { width: clamp(20px, 2.1vw, 40px); height: auto; aspect-ratio: 45.9 / 44.6; min-width: 0; margin-top: .5em; color: var(--red); }
.quote__text p { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 3.5vw, 4.2rem); line-height: 1.2; }
.quote--inline { max-width: none; margin: 0 calc(var(--gutter) * -1) clamp(26px, 3.6vw, 66px); }

.pnav { background: var(--charcoal); color: #fff; display: grid; grid-template-columns: 1fr 1fr; }
.pnav a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(200px, 26vw, 400px); padding: clamp(18px, 2.4vw, 44px) var(--gutter); overflow: hidden; isolation: isolate; color: #fff; }
.pnav a:hover { text-decoration: none; }
.pnav a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pnav a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15,8,8,.78), rgba(15,8,8,.15)); }
.pnav a:hover img { transform: scale(1.04); }
.pnav small { font-family: var(--f-head); font-style: italic; font-size: 1.05rem; opacity: .9; }
.pnav strong { margin-top: .25rem; font-weight: 400; font-size: clamp(1.2rem, 2vw, 2.3rem); line-height: 1.15; max-width: 22ch; }
.pnav a:last-child { text-align: right; align-items: flex-end; }
.pnav--single { grid-template-columns: 1fr; }
@media (max-width: 640px) { .pnav { grid-template-columns: 1fr; } .pnav a:last-child { text-align: left; align-items: flex-start; } }

/* Lightbox ---------------------------------------------------------------- */
.lb { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-rows: 1fr auto; background: rgba(8,6,6,.985); color: #fff; }
.lb[hidden] { display: none; }
.lb__stage { position: relative; display: grid; place-items: center; padding: 56px 64px 8px; min-height: 0; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb__cap { padding: .6rem 1.2rem 1.2rem; text-align: center; font-family: var(--f-serif); font-weight: 500; font-size: 1.15rem; color: #ddd; min-height: 2.8rem; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb button:hover { background: var(--red); }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb__stage { padding: 56px 8px 8px; } .lb__prev, .lb__next { top: auto; bottom: 64px; transform: none; } .lb__prev { left: 12px; } .lb__next { right: 12px; } }

/* Contact ----------------------------------------------------------------- */
.contact { position: relative; background: var(--red); color: #fff; min-height: 100svh; padding: calc(var(--hh) + clamp(24px, 4vw, 76px)) var(--gutter) clamp(36px, 5vw, 90px); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.contact__bracket { position: absolute; right: -3vw; bottom: -4vw; width: 26vw; height: auto; aspect-ratio: 45.9 / 44.6; color: var(--red-deep); opacity: .22; transform: rotate(180deg); pointer-events: none; z-index: 0; min-width: 0; }
.contact > * { position: relative; z-index: 1; }
.contact__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.contact__title { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 2.1vw, 2.6rem); }
.contact__logo { width: clamp(190px, 22.5vw, 432px); color: #fff; --logo-plus: var(--red-dark); }
.contact__cols { align-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 28rem)); gap: clamp(32px, 7vw, 150px); padding: clamp(40px, 8vw, 140px) 0; }
.contact h2 { font-family: var(--f-head); font-style: italic; font-weight: 300; font-size: clamp(1.1rem, 1.5vw, 1.8rem); color: #4a0d0d; margin-bottom: .9rem; }
.contact address { font-style: normal; font-size: clamp(1rem, 1.15vw, 1.35rem); line-height: 1.7; }
.contact p { margin-top: 1.4rem; font-size: clamp(1rem, 1.15vw, 1.35rem); }
.contact p em { color: #4a0d0d; font-weight: 400; margin-right: .4rem; }
.contact a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 4px; }
.contact a:hover { text-decoration-color: #fff; }
.contact__map { display: inline-block; margin-top: 1.2rem; font-size: .95rem; }
.contact__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: clamp(.9rem, 1vw, 1.15rem); border-top: 1px solid rgba(255,255,255,.28); padding-top: 1.2rem; }
.contact { grid-template-rows: auto 1fr auto; }
@media (max-width: 760px) { .contact__cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .field img, .pcard__img img, .spread__item img, .pnav a img { transition: none; }
}

/* Footer colours (were part of the old home stylesheet) */
.footer { background: #2b2929; color: #d8d6d6; }
.footer .mark--j { color: var(--red); }

/* Project grid: 3 per row; an incomplete last row stretches so no empty slot is left */
@media (min-width: 1001px) {
  .pgrid > li { grid-column: span 2; }
  .pgrid > li:last-child:nth-child(3n+1) { grid-column: span 6; }
  .pgrid > li:last-child:nth-child(3n+1) .pcard { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr auto auto auto 1fr; column-gap: clamp(18px, 2.2vw, 40px); }
  .pgrid > li:last-child:nth-child(3n+1) .pcard__img { aspect-ratio: 16 / 6; grid-row: 1 / span 5; grid-column: 1; }
  .pgrid > li:last-child:nth-child(3n+1) .pcard__kicker { grid-row: 2; grid-column: 2; margin-top: 0; }
  .pgrid > li:last-child:nth-child(3n+1) .pcard__title { grid-row: 3; grid-column: 2; }
  .pgrid > li:last-child:nth-child(3n+1) .pcard__meta { grid-row: 4; grid-column: 2; }
  .pgrid > li:last-child:nth-child(3n+2), .pgrid > li:nth-last-child(2):nth-child(3n+1) { grid-column: span 3; }
  .pgrid > li:last-child:nth-child(3n+2) .pcard__img, .pgrid > li:nth-last-child(2):nth-child(3n+1) .pcard__img { aspect-ratio: 16 / 8; }
}

/* ---------- Reference list (plain text) ---------- */
.reftext { background: #fff; color: #151515; padding: calc(var(--hh) + clamp(36px, 5vw, 90px)) var(--gutter) clamp(50px, 6vw, 110px); }
.reftext article { max-width: 54rem; margin: 0 auto; }
.reftext h1 { font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.1; margin-bottom: 1.2rem; }
.reftext__intro { font-family: var(--f-serif); font-size: 1.15rem; line-height: 1.65; }
.reftext__jump { margin-top: 1rem; font-size: .95rem; }
.reftext__jump a { color: var(--red); }
.reftext h2 { margin-top: clamp(40px, 5vw, 80px); padding-bottom: .4rem; border-bottom: 2px solid #151515; font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.2rem); scroll-margin-top: calc(var(--hh) + 20px); }
.reftext h3 { margin-top: 2rem; font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; scroll-margin-top: calc(var(--hh) + 20px); }
.reftext h4 { margin-top: 1.2rem; font-size: 1rem; font-weight: 600; font-style: italic; color: #444141; }
.reftext ul { margin-top: .5rem; list-style: disc; padding-left: 1.2rem; }
.reftext li { margin: .3rem 0; font-size: 1rem; line-height: 1.5; }
.reftext li i { color: #6b6868; }
