/* Ariely Outdoor — layout, motion and responsive refinements.
   Loaded after the theme stylesheet. */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

.ao-hero {
  height: auto;
  min-height: 100svh;
  max-height: none;
  align-items: flex-end;
  padding: 128px 0 72px;
}

.ao-hero__bg {
  overflow: hidden;
}

.ao-hero__img {
  transform-origin: center 42%;
  animation: ao-hero-drift 18s ease-out forwards;
}

@keyframes ao-hero-drift {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.ao-hero__overlay {
  background:
    linear-gradient(to top, rgba(12, 10, 8, 0.78) 0%, rgba(12, 10, 8, 0.28) 46%, rgba(12, 10, 8, 0.18) 100%);
}

.ao-hero__content {
  padding-inline: clamp(20px, 4vw, 64px);
}

.ao-hero__eyebrow {
  letter-spacing: 0.18em;
  max-width: 18em;
  margin-bottom: 14px;
}

.ao-hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  max-width: 11em;
  margin-bottom: 28px;
  text-wrap: balance;
}

.ao-btn {
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.ao-btn:hover {
  transform: translateY(-2px);
}

.ao-trust-bar__item strong {
  font-variant-numeric: tabular-nums;
}

.ao-scene-card,
.ao-product-family,
.ao-case-card,
.ao-why__item,
.collection-card,
.visual-edit-card {
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.ao-scene-card__bg,
.ao-product-family__img img,
.ao-case-card__img img,
.visual-edit-card img,
.subpage-hero img {
  transition: transform 0.8s ease;
}

.ao-scene-card:hover,
.ao-case-card:hover,
.collection-card:hover {
  transform: translateY(-6px);
}

.ao-scene-card:hover .ao-scene-card__bg,
.ao-product-family:hover .ao-product-family__img img,
.ao-case-card:hover .ao-case-card__img img,
.visual-edit-card:hover img {
  transform: scale(1.06);
}

.ao-product-family__img,
.ao-case-card__img,
.visual-edit-card,
.subpage-hero {
  overflow: hidden;
}

.ao-why__item:hover {
  transform: translateY(-4px);
}

.subpage-hero img {
  animation: ao-hero-drift 16s ease-out forwards;
}

.subpage-hero-copy h1,
.subpage-hero h1,
.ao-page-hero__content h1 {
  text-wrap: balance;
  max-width: 14em;
}

.subpage-hero-copy span,
.subpage-hero-copy p {
  max-width: 38em;
}

.ao-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.ao-reveal.is-shown {
  animation: ao-rise 0.8s ease both;
}

@keyframes ao-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1440px) and (min-width: 1121px) {
  .site-header {
    padding-inline: 22px;
    column-gap: 16px;
  }

  .desktop-nav,
  .desktop-nav-right {
    gap: 12px;
  }

  .desktop-nav a {
    font-size: 11px;
    letter-spacing: 0.04em;
    padding-block: 8px;
  }

  .brand-mark {
    font-size: 26px;
    letter-spacing: 0.14em;
  }

  .header-right {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .ao-hero {
    padding: 104px 0 40px;
  }

  .ao-hero__title {
    font-size: clamp(2.15rem, 7vw, 3.2rem);
  }

  .ao-trust-bar__item {
    flex: 0 0 33.33%;
    min-height: 92px;
  }

  .ao-trust-bar__item:nth-child(3n) {
    border-right: 0;
  }

  .subpage-hero,
  .ao-page-hero {
    height: auto;
    min-height: 78svh;
    align-items: flex-end;
    padding: 108px 0 36px;
  }

  .subpage-hero-copy,
  .ao-page-hero__content {
    padding-inline: 24px;
  }
}

@media (max-width: 700px) {
  .ao-hero {
    padding: 96px 0 28px;
  }

  .ao-hero__eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.68rem;
  }

  .ao-hero__title {
    font-size: clamp(1.9rem, 8.4vw, 2.45rem);
    margin-bottom: 18px;
  }

  .ao-hero__cta {
    gap: 10px;
  }

  .ao-btn {
    padding: 12px 18px;
    letter-spacing: 0.08em;
  }

  .ao-trust-bar__item {
    flex: 0 0 50%;
    padding: 22px 10px;
  }

  .ao-trust-bar__item:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }

  .ao-trust-bar__item:nth-child(2n) {
    border-right: 0;
  }

  .ao-trust-bar__item span {
    letter-spacing: 0.06em;
    line-height: 1.35;
  }

  .ao-section-title,
  .editorial-split h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .ao-scenes,
  .ao-products-intro,
  .ao-materials,
  .ao-why,
  .ao-cases-preview,
  .ao-inquiry,
  .subpage-content {
    padding-inline: 18px;
  }

  .footer-section,
  .rh-footer {
    padding-inline: 18px;
  }

  .rh-footer-top,
  .footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .collection-grid,
  .visual-edit-grid {
    grid-template-columns: 1fr;
  }

  .visual-edit-card,
  .visual-edit-card:first-child,
  .category-card {
    min-height: 280px;
  }

  .subpage-hero-copy h1,
  .subpage-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 380px) {
  .header-actions {
    gap: 2px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .brand-mark {
    font-size: 18px;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .ao-hero__img,
  .ao-hero__eyebrow,
  .ao-hero__line,
  .ao-hero__cta,
  .ao-hero__scroll-hint,
  .ao-hero__scroll-hint span,
  .subpage-hero img,
  .ao-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Corporate type and tighter rhythm. Serif display faces and wide tracking
   read as skewed; enterprise pages use a straight sans and shorter gaps. */
:root {
  --corp-font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Helvetica, Arial, sans-serif;
  --ao-font-serif: var(--corp-font);
  --ao-font-sans: var(--corp-font);
  --font-display: var(--corp-font);
  --rh-font-serif: var(--corp-font);
}

body,
button,
input,
textarea,
select,
h1, h2, h3, h4, h5, h6,
p, a, span, li, label,
.brand-mark,
.brand-mark span,
.desktop-nav a,
.mobile-links a,
.ao-hero__title,
.ao-hero__eyebrow,
.ao-hero__line,
.ao-section-title,
.ao-section-label,
.ao-section-desc,
.ao-btn,
.subpage-hero h1,
.subpage-hero-copy,
.subpage-hero-copy h1,
.subpage-hero-copy p,
.subpage-hero-copy span,
.ao-page-hero__content h1,
.editorial-split h2,
.collection-card h3,
.visual-edit-card h3,
.footer-section,
.rh-footer,
.rh-testimonial-card > p,
.ao-testimonial-quote,
.official-testimonial-quote {
  font-family: var(--corp-font) !important;
  font-style: normal !important;
  font-synthesis: none;
}

body,
p,
li,
.ao-section-desc,
.ao-hero__title,
.ao-section-title,
h1, h2, h3 {
  letter-spacing: 0 !important;
}

.ao-hero__eyebrow,
.ao-section-label,
.desktop-nav a,
.mobile-links a,
.ao-btn,
.brand-mark span,
.ao-trust-bar__item span,
.footer-columns h3,
.mobile-menu-top {
  letter-spacing: 0.06em !important;
}

.brand-mark {
  letter-spacing: 0.04em !important;
  font-weight: 600;
}

.ao-hero__title,
.ao-section-title,
.subpage-hero h1,
.subpage-hero-copy h1,
.ao-page-hero__content h1,
.editorial-split h2 {
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

p,
.ao-section-desc,
.editorial-split > p,
.scene-card p,
.ao-product-family__body p,
.ao-why__item p,
.ao-case-card__body p {
  line-height: 1.55 !important;
}

.ao-hero {
  min-height: 72svh;
  padding: 92px 0 36px;
}

.ao-hero__eyebrow {
  margin-bottom: 8px !important;
}

.ao-hero__title {
  margin-bottom: 16px !important;
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
}

.ao-hero__line {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  display: block;
}

/* Full-viewport homepage image, main-site logo, and a single ink palette. */
:root {
  --ao-gold: #1b3f3a;
  --ao-gold-light: #2c6158;
  --rh-gold: #1b3f3a;
  --rh-gold-light: #2c6158;
  --ao-black: #12211e;
  --ao-dark: #12211e;
  --rh-black: #12211e;
  --ao-cream: #f4f6f5;
  --ao-warm: #ffffff;
  --rh-bg: #f4f6f5;
  --rh-bg-warm: #eef2f0;
  --background: #ffffff;
  --foreground: #12211e;
}

.ao-hero {
  height: 100svh !important;
  min-height: 100svh !important;
  max-height: none !important;
  padding: 0 !important;
}

.ao-hero__bg,
.ao-hero__img {
  width: 100%;
  height: 100%;
}

.ao-hero__img {
  object-fit: cover;
  object-position: center center;
}

.ao-hero__content {
  padding-top: 96px !important;
  padding-bottom: 48px !important;
}

.brand-mark {
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.site-header:not(.scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

.site-header.scrolled {
  background: #ffffff !important;
  color: #12211e !important;
}

.site-header.scrolled .brand-logo {
  filter: none;
}

body:not(.home) .site-header {
  background: #ffffff;
  color: #12211e;
  height: 72px;
}

body:not(.home) .site-header .brand-logo {
  filter: none !important;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 12px;
}

.footer-brand .brand-logo,
.rh-footer .brand-logo {
  height: 56px;
  max-width: 150px;
  filter: brightness(0) invert(1);
}

.ao-trust-bar {
  display: block !important;
  background: #12211e !important;
  padding: 0 !important;
}

.ao-trust-bar__inner {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.ao-trust-bar__item {
  flex: none !important;
  min-height: 0 !important;
  width: auto !important;
  padding: 18px 8px !important;
}

.ao-trust-bar__item span {
  display: block;
  white-space: nowrap !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  font-size: 0.72rem !important;
}

.ao-trust-bar__item strong {
  color: #ffffff !important;
}

.ao-trust-bar__item span {
  color: rgba(255, 255, 255, 0.72) !important;
}

.ao-section-label,
.ao-tag,
.subpage-intro p,
.collection-card span {
  color: #1b3f3a !important;
}

.ao-btn--dark {
  background: #12211e !important;
  border-color: #12211e !important;
  color: #ffffff !important;
}

.ao-btn--dark:hover,
.ao-btn--light:hover {
  background: #1b3f3a !important;
  border-color: #1b3f3a !important;
  color: #ffffff !important;
}

.ao-link-arrow,
.collection-card a,
.visual-edit-card a {
  color: #1b3f3a !important;
}

.rh-footer,
.footer-section {
  background: #12211e !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.rh-footer a,
.footer-section a,
.footer-columns a,
.footer-columns h3,
.rh-footer h2,
.rh-footer p {
  color: rgba(255, 255, 255, 0.82) !important;
}

body,
.subpage,
.subpage-content {
  background: #ffffff;
}

/* One limestone field. Dark is reserved for the footer, not striped through the page. */
:root {
  --stone: #f3efe8;
  --paper: #fbf9f6;
  --ink: #1c2b28;
  --muted: #6d655c;
  --line: #e4dcd2;
  --ao-cream: #f3efe8;
  --ao-warm: #f3efe8;
  --ao-border: #e4dcd2;
  --rh-bg: #f3efe8;
  --rh-bg-warm: #f3efe8;
  --rh-border: #e4dcd2;
}

body,
.subpage,
.subpage-content,
.ao-scenes,
.ao-products-intro,
.ao-materials,
.ao-why,
.ao-cases-preview,
.ao-inquiry,
.ao-certs,
.ao-trust-bar {
  background: var(--stone) !important;
  color: var(--ink);
}

.ao-trust-bar__item {
  border-right-color: var(--line) !important;
}

.ao-trust-bar__item strong {
  color: var(--ink) !important;
}

.ao-trust-bar__item span {
  color: var(--muted) !important;
}

.ao-product-families,
.ao-why__grid,
.ao-cases-preview__grid {
  background: transparent !important;
  border: 0 !important;
  gap: 16px !important;
}

.ao-product-family,
.ao-why__item,
.ao-case-card {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
}

.ao-certs {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.ao-cert-badge {
  background: transparent;
  border-right-color: var(--line) !important;
}

.ao-cert-badge__label,
.ao-cert-badge__sub {
  color: var(--ink) !important;
}

.ao-cert-badge__sub {
  color: var(--muted) !important;
}

.ao-section-label,
.ao-tag {
  color: #1b3f3a !important;
}

.site-header,
.site-header.scrolled,
body:not(.home) .site-header {
  background: #f7f4ef !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.site-header .brand-logo,
.site-header.scrolled .brand-logo,
body:not(.home) .site-header .brand-logo,
.site-header:not(.scrolled) .brand-logo {
  filter: none !important;
}

.home .ao-hero {
  height: 100svh !important;
  min-height: 100svh !important;
}

.home .site-header:not(.scrolled) {
  background: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}

.home .site-header:not(.scrolled) .brand-logo {
  filter: brightness(0) invert(1) !important;
}

.home .site-header.scrolled {
  background: #f7f4ef !important;
  color: #1c2b28 !important;
}

.home .site-header.scrolled .brand-logo {
  filter: none !important;
}

@media (max-width: 760px) {
  .brand-logo {
    height: 44px;
  }

  .ao-hero__content {
    padding-top: 84px !important;
    padding-bottom: 28px !important;
  }
}

.ao-hero__cta {
  gap: 10px;
}

.ao-btn {
  padding: 10px 18px !important;
  letter-spacing: 0.04em !important;
}

.ao-trust-bar__item {
  padding: 14px 8px !important;
}

.ao-trust-bar__item strong {
  margin-bottom: 2px !important;
  font-size: 1.35rem !important;
}

.ao-scenes,
.ao-products-intro,
.ao-materials,
.ao-why,
.ao-cases-preview,
.ao-inquiry,
.category-section,
.journal-section,
.subpage-content {
  padding-top: 40px !important;
  padding-bottom: 36px !important;
}

.ao-section-label {
  margin-bottom: 6px !important;
}

.ao-section-title {
  margin-bottom: 8px !important;
  font-size: clamp(1.45rem, 2.4vw, 2rem) !important;
}

.ao-section-desc {
  margin-bottom: 18px !important;
}

.ao-scenes__grid,
.ao-product-families,
.ao-why__grid,
.ao-cases-preview__grid,
.collection-grid,
.visual-edit-grid {
  margin-top: 16px !important;
  gap: 12px !important;
}

.ao-materials__inner,
.ao-inquiry__inner {
  gap: 28px !important;
}

.ao-why__item,
.ao-product-family__body,
.ao-case-card__body {
  padding: 18px 16px !important;
}

.ao-certs {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.subpage-hero,
.ao-page-hero {
  min-height: 46svh !important;
  height: auto !important;
  padding: 84px 0 28px !important;
}

.subpage-hero-copy h1,
.subpage-hero h1,
.ao-page-hero__content h1 {
  margin-bottom: 8px !important;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
}

.collection-card,
.visual-edit-card,
.visual-edit-card:first-child,
.category-card {
  min-height: 0;
}

.footer-section,
.rh-footer {
  padding-top: 36px !important;
  padding-bottom: 24px !important;
}

.rh-footer-top,
.footer-columns {
  gap: 18px !important;
}

@media (max-width: 900px) {
  .ao-hero {
    min-height: 68svh;
    padding: 84px 0 28px;
  }

  .ao-scenes,
  .ao-products-intro,
  .ao-materials,
  .ao-why,
  .ao-cases-preview,
  .ao-inquiry,
  .subpage-content {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
  }

  .subpage-hero,
  .ao-page-hero {
    min-height: 52svh !important;
    padding: 80px 0 24px !important;
  }
}
