/* ==========================================================================
   Sunrise Wallpaper Installer — stylesheet
   Sunrise Modern Interiors art direction: warm ivory + sand, charcoal type,
   muted terracotta and restrained gold. Editorial, asymmetric, uncluttered.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root{
  /* Palette (all pairs verified WCAG AA or better) */
  --ivory: #FBF7F1;
  --sand: #F1E6D6;
  --sand-deep: #E4D2B8;
  --charcoal: #2A2521;
  --charcoal-soft: #4B443C;
  --stone: #6B6259;
  --terracotta: #B1502F;
  --terracotta-deep: #8F3E24;
  --gold: #C79A3A;
  --charcoal-900: #211D19;
  --white: #FFFFFF;
  --stone-on-dark: #BBB0A3;
  --sand-on-dark: #F1E6D6;
  --error: #A32B22;
  --focus: #8F3E24;

  /* Type */
  --font-display: "Prata", "Iowan Old Style", "Georgia", serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1264px;
  --gutter: 1.5rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-soft: 0 1px 2px rgba(42,37,33,0.05), 0 8px 24px -12px rgba(42,37,33,0.18);
  --shadow-card: 0 1px 2px rgba(42,37,33,0.04), 0 2px 8px rgba(42,37,33,0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.6s;
}

@media (min-width: 900px){
  :root{ --gutter: 2.5rem; }
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body{
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
svg{ display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure{ margin: 0; }
input, textarea, select{ font: inherit; color: inherit; }
[hidden]{ display: none !important; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.002em;
}
h1{ font-size: clamp(2.3rem, 4.3vw, 3.6rem); }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3{ font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
h4{ font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; color: var(--charcoal); }

.container{
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 1px;
  background: var(--terracotta);
  display: inline-block;
}

.section{ padding-block: var(--space-2xl); }
.section--tight{ padding-block: var(--space-xl); }
.section--sand{ background: var(--sand); }
.section--dark{ background: var(--charcoal-900); color: var(--sand-on-dark); }
.section--dark h2, .section--dark h3{ color: var(--ivory); }

.section-head{
  max-width: 42rem;
  margin-bottom: var(--space-lg);
}
.section-head p{
  margin-top: var(--space-sm);
  font-size: 1.08rem;
  color: var(--stone);
}
.section-head--center{ margin-inline: auto; text-align: center; }

hr.divider{
  border: 0;
  border-top: 1px solid var(--sand-deep);
  margin: 0;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover{ background: var(--terracotta-deep); }
.btn-outline{
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover{ background: var(--charcoal); color: var(--ivory); }
.btn-outline-light{
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(251,247,241,0.55);
}
.btn-outline-light:hover{ background: var(--ivory); color: var(--charcoal-900); border-color: var(--ivory); }
.btn:active{ transform: translateY(1px); }
.btn svg{ width: 1.05em; height: 1.05em; flex-shrink: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link{
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--charcoal-900);
  color: var(--ivory);
  padding: 0.8em 1.4em;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus{ top: 1rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251,247,241,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(42,37,33,0.08);
}
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.95rem;
}
.logo{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--charcoal);
  flex-shrink: 0;
}
.logo__mark{ width: 34px; height: 34px; flex-shrink: 0; }
.logo__word em{ font-style: normal; color: var(--terracotta-deep); }
.logo__word small{
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1px;
}

.nav-desktop{ display: none; }
@media (min-width: 980px){
  .nav-desktop{
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
  .nav-desktop__links{
    display: flex;
    gap: var(--space-md);
    font-weight: 600;
    font-size: 0.95rem;
  }
  .nav-desktop__links a{
    padding: 0.4em 0.1em;
    position: relative;
  }
  .nav-desktop__links a::after{
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--terracotta);
    transition: right 0.25s var(--ease);
  }
  .nav-desktop__links a:hover::after{ right: 0; }
  .nav-desktop__cta{ display: flex; align-items: center; gap: var(--space-sm); }
  .nav-phone{
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    color: var(--charcoal);
  }
  .nav-phone svg{ width: 1.1em; height: 1.1em; color: var(--terracotta-deep); }
}

.hamburger{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
}
@media (min-width: 980px){ .hamburger{ display: none; } }
.hamburger span{
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer{
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.32s var(--ease), visibility 0s linear 0.32s;
}
.mobile-drawer.is-open{ transform: translateX(0); visibility: visible; transition: transform 0.32s var(--ease); }
.mobile-drawer__top{
  display: flex;
  justify-content: flex-end;
}
.mobile-drawer__close{ width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-drawer__links{
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.mobile-drawer__links a{
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--charcoal);
}
.mobile-drawer__cta{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
}
.mobile-drawer__cta .btn{ width: 100%; }
@media (min-width: 980px){ .mobile-drawer{ display: none; } }
body.no-scroll{ overflow: hidden; }

/* ---------- Hero (split layout) ---------- */
.hero{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px){
  .hero{
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    align-items: stretch;
    min-height: 88vh;
  }
}
.hero__panel{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-2xl) var(--gutter) var(--space-xl);
  background: var(--sand);
  order: 2;
}
@media (min-width: 900px){
  .hero__panel{ order: 1; padding-inline: var(--space-2xl) var(--space-lg); }
}
.hero__meta{
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta-deep);
  flex-wrap: wrap;
}
.hero__meta .dot{ width: 6px; height: 6px; background: var(--gold); border-radius: 1px; flex-shrink: 0; }
.hero h1{ max-width: 12ch; }
.hero__lead{
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  max-width: 34ch;
}
.hero__ctas{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-2xs);
}
.hero__figure{
  order: 1;
  position: relative;
  min-height: 46vh;
}
@media (min-width: 900px){ .hero__figure{ order: 2; min-height: 100%; } }
.hero__figure picture,
.hero__figure img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__caption{
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  background: rgba(251,247,241,0.92);
  color: var(--charcoal);
  padding: 0.6em 1em;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  max-width: calc(100% - 2 * var(--space-md));
}
.hero__scroll-cue{
  display: none;
}
@media (min-width: 900px){
  .hero__scroll-cue{
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-top: var(--space-md);
    font-size: 0.78rem;
    color: var(--stone);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .hero__scroll-cue svg{ width: 14px; height: 14px; animation: bob 2.2s ease-in-out infinite; }
}
@keyframes bob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(5px); }
}

/* ---------- About ---------- */
.about{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}
@media (min-width: 900px){
  .about{ grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: var(--space-2xl); }
}
.about__art{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.about__art img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about__stat{
  position: absolute;
  right: var(--space-sm);
  bottom: var(--space-sm);
  background: var(--ivory);
  padding: 1em 1.3em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  max-width: 220px;
}
.about__stat strong{
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--terracotta-deep);
}
.about__stat span{ font-size: 0.82rem; color: var(--stone); }
.about__body p + p{ margin-top: var(--space-sm); }
.about__signoff{
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--sand-deep);
}
.about__signoff strong{ display: block; color: var(--charcoal); }
.about__signoff span{ font-size: 0.85rem; color: var(--stone); }

/* ---------- Services ---------- */
.services-grid{
  display: grid;
  gap: 1px;
  background: var(--sand-deep);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 680px){
  .services-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px){
  .services-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.service-card{
  background: var(--ivory);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.service-card__icon{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2xs);
}
.service-card__icon svg{ width: 22px; height: 22px; color: var(--terracotta-deep); }
.service-card p{ color: var(--stone); font-size: 0.97rem; }

/* ---------- Why choose us ---------- */
.why-grid{
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 720px){
  .why-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-xl); }
}
.why-item{
  display: flex;
  gap: var(--space-sm);
}
.why-item__icon{
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item__icon svg{ width: 18px; height: 18px; color: var(--terracotta-deep); }
.why-item h3{ font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.2em; }
.why-item p{ color: var(--stone); font-size: 0.96rem; }

/* ---------- Process ---------- */
.process-list{
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 860px){
  .process-list{ grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); }
}
.process-step{
  position: relative;
  padding-top: var(--space-md);
  border-top: 1px solid var(--sand-deep);
}
.process-step__num{
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3em;
}
.process-step h3{ font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin-bottom: 0.3em; }
.process-step p{ color: var(--stone); font-size: 0.93rem; }

/* ---------- Gallery ---------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}
@media (min-width: 700px){
  .gallery-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
}
.gallery-item{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sand);
}
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img{ transform: scale(1.045); }
.gallery-item--tall{ grid-row: span 2; }
.gallery-item__cap{
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.6em 0.9em 0.8em;
  background: linear-gradient(to top, rgba(33,29,25,0.78), rgba(33,29,25,0));
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-item__cap,
.gallery-item:focus-within .gallery-item__cap{ opacity: 1; transform: translateY(0); }

/* ---------- Service area / map ---------- */
.area{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}
@media (min-width: 900px){
  .area{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: var(--space-2xl); }
}
.area__card{
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.area__list{ margin-top: var(--space-sm); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5em 1em; }
.area__list li{ font-size: 0.95rem; color: var(--charcoal-soft); padding-left: 1.1em; position: relative; }
.area__list li::before{ content: "—"; position: absolute; left: 0; color: var(--terracotta); }
.area__contact{ margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--sand-deep); }
.area__contact dt{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); font-weight: 700; }
.area__contact dd{ margin: 0 0 0.8em; font-size: 1.02rem; color: var(--charcoal); overflow-wrap: anywhere; word-break: break-word; }
.area__map{
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  background: var(--sand);
}
.area__map iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.area__map-fallback{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--space-md);
  background: var(--sand);
  color: var(--charcoal-soft);
  pointer-events: none;
}
.area__map-fallback svg{ width: 34px; height: 34px; color: var(--terracotta-deep); }

