:root {
  --dark: #111111;
  --ivory: #f5f2ec;
  --bg: #f7f5f1;
  --stone: #efe8dc;
  --gold: #b89a68;
  --text: #111111;
  --text-muted: #5a554d;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --section-pad: clamp(5rem, 12vw, 9rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--dark);
  color: var(--ivory);
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(720px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: var(--section-pad) 0;
}

.section-stone {
  background: var(--stone);
}

.section-ivory {
  background: var(--ivory);
}

.section-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.text-cta {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.text-cta:hover {
  color: var(--gold);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: scale(0.98) translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Sticky header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(247, 245, 241, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), visibility 0.5s;
}

.site-header.is-visible {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

.header-brand img {
  width: auto;
  height: 28px;
  filter: brightness(0);
}

.header-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.header-menu img {
  width: 40px;
  height: auto;
  filter: brightness(0);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.header-menu[aria-expanded="true"] img {
  opacity: 0.45;
  transform: scale(0.92);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.header-nav a:hover {
  color: var(--text);
}

.header-cta {
  color: var(--text) !important;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  padding: 0.85rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.48);
}

.hero-utilities {
  position: absolute;
  top: 2rem;
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.hero-utilities a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.88);
  transition: color 0.3s var(--ease);
}

.hero-utilities a:hover {
  color: var(--ivory);
}

.hero-brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-logo {
  width: clamp(250px, 34vw, 400px);
  height: auto;
  background: none;
}

.hero-tagline {
  margin: 1.75rem 0 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.75);
}

/* Collections */
.collections-copy {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.collections-copy h2 {
  margin-bottom: 1.25rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category {
  min-height: 460px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  text-decoration: none;
}

.category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  z-index: 1;
}

.category::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.45s var(--ease);
}

.category > div {
  position: relative;
  z-index: 2;
}

.category:hover::after {
  transform: scale(1.06);
}

.category h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #fff;
}

.category p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  font-size: 0.95rem;
}

/* Showroom */
.showroom-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.showroom-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.showroom-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem);
}

.showroom-copy h2 {
  margin-bottom: 1.25rem;
}

.showroom-hours {
  margin: 2rem 0;
}

.showroom-hours div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 0.92rem;
}

.showroom-hours dt {
  font-weight: 400;
  color: var(--text);
}

.showroom-hours dd {
  margin: 0;
  color: var(--text-muted);
}

.showroom-areas {
  font-size: 0.88rem;
  max-width: 42ch;
}

/* Why */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.why-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
}

.why-list p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--text);
  margin: 0;
  line-height: 1.45;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.testimonial {
  margin: 0;
}

.testimonial p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.testimonial footer {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Contact */
.contact {
  background: var(--dark);
  color: var(--ivory);
}

.contact h2 {
  color: var(--ivory);
}

.contact p {
  color: rgba(245, 242, 236, 0.7);
}

.contact .section-eyebrow {
  color: var(--gold);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  width: min(1100px, calc(100% - 3rem));
  margin-inline: auto;
  padding: var(--section-pad) 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-links a {
  font-size: 0.95rem;
  color: rgba(245, 242, 236, 0.85);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}

.contact-links a:hover {
  color: var(--ivory);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.6);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ivory);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 242, 236, 0.25);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.submit:hover {
  color: var(--gold);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  font-size: 0.88rem;
  min-height: 1.4em;
  margin: 0;
}

.form-status.success {
  color: var(--gold);
}

.form-status.error {
  color: #c9a0a0;
}

/* Footer */
.site-footer {
  background: var(--dark);
  padding: clamp(4rem, 10vw, 7rem) 1.5rem 3rem;
  text-align: center;
}

.footer-logo {
  width: clamp(200px, 30vw, 260px);
  height: auto;
  margin: 0 auto 3rem;
  background: none;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover {
  color: var(--ivory);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245, 242, 236, 0.35);
  margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .showroom-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-brand {
    display: none;
  }

  .header-menu {
    display: flex;
    margin-left: auto;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category {
    min-height: 340px;
    padding: 24px;
  }

  .hero-utilities {
    top: 1.25rem;
    right: 1.25rem;
    gap: 1rem;
  }

  .hero-utilities a {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .why-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .category::after {
    transition: none;
  }
}
