/* Eurowood Cabinets homepage concept
   Palette: their real Wix palette (oxblood red family #9c2426 / #df3336,
   warm greys #767574 / #a8a6a5 / #e0dfdf / #f1f0ef). Dark bands are a
   neutral warm near-black ink family since their brand has no dark hue. */

:root {
  --ink:        #16120f;
  --ink-2:      #1e1915;
  --ink-3:      #2a231d;
  --paper:      #f1f0ef;
  --paper-2:    #e0dfdf;
  --white:      #faf9f8;
  --accent:     #9c2426;
  --accent-bright: #df3336;
  --accent-deep:   #7d1d1f;
  --accent-muted:  rgba(156,36,38,0.14);
  --text-dark:  #1e1915;
  --text-body:  #525150;
  --text-muted: #767574;
  --text-faint: #a8a6a5;
  --text-light: rgba(250,249,248,0.92);
  --text-light-muted: rgba(250,249,248,0.62);
  --font-display: 'Marcellus', serif;
  --font-body: 'Outfit', sans-serif;
  --wrap: min(90%, 1100px);
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --nav-h: 80px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--accent-bright); }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.section-title--light { color: var(--text-light); }
.section-sub {
  margin-top: 1.1rem;
  max-width: 56ch;
  color: var(--text-body);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
}
.section-sub--light { color: var(--text-light-muted); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.55rem 0.55rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  will-change: transform;
}
.btn-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  transition: transform 0.45s var(--ease-out);
}
.btn-pill__icon svg { width: 16px; height: 16px; }
.btn-pill:hover .btn-pill__icon { transform: rotate(45deg); }
.btn-pill--accent { background: var(--accent); color: #fff; }
.btn-pill--accent .btn-pill__icon { background: rgba(255,255,255,0.16); }
.btn-pill--accent:hover { background: var(--accent-deep); }
.btn-pill--ghost { border: 1px solid rgba(250,249,248,0.4); color: var(--text-light); }
.btn-pill--ghost .btn-pill__icon { background: rgba(250,249,248,0.12); }
.btn-pill--ghost:hover { border-color: rgba(250,249,248,0.8); }
.btn-pill--dark { background: var(--ink); color: var(--text-light); }
.btn-pill--dark .btn-pill__icon { background: rgba(250,249,248,0.12); }
.btn-pill--dark:hover { background: var(--ink-3); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}
.nav__inner {
  width: var(--wrap);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo { height: 34px; width: auto; max-width: 200px; object-fit: contain; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__link {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-light-muted);
  transition: color 0.3s;
}
.nav__link:hover { color: var(--text-light); }
.nav__cta { margin-left: 1rem; }
.nav--scrolled { background: rgba(22,18,15,0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(250,249,248,0.08); }
.nav__burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 300;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-light);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--text-light);
  padding-block: 0.35rem;
  border-bottom: 1px solid rgba(250,249,248,0.08);
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}
.mobile-menu__link:hover { color: var(--accent-bright); padding-left: 0.5rem; }
.mobile-menu__foot { margin-top: 2.2rem; }
.mobile-menu__meta { margin-top: 1.2rem; color: var(--text-light-muted); font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 112%; object-fit: cover; object-position: center 40%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(22,18,15,0.88) 0%, rgba(22,18,15,0.55) 38%, rgba(22,18,15,0.05) 62%, rgba(22,18,15,0) 75%),
              linear-gradient(to top, rgba(22,18,15,0.75) 0%, rgba(22,18,15,0) 40%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin-inline: auto;
  padding-bottom: clamp(4.5rem, 9vh, 7rem);
  max-width: 1100px;
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.05;
  color: var(--text-light);
  max-width: 12ch;
}
.hero__title em { font-style: normal; color: var(--accent-bright); }
.hero__sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  color: var(--text-light-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }
.hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: 1.4rem;
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(250,249,248,0.55);
}

/* ---------- intro ---------- */
.intro { background: var(--paper); padding-block: clamp(4rem, 8vw, 6.5rem); }
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.intro__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.18;
}
.intro__right p + p { margin-top: 1.1rem; }
.intro__right p { color: var(--text-body); font-size: clamp(1rem, 1.4vw, 1.08rem); }
.intro__memberships {
  padding-top: 1.1rem;
  border-top: 1px solid var(--paper-2);
  font-size: 0.92rem !important;
  color: var(--text-muted) !important;
}

