/* Uluhanlı Yapı İnşaat — site styles. Built on tokens.css (design system v2).
   Rules followed throughout: square corners (inputs and chips 2px), no shadows, no gradients,
   structure with hairlines and the 32 x 4 gold accent bar, gold only as an accent,
   Archivo for headings and figures, DM Sans for text. Motion: 150 ms fades for interface states;
   content below the fold rises into view once as the page scrolls (see "scroll reveal"), and pages
   fade into each other (see "page transitions"). */

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
:root { --gutter: 16px; --header-h: 64px; }
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --header-h: 88px; } }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--ground); color: var(--ink);
  font: 400 16px/26px var(--font-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; outline: none; }
[data-theme] { color: var(--ink); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink-strong); text-wrap: balance; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
/* keyboard focus never lands under the sticky header */
a, button, input, select, textarea, [tabindex] { scroll-margin-top: calc(var(--header-h) + 24px); scroll-margin-bottom: 24px; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
::selection { background: var(--gold); color: var(--on-gold); }
[hidden] { display: none !important; }
.uh-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.uh-icon { width: 24px; height: 24px; flex: none; }

.uh-skip {
  position: absolute; left: var(--space-4); top: -200px; z-index: 100;
  padding: var(--space-3) var(--space-4); background: var(--surface-inverse); color: var(--on-inverse);
  font-weight: 600; text-decoration: none;
}
.uh-skip:focus { top: var(--space-4); }

/* ------------------------------------------------------------------ layout */
.uh-container { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.uh-container--narrow { max-width: calc(800px + 2 * var(--gutter)); }
.uh-section { padding-block: 64px; }
@media (min-width: 1024px) { .uh-section { padding-block: var(--space-24); } }
.uh-section--surface { background: var(--surface); }
.uh-section--raised { background: var(--surface-raised); }
.uh-section:not(.uh-section--surface):not(.uh-section--raised) + .uh-section:not(.uh-section--surface):not(.uh-section--raised),
.uh-section--surface + .uh-section--surface, .uh-section--raised + .uh-section--raised { padding-top: 0; }

/* ------------------------------------------------------------------ type */
.uh-label {
  display: flex; flex-direction: column; gap: var(--space-2); margin: 0;
  font: 600 12px/16px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted);
}
.uh-label::before { content: ""; width: 32px; height: var(--border-accent); background: var(--gold); }
.uh-display {
  font: 700 clamp(2.5rem, 1.55rem + 3.4vw, 4rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink-strong);
}
.uh-title {
  margin-top: var(--space-2);
  font: 700 clamp(1.875rem, 1.35rem + 1.6vw, 2.5rem)/1.1 var(--font-display); letter-spacing: -.02em; color: var(--ink-strong);
}
.uh-title em, .uh-display em { font-style: normal; color: var(--gold-text); }
.uh-heading { font: 600 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.25 var(--font-display); letter-spacing: -.01em; color: var(--ink-strong); }
.uh-subheading { font: 600 18px/1.35 var(--font-display); color: var(--ink-strong); }
.uh-index { font: 600 14px/1.4 var(--font-display); letter-spacing: .04em; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.uh-lead { font-size: 17px; line-height: 28px; color: var(--ink); }
@media (min-width: 1024px) { .uh-lead { font-size: 19px; line-height: 30px; } }
.uh-caption { font: 400 13px/20px var(--font-sans); color: var(--ink-muted); }
.uh-prose { display: grid; gap: var(--space-4); max-width: 68ch; }
.uh-prose strong { color: var(--ink-strong); font-weight: 700; }
.uh-prose h2 { margin-top: var(--space-6); font: 600 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.25 var(--font-display); }
.uh-prose h3 { margin-top: var(--space-2); font: 600 18px/1.35 var(--font-display); }
.uh-prose ul { display: grid; gap: var(--space-2); padding-left: 1.25em; }
.uh-prose li::marker { color: var(--gold-text); }

.uh-link, .uh-prose a {
  color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--gold-text);
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.uh-link:hover, .uh-prose a:hover { text-decoration-thickness: 2px; }

/* section heading: SectionLabel + title (+ lead) */
.uh-head { display: grid; gap: var(--space-2); max-width: 780px; margin-bottom: var(--space-8); }
.uh-head .uh-title { margin-top: 0; }
.uh-head .uh-lead { margin-top: var(--space-4); }
@media (min-width: 1024px) { .uh-head { margin-bottom: var(--space-12); } }
.uh-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-8); margin-bottom: var(--space-8); }
.uh-head-row .uh-head { margin-bottom: 0; }
@media (min-width: 1024px) { .uh-head-row { margin-bottom: var(--space-12); } }

