/* ── Fonts ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'TexGyreHeros';
  src: url('fonts/texgyreheros-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TexGyreHeros';
  src: url('fonts/texgyreheros-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:         #F7F7F5;   /* off-white, slightly warm */
  --bg-alt:     #EDECEA;   /* muted warm grey for row-2 */
  --ink:        #111110;   /* near-black */
  --ink-mid:    #767370;   /* secondary / muted text */
  --blue:       #2E4F7A;   /* blueprint slate blue — labels & accents */
  --gold:       #A07838;   /* brass / craftsmanship — label border */
  --border:     #D6D4D0;   /* hairline dividers */
  --ff:         'TexGyreHeros', Helvetica, Arial, sans-serif;
  --row-h:      58vh;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header / Toolbar ───────────────────────────────────────────────── */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

#Logo {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  user-select: none;
}

#contact_button {
  margin-left: auto;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  border: none;
  padding: 0.625rem 1.375rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

#contact_button:hover {
  background: var(--ink);
}

#contact_button:active {
  transform: scale(0.97);
}

#contact_button:hover {
  background: var(--ink-mid);
}

/* ── Main ───────────────────────────────────────────────────────────── */
main {
  flex: 1;
}

/* ── Shared row layout ──────────────────────────────────────────────── */
.row-1,
.row-2 {
  display: flex;
  align-items: stretch;
  min-height: var(--row-h);
}

.row-1 { background: var(--bg); }
.row-2 { background: var(--bg-alt); }

/* ── Image columns ──────────────────────────────────────────────────── */
.row-1-image,
.row-2-image {
  flex: 1;
  overflow: hidden;
}

.row-1-image img,
.row-2-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Text columns ───────────────────────────────────────────────────── */
.row-1-text,
.row-2-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}

/* ── Subtitles / eyebrow labels ─────────────────────────────────────── */

/* Signature element: a thin brass left-border marks each section label,
   referencing the precision lines of architectural blueprints. */
.subtitle-1,
.subtitle-2 {
  display: inline-block;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  padding-left: 0.875rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 1.375rem;
}

/* ── Body paragraphs ────────────────────────────────────────────────── */
.row-1-text > p:not(.subtitle-1),
.row-2-text > p:not(.subtitle-2) {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.78;
  color: var(--ink);
  max-width: 80ch;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  min-height: 72px;
  background: var(--ink);
  display: flex;
  align-items: center;
  padding: 1.25rem 3rem;
  justify-content: center;
}

.footer p {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: center;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .row-1-text,
  .row-2-text {
    padding: 3rem 3.5rem;
  }
}

@media (max-width: 640px) {
  .toolbar {
    padding: 0 1.25rem;
  }

  .row-1,
  .row-2 {
    flex-direction: column;
    min-height: auto;
  }

  .row-1-image,
  .row-2-image {
    height: 52vw;
    min-height: 200px;
    flex: none;
  }

  .row-1-text,
  .row-2-text {
    padding: 2.5rem 1.25rem;
    flex: none;
  }

  .row-1-text > p:not(.subtitle-1),
  .row-2-text > p:not(.subtitle-2) {
    max-width: 100%;
  }

  .footer {
    padding: 1.25rem;
  }
}

/* ── Accessibility: reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}