﻿:root {
  --ivory: #f7f2e9;
  --paper: #fffdf8;
  --ink: #171512;
  --charcoal: #2c2a27;
  --muted: #756f66;
  --line: #ded5c8;
  --champagne: #b79b63;
  --bronze: #6e5736;
  --soft-gold: #eadfc5;
  --stone: #ebe4d8;
  --shadow: 0 24px 70px rgba(30, 25, 18, 0.08);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

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

p { color: var(--muted); margin: 0 0 1.15rem; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}

h1 { font-size: clamp(3.2rem, 9vw, 7.6rem); letter-spacing: -0.06em; }
h2 { font-size: clamp(2.3rem, 5vw, 4.9rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.45rem, 2.2vw, 2.15rem); letter-spacing: -0.025em; }
h4 { font-size: 1.05rem; letter-spacing: 0.01em; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 110px 0; }
.section-tight { padding: 72px 0; }
.eyebrow {
  color: var(--bronze);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.lede { font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--charcoal); max-width: 760px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222, 213, 200, 0.8);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(183,155,99,0.36);
  box-shadow: 0 10px 26px rgba(30,25,18,0.12);
}

.logo strong {
  color: var(--champagne);
  font-weight: 400;
}

.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.3vw, 18px); font-size: 0.86rem; color: var(--charcoal); }
.nav-links a { position: relative; padding: 7px 0; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--champagne);
  transition: width 180ms ease;
}
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { width: 100%; }
.nav-cta { border: 1px solid var(--champagne); padding: 9px 14px !important; color: var(--ink); white-space: nowrap; }
.nav-cta::after { display: none; }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 9px 12px; font: inherit; color: var(--ink); }
.language-switcher { position: relative; }
.language-toggle {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 7px 18px 7px 0;
  cursor: pointer;
  position: relative;
}
.language-toggle::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-65%) rotate(45deg);
}
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 22px);
  min-width: 210px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}
.language-switcher.is-open .language-menu { display: grid; }
.language-menu button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 10px 4px;
}
.language-menu button:hover { color: var(--bronze); }
.language-note {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  max-width: 320px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(255,253,248,0.18);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  font-size: 0.9rem;
  display: none;
}
.language-note.is-visible { display: block; }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(183,155,99,0.20), transparent 28%),
    linear-gradient(115deg, rgba(255,253,248,0.88), rgba(247,242,233,0.72));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 58px; align-items: center; }
.hero-copy { max-width: 760px; }
.hero-campaign {
  min-height: calc(100vh - 78px);
  padding: 118px 0 92px;
  align-items: end;
  background: #171512;
}
.hero-campaign::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,12,12,0.78) 0%, rgba(12,12,12,0.48) 42%, rgba(12,12,12,0.12) 74%),
    linear-gradient(0deg, rgba(12,12,12,0.64) 0%, rgba(12,12,12,0.05) 45%, rgba(12,12,12,0.25) 100%);
}
.hero-campaign-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-campaign .hero-grid {
  z-index: 2;
  grid-template-columns: minmax(0, 760px);
}
.hero-campaign .hero-copy { max-width: 760px; }
.hero-campaign .eyebrow,
.hero-campaign h1,
.hero-campaign .lede { color: var(--paper); }
.hero-campaign .eyebrow { color: rgba(234,223,197,0.9); }
.hero-campaign .lede {
  color: rgba(255,253,248,0.84);
  max-width: 680px;
}
.hero-campaign .btn {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}
.hero-campaign .btn.secondary {
  border-color: rgba(255,253,248,0.62);
  background: rgba(255,253,248,0.08);
  color: var(--paper);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--champagne); }
