:root {
  --ink: #351c1c;
  --muted: #765f5b;
  --paper: #fbf1eb;
  --surface: #fff8f3;
  --logo-paper: #f7f0e5;
  --line: #ead4cd;
  --teal: #6f2f35;
  --teal-soft: #f4dce0;
  --terracotta: #c86678;
  --gold: #bd8b53;
  --shadow: 0 22px 60px rgba(53, 28, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fffaf2;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: var(--logo-paper);
  box-shadow: 0 10px 30px rgba(23, 32, 29, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: grid;
  width: 158px;
  height: 72px;
  place-items: center;
  overflow: clip;
  border: 1px solid rgba(255, 248, 243, 0.68);
  border-radius: 8px;
  background: var(--logo-paper) url("./assets/maison-damore-logo.jpg") center / 138% no-repeat;
  box-shadow: 0 10px 24px rgba(53, 28, 28, 0.16);
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  border-color: transparent;
  background-color: transparent;
  box-shadow: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.05;
}

.brand small {
  color: currentColor;
  font-size: 0.76rem;
  letter-spacing: 0;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  text-underline-offset: 6px;
}

.site-nav a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle svg,
.button svg,
.service-card svg,
.resource-list svg,
.contact-points svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 76px) 76px;
  color: #fffaf2;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% top;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(53, 28, 28, 0.88), rgba(53, 28, 28, 0.62) 46%, rgba(53, 28, 28, 0.18)),
    linear-gradient(0deg, rgba(53, 28, 28, 0.42), rgba(53, 28, 28, 0));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4b4c0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.9rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  font-weight: 500;
}

h3 {
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.88);
  font-size: clamp(1.06rem, 1.55vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fffaf2;
  background: var(--teal);
}

.button.secondary {
  color: #fffaf2;
  border-color: rgba(255, 250, 242, 0.55);
  background: rgba(255, 250, 242, 0.08);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-band div {
  min-height: 138px;
  padding: 30px clamp(20px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band span {
  display: block;
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-band strong {
  display: block;
  max-width: 320px;
  font-size: clamp(1.12rem, 1.7vw, 1.55rem);
  line-height: 1.2;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 76px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.section-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
}

.portrait-panel {
  margin: 0;
  background: var(--teal);
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.portrait-panel figcaption {
  display: grid;
  gap: 4px;
  padding: 24px;
  color: #fffaf2;
}

.portrait-panel span {
  color: rgba(255, 250, 242, 0.76);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 940px;
  margin-bottom: 34px;
}

.services {
  background: #efe6d8;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tab {
  min-height: 40px;
  border: 1px solid rgba(23, 32, 29, 0.18);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.tab.is-active {
  color: #fffaf2;
  border-color: var(--teal);
  background: var(--teal);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  min-height: 272px;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 77, 73, 0.38);
}

.service-card[hidden] {
  display: none;
}

.service-card svg {
  width: 30px;
  height: 30px;
  color: var(--terracotta);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  align-self: end;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.method {
  background: var(--teal);
  color: #fffaf2;
}

.method .eyebrow {
  color: #f4b4c0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 250, 242, 0.25);
}

.timeline article {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 250, 242, 0.25);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  color: #f4b4c0;
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: rgba(255, 250, 242, 0.76);
}

.proof {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--surface);
}

.metric {
  display: grid;
  gap: 6px;
  color: var(--teal);
}

.metric strong {
  font-family: Georgia, serif;
  font-size: clamp(4.5rem, 10vw, 8rem);
  line-height: 0.9;
  font-weight: 500;
}

.metric span {
  max-width: 220px;
  color: var(--muted);
  font-weight: 800;
}

blockquote {
  margin: 0;
  max-width: 950px;
  font-family: Georgia, serif;
  font-size: clamp(1.55rem, 3.1vw, 3rem);
  line-height: 1.15;
}

cite {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-style: normal;
}

.ai-section {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at 82% 16%, rgba(200, 102, 120, 0.22), transparent 32%),
    linear-gradient(135deg, #fff8f3 0%, #f4dce0 100%);
}

.ai-intro {
  max-width: 980px;
}

.ai-intro p:not(.eyebrow),
.newsletter-panel p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 14px;
}

.ai-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 250px;
  border: 1px solid rgba(53, 28, 28, 0.12);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 248, 243, 0.76);
}

.ai-card.featured {
  color: #fffaf2;
  background: var(--teal);
}

.ai-card svg {
  width: 30px;
  height: 30px;
  color: var(--terracotta);
}

.ai-card.featured svg {
  color: #f4b4c0;
}

.ai-card p {
  margin: 0;
  color: var(--muted);
}

.ai-card.featured p {
  color: rgba(255, 250, 242, 0.78);
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  border: 1px solid rgba(53, 28, 28, 0.12);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 44px);
  background: rgba(255, 248, 243, 0.82);
  box-shadow: var(--shadow);
}

