:root {
  --color-bg: #f8f5ec;
  --color-bg-alt: #f0e8d2;
  --color-steel: #5b4712;
  --color-steel-2: #8a6b1f;
  --color-steel-3: #362a0b;
  --color-ink: #221e13;
  --color-ink-soft: #5c5440;
  --color-accent: #f5d94e;
  --color-accent-strong: #dcb914;
  --color-accent-ink: #8f6f10;
  --color-accent-soft: #fff3c4;
  --color-line: #ded0a8;
  --color-white: #ffffff;

  --font-body:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;

  --max-width: 1180px;
  --radius: 4px;
  --shadow-plate:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 18px 40px -24px rgba(11, 33, 48, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.hero__title,
.section__title,
.info-card__title,
.cert-strip__title,
.value-card__title,
.contact-info__title,
.site-header__brand-name,
.footer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--color-steel);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 8px;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(246, 244, 238, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-header__logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}

.site-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.site-header__brand-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-steel);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--color-steel);
  border-color: var(--color-accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: var(--color-white);
  cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-steel);
  position: relative;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle__bar::before {
  position: absolute;
  top: -6px;
}

.nav-toggle__bar::after {
  position: absolute;
  top: 6px;
}

.site-header.is-open .nav-toggle__bar {
  background: transparent;
}

.site-header.is-open .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-line);
  background: var(--color-bg);
}

.site-header.is-open .mobile-nav {
  display: block;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 8px 0 20px;
  display: flex;
  flex-direction: column;
}

.mobile-nav__list a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  border-bottom: 1px solid var(--color-line);
}

.mobile-nav__cta {
  margin: -5px 24px 14px;
  max-width: 100%;
  width: stretch;
}

@media (max-width: 768px) {
  .site-header__cta {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: block;
  }

  .nav-toggle,
  .mobile-nav {
    display: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-steel-3);
  box-shadow: 0 10px 24px -12px rgba(138, 107, 31, 0.55);
}

.btn-primary:hover {
  background: var(--color-accent-strong);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-steel {
  background: var(--color-steel);
  color: var(--color-white);
}

.btn-steel:hover {
  background: var(--color-steel-3);
}

/* Hero */

.hero {
  position: relative;
  background: linear-gradient(
    160deg,
    var(--color-steel-3) 0%,
    var(--color-steel) 46%,
    var(--color-steel-2) 100%
  );
  color: var(--color-white);
  overflow: hidden;
}

.hero__texture {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  bottom: -80px;
  background-image: url('/assets/images/hero-texture.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
  will-change: transform;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 76px 24px 64px 24px;
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 96px 24px 88px 24px;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: 18px;
}

.hero__eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

.hero__title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.18;
  margin: 0 0 20px;
  max-width: 20ch;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__plate {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 22px;
  backdrop-filter: blur(2px);
}

.hero__plate-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  opacity: 0.9;
}

.hero__plate-corner.tl {
  top: 12px;
  left: 12px;
}
.hero__plate-corner.tr {
  top: 12px;
  right: 12px;
}
.hero__plate-corner.bl {
  bottom: 12px;
  left: 12px;
}
.hero__plate-corner.br {
  bottom: 12px;
  right: 12px;
}

.hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--color-steel-2);
}

.hero__plate-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero__plate-caption strong {
  color: var(--color-white);
}

/* Section basics */

.section {
  padding: 76px 0;
}

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

.section__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
  margin: 0 0 10px;
}

.section__title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--color-steel);
  margin: 0 0 18px;
  max-width: 28ch;
}

.section__lede {
  color: var(--color-ink-soft);
  max-width: 62ch;
  font-size: 1.02rem;
  margin: 0 0 34px;
}

.two-col {
  display: grid;
  gap: 44px;
}

@media (min-width: 960px) {
  .two-col {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.about-figure {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-plate);
}

.about-figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.about-figure__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--color-steel);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.body-copy p {
  margin: 0 0 16px;
  color: var(--color-ink-soft);
}

.body-copy p:last-child {
  margin-bottom: 0;
}

/* Video embed */

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-plate);
  background: var(--color-steel-3);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Product spec list */

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-list__item {
  background: var(--color-white);
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  padding: 16px 18px;
  gap: 14px;
}

.spec-list__index {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-accent-ink);
  letter-spacing: 0.04em;
}

.spec-list__label {
  font-weight: 600;
  color: var(--color-ink);
  font-size: 0.96rem;
}

/* Two column info blocks */

.info-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 720px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 26px;
}

.info-card__title {
  color: var(--color-steel);
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card li {
  color: var(--color-ink-soft);
  padding: 8px 0;
  border-top: 1px dashed var(--color-line);
  font-size: 0.95rem;
}

.info-card li:first-child {
  border-top: none;
  padding-top: 0;
}

/* Certification strip */

.cert-strip {
  background: var(--color-steel);
  color: var(--color-white);
  border-radius: 10px;
  padding: 34px 30px;
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .cert-strip {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.cert-strip__title {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.cert-strip__text {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 0.96rem;
}

/* Values grid */

.values-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 24px;
  position: relative;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  width: 32px;
  height: 3px;
  background: var(--color-accent);
}

.value-card__title {
  color: var(--color-steel);
  margin: 14px 0 10px;
  font-size: 1.02rem;
}

.value-card__text {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* Team / callout */

.callout {
  display: grid;
  gap: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 34px;
}

@media (min-width: 900px) {
  .callout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.callout-figure {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

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

.callout__contact {
  margin-top: 18px;
  font-weight: 700;
  color: var(--color-steel);
}

.callout__contact span {
  display: block;
  font-weight: 400;
  color: var(--color-ink-soft);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* Contact */

.contact-wrap {
  display: grid;
  gap: 32px;
  background: var(--color-steel);
  border-radius: 12px;
  overflow: hidden;
  color: var(--color-white);
}

@media (min-width: 960px) {
  .contact-wrap {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-info {
  padding: 40px 34px;
}

.contact-info__title {
  font-size: 1.4rem;
  margin: 0 0 14px;
}

.contact-info__text {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 26px;
  font-size: 0.96rem;
}

.contact-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-detail-list li {
  display: grid;
  grid-template-columns: 1fr;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-detail-list li strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-soft);
  margin-bottom: 2px;
}

.contact-form-panel {
  background: var(--color-white);
  color: var(--color-ink);
  padding: 40px 34px;
}

.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

@media (min-width: 560px) {
  .form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-steel);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  color: var(--color-ink);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-steel);
  box-shadow: 0 0 0 3px rgba(18, 50, 71, 0.14);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  margin: 4px 0 18px;
}

.form-status {
  min-height: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
}

.form-status[data-state='success'] {
  color: #1c7a4d;
}

.form-status[data-state='error'] {
  color: #b3261e;
}

.turnstile-slot {
  margin: 6px 0 18px;
}

/* Footer */

.site-footer {
  background: var(--color-steel-3);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 36px;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  background: var(--color-white);
}

.footer-brand span {
  color: var(--color-white);
  font-size: 1rem;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--color-accent-soft);
}

.footer-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
