:root {
  --forest: #173a2b;
  --deep: #061a24;
  --leaf: #0f6f4d;
  --orange: #d85a23;
  --gold: #c58a28;
  --cream: #fff4e2;
  --paper: #fbf7ee;
  --mist: #edf4ef;
  --ink: #263743;
  --muted: #65746f;
  --white: #ffffff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

main,
section,
header,
footer {
  max-width: 100vw;
}

html[dir="rtl"] body {
  text-align: right;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 70px);
  color: var(--white);
  background: rgba(6, 26, 36, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .brand-mark,
html[dir="rtl"] .language-switcher {
  direction: ltr;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
}

.brand-mark strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark em {
  display: block;
  margin-top: 4px;
  color: #efc66f;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.78rem;
  font-weight: 800;
}

.nav-links a {
  opacity: 0.82;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #efc66f;
  opacity: 1;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button.is-active {
  color: var(--deep);
  background: #efc66f;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(22px, 7vw, 110px) 70px;
  color: var(--white);
  background: var(--deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 86% 22%, rgba(216, 90, 35, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(6, 26, 36, 0.94) 0%, rgba(9, 45, 44, 0.78) 52%, rgba(31, 59, 42, 0.55) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(1.08) contrast(1.03);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-content {
  max-width: 760px;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-card {
  justify-self: end;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #efc66f;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3.4rem, 8.2vw, 7.8rem);
  font-weight: 950;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  font-weight: 920;
}

h3 {
  font-size: 1.18rem;
  font-weight: 880;
}

.hero-copy,
.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.34rem);
}

.hero-copy {
  width: min(650px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.button-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 34px;
  padding: 0 21px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}

.button-link::after {
  content: "->";
  margin-left: 12px;
}

html[dir="rtl"] .button-link::after {
  content: "";
  margin-right: 0;
  margin-left: 0;
}

.hero-card {
  width: min(100%, 460px);
  padding: 30px;
  background: rgba(255, 244, 226, 0.1);
  border: 1px solid rgba(239, 198, 111, 0.45);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.hero-card p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.origin-seal {
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(119, 78, 15, 0.28));
}

.origin-seal-large {
  width: min(310px, 100%);
  height: auto;
}

.origin-seal-feature {
  width: min(460px, 82vw);
  height: auto;
}

.section-inner {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.seal-section,
.story-section,
.experience-section,
.origin-section {
  padding: clamp(76px, 10vw, 138px) 0;
}

.seal-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(216, 90, 35, 0.16), transparent 25%),
    linear-gradient(180deg, #fff8ea, var(--paper));
}

.seal-layout,
.story-layout,
.experience-layout,
.origin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  min-width: 0;
}

.seal-layout > *,
.story-layout > *,
.experience-layout > *,
.origin-layout > * {
  min-width: 0;
}

.seal-stage {
  display: grid;
  place-items: center;
  min-height: 420px;
  background:
    radial-gradient(circle at 50% 50%, rgba(197, 138, 40, 0.28), transparent 52%),
    linear-gradient(135deg, rgba(23, 58, 43, 0.1), rgba(216, 90, 35, 0.1));
  border: 1px solid rgba(197, 138, 40, 0.34);
  border-radius: 8px;
}

.lead {
  margin: 24px 0 0;
  color: #51635b;
}

.promise-list {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  background: rgba(23, 58, 43, 0.16);
  border: 1px solid rgba(23, 58, 43, 0.16);
}

.promise-list article {
  display: grid;
  grid-template-columns: 54px 170px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.promise-list span {
  color: var(--gold);
  font-weight: 950;
}

.promise-list p {
  margin: 0;
  color: var(--muted);
}

.story-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 26, 36, 0.98), rgba(23, 58, 43, 0.93)),
    var(--forest);
}

.story-section .eyebrow {
  color: #efc66f;
}

.story-copy {
  position: relative;
  padding-left: 34px;
  border-left: 2px solid rgba(239, 198, 111, 0.62);
}

html[dir="rtl"] .story-copy {
  padding-right: 34px;
  padding-left: 0;
  border-right: 2px solid rgba(239, 198, 111, 0.62);
  border-left: 0;
}

.story-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 1.9vw, 1.38rem);
}

.story-copy p + p {
  margin-top: 24px;
}

.experience-section {
  background: var(--mist);
}

.video-frame {
  overflow: hidden;
  background: var(--deep);
  border: 1px solid rgba(23, 58, 43, 0.18);
  border-radius: 8px;
  box-shadow: 0 26px 62px rgba(6, 26, 36, 0.18);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 720px;
  object-fit: cover;
}

.experience-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.experience-notes span {
  padding: 10px 14px;
  color: var(--forest);
  font-size: 0.85rem;
  font-weight: 850;
  background: var(--white);
  border: 1px solid rgba(23, 58, 43, 0.16);
  border-radius: 999px;
}

.origin-section {
  background: var(--paper);
}

.origin-grid {
  display: grid;
  gap: 1px;
  background: rgba(23, 58, 43, 0.16);
  border: 1px solid rgba(23, 58, 43, 0.16);
}

.origin-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.origin-grid strong {
  display: block;
  color: var(--forest);
  font-size: 1.2rem;
}

.origin-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-inner {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.92rem;
}

.footer-brand,
.footer-inner a {
  color: #efc66f;
  font-weight: 900;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }

  .hero,
  .seal-layout,
  .story-layout,
  .experience-layout,
  .origin-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 440px;
  }

  .promise-list article {
    grid-template-columns: 44px 1fr;
  }

  .promise-list p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    gap: 10px;
    padding: 14px 18px;
  }

  .brand-mark img {
    width: 48px;
    height: 48px;
  }

  .brand-mark {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 128px);
  }

  .brand-mark strong {
    font-size: 0.82rem;
  }

  .brand-mark em {
    font-size: 0.62rem;
  }

  .brand-mark span {
    min-width: 0;
    max-width: 128px;
    overflow: hidden;
  }

  .brand-mark strong,
  .brand-mark em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
  }

  .language-switcher {
    position: absolute;
    top: 76px;
    left: 18px;
    right: auto;
    flex-shrink: 0;
    margin-left: auto;
  }

  .language-switcher button {
    min-width: 34px;
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100vw;
    padding: 152px 22px 58px;
  }

  html[dir="rtl"] .hero {
    direction: rtl;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 26, 36, 0.78), rgba(6, 26, 36, 0.92)),
      radial-gradient(circle at 70% 18%, rgba(216, 90, 35, 0.2), transparent 34%);
  }

  .hero-media video {
    object-position: center center;
  }

  h1 {
    max-width: 9.5ch;
  }

  .hero-copy {
    max-width: 32ch;
    font-size: 1rem;
  }

  html[dir="rtl"] h1 {
    max-width: 8.5ch;
    font-size: clamp(3rem, 13vw, 4.9rem);
  }

  html[dir="rtl"] .hero-copy {
    max-width: 30ch;
  }

  .hero-card {
    width: 100%;
    max-width: 344px;
    justify-self: start;
    padding: 22px;
  }

  html[dir="rtl"] .hero-card {
    justify-self: end;
  }

  .origin-seal-large {
    width: min(230px, 70vw);
  }

  .seal-stage {
    width: 100%;
    max-width: calc(100vw - 32px);
    min-height: 310px;
  }

  .origin-seal-feature {
    width: min(320px, 74vw);
  }

  .section-inner {
    width: min(100% - 32px, var(--max));
  }

  .story-copy {
    padding-left: 20px;
  }

  html[dir="rtl"] .story-copy {
    padding-right: 20px;
    padding-left: 0;
  }

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