
:root {
  --canvas: #f1e7d8;
  --paper: #f8f2e9;
  --walnut: #34251f;
  --walnut-2: #49342b;
  --clay: #a35f45;
  --moss: #5e6250;
  --rose: #8c6259;
  --charcoal: #25221f;
  --sand: #c8af94;
  --line: rgba(52, 37, 31, .16);
  --muted: #73675f;
  --white: #fffaf4;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1240px, calc(100vw - 48px));
  --shadow: 0 30px 80px rgba(52, 37, 31, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  color: var(--charcoal);
  background: var(--paper);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video { display: block; width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--clay); color: white; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 118px 0; }
.section--tight { padding: 78px 0; }
.section--dark { background: var(--walnut); color: var(--white); }
.section--moss { background: var(--moss); color: var(--white); }
.section--clay { background: var(--clay); color: var(--white); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section--dark .kicker,
.section--moss .kicker,
.section--clay .kicker { color: var(--sand); }

.display {
  margin: 0;
  max-width: 900px;
  font-size: clamp(44px, 7vw, 104px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 500;
}
.h1 {
  margin: 0;
  font-size: clamp(42px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 500;
}
.h2 {
  margin: 0;
  font-size: clamp(32px, 4.3vw, 64px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 500;
}
.h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 500;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 2;
}
.section--dark .lead,
.section--moss .lead,
.section--clay .lead { color: rgba(255, 250, 244, .76); }

.btn {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--walnut);
  color: var(--white);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--clay); }
.btn--ghost {
  background: transparent;
  color: var(--walnut);
  border-color: var(--line);
}
.btn--ghost:hover { color: var(--white); border-color: var(--clay); }
.btn--light { background: var(--white); color: var(--walnut); }
.btn--light:hover { background: var(--sand); color: var(--walnut); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(248, 242, 233, .92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  width: var(--container);
  margin-inline: auto;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: rgba(52, 37, 31, .08);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled .header-inner {
  background: transparent;
  border-color: transparent;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}
.logo-mark {
  width: 31px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--walnut);
  position: relative;
}
.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  border-radius: 100% 0 100% 0;
  background: var(--canvas);
  transform: rotate(-28deg);
}
.logo-mark::before { width: 13px; height: 20px; right: 8px; top: 4px; }
.logo-mark::after { width: 9px; height: 14px; left: 6px; bottom: 5px; opacity: .75; }

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
}
.nav a {
  position: relative;
  padding: 7px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width .25s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--walnut);
  display: none;
  place-items: center;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 1px;
  display: block;
  background: var(--white);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  right: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  padding: 110px 24px 32px;
  background: var(--walnut);
  color: var(--white);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: .3s ease;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu nav {
  display: grid;
  gap: 8px;
}
.mobile-menu a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: clamp(28px, 8vw, 44px);
}

.hero {
  min-height: 100svh;
  padding: 130px 0 56px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(163, 95, 69, .14), transparent 28%),
    var(--canvas);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(430px, .8fr);
  gap: 64px;
  align-items: end;
}
.hero-copy { padding-bottom: 26px; }
.hero-copy .lead { max-width: 650px; margin-top: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-meta strong { display: block; font-size: 13px; margin-bottom: 6px; }
.hero-meta span { color: var(--muted); font-size: 12px; line-height: 1.7; }

.hero-media {
  min-height: 70svh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}
.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: 230px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(248,242,233,.88);
  backdrop-filter: blur(14px);
  font-size: 12px;
  line-height: 1.8;
}

.split-intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.split-intro .lead { max-width: 650px; }

