:root {
  --ink: #1a1814;
  --ink-soft: #514b43;
  --cream: #f3efe6;
  --paper: #f7f4ee;
  --forest: #1c3a2e;
  --forest-deep: #10241c;
  --gold: #9a7349;
  --gold-soft: #d7c4a4;
  --line: rgba(26, 24, 20, 0.14);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

html[lang="ar"] {
  --serif: "Noto Sans Arabic", "Newsreader", Georgia, serif;
  --sans: "Noto Sans Arabic", "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
}

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

button, input, textarea, select { font: inherit; color: inherit; }

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 128px;
  padding: 10px 36px;
  background: #faf7f0;
  color: #1c3a2e;
  border-bottom: 1px solid rgba(28, 58, 46, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  height: 108px;
  width: auto;
  max-width: none;
}

.nav-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-inline-start: auto;
  min-width: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1c3a2e;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  border-bottom-color: #1c3a2e;
}

html[lang="ar"] .nav-links a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.lang button {
  border: 0;
  background: transparent;
  color: #1c3a2e;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 7px;
  cursor: pointer;
  opacity: 0.42;
}

.lang button[aria-pressed="true"] {
  opacity: 1;
  box-shadow: inset 0 -1px 0 #1c3a2e;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 12px;
}

.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px 32px 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.menu.is-open { opacity: 1; pointer-events: auto; }

.menu a {
  font-family: var(--serif);
  font-size: clamp(36px, 8vw, 64px);
  line-height: 1.05;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.hero {
  position: relative;
  height: 100dvh;
  background: #111 center / cover no-repeat;
  scroll-snap-align: start;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  overflow: hidden;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide:has(video) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 36px;
  background: #141210;
}

.hero-slide video {
  width: auto;
  height: calc(100dvh - 176px);
  max-width: 100%;
  object-fit: contain;
}

.hero-slide.is-active img {
  animation: drift 14s ease-out forwards;
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 56px;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(#fff, transparent);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-dots {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button[aria-current="true"] { background: #fff; }

.section {
  scroll-snap-align: start;
  min-height: 100dvh;
  padding: 128px 7vw 96px;
}

.section-inner { max-width: 1180px; margin: 0 auto; }

.kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 42rem;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) 1.14fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  margin: 0;
}

.about-visual img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  border-radius: 2px;
}

.about-visual figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.prose p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.prose { margin-top: 28px; }

.product {
  display: grid;
  grid-template-columns: 72px 1.15fr 0.85fr;
  gap: 24px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.product-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
}

.product h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.product p { margin: 0; color: var(--ink-soft); }

.product-lines {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
}

.product-lines li {
  padding: 7px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.product-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 14px;
}

.ask {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}

.ask:hover { color: var(--gold); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.cert {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  min-height: 230px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  cursor: zoom-in;
}

.cert img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.cert figcaption {
  margin-top: 16px;
}

.cert strong {
  display: block;
  font-weight: 400;
  font-size: 14px;
}

.cert span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

.analysis-block { margin-top: 56px; }

.analysis-block h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
}

.analysis-list {
  display: grid;
  gap: 10px;
}

.analysis-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

#siparis {
  background: var(--forest-deep);
  color: var(--cream);
}

#siparis .kicker { color: var(--gold-soft); }

#siparis .lead { color: rgba(243, 239, 230, 0.74); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-email {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 196, 164, 0.5);
}

.contact-form {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.28);
  border-radius: 0;
  padding: 12px 0 14px;
  outline: none;
}

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

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-bottom-color: var(--gold-soft);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.submit {
  justify-self: start;
  margin-top: 18px;
  border: 0;
  background: var(--cream);
  color: var(--forest-deep);
  border-radius: 999px;
  padding: 15px 26px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.submit:disabled { opacity: 0.6; cursor: wait; }

.form-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: var(--gold-soft);
}

.form-status.is-error { color: #e7b4a4; }

.fine {
  margin: 42px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

dialog.lightbox {
  border: 0;
  padding: 18px;
  background: #fff;
  max-width: min(920px, 92vw);
}

dialog.lightbox img {
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain;
}

dialog.lightbox::backdrop { background: rgba(12, 16, 14, 0.78); }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 980px) {
  .nav { min-height: 88px; padding-inline: 16px; }
  .brand img { height: 70px; }
  .about-grid,
  .contact-grid,
  .product { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .about-visual img { height: 52vh; }
  .hero-slide:has(video) { padding: 100px 16px 24px; }
  .hero-slide video { height: calc(100dvh - 124px); }
  .section { padding: 112px 22px 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide,
  .menu { transition: none; }
  .hero-slide.is-active img,
  .scroll-hint span { animation: none; }
}
