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

:root {
  --bone: #f5f0e8;
  --ivory: #faf7f2;
  --ink: #1c1814;
  --gold: #c8a96a;
  --doll: #c45c6a;
  --dim: #5a5248;
  --taupe: #b8a898;

  --display: 'Cormorant Garamond', serif;
  --body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--bone);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--bone);
}

.logo sup { font-size: 0.6rem; font-style: normal; }

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-size: 0.85rem;
  color: var(--taupe);
  transition: color 0.2s ease;
}

.main-nav a:hover, .main-nav a.active { color: var(--bone); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--doll);
  color: var(--ivory);
}
.btn-primary:hover { background: #ad4c59; }

.btn-outline {
  border-color: var(--taupe);
  color: var(--bone);
}
.btn-outline:hover { border-color: var(--bone); }

.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-dark:hover { background: var(--ink); color: var(--bone); }

/* Hero */
.hero {
  padding: 110px 0 90px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-style: italic;
  margin: 18px 0 22px;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--dim);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section headers */
.section {
  padding: 90px 0;
}

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

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 14px 0 16px;
}

.section-head p { color: var(--dim); }

.section-alt { background: var(--ivory); }

/* Collection cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--ivory);
  border: 1px solid rgba(28,24,20,0.08);
  padding: 34px 30px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(28,24,20,0.08);
}

.card h3 {
  font-size: 1.5rem;
  font-style: italic;
}

.card p { color: var(--dim); font-size: 0.92rem; }

.card-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--doll);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Site-type list */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.type-card {
  background: var(--ivory);
  border: 1px solid rgba(28,24,20,0.08);
  padding: 22px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.type-card:hover {
  border-color: var(--gold);
  background: var(--bone);
}

.type-card span:first-child {
  font-family: var(--display);
  font-size: 1.15rem;
}

.type-card .arrow { color: var(--doll); font-size: 1.1rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--taupe);
  padding: 64px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--bone);
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-grid ul li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid ul li a:hover { color: var(--bone); }

.footer-bottom {
  border-top: 1px solid rgba(245,240,232,0.12);
  padding-top: 24px;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .footer-grid { flex-direction: column; gap: 28px; }
}

/* Editorial showroom homepage */
.home-page {
  --rose: #b85c68;
  --rose-dark: #8e404b;
  --night: #211c18;
  --cream: #f5f0e8;
  --paper: #fbf8f3;
  --sand: #e8ded0;
  --line: rgba(33, 28, 24, 0.14);
  background: var(--paper);
  overflow-x: hidden;
}

