/* =========================================================
   SALPHA GIARDINI — Organic Luxury Editorial Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600&family=Mrs+Saint+Delafield&display=swap');

:root{
  /* ---- Palette ---- */
  --bg:            #FBFAF5;
  --bg-alt:        #F1EDE3;
  --bg-alt-2:      #EAE6D9;
  --sage:          #7C8F6A;
  --sage-deep:     #55603F ;
  --sage-deeper:   #3E4630;
  --sage-pale:     #C7CDB7;
  --stone:         #55584F;
  --ink:           #14150F;
  --line:          rgba(20, 21, 15, 0.14);
  --line-soft:     rgba(20, 21, 15, 0.08);
  --cream:         #F6F3EA;
  --white:         #FFFFFF;

  /* ---- Type ---- */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --script: 'Mrs Saint Delafield', cursive;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 0.9s;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

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

body{
  margin: 0;
  background: var(--bg);
  color: var(--stone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.002em;
}

p{ margin: 0 0 1.1em; }
p:last-child{ margin-bottom: 0; }

ul{ margin: 0; padding: 0; list-style: none; }

button{ font-family: inherit; cursor: pointer; }

::selection{ background: var(--sage-pale); color: var(--sage-deeper); }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   Layout helpers
   --------------------------------------------------------- */
.wrap{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6vw;
}

.wrap--narrow{ max-width: 860px; }
.wrap--text{ max-width: 720px; }

section{ position: relative; }

.section-pad{ padding: clamp(70px, 11vw, 150px) 0; }
.section-pad-sm{ padding: clamp(50px, 7vw, 90px) 0; }

.bg-alt{ background: var(--bg-alt); }
.bg-ink{ background: var(--sage-deeper); color: var(--sage-pale); }

hr.rule{
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Eyebrow label */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 22px;
}
.bg-ink .eyebrow{ color: var(--sage-pale); }

.eyebrow::before{
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.script-accent{
  font-family: var(--script);
  font-size: 1.6em;
  font-weight: 400;
  color: var(--sage-deep);
  line-height: 1;
}

/* Headings scale */
.h-display{ font-size: clamp(2.6rem, 5.6vw, 5rem); }
.h-xl{ font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.h-lg{ font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.h-md{ font-size: clamp(1.3rem, 1.8vw, 1.6rem); }

.lede{
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-style: italic;
  color: var(--sage-deep);
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  transition: background var(--ease) .4s, color var(--ease) .4s, border-color var(--ease) .4s;
  white-space: nowrap;
}
.btn svg{ width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn:hover{ background: var(--ink); color: var(--bg); }
.btn:hover svg{ transform: translateX(4px); }

.btn--light{ color: var(--white); border-color: rgba(255,255,255,0.65); }
.btn--light:hover{ background: var(--white); color: var(--sage-deeper); }

.btn--sage{ color: var(--sage-deep); }
.btn--sage:hover{ background: var(--sage-deep); color: var(--cream); }

.btn--solid{ background: var(--sage-deep); color: var(--cream); border-color: var(--sage-deep); }
.btn--solid:hover{ background: var(--sage-deeper); border-color: var(--sage-deeper); color: var(--cream); }

/* ---------------------------------------------------------
   Navbar
   --------------------------------------------------------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.nav .wrap{ display: flex; align-items: center; justify-content: space-between; }

.nav-logo{ display: flex; align-items: center; gap: 12px; }
.nav-logo img{ height: 46px; width: auto; transition: height .5s var(--ease); }
.nav-wordmark{
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--white);
  transition: color .5s var(--ease);
}
.nav-sub{
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
  transition: color .5s var(--ease);
}

.nav-links{ display: flex; align-items: center; gap: 40px; }
.nav-links a{
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
  transition: color .5s var(--ease);
}
.nav-links a::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ right: 0; }
.nav-links a.active{ opacity: 0.85; }

.nav-cta{
  border: 1px solid rgba(255,255,255,0.7);
  padding: 11px 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border-radius: 2px;
  transition: all .5s var(--ease);
}
.nav-cta:hover{ background: var(--white); color: var(--sage-deeper); }

/* This CTA is a duplicate of .nav-cta shown only inside the mobile
   slide-in panel; keep it out of the flow everywhere else so it
   doesn't render twice, side by side, on wider viewports. */
.nav-cta-mobile{ display: none; }

.nav-toggle{
  display: none;
  width: 26px; height: 20px;
  position: relative;
  background: none; border: none;
}
.nav-toggle span{
  position: absolute; left: 0; right: 0; height: 1px; background: var(--white);
  transition: transform .35s var(--ease), opacity .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 9px; }
.nav-toggle span:nth-child(3){ top: 18px; }

/* Scrolled state */
.nav.is-scrolled{
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 15px 0;
}
.nav.is-scrolled .nav-logo img{ height: 36px; }
.nav.is-scrolled .nav-wordmark{ color: var(--ink); }
.nav.is-scrolled .nav-sub{ color: var(--sage-deep); }
.nav.is-scrolled .nav-links a{ color: var(--ink); }
.nav.is-scrolled .nav-cta{ color: var(--ink); border-color: var(--ink); }
.nav.is-scrolled .nav-cta:hover{ background: var(--ink); color: var(--bg); }
.nav.is-scrolled .nav-toggle span{ background: var(--ink); }

/* Non-hero pages: nav should not float over transparent hero */
.nav.is-solid{
  background: rgba(251, 250, 245, 0.96);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-solid .nav-wordmark{ color: var(--ink); }
.nav.is-solid .nav-sub{ color: var(--sage-deep); }
.nav.is-solid .nav-links a{ color: var(--ink); }
.nav.is-solid .nav-cta{ color: var(--ink); border-color: var(--ink); }
.nav.is-solid .nav-cta:hover{ background: var(--ink); color: var(--bg); }
.nav.is-solid .nav-toggle span{ background: var(--ink); }

@media (max-width: 900px){
  .nav-links{
    position: fixed; inset: 0 0 0 auto;
    width: min(78vw, 360px); height: 100vh;
    background: var(--sage-deeper);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 30px; padding: 0 12vw;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-links a{ color: var(--cream) !important; font-size: 15px; }
  .nav-links a::after{ background: var(--sage-pale); }
  .nav-cta{ display: none; }
  .nav-links .nav-cta-mobile{ display: inline-flex; border-color: var(--sage-pale); color: var(--cream) !important; margin-top: 10px; }
  .nav-toggle{ display: block; z-index: 110; }
  .nav-toggle.is-open span{ background: var(--ink); }
  .nav.is-open .nav-toggle span{ background: var(--cream); }
  .nav.is-open .nav-toggle span:nth-child(1){ transform: rotate(45deg) translate(5px, 5px); }
  .nav.is-open .nav-toggle span:nth-child(2){ opacity: 0; }
  .nav.is-open .nav-toggle span:nth-child(3){ transform: rotate(-45deg) translate(5px, -5px); }
}

/* ---------------------------------------------------------
   Hero (home)
   --------------------------------------------------------- */
.hero{
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--sage-deeper);
}
.hero-media{
  position: absolute; inset: 0;
}
.hero-media img{
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroReveal 2.4s var(--ease) forwards;
}
@keyframes heroReveal{
  from{ transform: scale(1.14); opacity: 0; }
  to{ transform: scale(1.08); opacity: 1; }
}
.hero-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,21,15,0.42) 0%, rgba(20,21,15,0.18) 38%, rgba(20,21,15,0.5) 100%);
}
.hero-content{
  position: relative; z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 6vw;
  max-width: 900px;
}
.hero-content .eyebrow{ color: rgba(255,255,255,0.88); justify-content: center; }
.hero-content .eyebrow::before, .hero-content .eyebrow::after{ background: rgba(255,255,255,0.6); }
.hero-content .eyebrow::after{ content:''; width: 30px; height: 1px; opacity: .7; }

.hero-title{
  color: var(--white);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  text-shadow: 0 2px 30px rgba(0,0,0,0.18);
}
.hero-title em{
  font-style: italic;
  color: var(--sage-pale);
}
.hero-sub{
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  color: rgba(255,255,255,0.92);
  margin: 22px auto 40px;
  max-width: 560px;
}
.hero-actions{ display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-scroll{
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--white); opacity: 0.85;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
}
.hero-scroll .line{ width: 1px; height: 34px; background: rgba(255,255,255,0.6); overflow: hidden; position: relative; }
.hero-scroll .line::after{
  content:''; position: absolute; top: -100%; left:0; right:0; height: 100%;
  background: var(--white); animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{ to{ top: 100%; } }

/* Page header (non-home hero, smaller) */
.page-header{
  position: relative;
  padding: clamp(150px, 22vw, 230px) 0 clamp(70px, 10vw, 110px);
  overflow: hidden;
  background: var(--sage-deeper);
}
.page-header-media{ position: absolute; inset: 0; }
.page-header-media img{ width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.page-header-media::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,21,15,0.58) 0%, rgba(20,21,15,0.32) 60%, rgba(251,250,245,1) 100%);
}
.page-header-content{ position: relative; z-index: 2; text-align: center; color: var(--white); }
.page-header-content .eyebrow{ justify-content: center; color: rgba(255,255,255,0.9); }
.page-header-content .eyebrow::before{ background: rgba(255,255,255,0.6); }
.page-header-content h1{ color: var(--white); }

/* ---------------------------------------------------------
   Signature seal / botanical mark
   --------------------------------------------------------- */
.seal{
  width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.seal svg{ width: 100%; height: 100%; }
.seal-num{
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--sage-deep);
}

/* divider mark used between sections */
.mark-divider{
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 0 auto 26px;
  color: var(--sage);
}
.mark-divider .stem{ width: 46px; height: 1px; background: var(--line); }
.mark-divider svg{ width: 22px; height: 22px; }

/* ---------------------------------------------------------
   Intro / split section (Chi siamo teaser)
   --------------------------------------------------------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split.reverse .split-media{ order: 2; }
.split.reverse .split-text{ order: 1; }

.split-media{ position: relative; }
.split-media img{
  width: 100%; height: clamp(340px, 42vw, 560px); object-fit: cover;
}
.split-media .frame{
  position: absolute; inset: 18px;
  border: 1px solid rgba(255,255,255,0.55);
  pointer-events: none;
}
.split-media--offset{ padding: 0 26px 26px 0; }
.split-media--offset::before{
  content:'';
  position: absolute; inset: 26px -0px -0px 26px;
  border: 1px solid var(--sage-pale);
  z-index: -1;
}

.split-text h2{ margin-bottom: 26px; }
.split-text p{ font-size: 1.02rem; }

/* ---------------------------------------------------------
   Servizi (services)
   --------------------------------------------------------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.service-card{
  padding: 46px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .5s var(--ease);
}
.service-card:last-child{ border-right: none; }
.service-card:hover{ background: rgba(124,143,106,0.07); }

.service-icon{ width: 46px; height: 46px; margin-bottom: 26px; color: var(--sage-deep); }
.service-icon svg{ width: 100%; height: 100%; }

.service-index{
  font-family: var(--serif); font-style: italic; color: var(--sage-pale);
  font-size: 1rem; margin-bottom: 8px; display: block;
}
.service-card h3{ font-size: 1.5rem; margin-bottom: 14px; }
.service-card p{ font-size: 0.97rem; }

@media (max-width: 860px){
  .services-grid{ grid-template-columns: 1fr; }
  .service-card{ border-right: none; }
}

/* ---------------------------------------------------------
   Progetti / gallery
   --------------------------------------------------------- */
.gallery-featured{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.gallery-featured .g-item:nth-child(1){ grid-column: span 3; }
.gallery-featured .g-item:nth-child(2){ grid-column: span 3; }
.gallery-featured .g-item:nth-child(3){ grid-column: span 6; }

.g-item{
  position: relative;
  overflow: hidden;
  background: var(--bg-alt-2);
}
.g-item .ratio{ position: relative; width: 100%; padding-top: 72%; }
.g-item:nth-child(3) .ratio{ padding-top: 46%; }
.g-item img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .8s ease;
}
.g-item:hover img{ transform: scale(1.06); }
.g-caption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 26px;
  background: linear-gradient(0deg, rgba(20,21,15,0.62), transparent);
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.g-item:hover .g-caption{ opacity: 1; transform: translateY(0); }
.g-caption .cat{ font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }
.g-caption .name{ font-family: var(--serif); font-size: 1.25rem; font-style: italic; }

.gallery-full{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-full .g-item .ratio{ padding-top: 118%; }
.gallery-full .g-item:nth-child(3n+2) .ratio,
.gallery-full .g-item:nth-child(5) .ratio{ padding-top: 84%; }

@media (max-width: 900px){
  .gallery-featured{ grid-template-columns: 1fr; }
  .gallery-featured .g-item{ grid-column: span 1 !important; }
  .gallery-full{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .gallery-full{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Process (come lavoriamo)
   --------------------------------------------------------- */
.process{
  display: grid;
  grid-template-columns: repeat(var(--steps, 3), 1fr);
  gap: 50px;
  position: relative;
}
.process::before{
  content: '';
  position: absolute; top: 37px; left: 8%; right: 8%; height: 1px;
  background-image: linear-gradient(to right, var(--line) 50%, transparent 0%);
  background-size: 14px 1px;
  z-index: 0;
}
.process-step{ position: relative; z-index: 1; text-align: left; }
.process-step h3{ font-size: 1.55rem; margin: 22px 0 14px; }
.process-step p{ font-size: 0.97rem; }

@media (max-width: 800px){
  .process{ grid-template-columns: 1fr; gap: 46px; }
  .process::before{ display: none; }
}

/* ---------------------------------------------------------
   Testimonials
   --------------------------------------------------------- */
.testi{
  max-width: 780px; margin: 0 auto; text-align: center;
}
.testi blockquote{
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--ink);
  margin: 0 0 26px;
  line-height: 1.5;
}
.testi cite{
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
}
.testi-quote-mark{ font-family: var(--script); font-size: 3.4rem; color: var(--sage-pale); line-height: 0.6; display:block; margin-bottom: 10px; }

.testi-nav{ display:flex; gap: 10px; justify-content:center; margin-top: 40px; }
.testi-dot{
  width: 7px; height: 7px; border-radius: 50%; background: var(--line);
  border: none; padding: 0; cursor: pointer; transition: background .3s;
}
.testi-dot.is-active{ background: var(--sage-deep); }

/* ---------------------------------------------------------
   CTA band
   --------------------------------------------------------- */
.cta-band{
  background: var(--sage-deeper);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-band .wrap{
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band h2{ color: var(--cream); max-width: 560px; }
.cta-band .eyebrow{ color: var(--sage-pale); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer{
  background: var(--sage-deeper);
  color: rgba(246,243,234,0.7);
  padding: 90px 0 30px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,243,234,0.15);
}
.footer-brand img{ height: 64px; margin-bottom: 18px; }
.footer-brand p{ font-size: 0.92rem; max-width: 280px; color: rgba(246,243,234,0.65); }
.footer h4{
  color: var(--cream); font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 22px;
}
.footer-links li{ margin-bottom: 13px; }
.footer-links a{ font-size: 0.94rem; color: rgba(246,243,234,0.72); transition: color .3s; }
.footer-links a:hover{ color: var(--cream); }
.footer-social{ display: flex; gap: 14px; margin-top: 20px; }
.footer-social a{
  width: 38px; height: 38px; border: 1px solid rgba(246,243,234,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s;
}
.footer-social a:hover{ background: rgba(246,243,234,0.12); border-color: rgba(246,243,234,0.5); }
.footer-social svg{ width: 16px; height: 16px; }

.footer-bottom{
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; font-size: 12.5px; color: rgba(246,243,234,0.5);
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Contact page specifics
   --------------------------------------------------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  gap: clamp(40px, 6vw, 90px);
}
.info-block{ margin-bottom: 36px; }
.info-block h4{
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage-deep); font-weight: 600; margin-bottom: 12px;
}
.info-block p, .info-block a{ font-size: 1.05rem; color: var(--ink); }
.info-block a:hover{ color: var(--sage-deep); }

.map-frame{ width: 100%; height: 100%; min-height: 420px; border: 1px solid var(--line); filter: grayscale(0.25) sepia(0.06); }
.map-frame iframe{ width: 100%; height: 100%; min-height: 420px; border: 0; display:block; }

.hours-table{ width: 100%; border-collapse: collapse; }
.hours-table td{ padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.98rem; }
.hours-table td:last-child{ text-align: right; color: var(--ink); font-weight: 500; }

.contact-form{ margin-top: 10px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field{ margin-bottom: 22px; }
.field label{
  display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 9px; font-weight: 600;
}
.field input, .field textarea{
  width: 100%; border: none; border-bottom: 1px solid var(--line);
  background: transparent; padding: 10px 2px; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus{ border-color: var(--sage-deep); outline: none; }
.field textarea{ resize: vertical; min-height: 110px; }

.consent-check{
  display: flex; align-items: flex-start; gap: 12px;
  margin: 6px 0 28px;
  cursor: pointer;
}
.consent-check input{
  margin-top: 4px; width: 16px; height: 16px; flex-shrink: 0;
  accent-color: var(--sage-deep);
}
.consent-check span{ font-size: 0.86rem; color: var(--stone); line-height: 1.55; }
.consent-check a{ color: var(--sage-deep); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 860px){
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; gap: 0; }
}

/* ---------------------------------------------------------
   About page specifics
   --------------------------------------------------------- */
.dropcap::first-letter{
  font-family: var(--serif);
  font-size: 4.4em;
  float: left;
  line-height: 0.78;
  padding: 6px 12px 0 0;
  color: var(--sage-deep);
  font-style: italic;
}

.stat-row{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px; margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line);
}
.stat b{
  display: block; font-family: var(--serif); font-size: clamp(2rem,3vw,2.6rem);
  color: var(--sage-deep); font-weight: 500;
}
.stat span{ font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }

@media (max-width: 700px){
  .stat-row{ grid-template-columns: 1fr; gap: 20px; }
}

/* ---------------------------------------------------------
   Reveal-on-scroll
   --------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: .12s; }
.reveal-delay-2{ transition-delay: .24s; }
.reveal-delay-3{ transition-delay: .36s; }

/* ---------------------------------------------------------
   Misc responsive
   --------------------------------------------------------- */
@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; }
  .split-media img{ height: 340px; }
}

.leaf-rule{
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--sage-pale); margin-bottom: 18px;
}
.leaf-rule svg{ width: 26px; height: 26px; color: var(--sage); }
.leaf-rule .stem{ height: 1px; width: 60px; background: var(--line); }

.section-head{ text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head.left{ text-align: left; margin: 0 0 56px; }

/* ---------------------------------------------------------
   Legal row + credit line (footer)
   --------------------------------------------------------- */
.footer-legal-row{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 22px; margin-top: 22px;
  border-top: 1px solid rgba(246,243,234,0.12);
  font-size: 12.5px; color: rgba(246,243,234,0.55);
}
.footer-legal-links{ display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal-links a{ color: rgba(246,243,234,0.65); transition: color .3s; }
.footer-legal-links a:hover{ color: var(--cream); }
.footer-legal-links button{
  background: none; border: none; padding: 0; margin: 0;
  color: rgba(246,243,234,0.65); font-size: 12.5px; font-family: inherit; cursor: pointer;
  transition: color .3s;
}
.footer-legal-links button:hover{ color: var(--cream); }

.credit-line{
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(246,243,234,0.55);
}
.credit-line a{
  display: inline-flex; align-items: center;
  opacity: 0.82;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.credit-line a:hover{ opacity: 1; transform: translateY(-1px); }
.credit-line img{ height: 15px; width: auto; }

/* ---------------------------------------------------------
   Cookie banner
   --------------------------------------------------------- */
.cookie-banner{
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 300;
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(20,21,15,0.16);
  padding: 26px 28px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.cookie-banner.is-visible{ transform: translateY(0); opacity: 1; }

.cookie-banner p{
  font-size: 0.92rem; color: var(--stone); margin-bottom: 18px;
}
.cookie-banner p a{ color: var(--sage-deep); text-decoration: underline; text-underline-offset: 2px; }

.cookie-actions{ display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn{ padding: 13px 22px; font-size: 12px; }

.cookie-overlay{
  position: fixed; inset: 0; z-index: 310;
  background: rgba(20,21,15,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.cookie-overlay.is-visible{ opacity: 1; pointer-events: auto; }

.cookie-modal{
  position: fixed; z-index: 320;
  left: 50%; top: 50%;
  width: min(520px, 88vw);
  max-height: 82vh; overflow-y: auto;
  background: var(--bg);
  padding: 40px;
  transform: translate(-50%, -46%);
  opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.cookie-modal.is-visible{ opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.cookie-modal h3{ font-size: 1.5rem; margin-bottom: 18px; }
.cookie-modal p{ font-size: 0.92rem; margin-bottom: 24px; }
.cookie-modal-close{
  position: absolute; top: 22px; right: 22px;
  width: 32px; height: 32px; border: none; background: none; color: var(--stone);
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal-close svg{ width: 18px; height: 18px; }

.cookie-toggle-row{
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-top: 1px solid var(--line-soft);
}
.cookie-toggle-row:last-of-type{ border-bottom: 1px solid var(--line-soft); margin-bottom: 26px; }
.cookie-toggle-row h4{
  font-family: var(--sans); font-size: 13.5px; color: var(--ink); font-weight: 600; margin-bottom: 6px;
}
.cookie-toggle-row p{ font-size: 0.85rem; margin-bottom: 0; color: var(--stone); }

.switch{ position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.switch input{ opacity: 0; width: 0; height: 0; position: absolute; }
.switch .track{
  position: absolute; inset: 0; background: var(--sage-pale); border-radius: 20px; cursor: pointer;
  transition: background .3s;
}
.switch .track::before{
  content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px;
  background: var(--white); border-radius: 50%; transition: transform .3s var(--ease);
}
.switch input:checked + .track{ background: var(--sage-deep); }
.switch input:checked + .track::before{ transform: translateX(18px); }
.switch input:disabled + .track{ background: var(--sage); opacity: 0.5; cursor: not-allowed; }

@media (max-width: 560px){
  .cookie-banner{ left: 12px; right: 12px; bottom: 12px; padding: 22px; }
  .cookie-actions{ flex-direction: column; }
  .cookie-actions .btn{ width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------
   Maps placeholder (pre-consent)
   --------------------------------------------------------- */
.map-frame{ position: relative; }
.map-placeholder{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 30px;
  background: var(--bg-alt);
  z-index: 2;
}
.map-placeholder p{ font-size: 0.9rem; max-width: 320px; color: var(--stone); }
.map-frame.is-loaded .map-placeholder{ display: none; }

/* ---------------------------------------------------------
   Legal / policy pages
   --------------------------------------------------------- */
.legal-content h2{ font-size: 1.5rem; margin: 44px 0 16px; }
.legal-content h2:first-child{ margin-top: 0; }
.legal-content h3{ font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); margin: 26px 0 10px; }
.legal-content p{ font-size: 0.98rem; }
.legal-content ul{ margin: 0 0 20px; padding-left: 20px; list-style: disc; }
.legal-content li{ font-size: 0.98rem; margin-bottom: 8px; }
.legal-content table{ width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.92rem; }
.legal-content th, .legal-content td{ text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal-content th{ background: var(--bg-alt); font-weight: 600; }
.legal-updated{ font-size: 0.85rem; color: var(--sage-deep); margin-bottom: 40px; display:block; }

/* ---------------------------------------------------------
   Blog — listing
   --------------------------------------------------------- */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.blog-card{ display: flex; flex-direction: column; }
.blog-card .ratio{
  position: relative; width: 100%; padding-top: 68%;
  overflow: hidden; background: var(--bg-alt-2);
}
.blog-card .ratio img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.blog-card:hover .ratio img{ transform: scale(1.06); }
.blog-meta{
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); font-family: var(--sans);
}
.blog-meta .dot{ width: 3px; height: 3px; border-radius: 50%; background: var(--sage-pale); }
.blog-card h3{
  font-size: 1.5rem; margin: 14px 0 12px; line-height: 1.25;
}
.blog-card h3 a{ color: inherit; }
.blog-card h3 a:hover{ color: var(--sage-deep); }
.blog-card p{ font-size: 0.96rem; }
.blog-card .read-more{
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); font-weight: 500;
}
.blog-card .read-more svg{ width: 13px; height: 13px; transition: transform .4s var(--ease); }
.blog-card:hover .read-more svg{ transform: translateX(4px); }

@media (max-width: 900px){
  .blog-grid{ grid-template-columns: 1fr; gap: 56px; }
}

/* ---------------------------------------------------------
   Blog — single article
   --------------------------------------------------------- */
.article-meta{
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-top: 18px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); font-family: var(--sans);
}
.article-meta .dot{ width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.6); }
.article-body{ font-size: 1.02rem; }
.article-body h2{ font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 48px 0 18px; }
.article-body h2:first-child{ margin-top: 0; }
.article-body p{ margin-bottom: 20px; }
.article-body ul{ margin: 0 0 24px; padding-left: 20px; list-style: disc; }
.article-body li{ margin-bottom: 10px; font-size: 1.01rem; }
.article-body .split{ margin: 48px 0; }
.article-tag{
  display: inline-flex; align-items: center; font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 20px;
}
.article-pullquote{
  font-family: var(--serif); font-style: italic; color: var(--ink);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5;
  border-left: 2px solid var(--sage); padding-left: 28px; margin: 40px 0;
}
.related-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
@media (max-width: 900px){
  .related-grid{ grid-template-columns: 1fr; gap: 56px; }
}