.btn.text { background: transparent; color: var(--ink); border-color: transparent; padding-left: 0; }
.visual-card {
  min-height: 560px;
  background: linear-gradient(145deg, #312a22, #d7c399 48%, #f8f2e6 49%, #8b7045 72%, #211d19);
  border: 1px solid rgba(183,155,99,0.38);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.visual-card::before, .visual-card::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,253,248,0.5);
}
.visual-card::before { inset: 34px; }
.visual-card::after { width: 44%; height: 92%; right: 18%; top: 4%; background: rgba(255,253,248,0.12); border-radius: 999px; transform: rotate(18deg); }
.visual-label {
  position: absolute;
  left: 34px;
  bottom: 34px;
  right: 34px;
  padding: 24px;
  background: rgba(23,21,18,0.78);
  color: var(--paper);
}
.visual-label p { color: rgba(255,253,248,0.72); margin: 8px 0 0; }
.hero-visual {
  min-height: 560px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(183,155,99,0.38);
  box-shadow: var(--shadow);
  background: var(--stone);
}
.hero-visual img,
.editorial-image img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual img { min-height: 560px; }
.hero-visual figcaption,
.editorial-image figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  padding: 18px 20px;
  background: rgba(23,21,18,0.76);
  color: var(--paper);
  font-size: 0.88rem;
}
.image-note {
  color: var(--bronze);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 12px;
}
.product-grid-note { grid-column: 1 / -1; }
.editorial-image {
  min-height: 460px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--stone);
  box-shadow: var(--shadow);
}
.editorial-image img { min-height: 460px; }
.image-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}
.image-grid .editorial-image:nth-child(2) { margin-top: 54px; }
.demo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.demo-tile {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--stone);
}
.demo-tile img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 420ms ease;
}
.demo-tile:hover img { transform: scale(1.035); }
.demo-tile span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 11px 13px;
  background: rgba(255,253,248,0.86);
  color: var(--ink);
  font-size: 0.84rem;
}
.campaign-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.95fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.campaign-strip img {
  width: 100%;
  height: clamp(320px, 38vw, 620px);
  object-fit: cover;
  background: var(--stone);
}
.campaign-strip img:nth-child(1) { object-position: 58% center; }
.campaign-strip img:nth-child(2) { object-position: center; }
.campaign-strip img:nth-child(3) { object-position: 62% center; }
.product-reference-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.product-reference-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--stone);
}
.asset-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.asset-tile {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(35, 28, 19, 0.05);
}
.asset-tile img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--stone);
}
.asset-tile figcaption {
  padding: 14px 16px 16px;
  display: grid;
  gap: 4px;
}
.asset-tile figcaption strong {
  color: var(--ink);
  font-size: 0.9rem;
}
.asset-tile figcaption span {
  color: var(--muted);
  font-size: 0.76rem;
  word-break: break-all;
}

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  background: rgba(255,253,248,0.72);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: 0 14px 45px rgba(35, 28, 19, 0.04);
}
.card h3, .card h4 { margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }

.product-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; }
.product-image {
  height: 190px;
  margin: -32px -32px 28px;
  overflow: hidden;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}
.product-mark {
  height: 104px;
  margin-bottom: 28px;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(183,155,99,0.45) 8% 11%, transparent 11% 19%, rgba(23,21,18,0.14) 19% 21%, transparent 21%),
    linear-gradient(135deg, #f8f2e6, #d7c399);
  border: 1px solid rgba(183,155,99,0.28);
}

.band { background: var(--ink); color: var(--paper); }
.band h2, .band h3 { color: var(--paper); }
.band p { color: rgba(255,253,248,0.68); }
.band .eyebrow { color: var(--soft-gold); }
.band .card { background: rgba(255,253,248,0.06); border-color: rgba(255,253,248,0.18); }
.band .list li {
  color: rgba(255,253,248,0.78);
  border-bottom-color: rgba(255,253,248,0.42);
}

.stat-line { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1; }
.stat span { color: var(--muted); font-size: 0.9rem; }

.page-hero { padding: 108px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.breadcrumb { color: var(--muted); font-size: 0.86rem; margin-bottom: 36px; }
.breadcrumb a { color: var(--bronze); }

.list { list-style: none; padding: 0; margin: 24px 0 0; }
.list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--charcoal); }

