/* ============================================================
   Self-hosted Vazirmatn (fonts/ directory) — no Google dependency
   for Persian text. font-display: swap = text is always visible
   immediately in the fallback font, upgrading when loaded.
   ============================================================ */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Inter — the Latin brand mark (logo/footer), self-hosted (Bold only)
   so the "PADASHIAN" wordmark matches shop.padashian.com exactly. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Padashian Tech — styles.css
   ------------------------------------------------------------
   Single stylesheet, organized top-to-bottom:
     1. Design tokens (CSS custom properties)
     2. Reset & base
     3. Layout primitives (.container, .section)
     4. Components (header, buttons, eyebrow, footer)
     5. Home page sections (hero, about, services)
     6. Reveal animation
     7. Responsive adjustments
   All colors/spacing/type come from the tokens in :root — never
   hardcode a raw value in a rule further down; add a token first.
   ============================================================ */

/* 1. DESIGN TOKENS ------------------------------------------- */
:root {
  /* Color — navy-tinted dark scale shared by hero + footer */
  --graphite-950: #05070d;
  --graphite-900: #0b1220;
  --graphite-800: #16233a;
  --graphite-700: #22344f;
  --titanium-500: #8a8f98;
  --titanium-300: #c7c9ce;
  --titanium-200: #e4e4e7;
  --titanium-100: #f0f0f1;
  --signal-white: #fafafa;
  --pure-white: #ffffff;
  --ion-600: #2952c8;
  --ion-500: #3b6ef6;
  --solar-500: #f5a623; /* renewable-energy contexts only; use sparingly */

  /* Type — Vazirmatn carries all Persian text (body + headings);
     Inter is the Latin brand mark (logo/footer), matching shop.padashian.com. */
  --font-display: "Vazirmatn", "Segoe UI", Tahoma, -apple-system, sans-serif;
  --font-body: "Vazirmatn", "Segoe UI", Tahoma, -apple-system, sans-serif;
  --font-latin: "Inter", "Vazirmatn", sans-serif;

  /* Fluid type scale */
  --text-display-xl: clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --text-display-md: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  --text-body-lg: 1.125rem;
  --text-body-md: 1rem;
  --text-body-sm: 0.875rem;

  /* Spacing & layout */
  --section-y: clamp(3rem, 8vw, 6rem);
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --content-max: 1280px;
  --header-height: 4.5rem;

  /* Radius */
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-base: 300ms;
  --duration-slow: 600ms;

  /* Semantic tokens — light theme (default). Components below use ONLY
     these for theme-dependent colors, so dark mode is just a re-mapping.
     The hero/page-hero/statement bands stay dark in both themes (brand). */
  --bg: var(--signal-white);
  --bg-soft: var(--titanium-100);
  --surface: var(--pure-white);
  --border: var(--titanium-200);
  --text: var(--graphite-950);
  --text-soft: var(--graphite-800);
  --text-muted: var(--titanium-500);
  --header-bg: rgba(250, 250, 250, 0.85);
}

/* Dark theme — enabled by data-theme="dark" on <html> (set by js/main.js,
   persisted in localStorage + a .padashian.com cookie shared with the shop). */
:root[data-theme="dark"] {
  --bg: var(--graphite-950);
  --bg-soft: var(--graphite-900);
  --surface: var(--graphite-900);
  --border: var(--graphite-800);
  --text: var(--signal-white);
  --text-soft: var(--titanium-300);
  --text-muted: var(--titanium-500);
  --header-bg: rgba(5, 7, 13, 0.82);
}

/* 2. RESET & BASE -------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: 1.8; /* Persian script needs more vertical room than Latin */
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3; /* Persian ascenders/descenders clip at Latin-tight line heights */
  letter-spacing: 0; /* negative tracking breaks Persian letter connections */
}

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

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

/* Visible, deliberate focus states — WCAG requirement, and the right
   signal for an industrial/government audience. */
:focus-visible {
  outline: 2px solid var(--ion-500);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--ion-500);
  color: var(--pure-white);
}

/* Skip link for keyboard users — visually hidden until focused. */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--graphite-950);
  color: var(--signal-white);
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: 1rem;
}

/* 3. LAYOUT PRIMITIVES ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

/* Pages without a full-bleed hero need their content pushed below the
   fixed header. This handles it automatically for every future page:
   main gets the offset by default, and removes it when a .hero is
   present (the hero fills the space itself). Browsers too old for
   :has() would show a small harmless gap above the home hero. */
main {
  padding-top: var(--header-height);
}

main:has(.hero) {
  padding-top: 0;
}

.section--muted {
  background: var(--bg-soft);
}

/* 4. COMPONENTS ------------------------------------------------ */

/* Header — fixed; transparent over the hero, solid after scroll.
   JS toggles .is-solid (see js/main.js). */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo);
}