.collection-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--canvas);
  min-height: 520px;
}
.card--7 { grid-column: span 7; }
.card--5 { grid-column: span 5; }
.card--4 { grid-column: span 4; }
.card--8 { grid-column: span 8; }
.card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.card:hover img { transform: scale(1.035); }
.card-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 84px 24px 24px;
  color: white;
  background: linear-gradient(transparent, rgba(30,23,20,.78));
}
.card-label { font-size: 11px; opacity: .8; margin-bottom: 8px; }
.card-title { font-size: clamp(25px, 2.8vw, 38px); margin: 0; font-weight: 500; }
.card-arrow {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.statement {
  padding: 90px 0;
  text-align: center;
}
.statement p {
  max-width: 1050px;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.25;
  letter-spacing: -.04em;
}

.project-feature {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
}
.project-feature__media {
  min-height: 680px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.project-feature__media img {
  height: 100%;
  object-fit: cover;
}
.project-feature__copy {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--walnut);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-feature__copy .lead { color: rgba(255,255,255,.68); }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tag {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 11px;
}

.video-story {
  position: relative;
  min-height: 82svh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--charcoal);
}
.video-story video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: .64;
}
.video-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(37,34,31,.82), rgba(37,34,31,.05) 68%);
}
.video-story__copy {
  position: relative;
  z-index: 2;
  width: min(640px, 82%);
  min-height: 82svh;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.video-story__copy .lead { color: rgba(255,255,255,.76); margin-top: 22px; }

.material-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.material-copy {
  grid-column: span 5;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--canvas);
}
.material-media {
  grid-column: span 7;
  min-height: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.material-media img { height: 100%; object-fit: cover; }
.material-list { margin-top: 34px; display: grid; }
.material-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}
.material-item span:last-child { color: var(--muted); }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.15);
}
.metric {
  min-height: 190px;
  padding: 28px;
  background: var(--walnut);
}
.metric strong {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
}
.metric span {
  margin-top: 8px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  line-height: 1.8;
}

.cta-panel {
  padding: 54px;
  border-radius: var(--radius-xl);
  background: var(--clay);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.cta-panel p { max-width: 660px; margin: 18px 0 0; color: rgba(255,255,255,.76); line-height: 1.9; }

.page-hero {
  padding: 170px 0 84px;
  background: var(--canvas);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 60px;
  align-items: end;
}
.page-hero .lead { max-width: 600px; }

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.editorial-card {
  grid-column: span 6;
  min-height: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--canvas);
}
.editorial-card--wide { grid-column: span 12; min-height: 700px; }
.editorial-card img { height: 100%; object-fit: cover; }
.editorial-card__copy {
  position: absolute;
  inset: auto 0 0;
  padding: 90px 28px 28px;
  color: white;
  background: linear-gradient(transparent, rgba(28,22,18,.84));
}
.editorial-card__copy p { margin: 8px 0 0; opacity: .72; font-size: 12px; }

.product-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: start;
}
.product-gallery {
  display: grid;
  gap: 16px;
}
.product-gallery img {
  border-radius: var(--radius-lg);
  background: var(--canvas);
}
.product-info {
  position: sticky;
  top: 110px;
}
.product-price {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.specs {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}
.spec-row {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 20px;
  font-size: 13px;
}
.spec-row span:first-child { color: var(--muted); }

.project-detail-hero {
  min-height: 84svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}
.project-detail-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.project-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(31,24,20,.8), rgba(31,24,20,.08) 65%);
}
.project-detail-copy {
  position: relative;
  z-index: 2;
  padding: 90px 0 58px;
}
.project-detail-copy .h1 { max-width: 880px; }

.story-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
}
.story-aside { color: var(--muted); font-size: 13px; line-height: 2; }
.story-copy { font-size: clamp(20px, 2vw, 29px); line-height: 1.9; }

.process-list {
  counter-reset: step;
  display: grid;
}
.process-row {
  counter-increment: step;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 110px 1fr .9fr;
  gap: 30px;
  align-items: start;
}
.process-row::before {
  content: "0" counter(step);
  color: var(--clay);
  font-size: 13px;
}
.process-row p { margin: 0; color: var(--muted); line-height: 1.9; }

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 18px;
}
.about-panel {
  padding: 42px;
  border-radius: var(--radius-lg);
  background: var(--canvas);
}
.about-media {
  min-height: 660px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-media img { height: 100%; object-fit: cover; }

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
}
.contact-aside {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--walnut);
  color: var(--white);
}
.contact-aside p { color: rgba(255,255,255,.68); line-height: 1.9; }
.contact-note {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 12px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: grid; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; color: var(--muted); }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 13px 15px;
  outline: none;
  color: var(--charcoal);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(163,95,69,.10); }