.process { counter-reset: step; }
.process .card { position: relative; padding-top: 68px; }
.process .card::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 28px;
  left: 32px;
  color: var(--champagne);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.article-list { display: grid; gap: 22px; }
.article-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.article-row time, .article-meta { color: var(--bronze); font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; }
.article-row h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); margin-bottom: 10px; }

.article-body { font-size: 1.04rem; }
.article-body h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 56px 0 18px; }
.article-body h3 { margin: 36px 0 12px; }
.article-body ul { padding-left: 22px; color: var(--muted); }
.article-body li { margin-bottom: 10px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 30px 0; background: var(--paper); }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 14px; text-align: left; vertical-align: top; }
.article-body th { color: var(--ink); background: var(--stone); }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.faq p { margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.78rem; color: var(--bronze); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }

.cta-panel {
  background: linear-gradient(135deg, var(--ink), #3b3024);
  color: var(--paper);
  padding: clamp(40px, 8vw, 78px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.cta-panel h2 { color: var(--paper); }
.cta-panel p { color: rgba(255,253,248,0.72); }
.cta-panel .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-panel .btn.secondary { background: transparent; color: var(--paper); border-color: rgba(255,253,248,0.45); }

.site-footer { background: #12100e; color: var(--paper); padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 42px; }
.site-footer p, .site-footer a { color: rgba(255,253,248,0.66); }
.site-footer h3, .site-footer h4 { color: var(--paper); }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(234,223,197,0.28);
}
.footer-bottom { border-top: 1px solid rgba(255,253,248,0.12); margin-top: 54px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,253,248,0.48); font-size: 0.86rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 11px 0; }
  .language-switcher { width: 100%; }
  .language-toggle { width: 100%; text-align: left; padding: 11px 18px 11px 0; }
  .language-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    margin: 4px 0 10px;
    padding: 8px 12px;
  }
  .hero-grid, .split, .split.reverse, .cta-panel, .footer-grid { grid-template-columns: 1fr; }
  .hero-campaign {
    min-height: 760px;
    padding: 96px 0 72px;
  }
  .hero-campaign-image { object-position: 58% center; }
  .visual-card { min-height: 430px; }
  .hero-visual, .hero-visual img { min-height: 430px; }
  .image-grid { grid-template-columns: 1fr; }
  .image-grid .editorial-image:nth-child(2) { margin-top: 0; }
  .demo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-reference-strip, .asset-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-line { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .article-row { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .section { padding: 74px 0; }
  .section-tight { padding: 54px 0; }
  .hero { padding: 64px 0; min-height: auto; }
  .logo img { width: 34px; height: 34px; }
  .logo-text { font-size: 1.12rem; }
  .hero-campaign {
    min-height: 680px;
    padding: 86px 0 48px;
  }
  .hero-campaign::before {
    background:
      linear-gradient(90deg, rgba(12,12,12,0.78) 0%, rgba(12,12,12,0.52) 55%, rgba(12,12,12,0.18) 100%),
      linear-gradient(0deg, rgba(12,12,12,0.72) 0%, rgba(12,12,12,0.12) 52%, rgba(12,12,12,0.36) 100%);
  }
  .hero-campaign-image { object-position: 62% center; }
  .hero-actions, .cta-panel .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .grid-2, .grid-3, .grid-4, .form-grid, .stat-line { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .card { padding: 24px; }
  .visual-label { left: 18px; right: 18px; bottom: 18px; }
  .hero-visual, .hero-visual img, .editorial-image, .editorial-image img { min-height: 360px; }
  .hero-visual figcaption, .editorial-image figcaption { left: 14px; right: 14px; bottom: 14px; }
  .demo-gallery { grid-template-columns: 1fr; }
  .campaign-strip, .product-reference-strip, .asset-gallery { grid-template-columns: 1fr; }
  .campaign-strip img { height: 420px; }
  .product-reference-strip img, .asset-tile img { height: 340px; }
  .product-image { height: 230px; }
  .footer-bottom { flex-direction: column; }
}