/* Three-part layout, same as the shop header: logo pinned to the LEFT edge,
   menu dead-center, account/cart actions on the RIGHT edge. Explicit column
   numbers (3/2/1) keep that left/right assignment in RTL, and grid-row: 1
   keeps all three on one line despite the reversed DOM/column order. */
.site-header .container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.site-header__logo { grid-row: 1; grid-column: 3; justify-self: end; }
.site-nav          { grid-row: 1; grid-column: 2; justify-self: center; }
.header-actions    { grid-row: 1; grid-column: 1; justify-self: start; }

.site-header__logo {
  font-family: var(--font-latin);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--signal-white);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: var(--text-body-sm);
  color: rgba(250, 250, 250, 0.85);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-nav a:hover {
  color: var(--signal-white);
}

/* Header actions — cart/account pills + favorites/search icons. These all
   deep-link into shop.padashian.com, which owns accounts, cart, favorites
   and product search; the main site has no session of its own. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.4rem;
  padding-inline: 0.9rem;
  border: 1px solid rgba(250, 250, 250, 0.5);
  border-radius: 999px;
  color: var(--signal-white);
  font-size: var(--text-body-sm);
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo);
}

.header-btn:hover {
  background: rgba(250, 250, 250, 0.12);
}

.header-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.header-btn--cart {
  background: var(--ion-500);
  border-color: var(--ion-500);
}

.header-btn--cart:hover {
  background: var(--ion-600);
  border-color: var(--ion-600);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--signal-white);
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-out-expo);
}

.icon-btn:hover {
  background: rgba(250, 250, 250, 0.12);
}

.icon-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Cart — icon-only round button with a blue ring + count badge on top.
   The count comes from the shop's cart API when reachable (js/main.js);
   the badge stays hidden until a real count is known. */
.cart-btn {
  position: relative;
  border: 1px solid var(--ion-500);
}

.cart-btn:hover {
  background: rgba(59, 110, 246, 0.15);
}

.site-header.is-solid .cart-btn {
  color: var(--ion-500);
  border-color: var(--ion-500);
}

.cart-badge {
  position: absolute;
  top: -0.4rem;
  inset-inline-start: -0.4rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding-inline: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ion-500);
  color: var(--signal-white);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
}

.cart-badge[hidden] {
  display: none;
}


.site-header.is-solid .header-btn {
  color: var(--text);
  border-color: var(--border);
}

.site-header.is-solid .header-btn:hover {
  background: var(--bg-soft);
}

.site-header.is-solid .header-btn--cart {
  color: var(--signal-white);
  background: var(--ion-500);
  border-color: var(--ion-500);
}

.site-header.is-solid .header-btn--cart:hover {
  background: var(--ion-600);
  border-color: var(--ion-600);
}

.site-header.is-solid .icon-btn {
  color: var(--text);
}

.site-header.is-solid .icon-btn:hover {
  background: var(--bg-soft);
}

/* Search panel — slides open under the header bar. It submits to the shop's
   product search, which owns the search engine and product database. */
.search-panel {
  max-height: 0;
  overflow: hidden;
  /* No background/border while closed — a painted background under the
     transparent border showed up as a 1px white line below the header. */
  background: transparent;
  transition: max-height var(--duration-base) var(--ease-out-expo);
}

.search-panel.is-open {
  max-height: 6rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(5, 7, 13, 0.08);
}

.search-panel form {
  display: flex;
  gap: 0.6rem;
  padding-block: 0.9rem;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  padding-inline: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
}

.search-panel input:focus {
  outline: none;
  border-color: var(--ion-500);
}

.search-panel .btn {
  height: 2.75rem;
  padding-inline: 1.5rem;
}

.site-header.is-solid {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.is-solid .site-header__logo {
  color: var(--text);
}

.site-header.is-solid .site-nav a {
  color: var(--text);
}

.site-header.is-solid .site-nav a:hover {
  color: var(--ion-500);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--signal-white);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-header.is-solid .nav-toggle {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  border: 0;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo);
}

.btn--pill {
  border-radius: 999px;
}

.btn--lg {
  height: 3.5rem;
  padding-inline: 2rem;
  font-size: var(--text-body-lg);
}

.btn--primary {
  background: var(--ion-500);
  color: var(--signal-white);
  border: 1px solid var(--ion-500);
  height: 3rem;
  padding-inline: 1.75rem;
}

.btn--primary:hover {
  background: var(--ion-600);
  border-color: var(--ion-600);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  height: 3rem;
  padding-inline: 1.75rem;
}

.btn--outline:hover {
  border-color: var(--text);
}

.btn--outline-light {
  border: 1px solid rgba(250, 250, 250, 0.4);
  color: var(--signal-white);
  background: transparent;
}