/* ---------- Contact ---------- */
.contact{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}
@media (min-width: 960px){
  .contact{ grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-2xl); }
}
.contact__info{ min-width: 0; }
.contact__info p{ color: var(--stone); }
.contact__points{ margin-top: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); min-width: 0; }
.contact__points li{ display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.95rem; min-width: 0; }
.contact__points svg{ width: 18px; height: 18px; color: var(--terracotta-deep); flex-shrink: 0; margin-top: 0.15em; }
.contact__points a, .contact__points span{ min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

.form-card{
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}
.form-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-sm) var(--space-md);
}
@media (min-width: 560px){
  .form-grid{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.field{ display: flex; flex-direction: column; gap: 0.4em; position: relative; }
.field--wide{ grid-column: 1 / -1; }
.field label{ font-size: 0.85rem; font-weight: 700; color: var(--charcoal); }
.field label .req{ color: var(--terracotta-deep); }
.field input, .field textarea{
  border: 1.5px solid var(--sand-deep);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus{ border-color: var(--terracotta-deep); }
.field textarea{ resize: vertical; min-height: 120px; }
.error-message{
  color: var(--error) !important;
  margin-top: 5px;
  font-size: 14px;
}
.field--hp{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-actions{ grid-column: 1 / -1; margin-top: var(--space-2xs); }
.form-actions .btn{ width: 100%; }
.form-note{ font-size: 0.8rem; color: var(--stone); margin-top: var(--space-xs); }

#form-success{
  display: none;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}
#form-success svg{ width: 44px; height: 44px; color: var(--terracotta-deep); margin-bottom: var(--space-xs); }
#form-success h3{ margin-bottom: 0.3em; }
#form-success p{ color: var(--stone); }

@keyframes fadeIn{
  from{ opacity: 0; transform: translateY(-3px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ---------- CTA band ---------- */
.cta-band{
  text-align: center;
  padding-block: var(--space-2xl);
}
.cta-band h2{ margin-bottom: var(--space-sm); }
.cta-band p{ max-width: 40ch; margin-inline: auto; color: var(--stone-on-dark); margin-bottom: var(--space-md); }
.cta-band__ctas{ display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-sm); }

/* ---------- Footer ---------- */
.site-footer{ padding-block: var(--space-xl) var(--space-md); }
.footer-grid{
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 780px){
  .footer-grid{ grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.footer-brand{ display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory); }
.footer-brand__mark{ width: 30px; height: 30px; }
.footer-tag{ margin-top: var(--space-xs); color: var(--stone-on-dark); font-size: 0.92rem; max-width: 32ch; }
.footer-col h4{ color: var(--ivory); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-sm); }
.footer-col ul{ display: flex; flex-direction: column; gap: 0.65em; }
.footer-col a, .footer-col address{ color: var(--stone-on-dark); font-style: normal; font-size: 0.95rem; overflow-wrap: anywhere; word-break: break-word; }
.footer-col a:hover{ color: var(--ivory); }
.footer-bottom{
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(251,247,241,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--stone-on-dark);
}

/* ---------- Scroll reveal ----------
   Content is visible by default (opacity:1) so it never depends on
   JavaScript to be seen — with JS off, or if IntersectionObserver isn't
   supported, every .reveal element simply stays visible. Only once
   main.js confirms it can observe scroll position does it add
   .js-reveal-ready to <html>, which switches .reveal to the pre-animation
   hidden state that .is-in then animates in from. */
.js-reveal-ready .reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js-reveal-ready .reveal.is-in{ opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion & print ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal{ opacity: 1; transform: none; }
  .hero__scroll-cue svg{ animation: none; }
}

@media print{
  .site-header, .hamburger, .mobile-drawer, .hero__ctas, .form-card, .cta-band, .gallery-item__cap{ display: none !important; }
  .reveal{ opacity: 1 !important; transform: none !important; transition: none !important; }
  body{ background: #fff; color: #000; }
}

/* Grid/flex items default to min-width:auto, which lets a long unbreakable
   string (an email address, a URL) force the track wider than its container
   and overflow the page horizontally. Neutralize that across every
   multi-column layout on the page rather than masking it with overflow-x. */
.hero__panel, .hero__figure,
.about__art, .about__body,
.service-card, .why-item, .process-step, .gallery-item,
.area__map, .footer-grid > *{
  min-width: 0;
}

/* Utility */
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
