:root {
  --paper: #f5f2ec;
  --panel: #ffffff;
  --ink: #151515;
  --muted: #66615b;
  --line: rgba(21, 21, 21, 0.12);
  --gold: #b88a4a;
  --deep: #20201f;
  --soft: #ede7dc;
  --shadow: 0 22px 70px rgba(16, 16, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

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

.topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px clamp(18px, 5vw, 72px);
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(245, 242, 236, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.brand img {
  width: 58px;
  height: 44px;
  object-fit: contain;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 42px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.lang {
  min-width: 40px;
  min-height: 31px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.lang.active {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 108px);
  overflow: hidden;
  padding: clamp(86px, 11vw, 150px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 88px);
  color: #fff;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.24) 48%, rgba(0, 0, 0, 0.48)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 94px);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.06;
  font-weight: 880;
}

.lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.86;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  font-weight: 850;
}

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

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.intro div {
  min-height: 132px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

.intro div:last-child {
  border-right: 0;
}

.intro strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.15;
}

.intro span,
.section-note,
.contact p {
  color: var(--muted);
}

.story,
.factory-film,
.craft,
.contact {
  padding: clamp(70px, 9vw, 126px) clamp(18px, 5vw, 72px);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(34px, 7vw, 94px);
  background: var(--paper);
}

.story-copy p,
.craft-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.9;
}

.story-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
}

.story-points span {
  min-height: 98px;
  padding: 20px;
  background: var(--panel);
  font-weight: 850;
  line-height: 1.5;
}

.factory-film {
  display: grid;
  grid-template-columns: minmax(290px, 0.55fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: end;
  background: #111;
  color: #fff;
}

.film-copy p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.85;
}

.film-stage {
  overflow: hidden;
  min-height: min(66vh, 690px);
  background: #000;
  box-shadow: var(--shadow);
}

.film-stage video {
  width: 100%;
  height: 100%;
  min-height: min(66vh, 690px);
  object-fit: cover;
}

.factory-stills {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.gallery-section {
  padding: 0 clamp(10px, 2vw, 22px) clamp(50px, 7vw, 90px);
  background: #f8f8f6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.product-card {
  overflow: hidden;
  background: var(--soft);
}

.product-media {
  aspect-ratio: 3 / 4;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.craft {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(34px, 7vw, 92px);
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.craft-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.craft-list div {
  padding: 26px;
  background: var(--panel);
}

.craft-list span,
.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.craft-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--deep);
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-card div {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card a {
  color: #fff;
  font-size: 17px;
  font-weight: 850;
}

.gallery-message {
  grid-column: 1 / -1;
  padding: 32px;
  color: var(--muted);
  background: var(--panel);
}

.is-rtl .hero-copy,
.is-rtl .story,
.is-rtl .factory-film,
.is-rtl .craft,
.is-rtl .contact {
  text-align: right;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #0f0f0f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer span:first-child {
  color: #fff;
  font-weight: 850;
  letter-spacing: 0.16em;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
  }

  .story,
  .factory-film,
  .craft,
  .contact {
    grid-template-columns: 1fr;
  }

  .factory-stills {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .topline,
  nav,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .topline {
    display: none;
  }

  .site-header {
    position: static;
  }

  nav,
  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 760px;
  }

  .intro,
  .story-points,
  .factory-stills,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .intro div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .factory-stills img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 42px;
  }

  .button {
    width: 100%;
  }

  .brand span {
    font-size: 14px;
  }
}