/* the hairline with the gold accent bar at its start */
.uh-ruled { position: relative; border-top: var(--border-hairline) solid var(--rule); }
.uh-ruled::before { content: ""; position: absolute; left: 0; top: -2.5px; width: 32px; height: var(--border-accent); background: var(--gold); }

/* ------------------------------------------------------------------ buttons and links */
.uh-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.uh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  border: var(--border-hairline) solid transparent; border-radius: var(--radius-none);
  font: 600 15px/1.2 var(--font-sans); letter-spacing: .01em; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.uh-btn .uh-icon { width: 18px; height: 18px; }
.uh-btn--primary { background: var(--gold); color: var(--on-gold); }
.uh-btn--primary:hover { background: var(--gold-champagne); }
.uh-btn--secondary { background: transparent; border-color: var(--border); color: var(--ink-strong); }
.uh-btn--secondary:hover { background: var(--surface-raised); border-color: var(--ink-strong); }
.uh-btn[disabled], .uh-btn[aria-disabled="true"] { opacity: .65; cursor: progress; }

.uh-more {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font: 600 15px/1.4 var(--font-sans); color: var(--ink-strong);
  text-decoration: underline; text-decoration-color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.uh-more:hover { text-decoration-thickness: 2px; }
.uh-more .uh-icon { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ header */
.uh-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface); border-bottom: var(--border-hairline) solid var(--surface-raised);
}
.uh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: var(--header-h); }
.uh-header__brand { display: block; flex: none; padding-block: 8px; }
/* the UH monogram alone; the full lockup with its lettering lives in the footer */
.uh-header__brand img { height: 44px; width: auto; }
@media (min-width: 1024px) { .uh-header__brand img { height: 58px; } }

.uh-nav__toggle {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-3);
  border: var(--border-hairline) solid var(--border); border-radius: var(--radius-none); background: var(--surface);
  font: 600 14px/1 var(--font-sans); color: var(--ink-strong); cursor: pointer;
}
.uh-nav__toggle .uh-icon { width: 20px; height: 20px; }
.uh-nav__toggle .i-close { display: none; }
.uh-nav__toggle[aria-expanded="true"] .i-open { display: none; }
.uh-nav__toggle[aria-expanded="true"] .i-close { display: block; }
.uh-nav__panel { display: none; }
.uh-nav__panel.is-open {
  display: grid; gap: var(--space-6); position: absolute; left: 0; right: 0; top: 100%;
  padding: var(--space-4) var(--gutter) var(--space-8);
  background: var(--surface); border-bottom: var(--border-hairline) solid var(--border);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.uh-nav__list { list-style: none; display: grid; }
.uh-nav__list a {
  display: flex; align-items: center; min-height: 52px; border-bottom: var(--border-hairline) solid var(--surface-raised);
  font: 600 18px/1.3 var(--font-display); color: var(--ink-strong); text-decoration: none;
}
.uh-nav__list a[aria-current="page"] { color: var(--gold-text); }
.uh-nav__bar { display: none; }
.uh-nav__cta { width: 100%; }

@media (min-width: 1024px) {
  .uh-nav__toggle { display: none; }
  .uh-nav__panel, .uh-nav__panel.is-open {
    position: static; display: flex; align-items: center; gap: var(--space-8);
    padding: 0; border: 0; max-height: none; overflow: visible; background: none;
  }
  .uh-nav__list { display: flex; gap: var(--space-8); }
  .uh-nav__list a {
    min-height: var(--header-h); border-bottom: 0; position: relative;
    font: 500 15px/1 var(--font-sans); color: var(--ink-strong);
  }
  .uh-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--border-accent);
    background: var(--gold); opacity: 0; transition: opacity .15s ease;
  }
  .uh-nav__list a:hover::after { opacity: .45; }
  .uh-nav__list a[aria-current="page"] { color: var(--ink-strong); }
  /* the current page's gold bar is an element of its own, so it can slide to the next page's item */
  .uh-nav__list a[aria-current="page"]::after { display: none; }
  .uh-nav__list a[aria-current="page"] .uh-nav__bar {
    display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--border-accent);
    background: var(--gold); view-transition-name: uh-nav-bar;
  }
  .uh-nav__cta { width: auto; }
}