.btn--outline-light:hover {
  border-color: var(--signal-white);
  background: rgba(250, 250, 250, 0.1);
}

/* Eyebrow — small uppercase label above section headings */
.eyebrow {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--text-muted);
}

/* Latin-only styling (applies if an English page reuses .eyebrow later) */
.eyebrow:lang(en) {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Text link with arrow (Learn More / View All Services) */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--ion-500);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.text-link:hover {
  color: var(--ion-600);
}

.text-link svg {
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* In RTL the arrow icon must point left and travel left on hover */
[dir="rtl"] .text-link svg {
  transform: scaleX(-1);
}

[dir="rtl"] .text-link:hover svg {
  transform: scaleX(-1) translateX(3px);
}

/* Footer — light, four-column grid; mirrors shop.padashian.com's footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

.site-footer .container {
  padding-block: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-contact {
  display: block;
  color: var(--text-muted);
  font-size: var(--text-body-sm);
  padding: 0.25rem 0;
  transition: color var(--duration-base) var(--ease-out-expo);
}

.footer-col a:hover,
a.footer-contact:hover {
  color: var(--text);
}

/* Brand column — keep the Latin wordmark pinned to the right edge in RTL */
.footer-brand {
  text-align: right;
}

.site-footer__brand {
  display: inline-block;
  font-family: var(--font-latin);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
  direction: ltr;
}

.footer-tagline {
  margin-top: 0.6rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.footer-about {
  margin-top: 0.75rem;
  max-width: 22rem;
  font-size: var(--text-body-sm);
  line-height: 2;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* Dark/light theme toggle — round outline button, same as the shop's */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--duration-base) var(--ease-out-expo);
}

.theme-toggle:hover {
  border-color: var(--text);
}

.theme-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
}

/* Show the icon of the theme a click takes you TO */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  }
}

/* 5. HOME PAGE SECTIONS ---------------------------------------- */

/* Hero — compact band like the shop hero (earth photo, centered stack),
   sits flush behind the fixed transparent header */
.hero {
  position: relative;
  min-height: min(58vh, 560px);
  padding-top: var(--header-height); /* clear the fixed transparent header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--graphite-950), var(--graphite-900) 55%, var(--graphite-800));
}

/* The hero photo (real Earth image, webp + jpg fallback). Anchored to the
   bottom so the planet's glowing horizon stays in frame at every aspect
   ratio; .hero__sky behind it acts as a fallback if the image fails. */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Subtle dark scrim at the very top so the transparent header's white
   logo/nav stay readable over the photo's brighter star regions. */
.hero__scrim {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.45), transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-block: 3rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-shadow: 0 2px 22px rgba(5, 7, 13, 0.75);
}

/* Company tagline right under the title, like the shop's hero subtitle */
.hero__tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--titanium-200);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 14px rgba(5, 7, 13, 0.8);
}

.hero__cta {
  margin-top: 1.25rem;
}

/* About preview */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  /* Graceful placeholder until images/home/solar-panels.jpg is added */
  background: linear-gradient(135deg, var(--titanium-100), var(--titanium-200));
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy h2 {
  margin-top: 0.75rem;
  font-size: var(--text-display-md);
}

.about-copy p {
  margin-top: 1rem;
  max-width: 28rem;
  color: var(--text-muted);
}

.about-copy .text-link {
  margin-top: 1.5rem;
}

/* Page hero — inner pages' compact dark banner. Reuses the earth photo
   (already cached from the home page, so no extra download) under a dark
   overlay. Deliberately NOT .hero: the fixed header stays solid on inner
   pages, and main's default top padding applies. */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.55), rgba(5, 7, 13, 0.75));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.page-hero__content h1 {
  font-size: var(--text-display-md);
}

.page-hero__content p {
  margin-top: 1rem;
  margin-inline: auto;
  max-width: 34rem;
  color: var(--titanium-300);
}

/* Service panels (services page) — larger sibling of .contact-card */
.service-panels {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.service-panel {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.service-panel:hover {
  border-color: var(--ion-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(5, 7, 13, 0.08);
}

.service-panel svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ion-500);
}

.service-panel h2 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.service-panel p {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

/* "Read more" row inside the (now clickable) service panels */
.service-panel__more {
  margin-top: 1.25rem;
  font-size: var(--text-body-sm);
}

/* Coming soon (projects page) */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(2rem, 8vw, 5rem);
}

.coming-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.coming-soon__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ion-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 110, 246, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(59, 110, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 110, 246, 0); }
}

.coming-soon__title {
  margin-top: 1.75rem;
  font-size: var(--text-display-xl);
}

.coming-soon__text {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--text-muted);
}

.coming-soon__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* About story */
.about-story {
  max-width: 44rem;
  margin-inline: auto;
}

.about-copy p.about-story__lead,
.about-story__lead {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.9;
  color: var(--text);
  max-width: none;
}

