@font-face { font-family: Manrope; src: url("./assets/fonts/Manrope-Variable.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Modam; src: url("./assets/fonts/ModamVF.ttf") format("truetype"); font-weight: 200 900; font-display: swap; }

:root {
  --ink: #000;
  --ink-soft: #1b331b;
  --paper: #f4f3ea;
  --paper-deep: #dedbd0;
  --brand: #4d6e4e;
  --brand-soft: #c3beb2;
  --line: rgba(27, 51, 27, .22);
  --line-dark: rgba(244, 243, 234, .24);
  --muted: #4d6e4e;
  --danger: #9f2f2f;
  --font-ui: Manrope, sans-serif;
  --page: min(92vw, 1360px);
  --header-h: 80px;
  --section-space: clamp(78px, 8vw, 128px);
  --display: clamp(44px, 5.4vw, 82px);
  --title: clamp(36px, 4.5vw, 68px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

html[lang="fa"] { --font-ui: Modam, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; overflow-x: hidden; color: var(--ink-soft); background: var(--paper); font: 400 16px/1.7 var(--font-ui); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html[lang="fa"] body { line-height: 1.9; }
html[lang="fa"] body, html[lang="fa"] body * { letter-spacing: 0 !important; font-synthesis: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.page-shell { width: var(--page); margin-inline: auto; }
.skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 1000; padding: 10px 14px; color: var(--paper); background: var(--ink-soft); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 300; height: 3px; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .scroll-progress span { transform-origin: right; }

/* Header and navigation */
.site-header { position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: clamp(20px, 4vw, 56px); color: var(--ink-soft); background: rgba(244, 243, 234, .96); border-bottom: 1px solid var(--line); transition: height .25s var(--ease), background .25s var(--ease); }
.site-header.scrolled { height: 66px; background: rgba(244, 243, 234, .98); }
.image-brand { display: flex; align-items: center; width: 130px; height: 48px; }
.brand-logo { display: block; width: 130px; height: 38px; background: url("./assets/see1-logo-green-tight.png") center / contain no-repeat; }
html[lang="fa"] .image-brand, html[lang="fa"] .brand-logo { width: 150px; }
html[lang="fa"] .brand-logo { height: 48px; background-image: url("./assets/see1-logo-fa-black.png"); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.45vw, 25px); font-size: 13px; font-weight: 650; }
.site-nav > a { position: relative; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.site-nav > a:not(.nav-cta):not(.language-link)::after { content: ""; position: absolute; inset: auto 0 6px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .22s var(--ease); }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav > a[aria-current="page"] { color: var(--brand); }
.language-link { min-width: 42px; justify-content: center; border: 1px solid var(--line); }
.nav-cta { min-width: 64px; justify-content: center; padding: 0 14px; color: var(--paper); background: var(--ink-soft); border: 1px solid var(--ink-soft); transition: color .2s var(--ease), background .2s var(--ease); }
.nav-cta:hover { color: var(--ink-soft); background: transparent; }
.menu-toggle { display: none; }
.menu-backdrop { display: none; }

/* Shared typography and actions */
.section { padding-block: var(--section-space); }
.section-mini { padding-block: clamp(58px, 6vw, 88px); }
.section-label, .eyebrow { margin: 0 0 18px; color: var(--brand); font-size: 12px; font-weight: 700; }
.section-label.on-dark { color: var(--brand-soft); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: clamp(36px, 6vw, 86px); align-items: end; margin-bottom: clamp(42px, 5vw, 70px); }
.section-head h2, .inner-cta h2, .action-section h2 { margin: 0; color: inherit; font-size: var(--title); font-weight: 650; line-height: 1.2; }
html[lang="fa"] .section-head h2, html[lang="fa"] .inner-cta h2, html[lang="fa"] .action-section h2 { line-height: 1.45; }
.section-head > p { max-width: 48ch; margin: 0; color: var(--muted); font-size: 17px; }
.button-light, .button-dark { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 12px 20px; border: 1px solid transparent; font-weight: 700; transition: transform .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.button-light { color: var(--ink-soft); background: var(--paper); border-color: var(--paper); }
.button-dark { color: var(--paper); background: var(--ink-soft); border-color: var(--ink-soft); }
.button-light:hover, .button-dark:hover { transform: translateY(-2px); }
.button-light:active, .button-dark:active { transform: translateY(1px); }
.button-dark:disabled { cursor: wait; opacity: .6; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; padding-block: 8px; border-bottom: 1px solid currentColor; font-weight: 700; }
.text-link.light { color: var(--paper); }

/* Homepage hero */
.hero { position: relative; isolation: isolate; min-height: 100svh; padding-top: var(--header-h); display: flex; flex-direction: column; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .34); }
.hero-content { flex: 1; min-height: 0; padding-block: clamp(56px, 8vh, 100px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-title-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-wordmark { width: min(58vw, 760px); height: clamp(145px, 18vw, 240px); }
.hero-wordmark img { width: 100%; height: 100%; object-fit: contain; }
.hero-wordmark--fa { width: min(64vw, 900px); height: auto; }
.hero-wordmark--fa img { filter: invert(1); }
.hero-copy { max-width: 680px; margin: 30px 0 25px; color: var(--paper); font-size: clamp(18px, 1.55vw, 23px); line-height: 1.75; text-shadow: 0 2px 18px rgba(0, 0, 0, .78); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hero-pillars { flex: 0 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.hero-pillars a { min-height: 96px; padding: 18px 26px; display: flex; align-items: center; justify-content: space-between; background: rgba(0, 0, 0, .25); border-inline-end: 1px solid var(--line-dark); transition: background .22s var(--ease); }
.hero-pillars a:last-child { border-inline-end: 0; }
.hero-pillars a:hover { background: rgba(77, 110, 78, .9); }
.hero-pillars span { color: var(--brand-soft); font-size: 12px; }
.hero-pillars strong { font-size: clamp(22px, 2vw, 32px); }

/* Homepage sections */
.home-intro { background: var(--paper); }
.split-intro { display: grid; grid-template-columns: minmax(150px, .3fr) minmax(0, 1.3fr) auto; gap: clamp(28px, 5vw, 78px); align-items: start; }
.intro-statement { max-width: 880px; margin: 0; color: var(--ink); font-size: clamp(28px, 3vw, 44px); font-weight: 600; line-height: 1.45; }
html[lang="fa"] .intro-statement { line-height: 1.68; }
.activity-section { background: var(--paper); }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.activity-card { min-height: 470px; padding: 0 28px 28px; display: flex; flex-direction: column; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); }
.activity-card + .activity-card { border-inline-start: 0; }
.activity-card.dark-card { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.activity-glyph { width: calc(100% + 56px); aspect-ratio: 16 / 9; margin: 0 -28px 30px; background-position: center; background-repeat: no-repeat; background-size: cover; }
.activity-glyph--platform { background-image: url("./assets/brand-book/page-20.jpg"); }
.activity-glyph--content { background-image: url("./assets/brand-book/page-14.jpg"); }
.activity-glyph--business { background-image: url("./assets/brand-book/page-17.jpg"); }
.activity-card h3 { margin: 0 0 10px; font-size: clamp(27px, 2.5vw, 38px); line-height: 1.25; }
.activity-card p { max-width: 38ch; margin: 0 0 28px; color: var(--muted); }
.activity-card.dark-card p { color: rgba(244, 243, 234, .7); }
.activity-card > a { margin-top: auto; min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid currentColor; font-weight: 700; }
.products-section { color: var(--paper); background: var(--ink); }
.product-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); }
.product-card { min-height: 500px; padding: 28px; display: flex; flex-direction: column; background: #101410; transition: background .25s var(--ease); }
.product-card:hover { background: var(--ink-soft); }
.product-status { align-self: flex-start; padding: 6px 9px; border: 1px solid currentColor; color: var(--brand-soft); font-size: 11px; font-weight: 700; }
.product-logo { width: min(210px, 70%); height: 112px; margin: auto; object-fit: contain; filter: grayscale(1) brightness(2); }
.product-logo--mark { width: 104px; }
.product-wordmark { width: min(220px, 74%); height: 70px; margin: 8px auto 20px; }
.product-wordmark img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.product-card h3 { margin: 8px 0 18px; font-size: clamp(44px, 4vw, 72px); }
.product-card p { min-height: 78px; margin: 0; color: rgba(244, 243, 234, .68); }
.product-card .text-link { align-self: flex-start; margin-top: 24px; }
.signal-section { background: var(--paper); }
.opportunity-list { border-top: 1px solid var(--line); }
.opportunity { min-height: 130px; display: grid; grid-template-columns: 1fr auto; gap: 7px 24px; align-content: center; border-bottom: 1px solid var(--line); }
.opportunity span { color: var(--brand); font-size: 12px; }
.opportunity strong { font-size: clamp(20px, 2vw, 29px); }
.opportunity i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-size: 24px; transition: transform .2s var(--ease); }
.opportunity:hover i { transform: translate(4px, -4px); }
[dir="rtl"] .opportunity:hover i { transform: translate(-4px, -4px); }
.action-section { color: var(--paper); background: var(--ink-soft); }
.action-section h2 { margin-bottom: 46px; }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.action-grid a { min-height: 135px; padding: 24px 0; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; border-bottom: 1px solid var(--line-dark); }
.action-grid a:nth-child(odd) { padding-inline-end: 30px; border-inline-end: 1px solid var(--line-dark); }
.action-grid a:nth-child(even) { padding-inline-start: 30px; }
.action-grid span { opacity: .6; font-size: 12px; }
.action-grid strong { font-size: clamp(23px, 2.5vw, 36px); }
.action-grid i { font-style: normal; font-size: 24px; }

/* Inner pages */
.inner-hero { position: relative; isolation: isolate; min-height: clamp(530px, 66svh, 660px); padding: calc(var(--header-h) + 72px) 0 78px; display: flex; align-items: end; overflow: hidden; color: var(--paper); background: var(--ink); }
.inner-hero::before { content: ""; position: absolute; z-index: -1; inset: 120px auto 30px 0; width: 34%; background: url("./assets/brand-dots.svg") center / contain no-repeat; opacity: .75; }
[dir="ltr"] .inner-hero::before { inset-inline: auto 0; transform: scaleX(-1); }
.inner-hero h1 { max-width: 920px; margin: 0; font-size: var(--display); font-weight: 650; line-height: 1.2; }
html[lang="fa"] .inner-hero h1 { line-height: 1.42; }
.inner-hero h1 em { color: var(--brand-soft); font-style: normal; }
.inner-hero .page-shell > p:last-child { max-width: 700px; margin: 24px 0 0; color: rgba(244, 243, 234, .72); font-size: 18px; }
.inner-hero .button-light { margin-top: 30px; }
.inner-cta { padding-block: clamp(75px, 9vw, 125px); color: var(--paper); background: var(--ink-soft); }
.inner-cta p { margin: 0 0 12px; color: var(--brand-soft); }
.inner-cta h2 { margin-bottom: 32px; }

/* Products page */
.portfolio-section { background: var(--paper); }
.portfolio-stack { display: grid; gap: 1px; background: var(--line); }
.venture-card { min-height: 430px; display: grid; grid-template-columns: .75fr 1.25fr; background: var(--paper); }
.venture-card:nth-child(even) { background: var(--paper-deep); }
.venture-visual { min-height: 380px; display: grid; place-items: center; padding: clamp(28px, 5vw, 68px); background: var(--ink); }
.venture-logo { width: 78%; height: 230px; object-fit: contain; filter: grayscale(1) brightness(2); }
.venture-copy { align-self: center; padding: clamp(34px, 6vw, 78px); }
.venture-copy h2 { margin: 16px 0; color: var(--ink); font-size: clamp(44px, 6vw, 82px); line-height: 1; }
.venture-wordmark { width: min(290px, 82%); height: 88px; }
.venture-wordmark img { width: 100%; height: 100%; object-fit: contain; object-position: left center; filter: brightness(0); }
[dir="rtl"] .venture-wordmark img { object-position: right center; }
.venture-copy > p { max-width: 56ch; color: var(--muted); font-size: 18px; }
.product-facts { display: flex; gap: 42px; margin: 28px 0; }
.product-facts div { display: grid; gap: 4px; }
.product-facts dt { color: var(--brand); font-size: 11px; font-weight: 700; }
.product-facts dd { margin: 0; font-weight: 650; }
.product-action { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--ink-soft); font-weight: 700; }

/* About page */
.about-manifesto { background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: .32fr 1.22fr .58fr; gap: clamp(30px, 5vw, 76px); align-items: start; }
.manifesto-grid h2 { margin: 0; color: var(--ink); font-size: clamp(34px, 4vw, 60px); line-height: 1.35; }
.manifesto-grid > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.journey-section { color: var(--paper); background: var(--ink-soft); }
.journey-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.journey-list li { min-height: 145px; display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: center; border-bottom: 1px solid var(--line-dark); }
.journey-list li > span { color: var(--brand-soft); font-size: 12px; }
.journey-list h3 { margin: 0 0 5px; font-size: clamp(24px, 2.4vw, 36px); }
.journey-list p { margin: 0; color: rgba(244, 243, 234, .7); }
.leaders-section { background: var(--paper); }
.leaders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.leader-card { min-height: 410px; display: flex; flex-direction: column; background: var(--paper); }
.leader-portrait { min-height: 255px; display: grid; place-items: center; color: var(--paper); background: var(--brand); }
.leader-portrait.alternate { color: var(--ink-soft); background: var(--brand-soft); }
.leader-portrait span { font-size: clamp(54px, 6vw, 86px); font-weight: 650; }
.leader-card > div:last-child { padding: 22px; }
.leader-card p { margin: 0 0 5px; color: var(--brand); font-size: 12px; font-weight: 700; }
.leader-card h3 { margin: 0 0 10px; color: var(--ink); font-size: clamp(20px, 2vw, 27px); }
.leader-card small { display: block; color: var(--muted); }

/* Collaboration */
.collaboration-section { background: var(--paper); }
.collaboration-grid { border-top: 1px solid var(--line); }
.collaboration-card { min-height: 160px; display: grid; grid-template-columns: 72px 1fr auto; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); transition: color .22s var(--ease), padding .22s var(--ease); }
.collaboration-card:hover { padding-inline: 18px; color: var(--brand); }
.collaboration-card > span { color: var(--brand); font-size: 12px; }
.collaboration-card h2 { margin: 0 0 5px; font-size: clamp(25px, 3vw, 42px); }
.collaboration-card p { margin: 0; color: var(--muted); }
.collaboration-card i { font-style: normal; font-size: 26px; }
.email-note { margin-top: 42px; padding-block: 24px; display: flex; justify-content: space-between; gap: 24px; align-items: center; border-bottom: 1px solid var(--ink-soft); }
.email-note p { margin: 0; color: var(--muted); }
.email-note a { font-size: clamp(20px, 2.5vw, 34px); font-weight: 650; }

/* Careers */
.teams-section { background: var(--paper); }
.career-families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.career-family { min-height: 290px; padding: 28px; display: flex; flex-direction: column; background: var(--paper); }
.career-family > span { color: var(--brand); font-size: 12px; }
.career-family h3 { margin: auto 0 12px; color: var(--ink); font-size: clamp(25px, 2.7vw, 38px); }
.career-family p { margin: 0; color: var(--muted); }
.openings-section { color: var(--paper); background: var(--ink); }
.openings-section .section-head > p { color: rgba(244, 243, 234, .68); }
.jobs-list { border-top: 1px solid var(--line-dark); }
.job-card { border-bottom: 1px solid var(--line-dark); }
.job-heading { min-height: 145px; padding-block: 24px; display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center; }
.job-heading > span { color: var(--brand-soft); font-size: 12px; }
.job-heading h3 { margin: 0; font-size: clamp(22px, 2.4vw, 33px); }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.job-meta span { padding: 6px 9px; border: 1px solid var(--line-dark); color: rgba(244, 243, 234, .72); font-size: 11px; }
.job-card details { padding-bottom: 20px; }
.job-card summary { width: 100%; min-height: 44px; display: flex; align-items: center; color: var(--brand-soft); cursor: pointer; font-weight: 700; }
.job-card summary::after { content: "+"; margin-inline-start: auto; font-size: 22px; font-weight: 400; }
.job-card details[open] summary::after { content: "−"; }
.job-card details p { max-width: 70ch; color: rgba(244, 243, 234, .72); }
.job-card details a { display: inline-flex; min-height: 44px; align-items: center; border-bottom: 1px solid currentColor; font-weight: 700; }
.careers-bottom { margin-top: 42px; display: flex; align-items: center; gap: 30px; }

/* Contact */
.contact-form-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(44px, 7vw, 100px); align-items: start; }
.contact-aside { position: sticky; top: 110px; }
.contact-aside h2 { margin: 0 0 18px; color: var(--ink); font-size: clamp(32px, 4vw, 54px); }
.contact-aside > p:not(.section-label) { color: var(--muted); }
.contact-methods { margin-top: 38px; border-top: 1px solid var(--line); }
.contact-methods a { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.contact-methods span { color: var(--brand); font-size: 12px; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; padding: clamp(28px, 4vw, 52px); background: var(--paper-deep); }
.form-field { display: grid; gap: 7px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field label span, .file-field small { color: var(--muted); font-size: 11px; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(27, 51, 27, .34); border-radius: 0; background: var(--paper); }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand); outline: 2px solid var(--brand); outline-offset: 1px; }
.form-field input:user-invalid, .form-field select:user-invalid, .form-field textarea:user-invalid { border-color: var(--danger); }
.file-field input { padding: 10px; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; }
.form-consent input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; }
.form-consent label { font-size: 13px; }
.form-consent a { border-bottom: 1px solid currentColor; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { margin: 0; color: var(--muted); font-size: 13px; }
.form-status[data-state="success"] { color: var(--brand); }
.form-status[data-state="error"], .field-error { color: var(--danger); }
.field-error { display: block; font-size: 12px; }

/* Footer and content pages */
.footer { padding: 66px 0 24px; color: var(--paper); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, .55fr); gap: 36px; padding-bottom: 60px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.brand-logo--footer { background-image: url("./assets/see1-logo-white-tight.png"); }
html[lang="fa"] .brand-logo--footer { background-image: url("./assets/see1-logo-fa.png"); filter: invert(1); }
.footer-brand small, .footer-bottom { color: rgba(244, 243, 234, .55); font-size: 12px; }
.footer p { margin-top: 0; color: rgba(244, 243, 234, .48); font-size: 11px; font-weight: 700; }
.footer-grid a { display: block; width: max-content; max-width: 100%; margin-bottom: 8px; color: rgba(244, 243, 234, .82); }
.footer-grid a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.content-page { background: var(--paper); }
.content-shell { width: min(88vw, 820px); margin-inline: auto; padding-block: var(--section-space); }
.content-shell h2 { margin-top: 42px; color: var(--ink); font-size: clamp(24px, 3vw, 36px); }
.content-shell p, .content-shell li { color: var(--muted); }

/* Standalone interaction demo */
.tilt-demo-page { min-height: 100svh; background: var(--paper); }
.tilt-demo-section { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); }
.tilt-demo-shell { display: grid; grid-template-columns: 1fr auto; gap: clamp(48px, 9vw, 130px); align-items: center; }
.tilt-demo-copy h1 { margin: 0; color: var(--ink); font-size: clamp(54px, 8vw, 120px); line-height: .95; }
.tilt-demo-copy p:not(.section-label) { max-width: 520px; color: var(--muted); font-size: clamp(18px, 1.7vw, 25px); }
.tilt-demo-stage { min-width: 330px; min-height: 390px; display: grid; place-items: center; padding: 34px; background: var(--paper-deep); }
.tlt { position: relative; touch-action: pan-y; }
.tlt-card { position: absolute; inset: 0; overflow: hidden; background-color: var(--paper); background-position: center; background-size: cover; transform-style: preserve-3d; }
.tlt-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }

/* Progressive enhancement */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* Small, dependency-free motion; no layout-changing animation. */
@keyframes enter-soft {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: opacity .55s var(--ease) var(--reveal-delay, 0ms), transform .55s var(--ease) var(--reveal-delay, 0ms), translate .3s var(--ease), background .25s var(--ease); }
  .js .hero-wordmark { animation: enter-soft .7s var(--ease) both; }
  .js .hero-title-copy { animation: enter-soft .7s .1s var(--ease) both; }
  .js .hero-copy { animation: enter-soft .7s .18s var(--ease) both; }
  .js .hero-actions { animation: enter-soft .7s .26s var(--ease) both; }
  .js .hero-pillars { animation: enter-soft .7s .34s var(--ease) both; }
  .js .inner-hero .page-shell { animation: enter-soft .7s var(--ease) both; }
  .activity-card, .product-card, .leader-card, .career-family { transition: translate .3s var(--ease), background .25s var(--ease); }
  .text-link, .product-action { transition: gap .25s var(--ease); gap: 8px; }
  .text-link:hover, .product-action:hover { gap: 16px; }
  .action-grid i, .collaboration-card i { transition: transform .25s var(--ease); }
  .action-grid a:hover i, .collaboration-card:hover i { transform: translate(4px, -4px); }
  [dir="rtl"] .action-grid a:hover i, [dir="rtl"] .collaboration-card:hover i { transform: translate(-4px, -4px); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .activity-card:hover, .product-card:hover, .leader-card:hover, .career-family:hover { translate: 0 -5px; }
}

/* Native tilt card: the surface sinks under the pointer and settles on exit. */
[data-tilt-card] { width: 260px; max-width: 100%; aspect-ratio: 13 / 16; perspective: 800px; }
[data-tilt-card] .tlt-card {
  border-radius: 20px;
  transform: translateZ(0) rotateX(0deg) rotateY(0deg);
  box-shadow: 0 20px 44px -8px rgba(15, 23, 42, .22);
  transition: transform .65s cubic-bezier(.22, 1.25, .36, 1), box-shadow .4s var(--ease);
}
.tlt-image { width: 100%; height: 100%; object-fit: cover; }
[data-tilt-card] .tlt-sheen {
  opacity: 0;
  background-image: radial-gradient(42% 34% at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(9, 14, 28, .33), transparent), radial-gradient(52% 42% at var(--rim-x, 50%) var(--rim-y, 50%), rgba(255, 255, 255, .2), transparent);
  transition: opacity .3s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  [data-tilt-card].is-tracking .tlt-card {
    transform: translateZ(-14px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    box-shadow: 0 9px 24px -8px rgba(15, 23, 42, .15);
    transition-duration: .18s;
  }
  [data-tilt-card].is-tracking .tlt-sheen { opacity: 1; }
}

@media (max-width: 1100px) {
  .site-nav { gap: 11px; font-size: 12px; }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .menu-toggle { position: relative; z-index: 230; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); background: var(--paper); }
  .menu-toggle span { position: absolute; width: 24px; height: 1px; background: currentColor; transition: transform .35s var(--ease), opacity .2s ease; }
  .menu-toggle span:nth-child(1) { transform: translateY(-6px); }
  .menu-toggle span:nth-child(3) { transform: translateY(6px); }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg); }
  .menu-backdrop { position: fixed; inset: 0; z-index: 205; display: block; visibility: hidden; opacity: 0; background: rgba(0, 0, 0, .5); transition: opacity .35s var(--ease), visibility 0s linear .35s; }
  .menu-open .menu-backdrop { visibility: visible; opacity: 1; transition-delay: 0s; }
  .site-nav { position: fixed; z-index: 220; inset: 0 0 0 auto; width: min(88vw, 480px); height: 100dvh; padding: calc(var(--header-h) + 42px) clamp(28px, 7vw, 52px) 32px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; overflow-y: auto; color: var(--ink-soft); background: var(--paper); box-shadow: -20px 0 60px rgba(0, 0, 0, .14); transform: translateX(110%); transition: transform .55s var(--ease); }
  [dir="ltr"] .site-nav { inset: 0 auto 0 0; transform: translateX(-110%); box-shadow: 20px 0 60px rgba(0, 0, 0, .14); }
  .site-nav.open { transform: none; }
  .site-nav > a { min-height: 58px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: clamp(22px, 5vw, 32px); }
  .site-nav > a::after { display: none; }
  .site-nav .language-link, .site-nav .nav-cta { align-self: flex-start; min-height: 44px; margin-top: 18px; padding-inline: 14px; font-size: 14px; }
  .split-intro, .manifesto-grid, .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .activity-grid, .product-rail, .career-families { grid-template-columns: 1fr; }
  .activity-card + .activity-card { border-inline-start: 1px solid var(--line); border-top: 0; }
  .activity-card { min-height: 420px; }
  .product-card { min-height: 430px; }
  .product-card p { min-height: 0; }
  .venture-card { grid-template-columns: 1fr; }
  .venture-visual { min-height: 300px; }
  .job-heading { grid-template-columns: 1fr; gap: 9px; }
  .job-meta { justify-content: flex-start; }
  .tilt-demo-shell { grid-template-columns: 1fr; }
  .tilt-demo-stage { justify-self: start; min-width: 0; width: min(100%, 360px); }
}

@media (max-width: 620px) {
  :root { --page: 89vw; --section-space: 66px; --display: clamp(36px, 10vw, 50px); --title: clamp(31px, 8.8vw, 46px); }
  .image-brand, .brand-logo { width: 106px; }
  html[lang="fa"] .image-brand, html[lang="fa"] .brand-logo { width: 124px; }
  .hero { min-height: min(100svh, 820px); }
  .hero-content { padding-block: 52px; }
  .hero-wordmark { width: 82vw; height: 140px; }
  .hero-wordmark--fa { width: 88vw; height: auto; }
  .hero-copy { max-width: 320px; margin-block: 24px; font-size: 17px; }
  .hero-actions { gap: 14px; }
  .hero-pillars a { min-height: 84px; padding: 14px 10px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .hero-pillars strong { font-size: 19px; }
  .split-intro { gap: 18px; }
  .intro-statement { font-size: 27px; }
  .section-head { margin-bottom: 36px; }
  .activity-card { min-height: 360px; }
  .product-card { min-height: 390px; }
  .action-grid { grid-template-columns: 1fr; }
  .action-grid a:nth-child(odd), .action-grid a:nth-child(even) { min-height: 105px; padding-inline: 0; border-inline-end: 0; }
  .inner-hero { min-height: 570px; padding: calc(var(--header-h) + 52px) 0 240px; }
  .inner-hero::before, [dir="ltr"] .inner-hero::before { inset: auto 0 20px; width: 100%; height: 190px; transform: none; }
  .inner-hero .page-shell > p:last-child { font-size: 16px; }
  .venture-visual { min-height: 240px; }
  .venture-logo { height: 160px; }
  .venture-copy { padding: 28px 22px 38px; }
  .product-facts { gap: 24px; flex-wrap: wrap; }
  .leaders-grid { grid-template-columns: 1fr; }
  .leader-card { min-height: 0; }
  .leader-portrait { min-height: 240px; }
  .collaboration-card { min-height: 145px; grid-template-columns: 42px 1fr auto; gap: 12px; }
  .email-note, .careers-bottom { align-items: flex-start; flex-direction: column; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .form-field, .form-field--wide { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 14px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}
/* UX audit repairs */
[hidden] { display: none !important; }
.footer-grid a { min-height: 44px; min-width: 44px; display: flex; align-items: center; }
.footer-bottom > a { min-height: 44px; display: inline-flex; align-items: center; }
.site-nav .language-link { min-width: 44px; }
.contact-form .form-field label span, .contact-form .file-field small,
.contact-form .form-status { color: var(--ink-soft); }
.button-outline { min-height: 50px; padding: 12px 20px; background: transparent; border: 1px solid var(--ink-soft); font-weight: 700; }
.video-toggle { position: absolute; inset: calc(var(--header-h) + 16px) auto auto 4vw; z-index: 2; min-height: 44px; padding: 8px 14px; color: var(--paper); background: var(--ink); border: 1px solid var(--line-dark); }
.hero { min-height: min(85svh, 820px); }
.hero.hero-fullscreen { min-height: 100vh; min-height: 100dvh; }
.hero-wordmark { width: min(48vw, 640px); height: clamp(120px, 15vw, 200px); }
.hero-wordmark--fa { width: min(52vw, 720px); height: auto; }
.hero-title-copy { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; max-width: 760px; margin: 22px 0 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.6; }
.hero-wordmark { order: -1; }
.hero-copy { margin-top: 16px; }
.hero-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-pillars a, .hero-pillars strong { min-width: 0; overflow-wrap: anywhere; }
.contact-hero { min-height: 0; padding-bottom: 56px; }
.contact-hero::before { opacity: .15; }
@media (max-width: 900px) {
  .contact-layout .contact-form { grid-row: 1; }
}
@media (max-width: 620px) {
  .hero { min-height: 0; }
  .hero-content { padding-block: 82px 40px; }
  .hero-wordmark { width: 72vw; height: 110px; }
  .hero-wordmark--fa { height: auto; }
  .hero-title-copy { font-size: 20px; }
  .hero-pillars strong { font-size: clamp(14px, 4vw, 19px); }
  .contact-hero { min-height: 0; padding: calc(var(--header-h) + 40px) 0 40px; }
  .contact-hero::before { display: none; }
  .contact-hero h1 { font-size: 32px; }
}