/* ------------------------------------------------------------------ home hero (Lottie) */
.uh-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(600px, calc(100svh - var(--header-h)), 860px);
  display: flex; flex-direction: column; justify-content: center;
  background-color: var(--ground);
  background-image:
    linear-gradient(rgba(217, 213, 206, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 213, 206, .045) 1px, transparent 1px);
  background-size: 120px 120px; background-position: -1px -1px;
}
.uh-hero__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.uh-hero__stage {
  position: absolute; top: 50%; right: 0; height: 90%; aspect-ratio: 16 / 10; max-width: none;
  transform: translateY(-48%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}
.uh-hero__still, .uh-hero__lottie { position: absolute; inset: 0; width: 100%; height: 100%; }
.uh-hero__still { transition: opacity .15s ease; }
.uh-hero.is-animated .uh-hero__still { opacity: 0; }
.uh-hero__content { padding-block: 80px 112px; }
.uh-hero__copy { max-width: 31rem; }
.uh-hero__copy .uh-label { margin-bottom: var(--space-4); }
.uh-hero__lead { margin-top: var(--space-6); max-width: 26rem; }
.uh-hero__actions { margin-top: var(--space-8); }
.uh-hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-bottom: 28px;
  font: 600 11px/16px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted);
}
@media (max-width: 1280px) and (min-width: 1025px) { .uh-hero__stage { height: 84%; right: -6vw; } }
@media (max-width: 1024px) and (min-width: 821px) { .uh-hero__stage { height: 72%; right: -13vw; } }
@media (max-width: 820px) {
  .uh-hero { display: block; min-height: 0; }
  .uh-hero__content { padding-block: 56px 0; }
  .uh-hero__art { position: relative; inset: auto; z-index: 0; aspect-ratio: 1 / 1; margin-top: 8px; overflow: hidden; }
  .uh-hero__stage { top: -1%; right: auto; left: -46%; width: 166%; height: auto; transform: none; -webkit-mask-image: none; mask-image: none; }
  .uh-hero__art { margin-bottom: 8px; }
  .uh-hero__foot { display: none; }
}

/* ------------------------------------------------------------------ page header (inner pages) */
.uh-pagehead { position: relative; isolation: isolate; overflow: hidden; background: var(--ground); }
.uh-pagehead__media { position: absolute; inset: 0; z-index: -1; }
.uh-pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
/* the photo comes darkened 84% toward ground ("-bg" images from tools/images.py), so the text keeps 4.5:1 */
.uh-pagehead__content { padding-block: 64px 56px; }
@media (min-width: 1024px) { .uh-pagehead__content { padding-block: 112px 96px; } }
.uh-pagehead h1 {
  margin-top: var(--space-4); max-width: 18ch;
  font: 700 clamp(2.25rem, 1.45rem + 2.8vw, 3.5rem)/1.04 var(--font-display); letter-spacing: -.03em;
}
.uh-pagehead h1 em { font-style: normal; color: var(--gold-text); }
.uh-pagehead .uh-lead { margin-top: var(--space-6); max-width: 40rem; }
.uh-pagehead__meta { margin-top: var(--space-4); }
.uh-pagehead--plain { background: var(--surface); }
.uh-pagehead--plain .uh-pagehead__content { padding-block: 56px 32px; }
@media (min-width: 1024px) { .uh-pagehead--plain .uh-pagehead__content { padding-block: 96px 48px; } }

/* ------------------------------------------------------------------ split: text beside a photo */
.uh-split { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) {
  .uh-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; }
  .uh-split--media-first { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .uh-split--media-first > .uh-figure { order: -1; }
  .uh-split--top { align-items: start; }
}
.uh-figure { display: grid; gap: var(--space-2); }
.uh-figure__frame { overflow: hidden; background: var(--surface-raised); aspect-ratio: 4 / 5; }
.uh-figure__frame--wide { aspect-ratio: 4 / 3; }
.uh-figure__frame img { width: 100%; height: 100%; object-fit: cover; }
.uh-split__body { display: grid; gap: var(--space-6); }
.uh-split__body .uh-head { margin-bottom: 0; }

/* ------------------------------------------------------------------ Stat */
.uh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.uh-stat { padding: var(--space-6) var(--space-6) var(--space-6) 0; display: flex; flex-direction: column; gap: var(--space-2); }
.uh-stat__value {
  font: 800 clamp(2.75rem, 2.1rem + 2.2vw, 3.5rem)/1 var(--font-display); letter-spacing: -.03em;
  color: var(--ink-strong); font-variant-numeric: tabular-nums;
}
.uh-stat__value sup { font-size: .45em; line-height: 1; color: var(--gold-text); vertical-align: top; margin-left: 2px; position: relative; top: .12em; }
.uh-stat__label { font: 600 12px/16px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
@media (min-width: 640px) {
  .uh-stat + .uh-stat { padding-left: var(--space-6); border-left: var(--border-hairline) solid var(--border); }
}
@media (max-width: 639px) {
  .uh-stat + .uh-stat { border-top: var(--border-hairline) solid var(--border); }
}
.uh-stats-wrap { margin-top: var(--space-12); }

/* stat band on a darkened site photo */
.uh-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ground); padding-block: 80px; }
@media (min-width: 1024px) { .uh-band { padding-block: 128px; } }
.uh-band__media { position: absolute; inset: 0; z-index: -1; }
.uh-band__media img { width: 100%; height: 100%; object-fit: cover; }
/* darkened in the image itself, as in the page header */
.uh-band .uh-stats-wrap { margin-top: var(--space-8); max-width: 760px; }