.about-story p + p {
  margin-top: 1.5rem;
  color: var(--text-muted);
}

/* Values cards inherit .contact-card; just neutralize link-hover cursor */
.values-grid .contact-card {
  cursor: default;
}

/* Belief statement band (dark, closing moment of the About page) */
.statement-band {
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

.statement-band .container {
  padding-block: clamp(4rem, 10vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.statement-band__text {
  max-width: 38rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display-md);
  line-height: 1.5;
}

.statement-band__slogan {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
  color: var(--titanium-300);
}

.statement-band__cta {
  margin-top: 2.5rem;
}

/* Portrait variant of the about media frame (founder photo) */
.about-media--portrait {
  aspect-ratio: 4 / 5;
  max-width: 26rem;
}

/* Founder signature line under the story text */
.founder-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.founder-note__name {
  font-weight: 700;
  color: var(--text);
}

.founder-note__role {
  margin-top: 0.2rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* Team grid (Apple-leadership style: photo, name, role) */
.team-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  justify-items: center;
}

.team-card {
  width: 100%;
  max-width: 17rem;
  text-align: center;
}

.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.team-card p {
  margin-top: 0.25rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* 1. Breathing room between the values heading and the cards */
.values-grid {
  margin-top: 3.5rem;
}

/* Light variant of the statement band: same form, page background */
.statement-band--light {
  background: var(--bg);
  color: var(--text);
}

.statement-band--light .statement-band__slogan {
  color: var(--text-muted);
}

/* Contact cards */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.contact-card:hover {
  border-color: var(--ion-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(5, 7, 13, 0.08);
}

.contact-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--ion-500);
}

.contact-card h2 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.contact-card p {
  margin-top: 0.5rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.contact-card__value {
  margin-top: 1.25rem;
  font-family: var(--font-latin);
  font-weight: 500;
  color: var(--ion-500);
}

/* Services preview */
.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services-header h2 {
  margin-top: 0.75rem;
  font-size: var(--text-display-md);
}

.services-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--ion-500);
}

.service-card h3 {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 500;
  letter-spacing: 0;
}

.service-card p {
  margin-top: 0.5rem;
  max-width: 240px;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.services-footer {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

/* Shop teaser (home) — category cards that link into shop.padashian.com,
   styled after the shop's own category cards (light card, pill arrow). */
.shop-teaser__lead {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--text-muted);
}

.shop-cat-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.shop-cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  transition:
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo);
}

.shop-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--ion-500);
  box-shadow: 0 16px 44px rgba(5, 7, 13, 0.1);
}

.shop-cat-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 700;
  letter-spacing: 0;
}

.shop-cat-card p {
  margin-top: 0.35rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.shop-cat-arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo);
}

.shop-cat-card:hover .shop-cat-arrow {
  background: var(--ion-500);
  border-color: var(--ion-500);
  color: var(--signal-white);
}

.shop-teaser__cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* 6. REVEAL ANIMATION ------------------------------------------ */
/* Elements with [data-reveal] start slightly lowered and transparent;
   js/main.js adds .is-revealed when they enter the viewport. If JS is
   disabled, the `no-js` class on <html> (removed by JS) keeps
   everything fully visible — content never depends on JS to appear. */
html:not(.no-js) [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

html:not(.no-js) [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 7. RESPONSIVE ADJUSTMENTS ------------------------------------ */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Four category cards → 2×2, matching the shop's category grid */
  .shop-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Wide-but-tight screens (tablet landscape / small laptop): keep the full
   menu but shrink it, and collapse the pill labels to icons so the
   three-part header never overflows. */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-nav {
    gap: 1.1rem;
  }

  .site-nav a {
    font-size: 0.85rem;
  }

  .header-btn__text {
    display: none;
  }

  .header-btn {
    width: 2.4rem;
    padding-inline: 0;
    justify-content: center;
  }

  .header-actions {
    gap: 0.35rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-btn__text {
    display: none;
  }

  .header-btn {
    width: 2.4rem;
    padding-inline: 0;
    justify-content: center;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .hero {
    min-height: min(48vh, 460px);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--duration-base) var(--ease-out-expo),
      transform var(--duration-base) var(--ease-out-expo),
      visibility 0s linear var(--duration-base);
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition:
      opacity var(--duration-base) var(--ease-out-expo),
      transform var(--duration-base) var(--ease-out-expo);
  }

  .site-nav a {
    padding: 1rem var(--gutter);
    color: var(--text);
    border-top: 1px solid var(--border);
  }

  /* When the mobile menu is open the header must be solid regardless of
     scroll position, or white nav text would sit on a white panel. JS
     adds .is-solid whenever the menu opens. */
}

/* Reduced motion: kill transitions/animations and the smooth scroll.
   The reveal elements simply appear in place. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
