@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f5f1ea;
  --bg-soft: #fbf8f3;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-muted: #efe5d8;
  --line: rgba(118, 91, 68, 0.14);
  --line-strong: rgba(118, 91, 68, 0.24);
  --text: #231a14;
  --text-soft: #55473d;
  --text-muted: #7a6c61;
  --accent: #bf4c33;
  --accent-dark: #9e3823;
  --accent-soft: rgba(191, 76, 51, 0.1);
  --shadow: 0 24px 70px rgba(44, 26, 16, 0.08);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1360px, calc(100vw - 56px));
  --content: min(1240px, calc(100vw - 56px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(191, 76, 51, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(214, 189, 160, 0.26), transparent 26%),
    linear-gradient(180deg, #f8f4ee 0%, #f3eee6 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(118, 91, 68, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 91, 68, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.45;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.page-shell {
  padding: 14px 0 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0 0;
  background: linear-gradient(180deg, rgba(248, 244, 238, 0.88), rgba(248, 244, 238, 0));
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.88);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__copy strong {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand__copy small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.site-nav__list,
.footer-links,
.footer-contact,
.plain-list,
.link-stack {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible,
.site-nav__list a.is-current,
.site-nav__list .is-current-parent > a {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button,
.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible,
.footer-pill:hover,
.footer-pill:focus-visible {
  transform: translateY(-1px);
}

.button {
  background: var(--accent);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(191, 76, 51, 0.28);
  background: rgba(255, 255, 255, 0.82);
}

.button--light {
  background: #fff;
  color: var(--text);
}

.hero-flow,
.page-hero,
.page-section,
.footer-shell {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 245, 0.9));
  box-shadow: var(--shadow);
}

.hero-flow,
.page-hero,
.page-section {
  border-radius: var(--radius-xl);
}

.hero-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
  padding: 46px;
}

.hero-flow__copy h1,
.page-hero h1,
.section-head h2,
.visual-note h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-flow__copy h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 5vw, 5.1rem);
  line-height: 0.94;
}

.hero-flow__copy > p:not(.eyebrow) {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-actions,
.story-card__actions,
.contact-card__actions,
.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.summary-stat,
.metric-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.summary-stat strong,
.metric-card strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.summary-stat span,
.metric-card span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-flow__visual {
  display: grid;
  gap: 20px;
}

.visual-frame {
  overflow: hidden;
  margin: 0;
  border-radius: calc(var(--radius-xl) - 10px);
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--surface-strong);
}

.visual-frame img {
  height: 100%;
  object-fit: cover;
}

.visual-note {
  display: grid;
  gap: 12px;
  padding: 24px 26px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(191, 76, 51, 0.08), rgba(255, 255, 255, 0.3));
}

.visual-note h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.02;
}

.visual-note p:last-child {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.home-section,
.page-section {
  margin-top: 28px;
  padding: 38px 40px;
}

.home-section--soft,
.page-section--soft {
  background: linear-gradient(180deg, rgba(243, 234, 223, 0.78), rgba(255, 251, 246, 0.88));
}

.page-section--muted {
  background: linear-gradient(180deg, rgba(245, 239, 231, 0.78), rgba(255, 255, 255, 0.88));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
}

.section-head p,
.page-hero p,
.lead-copy,
.feature-card p,
.list-card p,
.article-card p,
.article-shell p,
.contact-card p,
.muted-note,
.plain-list li,
.footer-panel p,
.footer-contact li {
  color: var(--text-soft);
  line-height: 1.75;
}

.section-head > p {
  max-width: 48ch;
  margin: 0;
}

.overview-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.lead-copy {
  margin: 0;
  font-size: 1.05rem;
}

.stack {
  display: grid;
  gap: 18px;
}

.plain-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.plain-list li {
  position: relative;
  padding-left: 18px;
}

.plain-list li::before {
  position: absolute;
  top: 0.78rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.text-link,
.link-stack a,
.footer-links a,
.footer-contact a,
.footer-credit {
  color: var(--text);
  transition: color 180ms ease;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible,
.link-stack a:hover,
.link-stack a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--accent);
}

.metrics-grid,
.feature-grid,
.item-grid,
.news-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.metrics-grid,
.feature-grid,
.item-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.list-card,
.article-card,
.contact-card,
.article-shell {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.feature-card__tag,
.article-meta {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3,
.list-card h3,
.article-card h2,
.article-card h3,
.contact-card h3,
.footer-panel h3,
.product-line__body h3 {
  margin: 10px 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.feature-card p,
.list-card p,
.article-card p,
.contact-card p,
.article-shell p {
  margin: 0;
}

.item-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.list-card {
  min-height: 150px;
}

.news-grid .article-card {
  display: grid;
  gap: 14px;
}

.article-card h2,
.article-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.muted-note {
  margin: 20px 0 0;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.contact-band__block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.contact-band__block h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.link-stack {
  display: grid;
  gap: 10px;
}

.product-overview {
  display: grid;
  gap: 8px;
}

.product-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.product-line:first-child {
  padding-top: 0;
  border-top: 0;
}

.product-line__index {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product-line__body p {
  margin: 0;
  color: var(--text-soft);
}

.page-hero {
  margin-top: 4px;
  padding: 42px 40px;
}

.page-hero__content {
  max-width: 72ch;
}

.page-hero__content p:last-child {
  margin-bottom: 0;
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
}

.article-nav {
  margin-top: 28px;
}

.footer-shell {
  margin-top: 30px;
  padding: 36px 38px 28px;
  border-radius: var(--radius-xl);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 28px;
}

.footer-panel h3 {
  margin-top: 0;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.site-footer__bottom p {
  margin: 0;
  color: var(--text-muted);
}

.footer-credit {
  margin-left: auto;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-align: right;
}

.footer-spacer {
  display: none;
}

@media (max-width: 1100px) {
  .hero-flow,
  .overview-split {
    grid-template-columns: 1fr;
  }

  .hero-facts,
  .site-footer__grid,
  .contact-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-frame {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100vw - 32px, 100%);
    --content: min(100vw - 32px, 100%);
  }

  .site-header {
    padding-top: 12px;
  }

  .nav-shell {
    position: relative;
    padding: 16px 18px;
  }

  .brand__copy {
    display: none;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 250, 245, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__list a {
    justify-content: flex-start;
    padding: 0 14px;
  }

  .hero-flow,
  .page-hero,
  .home-section,
  .page-section,
  .footer-shell {
    padding: 28px 24px;
  }

  .hero-flow__copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-facts,
  .metrics-grid,
  .feature-grid,
  .item-grid,
  .news-grid,
  .contact-grid,
  .site-footer__grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .product-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-line .button {
    justify-self: start;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-credit {
    margin-left: 0;
    align-self: flex-end;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding-bottom: 56px;
  }

  .brand__logo {
    width: 146px;
  }

  .hero-flow,
  .page-hero,
  .home-section,
  .page-section,
  .footer-shell {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .visual-frame {
    min-height: 300px;
  }
}