/* ------------------------------------------------------------------ ReferenceCard */
.uh-cards { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.uh-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--surface); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-none);
  transition: background-color .15s ease;
}
a.uh-card:hover { background: var(--surface-raised); }
.uh-card__media { aspect-ratio: 4 / 3; background: var(--surface-raised); overflow: hidden; }
.uh-card__media img { width: 100%; height: 100%; object-fit: cover; }
.uh-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.uh-card__index { font: 600 14px/1.4 var(--font-display); letter-spacing: .04em; color: var(--gold-text); }
.uh-card__title { font: 600 18px/1.35 var(--font-display); color: var(--ink-strong); }
.uh-card__meta { font: 400 13px/20px var(--font-sans); color: var(--ink-muted); }
.uh-card__go { margin-top: auto; padding-top: var(--space-4); display: inline-flex; align-items: center; gap: var(--space-2); font: 600 14px/1.4 var(--font-sans); color: var(--ink-strong); }
.uh-card__go .uh-icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ ProcessStep */
.uh-steps { list-style: none; display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: none; }
.uh-steps--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.uh-step__index {
  position: relative; padding-bottom: var(--space-3); border-bottom: var(--border-hairline) solid var(--rule);
  font: 600 14px/1.4 var(--font-display); letter-spacing: .04em; color: var(--gold-text); font-variant-numeric: tabular-nums;
}
.uh-step__index::after { content: ""; position: absolute; left: 0; bottom: -2.5px; width: 32px; height: var(--border-accent); background: var(--gold); }
.uh-step__title { margin: var(--space-4) 0 var(--space-2); font: 600 18px/1.35 var(--font-display); color: var(--ink-strong); }
.uh-step__text { color: var(--ink); }

/* ------------------------------------------------------------------ feature cards (iş güvenliği) */
.uh-features { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .uh-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.uh-feature {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-4) var(--space-6); align-items: start;
  padding: var(--space-6); background: var(--surface); border: var(--border-hairline) solid var(--border);
}
@media (min-width: 1024px) { .uh-feature { padding: var(--space-8); } }
.uh-feature__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--surface-raised); color: var(--ink-strong); }
.uh-feature__title { font: 600 clamp(1.125rem, 1.05rem + .35vw, 1.375rem)/1.3 var(--font-display); letter-spacing: -.01em; color: var(--ink-strong); margin-bottom: var(--space-2); }

/* ------------------------------------------------------------------ services */
.uh-services { display: grid; gap: var(--space-12); }
.uh-service { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) {
  .uh-service { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; }
  .uh-service:nth-child(even) > .uh-figure { order: 2; }
  .uh-service > .uh-figure { order: -1; }
}
.uh-service__body { display: grid; gap: var(--space-3); max-width: 34rem; }
.uh-service__body .uh-step__index { margin-bottom: var(--space-2); }

.uh-areas { list-style: none; display: grid; gap: 0 var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.uh-areas li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: start;
  padding-block: var(--space-6); border-top: var(--border-hairline) solid var(--rule);
}
.uh-areas .uh-icon { color: var(--ink-strong); }
.uh-areas h3 { font: 600 18px/1.35 var(--font-display); }

