/*
Theme Name: Studio Zaag
Theme URI: https://studio-zaag.nl
Author: Studio Zaag
Author URI: https://studio-zaag.nl
Description: Op maat gebouwd WordPress-thema voor Studio Zaag — houtdraaierij in Zevenbergen. Bevat de complete homepage (hero, over ons, collectie, op maat, werkwijze, projecten, beschikbaar werk, contact) gebakken in het thema zelf, zodat een herinstallatie van WordPress niet betekent dat de site opnieuw samengesteld moet worden uit losse HTML-blokken.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: studio-zaag
*/

/* ============================================================
   Alle onderstaande CSS komt uit 00-global-styles.css —
   de volledige visuele stijl van de site (kleuren, typografie,
   secties, animaties). WordPress laadt dit bestand automatisch
   als het hoofdstijlblad van het thema.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300..900,0..100,0..1&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=JetBrains+Mono:wght@400;500&display=swap");

  :root {
    --cream:      #F2ECDE;
    --bone:       #E8DFC9;
    --paper:      #EDE4CF;
    --walnut:     #1F150D;
    --coffee:     #4A321F;
    --wheat:      #A98A5E;
    --amber:      #C8772E;
    --rust:       #9A4A1F;
    --sage:       #6C7A5A;
    --ink:        #221812;

    --f-display: "Fraunces", "Times New Roman", serif;
    --f-body:    "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --f-mono:    "JetBrains Mono", ui-monospace, monospace;

    --maxw: 1320px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  .eyebrow {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--coffee);
  }

  h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 400;
    color: var(--walnut);
    font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
    line-height: 0.98;
    letter-spacing: -0.02em;
  }

  h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
  h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.015em; line-height: 1.1; }

  p { color: var(--coffee); }

  /* ------- NAV ------- */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 22px clamp(20px, 4vw, 48px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(242, 236, 222, 0.75);
    border-bottom: 1px solid rgba(31, 21, 13, 0.08);
  }

  .brand {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 14, "SOFT" 50;
    color: var(--walnut);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand .mark {
    width: 22px; height: 22px;
    border: 1.5px solid var(--walnut);
    border-radius: 50%;
    position: relative;
    display: inline-block;
  }
  .brand .mark::after {
    content: ""; position: absolute;
    inset: 4px;
    background: var(--amber);
    border-radius: 50%;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: clamp(18px, 3vw, 40px);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  nav ul a { position: relative; padding: 4px 0; }
  nav ul a::after {
    content:""; position:absolute; left:0; bottom:0;
    width: 0; height: 1px; background: var(--walnut);
    transition: width .3s ease;
  }
  nav ul a:hover::after { width: 100%; }

  .nav-cta {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 18px;
    background: var(--walnut);
    color: var(--cream);
    border-radius: 999px;
    transition: background .2s ease;
  }
  .nav-cta:hover { background: var(--amber); }

  @media (max-width: 820px) {
    nav ul { display: none; }
  }

  /* ------- HERO ------- */
  .hero {
    min-height: 100vh;
    padding: 140px clamp(20px, 4vw, 48px) 80px;
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
  }

  .hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
  }
  .hero-meta .eyebrow { max-width: 320px; }
  .hero-meta .year {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--coffee);
    text-transform: uppercase;
  }

  .hero h1 {
    font-size: clamp(4rem, 13vw, 12rem);
    font-weight: 300;
    line-height: 0.88;
    letter-spacing: -0.035em;
    color: var(--walnut);
    font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--coffee);
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  }
  .hero h1 .amp {
    color: var(--amber);
    font-style: italic;
    font-weight: 300;
  }

  .hero-bottom {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: end;
    margin-top: 20px;
  }
  .hero-bottom p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 52ch;
    color: var(--coffee);
  }
  .hero-bottom p em {
    font-family: var(--f-display);
    font-style: italic;
    color: var(--walnut);
  }

  .hero-image {
    aspect-ratio: 4 / 3;
    background: var(--paper);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.4) inset,
      0 30px 60px -20px rgba(31, 21, 13, 0.28);
  }

  .wood-illustration { width: 100%; height: 100%; }

  @media (max-width: 820px) {
    .hero-bottom { grid-template-columns: 1fr; }
  }

  /* ------- MARQUEE ------- */
  .marquee {
    border-top: 1px solid rgba(31, 21, 13, 0.15);
    border-bottom: 1px solid rgba(31, 21, 13, 0.15);
    overflow: hidden;
    padding: 18px 0;
    background: var(--bone);
    position: relative;
    z-index: 2;
  }
  .marquee-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: scroll 38s linear infinite;
    font-family: var(--f-display);
    font-size: 22px;
    font-style: italic;
    color: var(--walnut);
    font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  }
  .marquee-track span { display: flex; align-items: center; gap: 60px; }
  .marquee-track .dot {
    width: 8px; height: 8px; background: var(--amber); border-radius: 50%;
    display: inline-block;
  }
  @keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ------- SECTION LAYOUT ------- */
  section {
    padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 48px);
    max-width: var(--maxw);
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: start;
  }
  .section-head .label {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coffee);
  }
  .section-head .label .num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 40px;
    color: var(--amber);
    line-height: 1;
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  }
  @media (max-width: 820px) {
    .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
  }

  /* ------- ABOUT ------- */
  .about {
    background: var(--paper);
    max-width: none;
    padding-left: 0; padding-right: 0;
  }
  .about-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
  }
  .about p {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    line-height: 1.55;
    color: var(--walnut);
    font-family: var(--f-display);
    font-weight: 300;
    font-variation-settings: "opsz" 48, "SOFT" 50;
  }
  .about p em { font-style: italic; color: var(--coffee); }
  .about p + p { margin-top: 28px; }

  .about-meta {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-top: 1px solid rgba(31,21,13,0.15);
    padding-top: 40px;
  }
  .about-meta .stat .num {
    font-family: var(--f-display);
    font-size: 3.2rem;
    line-height: 1;
    color: var(--walnut);
    font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  }
  .about-meta .stat .num em {
    font-style: italic;
    color: var(--amber);
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  }
  .about-meta .stat .lbl {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coffee);
    margin-top: 10px;
  }
  @media (max-width: 720px) {
    .about-meta { grid-template-columns: 1fr; gap: 22px; }
  }

  /* ------- SERVICES ------- */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(31, 21, 13, 0.12);
    border: 1px solid rgba(31, 21, 13, 0.12);
  }
  .service {
    background: var(--cream);
    padding: 40px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 280px;
    position: relative;
    transition: background .35s ease;
    cursor: default;
  }
  .service:hover { background: var(--bone); }
  .service .num {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--wheat);
    letter-spacing: 0.15em;
  }
  .service h3 {
    font-size: 1.8rem;
    font-variation-settings: "opsz" 48, "SOFT" 40, "WONK" 1;
  }
  .service h3 em {
    font-style: italic;
    color: var(--amber);
    font-variation-settings: "opsz" 48, "SOFT" 100, "WONK" 1;
  }
  .service p { font-size: 15px; line-height: 1.55; }
  .service .tags {
    margin-top: auto;
    display: flex; flex-wrap: wrap; gap: 8px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coffee);
  }
  .service .tags span {
    padding: 5px 10px;
    border: 1px solid rgba(31, 21, 13, 0.2);
    border-radius: 999px;
  }
  @media (max-width: 720px) {
    .services-grid { grid-template-columns: 1fr; }
  }

  /* ------- SPECIAL PROJECTS ------- */
  .special {
    background: var(--sage);
    max-width: none;
    padding-left: 0; padding-right: 0;
    position: relative;
    overflow: hidden;
  }
  .special::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 15% 20%, rgba(242, 236, 222, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 85% 80%, rgba(200, 119, 46, 0.12) 0%, transparent 45%);
    pointer-events: none;
  }
  .special-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    position: relative;
    z-index: 2;
  }
  .special .section-head .label {
    color: rgba(242, 236, 222, 0.7);
  }
  .special .section-head .label .num {
    color: var(--cream);
  }
  .special h2 {
    color: var(--cream);
  }
  .special h2 em {
    color: #F2C77C !important;
  }

  .special-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    max-width: 1000px;
  }
  .special-intro p {
    color: rgba(242, 236, 222, 0.85);
    font-family: var(--f-display);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.55;
    font-weight: 300;
    font-variation-settings: "opsz" 48, "SOFT" 50;
  }
  .special-intro p em {
    font-style: italic;
    color: var(--cream);
  }
  .special-intro .lead {
    color: var(--cream);
    font-style: italic;
    font-variation-settings: "opsz" 48, "SOFT" 100;
  }
  @media (max-width: 720px) {
    .special-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  }

  .special-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(31, 21, 13, 0.15);
    border: 1px solid rgba(31, 21, 13, 0.15);
  }
  .special-card {
    background: #5A6A4A;
    padding: 32px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background .35s ease;
    color: rgba(242, 236, 222, 0.85);
    min-height: 260px;
  }
  .special-card:hover { background: #4A5A3A; }
  .special-card .ic {
    color: #F2C77C;
    width: 44px; height: 44px;
    margin-bottom: 8px;
  }
  .special-card .ic svg { width: 100%; height: 100%; }
  .special-card h4 {
    font-family: var(--f-display);
    font-size: 1.3rem;
    color: var(--cream);
    font-weight: 400;
    line-height: 1.15;
    font-variation-settings: "opsz" 48, "SOFT" 60, "WONK" 1;
  }
  .special-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(242, 236, 222, 0.75);
  }
  @media (max-width: 900px) {
    .special-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 520px) {
    .special-grid { grid-template-columns: 1fr; }
  }

  .special-cta {
    margin-top: 60px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 32px;
    background: var(--cream);
    color: var(--walnut);
    border-radius: 999px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
  }
  .special-cta:hover {
    background: #F2C77C;
    transform: translateY(-2px);
  }
  .special-cta .arrow {
    font-family: var(--f-display);
    font-size: 16px;
    transition: transform .25s ease;
  }
  .special-cta:hover .arrow { transform: translateX(4px); }

  /* ------- WERK (AVAILABLE PIECES) ------- */
  .werk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .werk-card {
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border: 1px solid rgba(31, 21, 13, 0.12);
    transition: transform .35s ease, box-shadow .35s ease;
    cursor: pointer;
  }
  .werk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -20px rgba(31, 21, 13, 0.25);
  }
  .werk-card .img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--paper);
    position: relative;
  }
  .werk-card .img svg { width: 100%; height: 100%; display: block; }
  .werk-card .img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .werk-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: repeating-linear-gradient(
      45deg,
      #EDE4CF,
      #EDE4CF 10px,
      #E5DCC4 10px,
      #E5DCC4 20px
    );
    color: var(--coffee);
    text-align: center;
    padding: 20px;
    border: 1px dashed rgba(31, 21, 13, 0.18);
  }
  .werk-placeholder svg {
    width: 38px; height: 38px;
    opacity: 0.55;
  }
  .werk-placeholder .name {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--walnut);
    font-variation-settings: "opsz" 48, "SOFT" 80, "WONK" 1;
  }
  .werk-placeholder .hint {
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wheat);
    margin-top: 4px;
  }

  .werk-intro {
    margin-bottom: 50px;
    padding: 20px 24px;
    background: rgba(108, 122, 90, 0.08);
    border-left: 3px solid var(--sage);
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .werk-intro .icon {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
  }
  .werk-intro p {
    font-size: 14.5px;
    color: var(--coffee);
    line-height: 1.55;
    margin: 0;
  }
  .werk-intro strong {
    color: var(--walnut);
    font-weight: 600;
  }
  .werk-intro code {
    font-family: var(--f-mono);
    font-size: 12.5px;
    background: rgba(31, 21, 13, 0.06);
    padding: 1px 6px;
    border-radius: 3px;
    color: var(--walnut);
  }
  .werk-card .status {
    position: absolute;
    top: 14px; left: 14px;
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--walnut);
    border: 1px solid rgba(31, 21, 13, 0.15);
  }
  .werk-card .status.reserved {
    background: var(--walnut);
    color: var(--cream);
    border-color: var(--walnut);
  }
  .werk-card .status.request {
    background: transparent;
    color: var(--coffee);
    border-color: var(--wheat);
  }
  .werk-card .info {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(31, 21, 13, 0.08);
  }
  .werk-card .info .meta-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }
  .werk-card .info h4 {
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--walnut);
    line-height: 1.15;
    font-variation-settings: "opsz" 48, "SOFT" 50, "WONK" 1;
  }
  .werk-card .info h4 em {
    font-style: italic;
    color: var(--coffee);
    font-variation-settings: "opsz" 48, "SOFT" 100, "WONK" 1;
  }
  .werk-card .info .price {
    font-family: var(--f-display);
    font-size: 1.05rem;
    color: var(--amber);
    font-style: italic;
    white-space: nowrap;
    font-variation-settings: "opsz" 48, "SOFT" 100, "WONK" 1;
  }
  .werk-card .info .desc {
    font-size: 13.5px;
    color: var(--coffee);
    line-height: 1.5;
    margin-top: 4px;
  }
  .werk-card .info .specs {
    margin-top: 10px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wheat);
  }
  @media (max-width: 900px) {
    .werk-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  }
  @media (max-width: 560px) {
    .werk-grid { grid-template-columns: 1fr; }
  }

  .werk-note {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(31, 21, 13, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .werk-note p {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--coffee);
    max-width: 60ch;
    font-variation-settings: "opsz" 48, "SOFT" 80;
  }
  .werk-note a {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--walnut);
    border-bottom: 1px solid var(--walnut);
    padding-bottom: 3px;
    transition: color .2s ease, border-color .2s ease;
  }
  .werk-note a:hover { color: var(--amber); border-color: var(--amber); }

  /* ------- PROCESS ------- */
  .process-list { display: flex; flex-direction: column; }
  .step {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 40px;
    padding: 36px 0;
    border-top: 1px solid rgba(31, 21, 13, 0.15);
    align-items: baseline;
    transition: padding-left .4s ease;
  }
  .step:last-child { border-bottom: 1px solid rgba(31, 21, 13, 0.15); }
  .step:hover { padding-left: 16px; }
  .step .num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 2.6rem;
    color: var(--amber);
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
    line-height: 1;
  }
  .step h3 {
    font-size: 1.6rem;
    font-variation-settings: "opsz" 48, "SOFT" 50, "WONK" 1;
  }
  .step p { font-size: 15.5px; }
  @media (max-width: 820px) {
    .step { grid-template-columns: 60px 1fr; }
    .step p { grid-column: 2; margin-top: 10px; }
  }

  /* ------- PORTFOLIO ------- */
  .work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }
  .piece {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 40px -20px rgba(31, 21, 13, 0.35);
    cursor: pointer;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .piece:hover { transform: translateY(-6px); }
  .piece .caption {
    position: absolute; left: 20px; bottom: 18px; right: 20px;
    display: flex; justify-content: space-between; align-items: end;
    color: var(--cream);
    z-index: 2;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
    gap: 12px;
  }
  .piece .caption h4 {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--cream);
    font-variation-settings: "opsz" 48, "SOFT" 60, "WONK" 1;
  }
  .piece .caption .meta {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(242, 236, 222, 0.85);
    text-align: right;
    white-space: nowrap;
  }
  .piece::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(31,21,13,0.55) 0%, rgba(31,21,13,0) 50%);
    pointer-events: none;
  }
  .piece svg { width: 100%; height: 100%; display: block; }
  .piece.tall   { grid-column: span 5; aspect-ratio: 3/4; }
  .piece.wide   { grid-column: span 7; aspect-ratio: 4/3; }
  .piece.medium { grid-column: span 6; aspect-ratio: 4/3; }
  @media (max-width: 820px) {
    .work-grid { grid-template-columns: 1fr; gap: 18px; }
    .piece.tall, .piece.wide, .piece.medium { grid-column: span 1; aspect-ratio: 4/3; }
  }

  /* ------- CONTACT ------- */
  .contact {
    background: var(--walnut);
    color: var(--cream);
    max-width: none;
    padding-left: 0; padding-right: 0;
    position: relative;
    overflow: hidden;
  }
  .contact-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    position: relative;
    z-index: 2;
  }
  .contact h2 {
    color: var(--cream);
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: -0.03em;
    font-weight: 300;
    line-height: 0.95;
  }
  .contact h2 em {
    font-style: italic;
    color: var(--amber);
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  }
  .contact p {
    color: rgba(242, 236, 222, 0.75);
    max-width: 50ch;
    font-size: 17px;
    margin-top: 28px;
  }

  .contact-form {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
    max-width: 780px;
  }
  .contact-form label {
    display: flex; flex-direction: column; gap: 8px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(242, 236, 222, 0.55);
  }
  .contact-form .wide { grid-column: 1 / -1; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(242, 236, 222, 0.25);
    padding: 10px 0;
    color: var(--cream);
    font-family: var(--f-body);
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease;
  }
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus {
    border-color: var(--amber);
  }
  .contact-form textarea { resize: vertical; min-height: 90px; }
  .contact-form select { appearance: none; cursor: pointer; }
  .contact-form select option { background: var(--walnut); color: var(--cream); }

  .submit {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 20px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 16px 32px;
    background: var(--amber);
    color: var(--walnut);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    font-weight: 600;
  }
  .submit:hover { background: var(--cream); transform: translateY(-2px); }

  .contact-details {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(242, 236, 222, 0.18);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .contact-details .eyebrow { color: rgba(242, 236, 222, 0.55); }
  .contact-details div p {
    margin-top: 10px;
    font-family: var(--f-display);
    color: var(--cream);
    font-size: 1.2rem;
    font-variation-settings: "opsz" 48, "SOFT" 50;
  }
  @media (max-width: 720px) {
    .contact-form { grid-template-columns: 1fr; }
    .contact-details { grid-template-columns: 1fr; gap: 24px; }
  }

  /* ------- FOOTER ------- */
  footer {
    background: var(--walnut);
    color: rgba(242, 236, 222, 0.6);
    padding: 40px clamp(20px, 4vw, 48px);
    border-top: 1px solid rgba(242, 236, 222, 0.12);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 2;
  }
  footer a {
    color: rgba(242, 236, 222, 0.6);
    transition: color .2s ease;
  }
  footer a:hover { color: var(--amber); }

  /* ------- ENTRY ANIMATION ------- */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.8,.2,1);
  }
  .fade-up.in { opacity: 1; transform: translateY(0); }

  .hero h1 .line { display: block; overflow: hidden; }
  .hero h1 .line span {
    display: inline-block;
    transform: translateY(100%);
    animation: rise 1.1s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .hero h1 .line:nth-child(1) span { animation-delay: .1s; }
  .hero h1 .line:nth-child(2) span { animation-delay: .3s; }
  @keyframes rise { to { transform: translateY(0); } }

  .hero-meta, .hero-bottom, .hero-image {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: .8s;
  }
  .hero-bottom { animation-delay: 1s; }
  .hero-image  { animation-delay: 1.2s; }
  @keyframes fadeIn { to { opacity: 1; } }
