
/* ========================================
   A&R HOLDINGS LEGACY
   GLOBAL DESIGN SYSTEM
   ======================================== */

/* 1. BRAND COLORS AND DESIGN TOKENS */

:root {
  --color-charcoal: #161615;
  --color-ivory: #F1EDE3;

  --color-text-dark: #161615;
  --color-text-light: #F1EDE3;

  --font-heading: "Bodoni Moda", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;

  --page-width: 1440px;
  --page-gutter: clamp(24px, 6vw, 100px);

  --transition-smooth: 400ms ease;
}

/* 2. RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-ivory);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 3. TYPOGRAPHY */

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
}

p {
  margin-top: 0;
}

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

/* 4. MEDIA */

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

img {
  height: auto;
}

/* 5. ACCESSIBILITY */

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

::selection {
  background: var(--color-charcoal);
  color: var(--color-ivory);
}

/* 6. LAYOUT */

.container {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.section {
  position: relative;
  padding-block: clamp(90px, 12vw, 180px);
}

.section--dark {
  background: var(--color-charcoal);
  color: var(--color-text-light);
}

.section--light {
  background: var(--color-ivory);
  color: var(--color-text-dark);
}

/* 7. REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 8. MOBILE */

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .section {
    padding-block: 80px;
  }
}

/* ========================================
   A&R HOLDINGS LEGACY
   HOMEPAGE — EDITORIAL DESIGN
   ======================================== */

/* HEADER */

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--color-ivory);
  border-bottom: 1px solid rgba(241, 237, 227, 0.16);
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.header-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.main-navigation,
.language-switch {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.main-navigation a,
.language-switch a,
.footer-navigation a {
  transition: opacity var(--transition-smooth);
}

.main-navigation a:hover,
.language-switch a:hover,
.footer-navigation a:hover {
  opacity: 0.55;
}

.language-switch {
  gap: 10px;
}

/* HERO */

.hero {
  min-height: 100vh;
min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 100px;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 50% 35%,
      rgba(241, 237, 227, 0.055),
      transparent 55%
    ),
    var(--color-charcoal);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(115px, 16vw, 190px);
  margin-bottom: 34px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-eyebrow,
.section-index {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero-eyebrow {
  margin-bottom: 28px;
  color: rgba(241, 237, 227, 0.65);
}

.hero-title {
  margin-bottom: 32px;
  color: var(--color-ivory);
  font-size: clamp(48px, 8.5vw, 112px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-title span {
  font-style: italic;
}

.hero-introduction {
  max-width: 550px;
  margin-bottom: 35px;
  color: rgba(241, 237, 227, 0.72);
  font-size: 15px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: gap var(--transition-smooth);
}

.text-link:hover {
  gap: 26px;
}

.hero-link {
  color: var(--color-ivory);
}

.hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: rgba(241, 237, 227, 0.22);
}

/* VISION */

.vision-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 10%;
}

.section-index {
  margin-bottom: 35px;
  opacity: 0.6;
}

.vision-heading h2,
.activities-heading h2,
.contact-content h2 {
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.045em;
}

.vision-content {
  padding-top: 30px;
}

.section-rule {
  width: 70px;
  height: 1px;
  margin-bottom: 35px;
  background: currentColor;
}

.vision-text {
  max-width: 480px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 2;
}

/* ACTIVITIES */

.activities {
  overflow: hidden;
}

.activities-heading {
  max-width: 750px;
}

.activities-heading h2 {
  margin-bottom: 30px;
  color: var(--color-ivory);
}

.activities-introduction {
  max-width: 570px;
  color: rgba(241, 237, 227, 0.7);
  line-height: 1.9;
}

.activities-words {
  margin-top: 100px;
  margin-bottom: 65px;
  border-top: 1px solid rgba(241, 237, 227, 0.22);
}

.activities-words p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(241, 237, 227, 0.22);
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-size: clamp(52px, 9vw, 120px);
  line-height: 1.1;
  transition: padding-left 500ms ease;
}

.activities-words p:hover {
  padding-left: 24px;
}

.activities-words p:nth-child(2) {
  font-style: italic;
}

/* CONTACT */

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-content h2 {
  margin-bottom: 30px;
}

.contact-description {
  max-width: 570px;
  margin-bottom: 35px;
  line-height: 1.9;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(13px, 2vw, 17px);
  transition: gap var(--transition-smooth);
}

.contact-email:hover {
  gap: 24px;
}

/* FOOTER */

.site-footer {
  padding-block: 75px 30px;
  color: var(--color-ivory);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 25px;
  letter-spacing: 0.08em;
}

.footer-slogan {
  color: rgba(241, 237, 227, 0.6);
  font-size: 12px;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 18px 25px;
  font-size: 11px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(241, 237, 227, 0.2);
  color: rgba(241, 237, 227, 0.6);
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.footer-languages {
  display: flex;
  gap: 10px;
}

/* RESPONSIVE DESIGN */

@media (max-width: 768px) {

  .header-inner {
    min-height: 75px;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 16px;
  }

  .header-brand {
    font-size: 9px;
  }

  .main-navigation {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 24px;
    font-size: 11px;
  }

  .language-switch {
    font-size: 11px;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-title {
    font-size: clamp(46px, 11vw, 76px);
  }

  .hero-introduction {
    max-width: 390px;
    font-size: 14px;
  }

  .vision-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .vision-content {
    padding-top: 0;
  }

  .activities-words {
    margin-top: 65px;
  }

  .activities-words p:hover {
    padding-left: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-navigation {
    justify-content: flex-start;
  }

  .footer-bottom {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {

  .main-navigation {
    gap: 17px;
  }

  .hero-logo {
    width: 120px;
  }

  .hero-title {
    font-size: 46px;
  }

  .contact-email {
    font-size: 12px;
  }
}
/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
