/* ---------- Color system ---------- */

:root {
    --accent: #c88a2c;   /* warm gold */
    --text: #4a4a4a;
    --muted: #8f8f8f;
    --bg: #ffffff;
    --border-subtle: #e5e5e5;
  }
  
  @media (prefers-color-scheme: dark) {
    :root {
      --accent: #e2a64a;
      --text: #f4f4f4;
      --muted: #b0b0b0;
      --bg: #050608;
      --border-subtle: #333333;
    }
  }
  
  /* ---------- Base & layout ---------- */
  
  [hidden] {
    display: none !important;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
  }
  
  .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* ---------- Hero (header) ---------- */
  
  .hero {
    position: sticky;
    top: 0;
    z-index: 1000; /* keep it above the scrolling content */
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(to bottom, #fafafa, #ffffff);
  }
  
  
  @media (prefers-color-scheme: dark) {
    .hero {
      background: radial-gradient(circle at top left, #181818 0, #050608 55%, #050608 100%);
    }
  }
  
  /* slightly tighter vertical spacing in the hero */
  .hero .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  
  .hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  
  /* Logo + name */
  
  .hero-logo {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .hero-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }
  
  .hero-logo-link:hover {
    opacity: 0.9;
  }
  
  
  .logo-mark {
    height: 52px;
    width: auto;
  }
  
  h1 {
    font-family: "Cinzel", serif;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 1.6rem;
    margin: 0;
  }
  
  /* Bridge image */
  
  .hero-image {
    flex: 0 0 auto;
    text-align: right;
  }
  
  .hero-image img {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 4px;
  }
  
  /* ---------- Main content ---------- */
  
  .content {
    padding-top: 16px;   /* bring body a bit closer to header */
    padding-bottom: 32px;
  }
  
  .about p + p {
    margin-top: 0.75rem;
  }
  
  .contact {
    margin-top: 32px;
  }
  
  /* Headings */
  
  h2 {
    font-family: "Cinzel", serif;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 0 0 8px 0;
  }
  
  .page-title {
    font-family: "Cinzel", serif;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-top: 4px;
    margin-bottom: 16px;
  }
  

  
  address {
    font-style: normal;
    margin: 0 0 10px 0;
  }
  
  .contact-lines {
    margin: 0;
  }
  
  /* ---------- Links ---------- */
  
  a {
    color: var(--accent);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* ---------- Footer ---------- */
  
  footer {
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
  }
  
  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 0.85rem;
    color: var(--muted);
  }
  
  .footer-links a {
    color: var(--muted);
  }
  
  .footer-links a:hover {
    color: var(--accent);
  }
  
  .footer-links .separator {
    margin: 0 8px;
  }
  
  /* ---------- Responsive behaviour ---------- */
  
  /* Stack logo + bridge on "narrow desktop" and down */
  @media (max-width: 1024px) {
    .hero-inner {
      flex-direction: column;
      align-items: center;   /* center the whole header block */
      gap: 16px;
    }
  
    /* Logo + text stack vertically and center */
    .hero-logo {
      order: 0;
      flex-direction: column;
      align-items: center;
    }
  
    .hero-logo h1 {
      text-align: center;    /* center multi-line text */
    }
  
    /* Bridge centered underneath */
    .hero-image {
      order: 1;
      text-align: center;
    }
  
    .hero-image img {
      max-width: 200px;
    }
  
    h1 {
      font-size: 1.4rem;
      letter-spacing: 0.14em;
    }
  
    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  @media (max-width: 1024px) {
    .hero-inner {
      flex-direction: column;   /* stack logo row above bridge */
      align-items: center;      /* center the header contents */
      gap: 16px;
    }
  
    /* Logo + text stay in a row, but the whole row is centered */
    .hero-logo {
      order: 0;
      display: flex;            /* ensure flex; should already be, but safe */
      flex-direction: row;      /* keep logo to the left of text */
      align-items: center;
      justify-content: center;  /* center the row as a unit */
      gap: 12px;
    }
  
    .hero-logo h1 {
      text-align: left;         /* or 'center' if you prefer centered text */
    }
  
    /* Bridge centered underneath */
    .hero-image {
      order: 1;
      text-align: center;
    }
  
    .hero-image img {
      max-width: 200px;
    }
  
    h1 {
      font-size: 1.4rem;
      letter-spacing: 0.14em;
    }
  
    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  
  /* Extra tightening on small phones */
  @media (max-width: 480px) {
    .container {
      padding: 16px;
    }
  
    .hero .container {
      padding-top: 10px;
      padding-bottom: 10px;
    }
  
    .hero-image img {
      max-width: 180px;
    }

  }
  