:root {
  --ink: #18241d;
  --forest: #1f3528;
  --forest-2: #14251b;
  --olive: #6f7b3d;
  --gold: #c3a05f;
  --champagne: #eadfc8;
  --paper: #f8f4ec;
  --paper-soft: #fbf8f1;
  --paper-deep: #efe7d8;
  --muted: #746c5d;
  --line: rgba(31, 53, 40, 0.14);
  --white-line: rgba(234, 223, 200, 0.26);
  --shadow: 0 30px 80px rgba(24, 36, 29, 0.12);
  --radius: 30px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(195, 160, 95, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--paper), #fbf8f1 42%, var(--paper-deep));
  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; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(31, 53, 40, 0.08);
  background: rgba(248, 244, 236, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-mark { width: 34px; height: 34px; }

.primary-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav a,
.footer-links a,
.button,
.contact-link,
.brand-card,
.team-card { transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease, opacity 180ms ease; }

.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--forest); }

.primary-nav a[aria-current="page"],
.footer-links a[aria-current="page"] { color: var(--forest); }

.language-pair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.language-pair a[aria-current="page"] { color: var(--forest); }

.section-pad {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 0;
}

.hero-slider {
  width: min(1500px, calc(100% - 44px));
  min-height: clamp(560px, 72vh, 800px);
  margin: 28px auto 0;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: var(--forest);
}

.hero-slider::after {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(234, 223, 200, 0.38);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: clamp(46px, 8vw, 94px);
  color: var(--paper-soft);
}

.hero-slider .eyebrow { color: var(--champagne); }

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--olive);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1, h2, .page-title, blockquote {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-slider h1 {
  margin-bottom: 26px;
  color: var(--paper-soft);
  font-size: clamp(3.2rem, 7vw, 7rem);
}

h1.page-title,
.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
}

h2 { margin-bottom: 24px; font-size: clamp(2.3rem, 5vw, 4.7rem); }

h3 {
  margin-bottom: 12px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  font-weight: 400;
  line-height: 1.1;
}

.hero-lead,
.page-lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}
.hero-slider .hero-lead { color: rgba(248, 244, 236, 0.86); }

.hero-actions,
.section-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { color: var(--paper); background: var(--forest); }
.button.secondary { color: var(--forest); background: rgba(248, 244, 236, 0.44); }
.button.light { color: var(--forest); border-color: transparent; background: var(--champagne); }
.button.primary:hover, .button.primary:focus-visible { background: var(--forest-2); }
.button.secondary:hover, .button.secondary:focus-visible { border-color: var(--gold); color: #5c4620; }
.button.light:hover, .button.light:focus-visible { background: #f5ead5; }

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max-width), calc(100% - 44px));
  margin: 42px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(251, 248, 241, 0.72);
  box-shadow: 0 18px 60px rgba(24, 36, 29, 0.06);
}
.intro-band div { padding: 28px 26px; border-right: 1px solid var(--line); }
.intro-band div:last-child { border-right: 0; }
.intro-band strong { display: block; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; }
.intro-band span { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }

.split,
.page-hero,
.feature-split {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}
.split p,
.feature-copy p,
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.04rem; }

.cards-section { border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card,
.brand-card,
.team-card,
.form-panel,
.policy-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.72);
  box-shadow: 0 18px 60px rgba(24, 36, 29, 0.06);
}
.card { min-height: 270px; padding: 34px; }
.card-number { display: inline-block; margin-bottom: 52px; color: var(--gold); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.18em; }
.card p,
.brand-card p,
.team-card p { color: var(--muted); }

.platform {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
}
.platform-copy p { color: var(--muted); font-size: 1.05rem; }
.platform-list { display: grid; gap: 12px; }
.platform-item {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.platform-item span { color: var(--forest); font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.platform-item p { margin-bottom: 0; color: var(--muted); }

.brands-teaser,
.team-teaser { border-top: 1px solid var(--line); }
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 34px 0;
}
.logo-tile {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(251, 248, 241, 0.76);
}
.logo-tile img { max-height: 76px; width: 100%; object-fit: contain; }

.feature-split { grid-template-columns: 0.82fr 1.18fr; align-items: center; }
.feature-copy { max-width: 520px; }
.team-photo-placeholder {
  overflow: hidden;
  border: 1px solid rgba(195, 160, 95, 0.34);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.team-photo-placeholder img { width: 100%; height: auto; }

.quote-section { padding-top: 34px; padding-bottom: 34px; }
blockquote { max-width: 950px; margin: 0; color: var(--forest); font-size: clamp(2rem, 5vw, 4.7rem); }

.contact {
  padding-top: 64px;
}
.contact-panel {
  display: grid;
  gap: 14px;
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid rgba(195, 160, 95, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--forest), #2d4935);
  color: var(--paper-soft);
  box-shadow: var(--shadow);
}
.contact-panel h2 { color: var(--paper-soft); }
.contact-panel p { color: rgba(248, 244, 236, 0.76); }
.contact-link { color: var(--champagne); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 3vw, 2.1rem); }
.muted { color: rgba(248, 244, 236, 0.58); }

.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brand-card { padding: 24px; }
.brand-card:hover, .brand-card:focus-visible, .team-card:hover { transform: translateY(-3px); border-color: rgba(195, 160, 95, 0.45); }
.brand-card img { width: 100%; margin-bottom: 22px; border-radius: 18px; }
.brand-meta { display: block; margin-bottom: 10px; color: var(--gold); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.18em; text-transform: uppercase; }

.brand-template-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--forest), #566736);
  color: var(--paper-soft);
  box-shadow: var(--shadow);
}
.brand-template-hero .section-pad { padding-top: clamp(82px, 11vw, 138px); padding-bottom: clamp(82px, 11vw, 138px); }
.brand-template-hero h1, .brand-template-hero .page-title { color: var(--paper-soft); }
.brand-template-hero p { color: rgba(248, 244, 236, 0.78); }
.brand-template-hero::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(234, 223, 200, .32); border-radius: 24px; pointer-events: none; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { padding: 24px; }
.avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.05;
  margin-bottom: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(195, 160, 95, .32), transparent 36%),
    linear-gradient(145deg, #1f3528, #6f7b3d);
  color: var(--champagne);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  letter-spacing: -0.08em;
}
.role { color: var(--olive); font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem; line-height: 1.45; }