.home-page .container { max-width: 1240px; }
.home-page .home-header {
  background: rgba(251, 248, 243, 0.94);
  border-bottom-color: rgba(33, 28, 24, 0.09);
  backdrop-filter: blur(14px);
}
.home-page .home-header .container { height: 78px; }
.home-page .home-header .logo { color: var(--night); }
.home-page .home-header .main-nav a { color: #6f6258; }
.home-page .home-header .main-nav a:hover { color: var(--rose); }
.home-page .home-header .btn-outline { color: var(--night); border-color: rgba(33, 28, 24, 0.35); }
.home-page .home-header .btn-outline:hover { color: var(--cream); background: var(--night); border-color: var(--night); }

.showroom-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(rgba(33, 28, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 24, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}
.showroom-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 68%;
  background: rgba(33, 28, 24, 0.12);
}
.showroom-hero-grid {
  min-height: calc(100vh - 138px);
  padding-top: 10vh;
  padding-bottom: 9vh;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.55fr);
  gap: 10vw;
  align-items: center;
}
.showroom-hero-copy { max-width: 880px; animation: showroom-rise 0.8s ease both; }
.home-page .eyebrow { color: var(--rose-dark); }
.showroom-hero h1 {
  max-width: 920px;
  margin: 24px 0 30px;
  color: var(--night);
  font-size: clamp(4rem, 8.4vw, 8.4rem);
  line-height: 0.83;
  letter-spacing: -0.055em;
}
.showroom-hero h1 em { color: var(--rose); font-weight: 300; }
.hero-lede {
  max-width: 660px;
  color: var(--night);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.25;
}
.hero-detail { max-width: 570px; margin-top: 20px; color: #75685e; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.home-page .btn-primary { background: var(--night); border-color: var(--night); color: var(--cream); }
.home-page .btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  color: var(--night);
  border-bottom: 1px solid rgba(33, 28, 24, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.text-link:hover { color: var(--rose-dark); border-color: var(--rose-dark); }
.hero-edition {
  position: relative;
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--cream);
  background: var(--rose);
  animation: showroom-fade 1s 0.15s ease both;
}
.hero-edition::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(245, 240, 232, 0.4); }
.hero-edition > * { position: relative; z-index: 1; }
.edition-label { font-size: 0.66rem; letter-spacing: 0.25em; text-transform: uppercase; }
.hero-edition strong { font-family: var(--display); font-weight: 300; font-size: clamp(6rem, 11vw, 10rem); line-height: 0.75; }
.hero-edition p { max-width: 180px; margin-left: auto; font-size: 0.78rem; line-height: 1.6; }
.showroom-index { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(251, 248, 243, 0.84); }
.showroom-index .container { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.showroom-index span { color: #6f6258; font-size: 0.67rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.showroom-index i { width: 3px; height: 3px; border-radius: 50%; background: var(--rose); }

.showroom-section { padding: 130px 0; }
.section-intro { display: grid; grid-template-columns: 1fr 0.62fr; gap: 90px; align-items: end; margin-bottom: 64px; }
.section-intro h2, .about-heading h2, .portfolio-section h2 { margin-top: 12px; font-size: clamp(3.2rem, 6vw, 5.8rem); line-height: 0.98; letter-spacing: -0.04em; }
.section-intro h2 em, .services-intro h2 em, .portfolio-section h2 em { color: var(--rose); }
.section-intro > p { color: #75685e; line-height: 1.8; max-width: 500px; }
.collection-grid { display: grid; grid-template-columns: 1.22fr 0.78fr; grid-template-rows: repeat(2, minmax(250px, auto)); gap: 20px; }
.collection-card {
  position: relative;
  min-height: 280px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--night);
  border: 1px solid rgba(33, 28, 24, 0.11);
  background: #f0e7dc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.collection-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(33, 28, 24, 0.1); }
.collection-card-featured { grid-row: 1 / 3; min-height: 580px; color: var(--cream); background: var(--rose-dark); }
.collection-card-featured::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -120px;
  bottom: -150px;
  border: 1px solid rgba(245, 240, 232, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(245, 240, 232, 0.04), 0 0 0 100px rgba(245, 240, 232, 0.035);
}
.collection-card-dark { color: var(--cream); background: var(--night); }
.collection-number { position: relative; z-index: 2; font-size: 0.66rem; letter-spacing: 0.2em; }
.collection-copy { position: relative; z-index: 2; max-width: 480px; }
.collection-label { margin-bottom: 12px; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.72; }
.collection-card h3 { font-size: clamp(1.9rem, 3.6vw, 3.8rem); line-height: 1; }
.collection-card:not(.collection-card-featured) h3 { max-width: 430px; font-size: clamp(1.65rem, 2.8vw, 2.7rem); }
.collection-link { display: inline-flex; gap: 10px; margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 0.7rem; font-family: var(--body); font-weight: 600; letter-spacing: 0.05em; }
.collection-link b { font-weight: 400; }
.collection-mark { position: absolute; right: 24px; top: 8px; font-family: var(--display); font-size: 11rem; line-height: 1; opacity: 0.055; }
.collection-card-featured .collection-mark { top: auto; right: 20px; bottom: -28px; font-size: 22rem; opacity: 0.07; }

.showroom-projects { margin-top: 110px; display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 9vw; align-items: start; }
.showroom-projects-heading { position: sticky; top: 120px; }
.showroom-projects-heading h3 { margin: 14px 0 22px; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 0.98; }
.showroom-projects-heading h3 em { color: var(--rose); }
.showroom-projects-heading > p:last-child { max-width: 360px; color: #75685e; line-height: 1.8; }
.project-directory { border-top: 1px solid var(--line); }
.project-entry {
  display: grid;
  grid-template-columns: 46px minmax(180px, 1fr) minmax(150px, 0.65fr) 24px;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, padding 0.25s ease, background 0.25s ease;
}
.project-entry:hover { padding-left: 18px; padding-right: 18px; color: var(--rose-dark); background: rgba(232, 222, 208, 0.38); }
.project-number { color: var(--rose); font-size: 0.62rem; letter-spacing: 0.16em; }
.project-name { font-family: var(--display); font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1; }
.project-type { color: #807268; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.project-arrow { font-size: 1rem; text-align: right; transition: transform 0.25s ease; }
.project-entry:hover .project-arrow { transform: translate(3px, -3px); }
.project-entry-pending { color: #92877f; cursor: default; }
.project-entry-pending:hover { padding-left: 8px; padding-right: 8px; color: #92877f; background: transparent; }

.about-section { padding: 130px 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 10vw; }
.about-heading h2 { max-width: 560px; }
.about-copy { padding-top: 38px; }
.about-copy p { max-width: 650px; margin-bottom: 20px; color: #75685e; line-height: 1.85; }
.about-copy .about-intro { color: var(--night); font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; }
.about-copy .text-link { margin-top: 12px; }

.services-section { padding: 130px 0; background: var(--paper); }
.services-intro { margin-bottom: 48px; }
.package-list { border-top: 1px solid var(--line); }
.package-row { display: grid; grid-template-columns: 0.72fr 1.35fr 0.72fr; gap: 50px; align-items: start; padding: 42px 0; border-bottom: 1px solid var(--line); transition: padding 0.25s ease, background 0.25s ease; }
.package-row:hover { padding-left: 20px; padding-right: 20px; background: rgba(232, 222, 208, 0.36); }
.package-heading { display: flex; align-items: baseline; gap: 22px; }
.package-heading span { color: var(--rose); font-size: 0.66rem; letter-spacing: 0.16em; }
.package-heading h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-style: italic; }
.package-summary strong { display: block; margin-bottom: 10px; font-family: var(--display); font-size: 1.35rem; font-weight: 400; }
.package-summary p { color: #75685e; line-height: 1.75; }
.package-action { text-align: right; }
.package-action p { margin-bottom: 18px; color: var(--night); font-family: var(--display); font-size: 1.55rem; }
.package-action small { display: block; margin-bottom: 4px; color: #8b7d72; font-family: var(--body); font-size: 0.59rem; letter-spacing: 0.15em; text-transform: uppercase; }
.package-action a { display: inline-flex; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid rgba(33, 28, 24, 0.35); color: var(--rose-dark); font-size: 0.72rem; font-weight: 600; }

.portfolio-section { padding: 130px 0; color: var(--cream); background: var(--night); }
.portfolio-grid { display: grid; grid-template-columns: 1fr 0.72fr; gap: 100px; align-items: end; }
.portfolio-section h2 em { color: #d88b94; }
.portfolio-copy p { color: rgba(245, 240, 232, 0.62); line-height: 1.8; }
.portfolio-links { margin-top: 34px; border-top: 1px solid rgba(245, 240, 232, 0.17); }
.portfolio-links a { display: flex; justify-content: space-between; padding: 17px 0; color: var(--cream); border-bottom: 1px solid rgba(245, 240, 232, 0.17); font-family: var(--display); font-size: 1.2rem; }
.portfolio-links a:hover { color: #d88b94; }
.growth-footer { padding-top: 92px; }
.footer-cta { display: grid; justify-items: center; text-align: center; padding-bottom: 82px; }
.growth-footer h2 { margin: 14px 0; color: var(--cream); font-size: clamp(3.2rem, 7vw, 6rem); font-style: italic; }
.footer-cta > p:not(.eyebrow) { margin-bottom: 28px; color: var(--taupe); }
.growth-footer .footer-bottom { padding-top: 26px; }

@keyframes showroom-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes showroom-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 980px) {
  .showroom-hero-grid { grid-template-columns: 1fr; gap: 50px; padding-top: 90px; }
  .hero-edition { min-height: 230px; max-width: 620px; }
  .hero-edition strong { font-size: 7rem; }
  .section-intro, .about-grid, .portfolio-grid { grid-template-columns: 1fr; gap: 45px; }
  .collection-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .collection-card-featured { grid-row: auto; grid-column: 1 / 3; min-height: 480px; }
  .showroom-projects { grid-template-columns: 1fr; gap: 48px; }
  .showroom-projects-heading { position: static; }
  .package-row { grid-template-columns: 0.7fr 1.3fr; }
  .package-action { grid-column: 2; text-align: left; }
}

@media (max-width: 760px) {
  .home-page .home-header .container { height: 68px; }
  .home-page .home-header .main-nav { display: none; }
  .home-page .home-header .btn { padding: 9px 12px; font-size: 0.67rem; }
  .home-page .container { padding-left: 22px; padding-right: 22px; }
  .showroom-hero-grid { min-height: auto; padding-top: 80px; padding-bottom: 64px; }
  .showroom-hero h1 { font-size: clamp(3.7rem, 18vw, 6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-edition { min-height: 210px; }
  .showroom-index .container { justify-content: flex-start; overflow: hidden; }
  .showroom-index span:nth-of-type(n+4), .showroom-index i:nth-of-type(n+4) { display: none; }
  .showroom-section, .about-section, .services-section, .portfolio-section { padding-top: 90px; padding-bottom: 90px; }
  .section-intro { margin-bottom: 44px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card, .collection-card-featured { grid-column: auto; min-height: 330px; }
  .collection-card-featured { min-height: 440px; }
  .showroom-projects { margin-top: 80px; }
  .project-entry { grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 12px; min-height: 78px; padding-left: 0; padding-right: 0; }
  .project-type { display: none; }
  .project-entry:hover, .project-entry-pending:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .package-row { grid-template-columns: 1fr; gap: 24px; padding: 34px 0; }
  .package-action { grid-column: auto; }
  .package-row:hover { padding-left: 0; padding-right: 0; background: transparent; }
}

@media (max-width: 420px) {
  .home-page .home-header .btn { display: none; }
  .hero-edition { min-height: 190px; padding: 28px; }
  .collection-card { padding: 28px; }
}
