/* ================================================
   HoE Pages — Branded Section Components
   Uses design tokens from estila/base (tokens.css)
   ================================================ */

/* ── Editorial Section ─────────────────────────── */

.hoe-editorial {
  padding: var(--space-3xl) var(--space-xl);
}
.hoe-editorial--warm {
  background: var(--surface);
}
.hoe-editorial--white {
  background: var(--white);
}
.hoe-editorial--none {
  background: transparent;
}

.hoe-editorial__inner {
  max-width: 960px;
  margin: 0 auto;
}

.hoe-editorial__rule-top {
  border: none;
  border-top: 1px solid var(--gold);
  margin: 0 0 var(--space-xl);
}

.hoe-editorial__eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-lg);
}

.hoe-editorial__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ink-navy);
  margin: 0 0 var(--space-lg);
  line-height: 1.2;
  max-width: 540px;
}

.hoe-editorial__divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: var(--space-lg);
}

.hoe-editorial__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: #484141;
  max-width: 620px;
}
.hoe-editorial__body p {
  margin: 0 0 var(--space-lg);
}
.hoe-editorial__body p:last-child {
  margin-bottom: var(--space-xl);
}
.hoe-editorial__body a {
  color: var(--ink-navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.hoe-editorial__body a:hover {
  color: var(--gold);
}

.hoe-editorial__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.15s ease;
}
.hoe-editorial__cta:hover {
  color: var(--gold);
}

.hoe-editorial__rule-bottom {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-xl) 0 0;
}


/* ── Hero Section ──────────────────────────────── */

.hoe-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hoe-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hoe-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hoe-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(25, 26, 56, 0.35) 0%, rgba(25, 26, 56, 0.55) 100%);
}

.hoe-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  max-width: 800px;
}

.hoe-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-lg);
  line-height: 1.15;
}

.hoe-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--space-xl);
  line-height: 1.6;
}

.hoe-hero__cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 12px 28px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hoe-hero__cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}


/* ── CTA Banner ────────────────────────────────── */

.hoe-cta-banner {
  background: var(--ink-navy);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.hoe-cta-banner__inner {
  max-width: 720px;
  margin: 0 auto;
}

.hoe-cta-banner__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 var(--space-lg);
  line-height: 1.3;
}

.hoe-cta-banner__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-xl);
}
.hoe-cta-banner__body p {
  margin: 0 0 var(--space-md);
}

.hoe-cta-banner__btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 12px 28px;
  transition: background 0.2s ease, color 0.2s ease;
}
.hoe-cta-banner__btn:hover {
  background: var(--gold);
  color: var(--ink-navy);
}


/* ── Two Column ────────────────────────────────── */

.hoe-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

.hoe-two-col--image-left .hoe-two-col__media {
  order: -1;
}

.hoe-two-col__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-3xl) clamp(var(--space-xl), 5vw, var(--space-4xl));
}

.hoe-two-col__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--ink-navy);
  margin: 0 0 var(--space-lg);
  line-height: 1.25;
}

.hoe-two-col__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: #484141;
}
.hoe-two-col__body p {
  margin: 0 0 var(--space-lg);
}

.hoe-two-col__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  margin-top: var(--space-md);
  transition: color 0.15s ease;
}
.hoe-two-col__cta:hover {
  color: var(--gold);
}

.hoe-two-col__media {
  overflow: hidden;
}
.hoe-two-col__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hoe-two-col {
    grid-template-columns: 1fr;
  }
  .hoe-two-col--image-left .hoe-two-col__media {
    order: 0;
  }
  .hoe-two-col__media {
    min-height: 300px;
  }
}


/* ── Page Content (Basic page template) ────────── */

.page-content__hero {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}
.page-content__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}

.page-content__header {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-lg);
}
.page-content__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--ink-navy);
  margin: 0;
  line-height: 1.2;
}

.page-content__body {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-2xl);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: #484141;
}
.page-content__body p {
  margin: 0 0 var(--space-lg);
}

.page-content__sections {
  margin-top: var(--space-xl);
}

/* ── Brand Profile Sections ────────────────────── */

.brand-profile__sections {
  margin-top: var(--space-xl);
}


/* ── Image Grid ────────────────────────────────── */

.hoe-image-grid {
  width: 100%;
  overflow: hidden;
}
.hoe-image-grid--warm { background: var(--surface); }
.hoe-image-grid--white { background: var(--white); }

.hoe-image-grid__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.hoe-image-grid__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.hoe-image-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hoe-image-grid__item:hover img {
  transform: scale(1.04);
}

.hoe-image-grid__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0,0,0,0.45));
}

@media (max-width: 640px) {
  .hoe-image-grid__row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Homepage-specific ─────────────────────────── */

.homepage {
  margin-top: 0;
}

/* Hero on homepage — taller */
.homepage .hoe-hero {
  min-height: 90vh;
}


/* ── Editorial — centred variant ───────────────── */

.hoe-editorial--centre {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
}
.hoe-editorial--centre .hoe-editorial__inner {
  max-width: 800px;
  margin: 0 auto;
}
.hoe-editorial--centre .hoe-editorial__heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: none;
}
.hoe-editorial--centre .hoe-editorial__body {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Gold button — used in centred editorial */
.hoe-editorial__btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  text-decoration: none;
  padding: 12px 28px;
  transition: background 0.2s ease;
  margin-top: var(--space-lg);
}
.hoe-editorial__btn:hover {
  background: var(--gold-hover);
  color: var(--white);
}


/* ── Two Column — eyebrow + gold button ────────── */

.hoe-two-col__eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-md);
}

.hoe-two-col__btn {
  display: inline-block;
  width: auto;
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  text-decoration: none;
  padding: 12px 28px;
  margin-top: var(--space-lg);
  transition: background 0.2s ease;
}
.hoe-two-col__btn:hover {
  background: var(--gold-hover);
  color: var(--white);
}