.contact-layout,
.login-layout { display: grid; grid-template-columns: 0.75fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.contact-details { display: grid; gap: 18px; }
.detail-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.detail-block span { display: block; color: var(--olive); font-size: .74rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.detail-block strong, .detail-block a { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }

.form-panel { padding: clamp(28px, 5vw, 48px); }
.form-row { display: grid; gap: 8px; margin-bottom: 18px; }
.form-row label { color: var(--forest); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.42);
  color: var(--ink);
  font: inherit;
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .92rem; }

.login-card { max-width: 560px; }

.policy-panel { padding: clamp(30px, 5vw, 54px); }
.policy-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.policy-panel p, .policy-panel li { color: var(--muted); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(22px, 5vw, 68px);
  border-top: 1px solid var(--line);
  background: rgba(239, 231, 216, 0.64);
}
.site-footer p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .86rem; }
.footer-mark { width: 30px; height: 30px; }
.footer-links { justify-content: flex-end; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr; }
  .primary-nav { justify-content: flex-start; }
  .intro-band { grid-template-columns: repeat(2, 1fr); }
  .intro-band div:nth-child(2) { border-right: 0; }
  .intro-band div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .platform, .split, .page-hero, .feature-split, .contact-layout, .login-layout { grid-template-columns: 1fr; }
  .card-grid.three, .brand-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .site-header { padding: 16px 20px; }
  .primary-nav, .footer-links { gap: 12px 16px; font-size: .68rem; letter-spacing: .1em; }
  .hero-slider { width: calc(100% - 28px); margin-top: 16px; min-height: 620px; border-radius: 24px; }
  .hero-slider-content { padding: 38px 28px; }
  .section-pad { width: calc(100% - 32px); }
  .intro-band, .card-grid.three, .card-grid.two, .brand-grid, .team-grid, .logo-strip { grid-template-columns: 1fr; }
  .intro-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-band div:last-child { border-bottom: 0; }
  .platform-item { grid-template-columns: 1fr; gap: 6px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* Brand detail template: scoped additions */
.brand-profile {
  display: grid;
  gap: clamp(26px, 4vw, 42px);
}

.brand-profile-header {
  display: flex;
  justify-content: flex-start;
}

.brand-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 100%);
  min-height: 136px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(251, 248, 241, 0.78);
  box-shadow: 0 18px 60px rgba(24, 36, 29, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.brand-logo-panel:hover,
.brand-logo-panel:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(195, 160, 95, 0.46);
  background: rgba(251, 248, 241, 0.96);
}

.brand-logo-panel img {
  max-width: 210px;
  max-height: 88px;
  object-fit: contain;
}

.brand-profile-main,
.brand-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(22px, 4.6vw, 54px);
  align-items: stretch;
}

.brand-story-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.74);
  box-shadow: 0 18px 60px rgba(24, 36, 29, 0.06);
}

.brand-story-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: clamp(34px, 5vw, 58px);
}

.brand-story-card .page-title {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6vw, 5.9rem);
}

.brand-story-card p:not(.section-kicker) {
  color: var(--muted);
}

.brand-story-card .section-actions {
  margin-top: 18px;
}

.brand-image-placeholder {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(195, 160, 95, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--forest), #566736);
  box-shadow: var(--shadow);
}

.brand-image-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.brand-image-placeholder figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(234, 223, 200, 0.28);
  border-radius: 999px;
  background: rgba(20, 37, 27, 0.62);
  color: var(--champagne);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.info-panel {
  padding: clamp(30px, 4vw, 46px);
}

.info-panel h2 {
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.info-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.38fr) 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:first-child {
  border-top: 1px solid var(--line);
}

.info-list dt {
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-list dd {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17rem;
  line-height: 1.26;
}

.contact-list a {
  color: var(--forest);
  border-bottom: 1px solid rgba(195, 160, 95, 0.44);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(195, 160, 95, 0.48);
  background: rgba(234, 223, 200, 0.42);
}

@media (max-width: 1020px) {
  .brand-profile-main,
  .brand-info-grid {
    grid-template-columns: 1fr;
  }

  .brand-story-card,
  .brand-image-placeholder,
  .brand-image-placeholder img {
    min-height: 440px;
  }
}

@media (max-width: 680px) {
  .brand-logo-panel {
    width: 100%;
    min-height: 118px;
  }

  .brand-story-card,
  .info-panel {
    padding: 28px;
  }

  .brand-story-card,
  .brand-image-placeholder,
  .brand-image-placeholder img {
    min-height: auto;
  }

  .brand-image-placeholder img {
    aspect-ratio: 4 / 3;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
