/* ===========================================
   TOKENS
=========================================== */
:root{
  --canopy: #1C2B22;
  --sand: #F6F0E4;
  --ochre: #C9762E;
  --eucalypt: #3C6E5C;
  --mist: #8A9B8E;
  --parchment: #E8D9B5;
  --canopy-90: rgba(28,43,34,0.92);
  --canopy-60: rgba(28,43,34,0.6);
  --ochre-soft: rgba(201,118,46,0.16);

  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --gutter: clamp(24px, 5vw, 72px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--body);
  background: var(--sand);
  color: var(--canopy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ list-style: none; margin: 0; padding: 0; }

h1, h2, h3{
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

:focus-visible{
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

.eyebrow{
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ===========================================
   GRAIN OVERLAY + HORIZON LINE (signature)
=========================================== */
.grain-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, #000 0.5px, transparent 0.5px),
    radial-gradient(circle at 70% 60%, #000 0.5px, transparent 0.5px),
    radial-gradient(circle at 40% 80%, #000 0.5px, transparent 0.5px);
  background-size: 3px 3px, 4px 4px, 5px 5px;
}

.horizon-line{
  position: fixed;
  left: 0;
  right: 0;
  top: 38vh;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,240,228,0.55) 15%, rgba(246,240,228,0.55) 85%, transparent);
  z-index: 5;
  pointer-events: none;
  transition: top 0.6s var(--ease), opacity 0.6s var(--ease);
  opacity: 0.7;
}

/* ===========================================
   HEADER / NAV
=========================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.scrolled{
  background: rgba(246,240,228,0.88);
  backdrop-filter: blur(10px);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(28,43,34,0.08);
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sand);
  transition: color 0.4s var(--ease);
}
.site-header.scrolled .brand{ color: var(--canopy); }

.brand-mark{
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid currentColor;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.brand-name{
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.site-nav{
  display: flex;
  gap: 36px;
}

.tag-link{
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.4s var(--ease);
}
.site-header.scrolled .tag-link{ color: var(--canopy); }

.tag-link::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ochre);
  transition: width 0.3s var(--ease);
}
.tag-link:hover::after{ width: 100%; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{
  width: 22px;
  height: 1.5px;
  background: var(--sand);
  transition: background 0.4s var(--ease);
}
.site-header.scrolled .nav-toggle span{ background: var(--canopy); }

/* ===========================================
   HERO
=========================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--canopy);
}

.hero-scene{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-scrim{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,22,16,0.55) 0%, rgba(14,22,16,0.25) 35%, rgba(14,22,16,0.55) 75%, rgba(14,22,16,0.85) 100%);
}

.hero-content{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 var(--gutter);
  color: var(--sand);
}

.hero-content .eyebrow{
  color: var(--parchment);
  opacity: 0.9;
}

.hero-title{
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-sub{
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: rgba(246,240,228,0.82);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions{
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
}

.btn--primary{
  background: var(--ochre);
  color: var(--sand);
}
.btn--primary:hover{
  background: #b5681f;
  transform: translateY(-1px);
}

.btn--ghost{
  border-color: rgba(246,240,228,0.4);
  color: var(--sand);
}
.btn--ghost:hover{
  border-color: var(--sand);
  background: rgba(246,240,228,0.08);
}

.work-more{
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}

.btn--ghost-dark{
  border: 1px solid rgba(28,43,34,0.35);
  color: var(--canopy);
}
.btn--ghost-dark:hover{
  border-color: var(--ochre);
  color: var(--ochre);
  background: var(--ochre-soft);
}

.btn--full{ width: 100%; }

.scroll-cue{
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(246,240,228,0.6);
}
.scroll-cue span{
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue-line{
  width: 1px;
  height: 36px;
  background: rgba(246,240,228,0.4);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after{
  content: "";
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 100%;
  background: var(--sand);
  animation: scrollDrip 2.2s ease-in-out infinite;
}
@keyframes scrollDrip{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}

/* ===========================================
   INTRO STRIP
=========================================== */
.intro-strip{
  padding: 64px var(--gutter);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.intro-strip p{
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--eucalypt);
}

/* ===========================================
   SECTION HEAD (shared)
=========================================== */
.section-head{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: 48px;
}
.section-head h2{
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

/* ===========================================
   WORK / SPECIMEN GRID
=========================================== */
.work{
  padding: 80px 0 100px;
}

.specimen-grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.specimen{
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.specimen--wide{
  grid-column: span 2;
}

.specimen-image{
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--canopy);
}
.specimen--wide .specimen-image{ aspect-ratio: 16/10; }

.specimen-image img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.specimen:hover .specimen-image img{ transform: scale(1.045); }

.specimen-image::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,22,16,0.05) 0%, rgba(14,22,16,0.02) 50%, rgba(14,22,16,0.25) 100%);
  pointer-events: none;
}

.specimen-tag{
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,240,228,0.85);
  border: 1px solid rgba(246,240,228,0.4);
  padding: 6px 12px;
  z-index: 2;
}