.form-status { grid-column: 1 / -1; min-height: 24px; color: var(--moss); font-size: 12px; }

.site-footer {
  padding: 72px 0 28px;
  background: var(--charcoal);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 60px;
}
.footer-title {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.2;
}
.footer-col { display: grid; align-content: start; gap: 12px; font-size: 13px; }
.footer-col strong { margin-bottom: 8px; color: var(--sand); font-size: 11px; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}
.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
}

@media (max-width: 980px) {
  :root { --container: min(100% - 32px, 900px); }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .hero-grid,
  .split-intro,
  .page-hero-grid,
  .project-feature,
  .product-layout,
  .story-grid,
  .about-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-media { min-height: 68svh; }
  .hero-copy { order: 2; }
  .hero-media { order: 1; }
  .project-feature__media { min-height: 560px; }
  .product-info { position: static; }
  .material-copy, .material-media { grid-column: span 12; }
  .material-media { min-height: 500px; }
  .process-row { grid-template-columns: 70px 1fr; }
  .process-row p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100vw - 28px);
    --radius-xl: 26px;
    --radius-lg: 20px;
  }
  .section { padding: 78px 0; }
  .section--tight { padding: 58px 0; }
  .site-header { padding-top: 10px; }
  .header-inner { min-height: 54px; padding: 0 12px; }
  .logo { font-size: 19px; }
  .hero { padding-bottom: 30px; }
  .hero-grid { gap: 34px; }
  .hero-media { min-height: 56svh; }
  .hero-meta { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .hero-meta div { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; }
  .split-intro { gap: 28px; }
  .collection-grid,
  .editorial-grid { grid-template-columns: 1fr; }
  .card,
  .card--7,
  .card--5,
  .card--4,
  .card--8,
  .editorial-card,
  .editorial-card--wide { grid-column: 1; min-height: 520px; }
  .project-feature__media { min-height: 480px; }
  .project-feature__copy { padding: 28px; }
  .video-story,
  .video-story__copy { min-height: 68svh; }
  .video-story__copy { padding: 28px; width: 100%; }
  .video-story::after { background: linear-gradient(0deg, rgba(37,34,31,.86), rgba(37,34,31,.08)); }
  .material-grid { grid-template-columns: 1fr; }
  .material-copy, .material-media { grid-column: 1; }
  .material-media { min-height: 440px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 150px; padding: 20px; }
  .cta-panel { padding: 30px; grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 64px; }
  .form { grid-template-columns: 1fr; }
  .field--full { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .about-media { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}


/* v1.1 — softer Persian typography */
body {
  font-family:
    "Vazirmatn",
    "IRANSansX",
    "Dana",
    "Segoe UI",
    Tahoma,
    Arial,
    sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.display,
.h1,
.h2,
.h3,
.footer-title,
.statement p,
.mobile-menu a {
  font-family:
    "Vazirmatn",
    "IRANSansX",
    "Dana",
    "Segoe UI",
    Tahoma,
    Arial,
    sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

.display {
  line-height: 1.12;
}

.h1 {
  line-height: 1.14;
}

.h2 {
  line-height: 1.2;
}

.h3 {
  line-height: 1.28;
}

.lead,
.story-copy,
.project-feature__copy .lead,
.video-story__copy .lead,
.cta-panel p,
.contact-aside p {
  line-height: 2.05;
}

.kicker,
.nav,
.hero-meta,
.project-tags,
.material-item,
.spec-row,
.footer-col,
.footer-bottom {
  letter-spacing: 0;
}

.logo {
  letter-spacing: 0;
  font-weight: 700;
}

@media (max-width: 720px) {
  .display {
    font-size: clamp(38px, 12vw, 58px);
    line-height: 1.16;
  }

  .h1 {
    font-size: clamp(36px, 10vw, 54px);
    line-height: 1.17;
  }

  .h2 {
    line-height: 1.23;
  }
}