.newsletter-panel h3 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 500;
}

.ai-newsletter {
  display: grid;
  gap: 12px;
}

.ai-newsletter label {
  color: var(--ink);
}

.ai-newsletter input {
  border-color: rgba(53, 28, 28, 0.18);
  color: var(--ink);
  background: #fff;
}

.ai-newsletter .button {
  width: 100%;
}

.newsletter-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.editorial-page,
.article-page {
  padding-top: 110px;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(72px, 8vw, 120px) clamp(20px, 5vw, 76px);
  background: var(--surface);
}

.editorial-hero h1,
.article-detail h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.4vw, 6.2rem);
  font-weight: 500;
}

.editorial-hero p:not(.eyebrow),
.article-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.editorial-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-list-section {
  padding: clamp(64px, 7vw, 108px) clamp(20px, 5vw, 76px);
  background: var(--paper);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(53, 28, 28, 0.12);
  border-radius: 8px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-card span,
.article-card h3,
.article-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.article-card span {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.22rem;
}

.article-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.article-page {
  background: var(--paper);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 34px clamp(20px, 5vw, 76px) 0;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.back-link svg {
  width: 18px;
  height: 18px;
}

.article-detail {
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 40px) clamp(72px, 9vw, 132px);
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-body {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-body p {
  margin: 0;
}

.article-extra {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}

.article-extra section {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.article-extra h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.article-extra p,
.article-extra li {
  color: var(--muted);
  font-size: 1.08rem;
}

.article-extra p {
  margin: 0;
}

.article-extra ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.tips-box {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(53, 28, 28, 0.12);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--surface);
}

.tips-box h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.tips-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.resources {
  background: var(--paper);
}

.resource-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  font-weight: 800;
  text-decoration: none;
}

.resource-list svg {
  color: var(--terracotta);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 76px);
  color: #fffaf2;
  background: #351c1c;
}

.contact-copy p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 250, 242, 0.74);
}

.contact-points {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-form {
  display: grid;
  gap: 14px;
  align-self: start;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 250, 242, 0.06);
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 250, 242, 0.82);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 6px;
  padding: 12px 13px;
  color: #fffaf2;
  background: rgba(255, 250, 242, 0.08);
  font: inherit;
}

textarea {
  resize: vertical;
}

select option {
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #f4b4c0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 76px);
  color: var(--muted);
  background: var(--surface);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

@media (max-width: 980px) {
  .trust-band,
  .split,
  .service-grid,
  .timeline,
  .proof,
  .ai-grid,
  .newsletter-panel,
  .editorial-hero,
  .article-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline {
    border-top: 0;
  }

  .timeline article {
    min-height: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 250, 242, 0.25);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand-logo {
    width: 136px;
    height: 62px;
  }

  .site-nav {
    position: fixed;
    top: 88px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .hero {
    min-height: 88svh;
    padding: 116px 20px 52px;
  }

  .editorial-page,
  .article-page {
    padding-top: 88px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(53, 28, 28, 0.9), rgba(53, 28, 28, 0.68)),
      linear-gradient(0deg, rgba(53, 28, 28, 0.44), rgba(53, 28, 28, 0));
  }

  .hero-image {
    object-position: 57% top;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  .button {
    width: 100%;
  }

  .portrait-panel img {
    aspect-ratio: 1 / 1;
  }

  .service-card {
    min-height: 0;
  }

  .resource-list a {
    align-items: flex-start;
    min-height: 76px;
    padding: 18px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
