/* ===================================================================
   Theme: dark green (#1e3a2b) on cream (#f5efe0).
   Type:  Fraunces (modern serif) for headings, Inter for body.
   =================================================================== */

:root {
  --green-900: #122318;
  --green-800: #1e3a2b;
  --green-700: #2a4f3c;
  --green-100: #d6e0d8;
  --cream:     #f5efe0;
  --cream-dk:  #ebe2ce;
  --ink:       #1e3a2b;
  --muted:     #4a5b50;
  --line:      #d8cdb0;
  --max:       1180px;
  --gap:       clamp(1rem, 2vw, 1.75rem);
  --radius:    4px;
  --shadow:    0 10px 30px rgba(30,58,43,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-800); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--green-800);
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; font-family: 'Inter', sans-serif; font-weight: 600; }

p { margin: 0 0 1em; }

.muted { color: var(--muted); }
.not-italic { font-style: normal; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--green-800); color: var(--cream);
  padding: .5rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,239,224,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gap);
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.45rem; font-weight: 500;
  color: var(--green-800);
  letter-spacing: -0.01em;
}
.brand-tag { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 2rem;
}
.primary-nav a {
  font-size: .92rem; letter-spacing: .04em;
  color: var(--green-800);
  padding: .25rem 0;
  position: relative;
}
.primary-nav a:hover { text-decoration: none; }
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--green-800);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .5rem; width: 40px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--green-800);
  margin: 5px 0; transition: transform .3s, opacity .3s;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .primary-nav.open { max-height: 400px; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 1rem var(--gap); }
  .primary-nav li { border-bottom: 1px solid var(--cream-dk); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  background: var(--green-800);
  color: var(--cream);
  border: 1px solid var(--green-800);
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--green-900); color: var(--cream); text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--green-800);
}
.btn-outline:hover { background: var(--green-800); color: var(--cream); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background: #000;            /* fallback only — image covers it */
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/hero-home.jpg') center/cover no-repeat;
  /* no opacity — show the image as it is */
}
.hero-bg::after {
  /* neutral black gradient fading L→R: just enough to keep white text readable */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
              rgba(0,0,0,.55) 0%,
              rgba(0,0,0,.35) 35%,
              rgba(0,0,0,.05) 70%,
              transparent     100%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 760px;
  padding: 5rem 0;
}
.hero h1 { color: var(--cream); margin-bottom: .4em; }
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--cream); opacity: .8; margin-bottom: 1.5rem;
  display: inline-block;
}
.hero p { font-size: 1.15rem; max-width: 600px; color: var(--cream); opacity: .92; }
.hero .btn { background: var(--cream); color: var(--green-800); border-color: var(--cream); }
.hero .btn:hover { background: transparent; color: var(--cream); }
.hero .btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); margin-left: .75rem; }
.hero .btn-outline:hover { background: var(--cream); color: var(--green-800); }

/* ---- Section title ---- */
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.eyebrow {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: .6rem;
}

/* ---- Capabilities grid ---- */
.cap-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cap-card {
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line);
  padding: 1.75rem;
  transition: background .2s, transform .2s;
}
.cap-card:hover { background: rgba(255,255,255,.85); transform: translateY(-2px); }
.cap-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.cap-card p { font-size: .95rem; color: var(--muted); margin: 0; }
.cap-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--cream);
  display: grid; place-items: center;
  margin-bottom: 1rem;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
}

/* ---- Atelier grid (home page "Inside the atelier") ---- */
.atelier-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.atelier-grid figure {
  margin: 0; position: relative; overflow: hidden;
  aspect-ratio: 4/5; background: var(--cream-dk);
}
.atelier-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.atelier-grid figure:hover img { transform: scale(1.04); }
.atelier-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .9rem 1.1rem;
  font-family: 'Inter', sans-serif;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(18,35,24,.85));
}

/* ---- Stats strip ---- */
.stats {
  background: var(--green-800);
  color: var(--cream);
}
.stats .stats-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding: 3rem 0;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: .8;
}

/* ---- Two-column feature ---- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ---- Lookbook ---- */
.lookbook-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.look-item {
  position: relative; overflow: hidden;
  background: var(--cream-dk);
  aspect-ratio: 3/4;
}
.look-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.look-item:hover img { transform: scale(1.04); }
.look-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(18,35,24,.85));
  color: var(--cream);
}
.look-caption h3 { color: var(--cream); margin: 0 0 .15rem; font-size: 1.05rem; }
.look-caption span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* ---- Lookbook filter chips ---- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem;
}
.chip {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--green-800);
  padding: .45rem 1rem;
  font-size: .85rem; letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.chip:hover, .chip.active { background: var(--green-800); color: var(--cream); border-color: var(--green-800); }

/* ---- Contact / Form ---- */
.contact-grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }

.contact-info h4 { margin-top: 1.75rem; }
.contact-info p, .contact-info address { margin-bottom: 0; }

.form-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr 1fr;
}
.form-grid .full { grid-column: 1 / -1; }

label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem; color: var(--green-700); }
input, select, textarea {
  width: 100%; padding: .8rem 1rem;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit; font-size: 1rem;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green-800);
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; }

.form-msg {
  padding: 1rem 1.2rem; margin-bottom: 1.5rem;
  border-left: 3px solid var(--green-800);
  background: rgba(30,58,43,.06);
}
.form-msg.error { border-color: #a23a2a; background: rgba(162,58,42,.08); }

/* ---- Footer ---- */
.site-footer {
  background: var(--green-900);
  color: var(--cream);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer h4 { color: var(--cream); margin-bottom: 1rem; }
.site-footer a { color: var(--cream); }
.site-footer .muted { color: rgba(245,239,224,.6); }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 3rem;
}
.footer-grid .brand-name { color: var(--cream); margin-bottom: .5rem; display: block; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin-bottom: .5rem; }
.footer-bottom {
  border-top: 1px solid rgba(245,239,224,.15);
  padding-top: 1.5rem;
  color: rgba(245,239,224,.55);
}

/* ---- WhatsApp Float ---- */
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  z-index: 60;
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.05); text-decoration: none; }

/* ---- Page header ---- */
.page-head {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-bottom: .3em; }
.page-head .lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.alt-bg { background: var(--cream-dk); }
.dark-bg { background: var(--green-800); color: var(--cream); }
.dark-bg h2, .dark-bg h3 { color: var(--cream); }