/* ------------------------------------------------------------------ references: table, projects, galleries */
.uh-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.uh-table caption { text-align: left; }
.uh-table th {
  padding: 0 var(--space-4) var(--space-3) 0; border-bottom: var(--border-hairline) solid var(--rule); text-align: left; vertical-align: bottom;
  font: 600 12px/16px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted);
}
.uh-table td { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-bottom: var(--border-hairline) solid var(--surface-raised); vertical-align: top; }
.uh-table .is-num { width: 3.5rem; font: 600 14px/22px var(--font-display); letter-spacing: .04em; color: var(--gold-text); }
.uh-table td.is-area { text-align: right; padding-right: 0; white-space: nowrap; font: 700 15px/22px var(--font-display); color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.uh-table td.is-area span { color: var(--gold-text); }
.uh-table th.is-area { text-align: right; padding-right: 0; }
.uh-table a { font-weight: 700; color: var(--ink-strong); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.uh-table a:hover { text-decoration-color: var(--gold-text); }
@media (max-width: 719px) {
  .uh-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .uh-table, .uh-table tbody, .uh-table tr, .uh-table td { display: block; width: 100%; }
  .uh-table tr { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding-block: var(--space-4); border-bottom: var(--border-hairline) solid var(--surface-raised); }
  .uh-table tbody tr:first-child { border-top: var(--border-hairline) solid var(--rule); }
  .uh-table td { padding: 0; border: 0; }
  .uh-table .is-num { grid-row: span 3; width: auto; }
  .uh-table td.is-area { text-align: left; margin-top: var(--space-2); }
  .uh-table td[data-label]::before {
    content: attr(data-label); display: block; margin-top: var(--space-2);
    font: 600 11px/16px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted);
  }
}

.uh-projects { display: grid; }
.uh-project { display: grid; gap: var(--space-8); padding-block: 64px; border-top: var(--border-hairline) solid var(--surface-raised); }
.uh-project:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
  .uh-project { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding-block: var(--space-24); }
  .uh-project__info { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.uh-project__info { display: grid; gap: var(--space-2); }
.uh-project__info .uh-title { margin-top: 0; font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); }
.uh-project__stat { margin-top: var(--space-6); padding-top: var(--space-4); display: grid; gap: var(--space-2); }
.uh-project__value {
  font: 800 clamp(2.5rem, 2rem + 1.6vw, 3.25rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
.uh-project__value sup { font-size: .45em; line-height: 1; color: var(--gold-text); vertical-align: top; margin-left: 4px; position: relative; top: .12em; }
.uh-project__text { margin-top: var(--space-4); }
.uh-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-2) var(--space-6); margin-top: var(--space-6); padding-top: var(--space-4); border-top: var(--border-hairline) solid var(--surface-raised); font-size: 15px; line-height: 22px; }
.uh-facts dt { font: 600 11px/22px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.uh-facts dd { color: var(--ink-strong); }

.uh-gallery { display: grid; gap: var(--space-4); }
.uh-gallery__item { display: block; position: relative; overflow: hidden; background: var(--surface-raised); margin: 0; }
.uh-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.uh-gallery__item .uh-gallery__zoom {
  position: absolute; right: var(--space-3); bottom: var(--space-3); width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(15, 15, 15, .72); color: #ffffff; opacity: 0; transition: opacity .15s ease;
}
.uh-gallery__item .uh-gallery__zoom .uh-icon { width: 18px; height: 18px; }
.uh-gallery__item:hover .uh-gallery__zoom, .uh-gallery__item:focus-visible .uh-gallery__zoom { opacity: 1; }
.uh-gallery--single .uh-gallery__item { aspect-ratio: 16 / 10; }
.uh-gallery--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uh-gallery--feature .uh-gallery__item { aspect-ratio: 4 / 3; }
.uh-gallery--feature .uh-gallery__item:first-child { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .uh-gallery--feature { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 16 / 10; }
  .uh-gallery--feature .uh-gallery__item { aspect-ratio: auto; }
  .uh-gallery--feature .uh-gallery__item:first-child { grid-column: auto; grid-row: span 2; }
}
.uh-gallery--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.uh-gallery--trio .uh-gallery__item { aspect-ratio: 3 / 4; }
@media (max-width: 559px) {
  .uh-gallery--trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uh-gallery--trio .uh-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}
.uh-gallery__caption { grid-column: 1 / -1; }

.uh-note-panel { display: grid; align-content: center; gap: var(--space-4); min-height: 280px; padding: var(--space-8); background: var(--surface-raised); }
.uh-note-panel p { font-size: 17px; line-height: 28px; color: var(--ink); max-width: 36rem; }

/* ------------------------------------------------------------------ Callout (inverse band) */
.uh-inverse { background: var(--surface-inverse); color: var(--on-inverse); }
.uh-callout { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6); border-radius: var(--radius-none); font: 400 16px/26px var(--font-sans); }
@media (min-width: 720px) { .uh-callout { padding: var(--space-6) var(--space-8); } }
.uh-callout .uh-icon { margin-top: 1px; }
.uh-callout strong { font-weight: 700; }
.uh-callout a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ------------------------------------------------------------------ closing CTA band */
.uh-cta { background: var(--ground); padding-block: 72px; }
@media (min-width: 1024px) { .uh-cta { padding-block: 112px; } }
.uh-cta__inner { display: grid; gap: var(--space-8); align-items: end; }
@media (min-width: 1024px) { .uh-cta__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } .uh-cta__inner .uh-actions { justify-content: flex-end; } }
.uh-cta .uh-head { margin-bottom: 0; }

