/* Creative Partner — shared styles for Persian (rtl) and English (ltr) pages.
   Direction-sensitive spacing uses logical properties (inline-start / inline-end). */

@font-face { font-family: "IRANSans"; src: url("/fonts/IRANSansWeb_FaNum_UltraLight.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("/fonts/IRANSansWeb_FaNum_Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("/fonts/IRANSansWeb_FaNum.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("/fonts/IRANSansWeb_FaNum_Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("/fonts/IRANSansWeb_FaNum_Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("/fonts/IRANSansWeb_FaNum_Black.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "LEGO Chalet"; src: url("/fonts/LEGOChalet60Tab-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --ink: #151412;
  --ink-2: #2a2824;
  --ivory: #f5f1e8;
  --paper: #fbf9f4;
  --muted: #6f695e;
  --line: rgba(21, 20, 18, .12);
  --yellow: #fad73f; /* matches the logo */
  --max: 1240px;
  --fa: "IRANSans", Tahoma, sans-serif;
  --latin: "LEGO Chalet", "Helvetica Neue", Arial, sans-serif;
  --nudge: -4px; /* hover nudge for "forward" arrows */
}
[dir="ltr"] { --nudge: 4px; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fa);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.latin { font-family: var(--latin); font-weight: 400; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* English pages: LEGO Chalet ships a single weight, so emphasis comes from size and colour */
[lang="en"] body { font-family: var(--latin); line-height: 1.7; font-synthesis: none; }
[lang="en"] h1, [lang="en"] h2, [lang="en"] h3, [lang="en"] b, [lang="en"] strong { font-weight: 400 !important; }

/* Arrow icon: drawn pointing left (forward in rtl), mirrored in ltr */
.ico { width: 16px; height: 16px; flex-shrink: 0; transition: translate .25s ease; }
[dir="ltr"] .ico { scale: -1 1; }
a:hover > .ico, a:hover .more .ico, .wcard:hover .ico { translate: var(--nudge) 0; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-weight: 500; font-size: 15px; font-family: inherit;
  border: 0; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--yellow); color: var(--ink); }
.btn-line { border: 1px solid var(--line); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--yellow); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
header.site.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.menu { display: flex; gap: 34px; list-style: none; font-size: 15px; }
.menu a { position: relative; color: var(--ink-2); padding: 6px 0; }
.menu a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width .3s ease;
}
.menu a:hover::after, .menu a.active::after { width: 100%; }
.nav-end { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 13px; color: var(--muted); display: flex; gap: 6px; }
.lang a.on { color: var(--ink); font-weight: 700; }
.lang .latin-label { font-family: var(--latin); }
.lang a:not(.latin-label), .menu .m-lang a { font-family: var(--fa); }
[lang="fa"] .menu .m-lang a { font-family: var(--latin); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 6px auto; }
.menu .m-lang { display: none; }

/* Home hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.22; font-weight: 800; letter-spacing: -.02em; }
[lang="en"] .hero h1 { line-height: 1.08; }
.hero h1 .light { font-weight: 200; }
[lang="en"] .hero h1 .light { color: var(--muted); }
mark {
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
  color: inherit; padding: 0 4px;
}
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 32px 0 40px; font-weight: 300; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s ease; }
.hero-visual:hover .frame img { transform: scale(1); }
.badge {
  position: absolute; bottom: 36px; inset-inline-start: -28px;
  background: var(--paper); padding: 18px 22px; border-inline-start: 4px solid var(--yellow);
  box-shadow: 0 20px 50px -20px rgba(21,20,18,.28); max-width: 270px;
}
.badge b { display: block; font-size: 15px; }
.badge small { color: var(--muted); font-size: 13px; line-height: 1.6; display: block; }

/* Clients marquee (always runs left-to-right so the loop stays on screen) */
.clients { border-block: 1px solid var(--line); padding: 32px 0 24px; overflow: hidden; direction: ltr; }
.clients-label { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
[dir="rtl"] .clients-label { direction: rtl; }
.marquee { display: flex; gap: 72px; align-items: center; padding: 18px 0; width: max-content; animation: scroll 46s linear infinite; }
.clients:hover .marquee { animation-play-state: paused; }
.marquee img { height: 56px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; mix-blend-mode: multiply; transition: .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section.block { padding: 128px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; margin-top: 18px; }
.section-head p { color: var(--muted); font-weight: 300; font-size: 18px; max-width: 620px; margin-top: 20px; }
.ivory { background: var(--ivory); }

/* Home about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.illo { position: relative; background: var(--ivory); border-bottom: 4px solid var(--yellow); aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; }
.illo img { width: 78%; }
.about-copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.45; font-weight: 300; letter-spacing: -.01em; margin: 22px 0 36px; }
.about-copy h2 b { font-weight: 800; }
.about-copy p { color: var(--ink-2); font-weight: 300; margin-bottom: 20px; }
.about-copy .btn { margin-top: 12px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 44px; }
.stats div { padding: 24px 0 0; }
.stats div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 22px; }
.stats b { display: block; font-family: var(--latin); font-weight: 400; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] .stats b { text-align: right; }
.stats span { font-size: 15px; color: var(--muted); }

/* Small "read more" links */
.more { margin-top: 28px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.more .ico { width: 14px; height: 14px; }

/* Service pillars: alternating photo / text rows */
.pillars { display: grid; gap: 20px; }
.pillar { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.pillar:nth-child(even) .pillar-img { order: 2; }
.pillar-img { overflow: hidden; min-height: 420px; background: var(--ivory); }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.pillar:hover .pillar-img img { transform: scale(1.04); }
.pillar-body { padding: 56px 56px 52px; display: flex; flex-direction: column; align-items: flex-start; }
.pillar-body h3 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; line-height: 1.3; margin: 22px 0 14px; }
.pillar-body p { color: var(--ink-2); font-weight: 300; }
.pillar-body .btn { margin-top: auto; }
.num { font-family: var(--latin); font-size: 64px; line-height: 1; color: var(--yellow); -webkit-text-stroke: 1px var(--ink); }
.points { list-style: none; margin: 22px 0 36px; display: grid; gap: 10px; }
.points li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.points li::before { content: ""; width: 9px; height: 9px; background: var(--yellow); flex-shrink: 0; translate: 0 -2px; }
.side-note { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 20px; padding: 26px 32px; border: 1px solid var(--line); transition: border-color .25s; }
.side-note:hover { border-color: var(--ink); }
.side-note b { font-size: 18px; white-space: nowrap; }
.side-note span:not(.more) { color: var(--muted); font-weight: 300; font-size: 15px; }
.side-note .more { margin: 0; white-space: nowrap; }

/* Text beside a photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .frame { aspect-ratio: 4 / 5; }
.split .frame img { transform: none; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; margin: 18px 0 26px; }
.body { color: var(--ink-2); font-weight: 300; margin-bottom: 18px; }
.split .label, .industries .label { display: block; font-size: 13px; color: var(--muted); margin: 32px 0 12px; }
.industries { margin-top: 72px; }
.links-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Numbered cells and process steps */
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cell { background: var(--paper); padding: 32px 30px 36px; border-bottom: 4px solid transparent; transition: border-color .3s; }
.cell:hover { border-bottom-color: var(--yellow); }
.cell .num { font-size: 40px; }
.cell h3 { font-size: 20px; font-weight: 700; line-height: 1.5; margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px 0 8px; padding-inline-end: 28px; border-top: 4px solid var(--yellow); margin-top: -1px; }
.step + .step { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.step .num { font-size: 40px; }
.step h3 { font-size: 20px; font-weight: 700; margin: 18px 0 10px; }
.step p { color: var(--muted); font-weight: 300; font-size: 15.5px; }

/* Home workshops (dark) */
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow, .dark .section-head p { color: #a8a194; }
.ws-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ws { display: flex; flex-direction: column; }
.ws-img { overflow: hidden; aspect-ratio: 4 / 3; background: #222; }
.ws-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ws:hover .ws-img img { transform: scale(1.05); }
.ws-meta { display: flex; flex-direction: column; gap: 6px; margin: 26px 0 12px; }
.ws-meta h3 { font-family: var(--latin); font-weight: 400; font-size: 34px; line-height: 1.1; }
.ws-meta span { font-size: 13px; color: #a8a194; white-space: nowrap; }
.ws p { color: #c9c3b6; font-weight: 300; font-size: 15.5px; }
.ws a.link { margin-top: 20px; font-size: 14px; color: var(--yellow); display: inline-flex; gap: 8px; align-items: center; }
.ws a.link .ico { width: 14px; height: 14px; }
.ws-all { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 72px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); align-items: center; }
.ws-all > span { color: #a8a194; font-size: 14px; margin-inline-end: 14px; }
.chip { border: 1px solid rgba(255,255,255,.2); padding: 8px 20px; font-family: var(--latin); font-size: 19px; direction: ltr; transition: .25s; }
.chip:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.ws-all .btn { margin-inline-start: auto; }

/* Quote */
.quote { text-align: center; padding: 150px 0; }
.quote svg.q { width: 46px; margin: 0 auto 34px; color: var(--yellow); }
.quote blockquote { font-size: clamp(28px, 3.8vw, 50px); line-height: 1.6; font-weight: 300; max-width: 900px; margin: 0 auto; letter-spacing: -.01em; }
[lang="en"] .quote blockquote { line-height: 1.3; }
.quote blockquote b { font-weight: 700; }
[lang="en"] .quote blockquote b { background: linear-gradient(transparent 70%, var(--yellow) 70%); }
.quote cite { display: block; margin-top: 30px; font-style: normal; color: var(--muted); font-size: 15px; }
.quote.photo {
  color: var(--paper); margin-bottom: 120px;
  background: linear-gradient(rgba(21,20,18,.55), rgba(21,20,18,.7)), url("/assets/img/photos/quote-bg.jpg") center 35% / cover;
}
.quote.photo cite { color: #d9d3c6; }

/* CTA band */
.cta-band { padding: 0 0 120px; }
.ivory + .cta-band { padding-top: 120px; }
.cta-card { background: var(--yellow); padding: 72px 64px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.cta-card h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.35; font-weight: 800; letter-spacing: -.015em; }
[lang="en"] .cta-card h2 { line-height: 1.15; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions .btn-line { border-color: rgba(21,20,18,.3); }

/* Inner page header */
.page-head { padding: 88px 0 72px; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin-top: 18px; }
[lang="en"] .page-head h1 { line-height: 1.08; }
.page-head p { color: var(--muted); font-weight: 300; font-size: 19px; max-width: 640px; margin-top: 24px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.banner { aspect-ratio: 21 / 8; overflow: hidden; background: var(--ivory); }
.banner img { width: 100%; height: 100%; object-fit: cover; }

/* About page */
.story-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; }
.story-grid h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.3; font-weight: 700; margin: 18px 0 28px; }
.story-grid p { color: var(--ink-2); font-weight: 300; margin-bottom: 20px; text-align: justify; }
[lang="en"] .story-grid p { text-align: start; }
.story-grid .stats { grid-template-columns: 1fr; margin-top: 0; border-top: 0; }
.story-grid .stats div { border-inline-start: 0; padding: 26px 0; border-top: 1px solid var(--line); padding-inline-start: 0; }
.story-grid .stats div:last-child { border-bottom: 1px solid var(--line); }
.dm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dm { background: var(--paper); display: flex; flex-direction: column; }
.dm .illo { aspect-ratio: 16 / 10; border-bottom: 0; }
.dm .illo img { width: auto; height: 82%; }
.dm-body { padding: 36px 36px 40px; border-top: 4px solid var(--yellow); }
.dm h3 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.dm p { color: var(--ink-2); font-weight: 300; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.member figure { aspect-ratio: 1 / 1; overflow: hidden; background: var(--yellow); }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.member:hover img { transform: scale(1.04); }
.member-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; }
.member h3 { font-size: 17px; font-weight: 700; line-height: 1.5; }
.member .in { width: 34px; height: 34px; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: .25s; }
.member .in:hover { background: var(--yellow); border-color: var(--yellow); }
.member .in svg { width: 15px; height: 15px; }

/* Workshops index */
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.wcard { display: flex; flex-direction: column; }
.wcard .ws-img { aspect-ratio: 1 / 1; background: var(--ivory); }
.wcard:hover .ws-img img { transform: scale(1.05); }
.wcard h2 { font-family: var(--latin); font-weight: 400; font-size: 36px; line-height: 1.1; margin: 24px 0 8px; }
.wcard .facts-line { font-size: 14px; color: var(--muted); }
.wcard p { color: var(--ink-2); font-weight: 300; font-size: 16px; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Workshop detail */
.wd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 72px 0 96px; }
.wd-hero .frame { aspect-ratio: 1 / 1; }
.wd-hero h1 { font-family: var(--latin); font-weight: 400; font-size: clamp(52px, 7vw, 104px); line-height: 1; margin: 22px 0 28px; }
.wd-hero h2 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.wd-hero p { color: var(--ink-2); font-weight: 300; margin-bottom: 14px; }
.wd-hero .btn { margin-top: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr 2fr; border-block: 1px solid var(--line); }
.facts > div { padding: 32px 0; }
.facts > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 32px; }
.facts .label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 8px; }
.facts .value { font-size: 26px; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { border: 1px solid var(--line); padding: 4px 14px; font-size: 14px; background: var(--paper); }
.gallery { columns: 3; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin-bottom: 16px; border: 0; padding: 0; background: var(--ivory); cursor: zoom-in; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .8s ease; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(21,20,18,.94); display: none; align-items: center; justify-content: center; padding: 40px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.25); color: var(--paper); width: 48px; height: 48px; cursor: pointer; font-size: 22px; font-family: var(--latin); }
.lightbox button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.others { display: flex; flex-wrap: wrap; gap: 10px; }
.others .chip { border-color: var(--line); }
.others .chip:hover { border-color: var(--yellow); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; padding-bottom: 128px; }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.form input, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; width: 100%;
  transition: border-color .2s;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--yellow); }
.form .btn { justify-self: start; }
.form .trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--ivory); border-inline-start: 4px solid var(--yellow); padding: 14px 18px; }
.form-status.error { color: #a3261b; }
.form-status a { text-decoration: underline; }
.mail-card { background: var(--ivory); border-inline-start: 4px solid var(--yellow); padding: 40px 40px 44px; margin-bottom: 40px; display: grid; gap: 10px; justify-items: start; }
.mail-card .label { font-size: 13px; color: var(--muted); }
.mail-big { font-size: clamp(24px, 3vw, 38px); line-height: 1.3; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; margin-bottom: 18px; }
.mail-big:hover { background: linear-gradient(transparent 70%, var(--yellow) 70%); }
.contact-aside .illo { aspect-ratio: 4 / 3; margin-bottom: 32px; }
.contact-aside .illo img { width: auto; height: 80%; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list .label { font-size: 13px; color: var(--muted); }
.contact-list a:hover { color: var(--muted); }
.contact-aside .socials a { border-color: var(--line); }

/* Footer */
footer.site { background: var(--ink); color: #c9c3b6; padding: 96px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
footer.site h4 { color: var(--paper); font-size: 14px; font-weight: 500; margin-bottom: 20px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 10px; }
footer.site a:hover { color: var(--yellow); }
footer.site .brand img { height: 56px; }
footer.site .about-line { margin-top: 22px; font-weight: 300; max-width: 320px; }
footer.site .about-line b { color: var(--paper); font-weight: 700; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: .25s; }
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.foot-bottom { margin-top: 80px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: 13px; color: #8a8478; gap: 16px; flex-wrap: wrap; }
.big-word { font-family: var(--latin); font-size: clamp(40px, 10.5vw, 150px); line-height: 1; letter-spacing: -.02em; overflow: hidden; color: var(--paper); opacity: .06; margin-top: 64px; direction: ltr; white-space: nowrap; text-align: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; }
}

/* Responsive */
@media (max-width: 1240px) {
  .nav-end .btn { display: none; }
  .menu { gap: 24px; }
}
@media (max-width: 1000px) {
  .pillar, .split { grid-template-columns: 1fr; }
  .pillar:nth-child(even) .pillar-img { order: 0; }
  .pillar-img { min-height: 0; aspect-ratio: 16 / 9; }
  .split { gap: 40px; }
  .split .frame { aspect-ratio: 16 / 10; }
  .cells { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .side-note { grid-template-columns: 1fr; gap: 8px; }
  .hero-grid, .about-grid, .cta-card, .story-grid, .wd-hero, .contact-grid { grid-template-columns: 1fr; }
  .ws-list, .wgrid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .badge { inset-inline-start: 16px; }
  .hero-visual { max-width: 520px; }
  .wd-hero { gap: 40px; }
  .wd-hero .frame { max-width: 520px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:last-child { grid-column: 1 / -1; border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .gallery { columns: 2; }
}
@media (max-width: 860px) {
  .menu, .nav-end .btn, .lang { display: none; }
  .burger { display: block; }
  .menu.open {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: 84px; inset-inline: 0;
    background: var(--paper); padding: 20px 32px 32px; border-bottom: 1px solid var(--line);
    font-size: 20px;
  }
  .menu.open .m-lang { display: block; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { height: 72px; }
  .brand img { height: 42px; }
  .menu.open { top: 72px; padding: 16px 20px 28px; }
  .hero { padding: 40px 0 72px; }
  section.block { padding: 88px 0; }
  .page-head { padding: 56px 0 48px; }
  .banner { aspect-ratio: 4 / 3; }
  .ws-list, .wgrid, .foot-grid, .stats, .dm-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .member h3 { font-size: 15px; }
  .stats div + div { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); margin-top: 20px; }
  .cta-card { padding: 48px 28px; }
  .quote { padding: 100px 0; }
  .badge { bottom: 20px; }
  .wd-hero { padding: 40px 0 64px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .gallery { columns: 1; }
  .lightbox { padding: 72px 12px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 16px; translate: none; }
  .contact-grid { padding-bottom: 88px; }
  .pillar-body { padding: 32px 24px 36px; }
  .cells, .steps { grid-template-columns: 1fr; }
  .cells { gap: 10px; }
  .cell { display: flex; align-items: center; gap: 18px; padding: 18px 20px; }
  .cell .num { font-size: 30px; }
  .cell h3 { margin: 0; font-size: 17px; }
  .step, .step + .step { padding-inline-start: 0; border-inline-start: 0; }
  .quote.photo { margin-bottom: 88px; }
  .dm-body { padding: 28px 24px 32px; }
}