.specimen-caption{
  padding: 18px 4px;
}
.specimen-caption h3{
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.specimen-caption p{
  font-size: 0.9rem;
  color: var(--eucalypt);
  line-height: 1.5;
}

/* ===========================================
   ABOUT
=========================================== */
.about{
  background: var(--canopy);
  color: var(--sand);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.about-image{
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.about-photo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}
.about-image::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,43,34,0.15) 0%, transparent 30%);
}

.about-content{
  padding: 90px var(--gutter);
  max-width: 620px;
}
.about-content .eyebrow{ color: var(--ochre); }
.about-content h2{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 26px;
}
.about-content p{
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(246,240,228,0.82);
  margin-bottom: 18px;
}

.about-stats{
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(246,240,228,0.18);
}
.stat{ display: flex; flex-direction: column; }
.stat-figure{
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ochre);
}
.stat-label{
  font-size: 0.78rem;
  color: rgba(246,240,228,0.65);
  margin-top: 4px;
}

/* ===========================================
   JOURNAL
=========================================== */
.journal{
  padding: 90px 0 100px;
}
.journal-grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.journal-thumb{
  aspect-ratio: 5/4;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--mist);
}
.journal-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.journal-entry:hover .journal-thumb img{ transform: scale(1.04); }

.journal-date{
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 10px;
}
.journal-entry h3{
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.journal-entry p{
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--eucalypt);
}

/* ===========================================
   CONTACT
=========================================== */
.contact{
  background: var(--parchment);
  padding: 100px 0;
}
.contact-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.contact-intro h2{
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 20px;
}
.contact-intro p{
  font-size: 1rem;
  line-height: 1.65;
  color: var(--eucalypt);
  margin-bottom: 32px;
}
.contact-direct{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(28,43,34,0.15);
}
.contact-direct a{
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--canopy);
}
.contact-direct a:hover{ color: var(--ochre); }
.contact-direct p{
  font-size: 0.85rem;
  color: var(--mist);
  margin-top: 6px;
}