/* ---------- galleries ---------- */
.galleries { background: var(--ink); padding-block: clamp(4rem, 8vw, 6.5rem); }
.galleries .section-title { color: var(--text-light); }
.galleries .section-sub { color: var(--text-light-muted); }
.galleries__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
}
.gcard {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  display: block;
}
.gcard--wide { grid-column: span 2; aspect-ratio: 21 / 9; }
.gcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.gcard:hover img { transform: scale(1.045); }
.gcard__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.4rem 1.2rem;
  background: linear-gradient(to top, rgba(22,18,15,0.85), rgba(22,18,15,0));
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.gcard__name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: var(--text-light);
}
.gcard__note { font-size: 0.85rem; color: var(--text-light-muted); }

/* ---------- products ---------- */
.products { background: var(--paper); padding-block: clamp(4rem, 8vw, 6.5rem); }
.products__rows { border-top: 1px solid var(--paper-2); }
.prow {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(1.8rem, 3.4vw, 2.8rem);
  border-bottom: 1px solid var(--paper-2);
}
.prow__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  padding-top: 0.4rem;
}
.prow__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.prow__text { color: var(--text-body); max-width: 62ch; }
.prow__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--paper-2);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  white-space: nowrap;
  margin-top: 0.4rem;
}

/* ---------- commercial ---------- */
.commercial { background: var(--ink-2); padding-block: clamp(4rem, 8vw, 6.5rem); }
.commercial__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.commercial__media img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.commercial__caption { margin-top: 0.8rem; font-size: 0.8rem; color: var(--text-light-muted); }
.commercial__text { margin-top: 1.2rem; color: var(--text-light-muted); font-size: clamp(1rem, 1.4vw, 1.1rem); }
.commercial__list-label {
  margin-top: 1.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.commercial__list { list-style: none; margin-top: 0.9rem; }
.commercial__list li {
  padding-block: 0.7rem;
  border-bottom: 1px solid rgba(250,249,248,0.09);
  color: var(--text-light);
  font-size: 0.95rem;
}
.commercial__list li:last-child { border-bottom: 0; }

/* ---------- shop ---------- */
.shop { background: var(--paper); padding-block: clamp(4rem, 8vw, 6.5rem); }
.shop__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.shop__step { border-top: 2px solid var(--accent); padding-top: 1.3rem; }
.shop__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.7rem;
}
.shop__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}
.shop__step p { font-size: 0.93rem; color: var(--text-body); }

/* ---------- team ---------- */
.team { background: var(--ink); padding-block: clamp(4rem, 8vw, 6.5rem); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.team__card {
  background: var(--ink-2);
  border: 1px solid rgba(250,249,248,0.07);
  border-radius: 6px;
  padding: clamp(1.4rem, 2.6vw, 2rem);
}
.team__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-light);
}
.team__role {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-top: 0.3rem;
  margin-bottom: 0.9rem;
}
.team__bio { font-size: 0.93rem; color: var(--text-light-muted); }
.team__quote {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(250,249,248,0.09);
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-light);
}

/* ---------- cta ---------- */
.cta {
  background: var(--paper);
  padding-block: clamp(4.5rem, 9vw, 7rem);
  text-align: center;
}
.cta__inner { max-width: 720px; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
}
.cta__sub { margin-top: 1.2rem; color: var(--text-body); }
.cta__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.2rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250,249,248,0.09);
}
.footer__logo { height: 38px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 1.1rem; }
.footer__mission { color: var(--text-light-muted); font-size: 0.92rem; max-width: 34ch; }
.footer__nav { display: flex; flex-direction: column; }
.footer__link {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  padding-block: 0.3rem;
  transition: color 0.3s;
}
.footer__link:hover { color: var(--text-light); }
.footer__contact p { color: var(--text-light-muted); font-size: 0.92rem; }
.footer__contact p + p { margin-top: 0.9rem; }
.footer__hours { font-size: 0.85rem !important; }
.footer__base { padding-top: 1.6rem; }
.footer__base p { font-size: 0.78rem; color: rgba(250,249,248,0.4); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal, .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .shop__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero { height: auto; min-height: 100svh; align-items: flex-end; }
  .hero__content { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem; }
  .hero__caption { display: none; }
  .intro__grid, .commercial__grid { grid-template-columns: 1fr; }
  .commercial__media { order: 2; }
  .prow { grid-template-columns: 44px minmax(0, 1fr); }
  .prow__tag { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__nav .footer__link, .footer__contact .footer__link { padding-block: 0.65rem; }
}
@media (max-width: 640px) {
  .galleries__grid { grid-template-columns: 1fr; }
  .gcard--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .team__grid { grid-template-columns: 1fr; }
  .shop__steps { grid-template-columns: 1fr; }
  .hero__title { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .gcard img, .btn-pill__icon { transition: none; }
}