/* ------------------------------------------------------------------ contact page and form */
.uh-contact { display: grid; gap: var(--space-12); align-items: start; }
@media (min-width: 1024px) { .uh-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } .uh-contact__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.uh-panel { background: var(--surface); border: var(--border-hairline) solid var(--border); padding: var(--space-6); }
@media (min-width: 720px) { .uh-panel { padding: var(--space-8) 40px; } }
.uh-contact__aside { display: grid; gap: var(--space-6); }
.uh-contact__list { list-style: none; display: grid; gap: var(--space-6); margin-top: var(--space-6); }
.uh-contact__item p + p { margin-top: var(--space-2); }
.uh-contact__item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-2) var(--space-4); }
.uh-contact__item .uh-icon { color: var(--ink-strong); margin-top: 2px; }
.uh-contact__item dt { font: 600 12px/16px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-1); }
.uh-contact__item dd { color: var(--ink-strong); font-style: normal; }
.uh-contact__item a { color: var(--ink-strong); }

.uh-form { display: grid; gap: var(--space-8); }
.uh-form__head { display: grid; gap: var(--space-2); }
.uh-form__intro { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.uh-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--space-6); }
.uh-fieldset[hidden] { display: none; }
.uh-fieldset > legend { float: left; width: 100%; padding: 0; margin-bottom: var(--space-4); font: 600 20px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--ink-strong); }
.uh-fieldset > legend + * { clear: both; }
.uh-fieldset > legend .uh-opt { font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.uh-fieldset + .uh-fieldset { padding-top: var(--space-8); border-top: var(--border-hairline) solid var(--surface-raised); }
.uh-grid-2 { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .uh-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.uh-field { display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.uh-field__label { font: 600 15px/22px var(--font-sans); color: var(--ink-strong); }
.uh-field__label .uh-opt { font-weight: 400; color: var(--ink-muted); }
.uh-field__hint { font: 400 13px/20px var(--font-sans); color: var(--ink-muted); }
.uh-input, .uh-select, .uh-textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 16px/24px var(--font-sans); color: var(--ink-strong);
  background: var(--surface); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s ease; -webkit-appearance: none; appearance: none;
}
.uh-input::placeholder, .uh-textarea::placeholder { color: var(--ink-muted); opacity: 1; }
.uh-input:hover, .uh-select:hover, .uh-textarea:hover { border-color: var(--ink-muted); }
.uh-input:focus-visible, .uh-select:focus-visible, .uh-textarea:focus-visible { border-color: var(--ink-strong); }
.uh-textarea { min-height: 168px; resize: vertical; }
.uh-select-wrap { position: relative; }
.uh-select { padding-right: 44px; cursor: pointer; }
.uh-select-wrap .uh-icon { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--ink-strong); }
.uh-input[aria-invalid="true"], .uh-select[aria-invalid="true"], .uh-textarea[aria-invalid="true"] { border: 2px solid var(--danger); padding: 10px 13px; }
.uh-select[aria-invalid="true"] { padding-right: 43px; }
.uh-field__error { display: flex; gap: var(--space-2); align-items: flex-start; font: 600 14px/20px var(--font-sans); color: var(--danger); }
.uh-field__error[hidden] { display: none; }
.uh-field__error .uh-icon { width: 18px; height: 18px; margin-top: 1px; }
.uh-field__meta { display: flex; justify-content: space-between; gap: var(--space-4); }
.uh-counter { margin-left: auto; font: 400 13px/20px var(--font-sans); color: var(--ink-muted); font-variant-numeric: tabular-nums; }

.uh-choices { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .uh-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.uh-choice {
  display: flex; gap: var(--space-3); align-items: flex-start; min-height: 48px; padding: 12px 14px;
  background: var(--surface); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
  font: 400 15px/22px var(--font-sans); color: var(--ink-strong);
}
.uh-choice:hover { border-color: var(--ink-muted); }
.uh-choice:has(input:checked) { border-color: var(--ink-strong); background: var(--surface-raised); }
.uh-choice:has(input:focus-visible) { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.uh-choice input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold-deep); cursor: pointer; }
.uh-choice input:focus-visible { outline: none; }
.uh-choice--consent { background: transparent; border: 0; padding: 0; min-height: 0; }
.uh-choice--consent:hover { border: 0; }
.uh-choice--consent:has(input:checked) { background: transparent; }
.uh-choice--consent:has(input:focus-visible) { outline-offset: 4px; }

/* project files (files.js): a drop zone with a button, then the chosen files, name over size and state;
   while a file uploads the gold accent bar runs along the bottom of its row */
.uh-drop {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); padding: var(--space-4);
  background: var(--surface); border: var(--border-hairline) dashed var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease;
}
.uh-drop > .uh-icon { color: var(--ink-muted); }
.uh-drop__text { font: 400 15px/22px var(--font-sans); color: var(--ink); }
.uh-drop.is-over { border-style: solid; border-color: var(--ink-strong); background: var(--surface-raised); }
@media (hover: none), (pointer: coarse) {   /* phones and tablets do not drag files: the button alone */
  .uh-drop { padding: 0; border: 0; background: none; }
  .uh-drop > .uh-icon, .uh-drop__text { display: none; }
}
.uh-filelist { list-style: none; display: grid; gap: var(--space-2); }
.uh-file {
  position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) 40px; column-gap: var(--space-3); align-items: center;
  min-height: 56px; padding: 6px 6px 6px 14px;
  background: var(--surface); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-sm);
}
.uh-file > .uh-icon { grid-column: 1; grid-row: 1 / 3; width: 20px; height: 20px; color: var(--ink-muted); }
.uh-file__name { grid-column: 2; grid-row: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 15px/22px var(--font-sans); color: var(--ink-strong); }
.uh-file__meta { grid-column: 2; grid-row: 2; font: 400 13px/20px var(--font-sans); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.uh-file__remove {
  grid-column: 3; grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  background: none; border: 0; border-radius: var(--radius-sm); color: var(--ink-strong); cursor: pointer; transition: background-color .15s ease;
}
.uh-file__remove:hover { background: var(--surface-raised); }
.uh-file__remove .uh-icon { width: 18px; height: 18px; }
.uh-file__remove[disabled] { opacity: .35; cursor: default; background: none; }
.uh-file.is-done .uh-file__meta { color: var(--ink-strong); }
.uh-file.is-error { border-color: var(--danger); }
.uh-file.is-error .uh-file__meta { color: var(--danger); font-weight: 600; }
.uh-file.is-busy::after {
  content: ""; position: absolute; left: -1px; bottom: -1px; width: 32px; height: var(--border-accent); background: var(--gold);
  animation: uh-upload 1.2s ease-in-out infinite alternate;
}
@keyframes uh-upload { to { left: calc(100% - 31px); } }
@media (prefers-reduced-motion: reduce) { .uh-file.is-busy::after { animation: none; } }

.uh-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.uh-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.uh-form__submit .uh-btn { min-width: 200px; }
.uh-form__summary { padding: var(--space-6); background: var(--surface); border: 2px solid var(--danger); }
.uh-form__summary:focus { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.uh-form__summary h2 { display: flex; gap: var(--space-2); align-items: center; font: 600 18px/1.35 var(--font-display); color: var(--ink-strong); }
.uh-form__summary h2 .uh-icon { color: var(--danger); }
.uh-form__summary ul { margin-top: var(--space-3); padding-left: 1.25em; display: grid; gap: var(--space-1); }
.uh-form__summary a { color: var(--danger); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.uh-form__alert { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-6); border: 2px solid var(--danger); background: var(--surface); color: var(--ink-strong); }
.uh-form__alert .uh-icon { color: var(--danger); margin-top: 1px; }
.uh-form__alert a { color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--gold-text); text-underline-offset: 3px; }
.uh-success { display: grid; gap: var(--space-4); justify-items: start; }
.uh-success:focus { outline: none; }
.uh-success__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--surface-raised); color: var(--ink-strong); }
.uh-success h2 { font: 700 clamp(1.625rem, 1.3rem + 1vw, 2rem)/1.15 var(--font-display); letter-spacing: -.02em; }