.contact-form{
  background: var(--sand);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row--split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-row--split > div{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label{
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--canopy);
}

input, select, textarea{
  font-family: var(--body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid rgba(28,43,34,0.2);
  background: var(--sand);
  color: var(--canopy);
  border-radius: 1px;
  transition: border-color 0.25s var(--ease);
  resize: vertical;
}
input:focus, select:focus, textarea:focus{
  border-color: var(--ochre);
  outline: none;
}

.form-note{
  font-size: 0.85rem;
  color: var(--eucalypt);
  min-height: 1.2em;
}
.form-note.success{ color: var(--eucalypt); font-weight: 600; }

/* ===========================================
   FOOTER
=========================================== */
.site-footer{
  background: var(--canopy);
  color: var(--sand);
  padding: 56px var(--gutter) 32px;
}
.footer-inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(246,240,228,0.15);
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.footer-nav a{
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246,240,228,0.75);
}
.footer-nav a:hover{ color: var(--ochre); }
.footer-social{
  display: flex;
  gap: 20px;
}
.footer-social a{
  font-size: 0.8rem;
  color: rgba(246,240,228,0.75);
}
.footer-social a:hover{ color: var(--ochre); }

.footer-fine{
  max-width: var(--container);
  margin: 24px auto 0;
  font-size: 0.75rem;
  color: rgba(246,240,228,0.45);
}

/* ===========================================
   RESPONSIVE
=========================================== */
@media (max-width: 900px){
  .about{ grid-template-columns: 1fr; }
  .about-image{ min-height: 320px; }
  .contact-inner{ grid-template-columns: 1fr; gap: 56px; }
  .specimen-grid{ grid-template-columns: repeat(2, 1fr); }
  .specimen--wide{ grid-column: span 2; }
  .journal-grid{ grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px){
  .site-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(78vw, 320px);
    background: var(--canopy);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
  }
  .site-nav.open{ transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.35); }
  /* Links stay light inside the dark panel — even when the scrolled header uses dark links */
  .site-nav a,
  .site-header.scrolled .site-nav a{ color: var(--sand); font-size: 1.05rem; padding: 12px 0; display: block; }
  .nav-toggle{ display: flex; position: relative; z-index: 120; }
  /* Open state: hamburger turns light and becomes an X above the panel */
  .site-header .nav-toggle[aria-expanded="true"] span{ background: var(--sand); }
  .nav-toggle span{ transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
  /* Dimmed backdrop behind the panel — tap it to close */
  .nav-backdrop{ position: fixed; inset: 0; background: rgba(14,22,16,0.5); z-index: 98;
    opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .nav-backdrop.show{ opacity: 1; pointer-events: all; }
  body.nav-open{ overflow: hidden; }

  .specimen-grid{ grid-template-columns: 1fr; }
  .specimen--wide{ grid-column: span 1; }

  .form-row--split{ grid-template-columns: 1fr; }
  .contact-form{ padding: 28px; }

  .about-content{ padding: 64px var(--gutter); }

  .footer-inner{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px){
  .hero-title{ font-size: 2.2rem; }
  .about-stats{ gap: 24px; flex-wrap: wrap; }
  .stat-figure{ font-size: 1.7rem; }
}

/* ===========================================
   LOGO IMAGES
=========================================== */
.brand-logo{
  height: 36px;
  width: auto;
  display: block;
}
.brand-logo--dark{ display: none; }
.brand-logo--light{ display: block; }
.site-header.scrolled .brand-logo--light{ display: none; }
.site-header.scrolled .brand-logo--dark{ display: block; }
.brand-mark, .brand-name{ display: none; }

.footer-logo{
  height: 28px;
  width: auto;
  opacity: 0.85;
}

/* ===========================================
   SHOP TEASER (homepage)
=========================================== */
.shop-teaser{
  background: var(--canopy);
  padding: 100px 0;
}
.shop-teaser-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.shop-teaser-text .eyebrow{ color: var(--ochre); }
.shop-teaser-text h2{
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--sand);
  margin-bottom: 20px;
}
.shop-teaser-text p{
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(246,240,228,0.75);
  margin-bottom: 36px;
}
.shop-teaser-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.shop-preview-item{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
  background: var(--eucalypt);
  text-decoration: none;
}
.shop-preview-item img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.shop-preview-item:hover img{ transform: scale(1.06); }
.shop-preview-label{
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(transparent, rgba(14,22,16,0.8));
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246,240,228,0.9);
  opacity: 0;
  transition: opacity 0.3s;
}
.shop-preview-item:hover .shop-preview-label{ opacity: 1; }

@media (max-width: 900px){
  .shop-teaser-inner{ grid-template-columns: 1fr; gap: 48px; }
}
