  /* Fonts: Cormorant Garamond + Jost, self-hosted (SIL Open Font License) */
  @font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
  @font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
  @font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
  @font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }

  :root {
    --char: #262523;
    --char-2: #312f2c;
    --wood: #9a6338;
    --wood-dk: #7c4d29;
    --cream: #f7f3ec;
    --paper: #fbf9f5;
    --ink: #262523;
    --muted: #665f57;
    --line: #e4dccf;
    --wrap: 1160px;
    --gut: 24px;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
  }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; }
  h1, h2, h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 .5em;
    letter-spacing: .005em;
  }
  h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
  h3 { font-size: 1.55rem; }
  p { margin: 0 0 1em; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
  .eyebrow {
    display: block;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--wood);
    margin-bottom: .9rem;
  }
  .lede { color: var(--muted); max-width: 56ch; font-size: 1.05rem; }
  section { padding: clamp(64px, 9vw, 112px) 0; }
  :focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.5em;
    border-radius: 4px;
    font: 500 .92rem/1 "Jost", system-ui, sans-serif;
    letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    border: 1.5px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
  }
  .btn-wood { background: var(--wood); color: #fff; }
  .btn-wood:hover { background: var(--wood-dk); }
  .btn-ghost { border-color: rgba(247,243,236,.45); color: var(--cream); }
  .btn-ghost:hover { border-color: var(--cream); background: rgba(247,243,236,.08); }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(251,249,245,.94);
    backdrop-filter: saturate(1.2) blur(8px);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .brand img { height: 40px; width: auto; }
  .nav { display: flex; align-items: center; }
  .nav .btn { color: #fff; padding: .75em 1.3em; font-size: .8rem; }

  /* Hero */
  .hero { background: var(--char); color: var(--cream); padding: 0; overflow: hidden; }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    min-height: min(80vh, 700px);
  }
  .hero-copy {
    align-self: center;
    padding: 72px 40px 72px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
    position: relative; z-index: 1;
  }
  .hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); color: var(--cream); margin-bottom: .45em; }
  .hero p { color: rgba(247,243,236,.78); font-size: 1.08rem; max-width: 34ch; margin-bottom: 2em; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-img { position: relative; min-height: 320px; }
  .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
  .hero-img::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--char) 0%, rgba(38,37,35,.9) 10%, rgba(38,37,35,.45) 26%, rgba(38,37,35,0) 48%);
  }

  /* Gallery: landscape tiles take one row, portrait (.tall) tiles take two */
  .gallery {
    --cols: 3; --gap: 16px;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    grid-auto-rows: calc((min(100vw, var(--wrap)) - 2 * var(--gut) - (var(--cols) - 1) * var(--gap)) / var(--cols) * .75);
    grid-auto-flow: dense;
    gap: var(--gap);
    margin-top: 44px;
  }
  .tile { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: var(--line); }
  .tile.tall { grid-row: span 2; }
  .tile.wide { grid-column: span 2; }
  .tile.wide img { object-position: 50% 68%; }
  .tile button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
  .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .tile button:hover img { transform: scale(1.03); }
  .tile figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
    padding: 36px 14px 11px;
    font-size: .88rem; line-height: 1.35; color: #fff;
    background: linear-gradient(0deg, rgba(20,19,18,.78), rgba(20,19,18,0));
  }

  /* What I make */
  .make { background: var(--cream); }
  .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
  .card { border-top: 2px solid var(--wood); padding-top: 22px; }
  .card p { color: var(--muted); margin: 0; }

  /* Process */
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
  .split figure { margin: 0; }
  .split figure img { border-radius: 3px; width: 100%; }
  .split figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
  .steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; }
  .steps li { counter-increment: step; position: relative; padding: 0 0 22px 56px; }
  .steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: -2px;
    width: 38px; height: 38px; border-radius: 50%;
    border: 1.5px solid var(--wood); color: var(--wood);
    display: grid; place-items: center;
    font: 600 1.2rem/1 "Cormorant Garamond", Georgia, serif;
  }
  .steps strong { display: block; font-weight: 500; font-size: 1.05rem; }
  .steps span { color: var(--muted); }

  /* About */
  .about { background: var(--char); color: var(--cream); }
  .about h2 { color: var(--cream); }
  .about p { color: rgba(247,243,236,.8); max-width: 54ch; }
  .about .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .about figure { margin: 0; }
  .about figure img { border-radius: 3px; width: 100%; }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
  .details { list-style: none; padding: 0; margin: 32px 0 0; }
  .details li { padding: 14px 0; border-top: 1px solid var(--line); }
  .details li:last-child { border-bottom: 1px solid var(--line); }
  .details small { display: block; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wood); font-weight: 500; }
  .details a { text-decoration: none; font-size: 1.15rem; }
  .details a:hover { color: var(--wood); }
  .details .note { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
  form { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 4vw, 36px); }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
  .field { margin-bottom: 18px; }
  input, select, textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 12px 14px; border: 1px solid #d8cfc1; border-radius: 4px; background: var(--paper);
  }
  textarea { min-height: 150px; resize: vertical; }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(154,99,56,.18); }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  form .btn { width: 100%; padding: 1em; font-size: .95rem; }
  .form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; min-height: 1.4em; }
  .form-note.ok { color: #2f6b3a; }
  .form-note.err { color: #9b2c2c; }

  /* Footer */
  footer { background: var(--char); color: rgba(247,243,236,.72); padding: 56px 0 40px; font-size: .92rem; border-top: 1px solid rgba(247,243,236,.08); }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
  footer img { width: 132px; height: auto; }
  footer a { text-decoration: none; }
  footer a:hover { color: var(--cream); }
  footer .meta { text-align: right; }

  /* Featured project band */
  .feature { padding-top: 0; }
  .feature-img { display: block; border-radius: 3px; overflow: hidden; }
  .feature-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
  .feature-img:hover img { transform: scale(1.02); }
  .feature .lede { margin-bottom: 1.6em; }

  /* Lightbox */
  dialog.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
  dialog.lb::backdrop { background: rgba(22,21,20,.94); }
  .lb-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px 28px; }
  .lb img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 2px; }
  .lb p { color: var(--cream); margin: 14px 0 0; text-align: center; font-size: .95rem; }
  .lb button {
    position: fixed; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(247,243,236,.35); background: rgba(38,37,35,.6); color: var(--cream);
    font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  }
  .lb button:hover { background: var(--wood); border-color: var(--wood); }
  .lb .close { top: 14px; right: 14px; }
  .lb .prev { left: 14px; top: 50%; transform: translateY(-50%); }
  .lb .next { right: 14px; top: 50%; transform: translateY(-50%); }

  /* Responsive */
  @media (max-width: 960px) {
    .gallery { --cols: 2; --gap: 12px; }
    .cards { grid-template-columns: 1fr; gap: 24px; }
  }
  @media (max-width: 860px) {
    :root { --gut: 16px; }
    body { font-size: 16px; }
    .site-header .wrap { height: 60px; }
    .brand img { height: 32px; }
    .nav .btn { padding: .65em 1em; font-size: .74rem; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-img { order: -1; aspect-ratio: 16 / 11; min-height: 0; }
    .hero-img::before { background: linear-gradient(0deg, var(--char) 0%, rgba(38,37,35,0) 30%); }
    .hero-copy { padding: 8px var(--gut) 56px; }
    .split, .about .split, .contact-grid { grid-template-columns: 1fr; }
    .about .split figure { order: -1; }
    .row { grid-template-columns: 1fr; gap: 0; }
    footer .wrap { flex-direction: column; align-items: flex-start; }
    footer .meta { text-align: left; }
    .lb-inner { padding: 64px 12px 24px; }
    .lb .prev, .lb .next { top: auto; bottom: 18px; transform: none; }
  }
  @media (max-width: 420px) {
    .tile figcaption { font-size: .78rem; padding: 28px 10px 8px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tile img { transition: none; }
  }