/* ------------------------------------------------------------------ simple message pages (404, teşekkürler) */
.uh-message { display: grid; gap: var(--space-6); justify-items: start; max-width: 40rem; }

/* ------------------------------------------------------------------ footer */
.uh-footer { background: var(--ground); color: var(--ink); margin-top: auto; }
.uh-footer__grid { display: grid; }
@media (min-width: 1024px) { .uh-footer__grid { grid-template-columns: minmax(300px, 28%) minmax(0, 1fr); } }
.uh-footer__brand { display: grid; place-items: center; padding: 40px var(--gutter); background: #ffffff; }
.uh-footer__brand img { height: 150px; width: auto; }
@media (min-width: 1024px) { .uh-footer__brand { padding: 56px 40px; } .uh-footer__brand img { height: 200px; } }
.uh-footer__body { display: grid; gap: var(--space-12); padding: 48px var(--gutter) 32px; }
@media (min-width: 1024px) { .uh-footer__body { padding: 72px var(--gutter) 40px 64px; } }
.uh-footer__cols { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.uh-footer__title { margin-bottom: var(--space-4); font: 600 12px/16px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.uh-footer address { font-style: normal; display: grid; gap: var(--space-3); }
.uh-footer address p, .uh-footer li { color: var(--ink); }
.uh-footer address a, .uh-footer__links a { color: var(--ink-strong); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.uh-footer address a:hover, .uh-footer__links a:hover { text-decoration-color: var(--gold-text); }
.uh-footer__links { list-style: none; display: grid; gap: var(--space-2); }
.uh-k { display: block; margin-bottom: var(--space-1); font: 600 11px/16px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.uh-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-8);
  padding-top: var(--space-6); border-top: var(--border-hairline) solid var(--rule);
  font: 400 13px/20px var(--font-sans); color: var(--ink-muted);
}
.uh-footer__tagline { font: 600 11px/20px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; }

/* ------------------------------------------------------------------ lightbox */
.uh-lightbox { padding: 0; border: 0; background: transparent; color: #ffffff; max-width: min(1440px, 96vw); max-height: 94vh; overflow: visible; }
.uh-lightbox::backdrop { background: rgba(15, 15, 15, .94); }
.uh-lightbox[open] { animation: uh-fade .15s ease; }
.uh-lightbox figure { display: grid; gap: var(--space-3); }
.uh-lightbox img { max-height: 84vh; width: auto; max-width: 100%; margin-inline: auto; }
.uh-lightbox figcaption { font: 400 14px/22px var(--font-sans); color: #d9d5ce; text-align: center; }
.uh-lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(15, 15, 15, .8); color: #ffffff; border: var(--border-hairline) solid #77726b; border-radius: 0; cursor: pointer;
}
.uh-lightbox__close:hover { border-color: #ffffff; }
@keyframes uh-fade { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------------ scroll reveal (reveal.js)
   Blocks below the fold rise 16px and fade in as they enter the viewport, once. Gold accent bars
   draw from the left just after them; photos settle from a 6% zoom inside their frames. Screen
   only and never with reduced motion; reveal.js leaves whatever is on screen at load untouched. */
@media screen and (prefers-reduced-motion: no-preference) {
  .uh-reveal { opacity: 0; transform: translateY(16px); }
  .uh-reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .6s cubic-bezier(.33, 1, .68, 1) var(--uh-delay, 0ms),
                transform .8s cubic-bezier(.16, 1, .3, 1) var(--uh-delay, 0ms);
  }
  .uh-reveal .uh-label::before, .uh-label.uh-reveal::before, .uh-reveal .uh-step__index::after,
  .uh-reveal .uh-ruled::before, .uh-ruled.uh-reveal::before, .uh-reveal-bar::before {
    transform: scaleX(0); transform-origin: left center;
  }
  .uh-reveal.is-in .uh-label::before, .uh-label.uh-reveal.is-in::before, .uh-reveal.is-in .uh-step__index::after,
  .uh-reveal.is-in .uh-ruled::before, .uh-ruled.uh-reveal.is-in::before, .uh-reveal-bar.is-in::before {
    transform: none; transition: transform .7s cubic-bezier(.65, 0, .35, 1) calc(var(--uh-delay, 0ms) + 150ms);
  }
  .uh-reveal .uh-figure__frame img, .uh-reveal .uh-card__media img, .uh-gallery__item.uh-reveal img { transform: scale(1.06); }
  .uh-reveal.is-in .uh-figure__frame img, .uh-reveal.is-in .uh-card__media img, .uh-gallery__item.uh-reveal.is-in img {
    transform: none; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1) var(--uh-delay, 0ms);
  }
}

/* ------------------------------------------------------------------ page transitions (View Transitions API)
   Between pages the header stays put, the gold bar under the menu slides to the new page's item and the
   new page fades in over the old one with a 12px rise (the scroll reveal's motion). Chrome, Edge and
   Safari 18.2+; other browsers simply load the page. Screen only, never with reduced motion. */
@media screen and (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .uh-header { view-transition-name: uh-header; }
  ::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { animation: uh-page-in .45s cubic-bezier(.16, 1, .3, 1) both; }
  ::view-transition-group(uh-nav-bar) { animation-duration: .45s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
}
@keyframes uh-page-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .uh-header, .uh-hero__art, .uh-hero__foot, .uh-cta, .uh-skip, .uh-footer__brand { display: none !important; }
  [data-theme="dark"] { --ground: #fff; --ink: #000; --ink-strong: #000; --ink-muted: #444; --gold-text: #8a5a10; }
  .uh-pagehead__media { display: none; }
}
