  :root {
    --sage: #7d9e72;
    --sage-light: #a4bf9a;
    --cream: #f0e8d5;
    --cream-dark: #d9ccb3;
    --chrome-dark: #9a9488;
  }

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

  body {
    background: #7d9e72 url('sage-bg.png') center center / cover no-repeat fixed;
    font-family: 'Space Mono', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: crosshair;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
    opacity: 0.5;
  }

  header {
    padding: 24px 60px 16px;
    text-align: center;
  }
  .site-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 5vw, 4.2rem);
    color: black;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }
  .site-title em { color: #113b02; font-style: italic; }

  /*  FLIP CARD  */
  .camera-wrap {
    perspective: 1400px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 100%;
  }

  .camera-flipper {
    position: relative;
    width: min(700px, 95vw);
    height: 800px;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }

  /*  FRONT  */
  .camera-front { background: transparent; }
  .camera-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: lighten;
  }
  .flip-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
  }
  .camera-wrap:hover .flip-hint { opacity: 0.85; }

  /*  CONTACT  */
  .contact-section {
    position: fixed;
    bottom: 24px;
    left: 0;
    z-index: 30;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 16px 40px 24px;
    animation: fadeUp 0.5s 0.3s ease both;
    pointer-events: all;
  }
  body.viewing-reel .contact-section {
    position: relative;
    bottom: auto;
    animation: none;
  }
  .contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }
  .contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #19350f;
    text-decoration: none;
    border: 1px solid rgba(25,53,15,0.25);
    padding: 9px 16px;
    border-radius: 4px;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: border-color 0.18s, color 0.18s, background 0.18s;
  }
  .contact-link:hover {
    border-color: #19350f;
    color: #19350f;
    background: rgba(25,53,15,0.08);
  }
  .contact-link svg {
    width: 13px; height: 13px;
    fill: currentColor;
    flex-shrink: 0;
    opacity: 0.8;
  }



  @media (max-width: 480px) {
    header { padding: 28px 20px 16px; }
    .contact-link span { display: none; }
  }

  /*  SHUTTER BUTTON  */
  .shutter-btn {
    position: absolute;
    top: 11%;
    left: 28%;
    width: clamp(52px, 4%, 34px);
    height: clamp(14px, 2.5%, 22px);
    border-radius: 14px 14px 6px 6px;
    background: linear-gradient(to bottom, #f0eeea, #dddbd4);
    border: 1.5px solid #c8c5bc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.35), inset 0 1px 2px rgba(255,255,255,0.6);
    cursor: pointer;
    transition: transform 0.08s, box-shadow 0.08s;
    z-index: 20;
  }
  .shutter-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.35), inset 0 2px 3px rgba(0,0,0,0.15);
  }
  .shutter-inner { display: none; }

  /*  FLASH  */
  .flash-overlay {
    position: fixed;
    inset: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.05s;
  }
  .flash-overlay.flash-on { opacity: 1; }
  .flash-overlay.flash-off { opacity: 0; transition: opacity 0.4s ease-out; }

  /*  CAMERA SHRINK + FILM REEL  */
  .camera-wrap {
    flex-direction: column;
    gap: 0;
    position: relative;
  }
  .reel-hint {
    align-self: flex-end;
    margin-right: 28px;
    margin-bottom: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.7rem;
    color: #19350f;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s 0.4s ease;
    pointer-events: none;
    z-index: 5;
  }
  .reel-hint.visible {
    opacity: 1;
  }
  .camera-flipper {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                margin-top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .camera-flipper.shot {
    transform: scale(0.38);
    margin-top: -160px;
    margin-bottom: -120px;
  }
  .film-reel-wrap {
    width: 100vw;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.5s 0.4s ease, transform 0.5s 0.4s ease;
    pointer-events: none;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
  }
  .film-reel-wrap.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
  
  .film-strip {
    display: flex;
    align-items: flex-end;
    height: 100%;
    will-change: transform;
  }
  .film-frame {
    flex-shrink: 0;
    width: 250px;
    min-height: 180px;
    background: #111;
    border-left: 6px solid #1a1a1a;
    border-right: 6px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    padding: 8px 4px;
    transition: background 0.3s;
  }
  .film-frame:hover { background: #1a1a1a; }
  .film-frame img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    filter: invert(1) sepia(0.4) hue-rotate(180deg) saturate(0.7) brightness(0.8);
    transition: filter 1.2s ease;
    border-radius: 2px;
  }
  .film-frame.developed img {
    filter: none;
  }
  .film-sprocket-top,
  .film-sprocket-bottom {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 3px 0;
    flex-shrink: 0;
  }
  .sprocket-hole {
    width: 14px;
    height: 16px;
    background: #e8e4dc;
    border: 1px solid #c8c4bc;
    border-radius: 2px;
  }
  .shutter-hint {
    position: absolute;
    top: 1%;
    left: 30%;
    color: #19350f;
    font-size: 2rem;
    opacity: 1;
    animation: bob 1.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 19;
  }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
  }
  .film-frame-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 250px;
  }
  .film-label {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #19350f;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 0 4px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
  }

.back-btn {
  position: fixed;
  top: 16px; left: 16px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 7px 14px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
  z-index: 10000;
}
.back-btn:hover { background: rgba(255,255,255,0.2); color: var(--cream); }