/* ==========================================================================
   Estoria Building Co. — minimal, editorial, photo-forward
   ========================================================================== */

:root {
  --cream: #EDE8DF;
  --charcoal: #3A3835;
  --copper: #8C6E52;
  --copper-deep: #75593F;
  --dark-brown: #2E2420;
  --stone: #9A9080;
  --mist: #D6D0C4;
  --sage: #7A8070;
  --text-body: #4A4640;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Libre Baskerville', Georgia, serif;
  --font-ui: 'Raleway', system-ui, sans-serif;

  --max-width: 1100px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: 120px;

  --transition: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 880px) {
  body { font-size: 18px; }
}

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

a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--copper); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--charcoal);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(3rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.25rem; }

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

.container-narrow {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* ==========================================================================
   Navigation — transparent over hero, opaque on scroll
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.site-nav .nav-link-color {
  color: #fff;
}

.site-nav.scrolled {
  background: var(--cream);
  border-bottom-color: var(--mist);
}

.site-nav.solid {
  background: var(--cream);
  border-bottom-color: var(--mist);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  transition: color var(--transition), opacity var(--transition);
}

.nav-links a:hover { color: var(--copper); }
.nav-links a.active { color: var(--copper); }

/* Light treatment when nav is over a hero */
.site-nav:not(.scrolled):not(.solid) .nav-links a { color: rgba(255, 255, 255, 0.92); }
.site-nav:not(.scrolled):not(.solid) .nav-links a:hover,
.site-nav:not(.scrolled):not(.solid) .nav-links a.active { color: #fff; }
.site-nav:not(.scrolled):not(.solid) .nav-toggle span { background: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 4px; right: 4px;
  height: 1px;
  background: var(--charcoal);
  transition: transform var(--transition), opacity var(--transition), top var(--transition), background var(--transition);
}

.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 21px; }

.nav-toggle.open span { background: var(--charcoal); }
.nav-toggle.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--cream);
    padding: 0;
    border-top: 1px solid var(--mist);
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 500;
    padding: 16px var(--gutter);
    letter-spacing: 0.14em;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-links a:hover {
    color: var(--copper);
  }

  /* Override the over-hero white-text rule at mobile size so the dropdown stays charcoal-on-cream */
  .site-nav:not(.scrolled):not(.solid) .nav-links a {
    color: var(--charcoal);
  }

  .nav-toggle {
    display: block;
  }
}

/* ==========================================================================
   Hero — full bleed, edge-to-edge photography
   ========================================================================== */

.hero {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: 92vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-mcm {
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.about-hero {
  background-image: none;
  background-color: var(--charcoal);
}

.about-hero::after {
  background: none;
}

.about-hero ~ .hero-logo img {
  width: clamp(280px, 45vw, 640px);
  height: auto;
  opacity: 0.6;
}

.services-hero {
  background-image: none;
  background-color: var(--charcoal);
}

.services-hero::after {
  background: none;
}

.services-hero ~ .hero-logo img {
  width: clamp(280px, 45vw, 640px);
  height: auto;
  opacity: 0.6;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 36, 32, 0.35) 0%, rgba(46, 36, 32, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 var(--gutter);
  animation: fadeUp 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--gutter);
  animation: fadeUp 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-logo img {
  height: clamp(160px, 22vw, 320px);
  width: auto;
  display: block;
  opacity: 0.6;
}

.hero-cta {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1.15rem 2.75rem;
  font-family: Raleway, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 2px solid var(--cream);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-cta:hover {
  background-color: var(--cream);
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .hero-cta {
    padding: 0.95rem 2rem;
    font-size: 0.85rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.8vw, 5rem);
  line-height: 1.05;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero h1 em { font-style: italic; }

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.hero .text-link {
  color: #fff;
}

.hero .text-link:hover {
  color: var(--mist);
}

/* Compact hero for inner pages */
.hero-compact {
  height: auto;
  min-height: 56vh;
  padding: 140px 0 100px;
}

.hero-compact h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Text link — replaces buttons in editorial contexts
   ========================================================================== */

.text-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--charcoal);
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid currentColor;
  transition: color var(--transition);
}

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

.text-link .arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition);
}

.text-link:hover .arrow { transform: translateX(5px); }

/* ==========================================================================
   Sections
   ========================================================================== */

section {
  padding: var(--section-y) 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 5rem;
  text-align: center;
}

.section-head p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* ==========================================================================
   Service tiles — full-bleed image grid (index)
   ========================================================================== */

.service-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-tiles li:nth-child(1) { grid-column: 1 / span 2; }
.service-tiles li:nth-child(2) { grid-column: 3 / span 2; }
.service-tiles li:nth-child(3) { grid-column: 5 / span 2; }
.service-tiles li:nth-child(4) { grid-column: 2 / span 2; }
.service-tiles li:nth-child(5) { grid-column: 4 / span 2; }

.service-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  color: #fff;
  transition: all 0.35s ease;
}

.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.35s ease;
}

.service-tile-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  transition: transform 0.35s ease;
}

.service-tile-name {
  font-family: var(--font-display);
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.service-tile-underline {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--copper);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-tile:hover::after {
  background: rgba(0, 0, 0, 0.5);
}

.service-tile:hover .service-tile-label {
  transform: translateY(-6px);
}

.service-tile:hover .service-tile-underline {
  opacity: 1;
}

.service-tile.service-tile-painting {
  background-position: center 45%;
}

.service-tile.service-tile-stucco {
  background-position: center 22%;
}

.service-tile.service-tile-windows {
  background-position: center 55%;
}

@media (max-width: 768px) {
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
  .service-tiles li:nth-child(1),
  .service-tiles li:nth-child(2),
  .service-tiles li:nth-child(3),
  .service-tiles li:nth-child(4),
  .service-tiles li:nth-child(5) { grid-column: auto; }
}

@media (max-width: 540px) {
  .service-tiles { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Alternating image/text blocks (services overview, process)
   ========================================================================== */

.alt-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: clamp(5rem, 10vw, 8rem);
}

.alt-block:last-child { margin-bottom: 0; }

.alt-block.reverse .alt-image { order: 2; }

@media (max-width: 880px) {
  .alt-block,
  .alt-block.reverse { grid-template-columns: 1fr; }
  .alt-block.reverse .alt-image { order: 0; }
}

.alt-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.alt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.alt-image .alt-img-mcm {
  object-position: center 35%;
}

.alt-image .alt-img-windows {
  object-position: center 40%;
}

.alt-image .alt-img-stucco {
  object-position: center 35%;
}

.alt-image .alt-img-roofing {
  object-position: center 30%;
}

.alt-block:hover .alt-image img { transform: scale(1.03); }

.alt-content h2 {
  margin-bottom: 1.5rem;
}

.alt-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.step-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
  display: block;
  font-weight: 500;
}

/* ==========================================================================
   Detail content — single centered column on service pages
   ========================================================================== */

.detail-content h2 {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}

.detail-content h2:first-child { margin-top: 0; }

.detail-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal);
}

.detail-content p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.sub-services-list {
  list-style: none;
  padding: 0;
  margin: 3rem 0;
  border-top: 1px solid var(--mist);
}

.sub-services-list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--mist);
}

.sub-services-list .ss-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--charcoal);
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.sub-services-list p {
  font-size: 1rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.7;
}

.end-prompt {
  text-align: center;
  margin-top: 6rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
}

.end-prompt a {
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
  font-style: italic;
  padding-bottom: 2px;
  transition: all var(--transition);
}

.end-prompt a:hover {
  color: var(--charcoal);
  border-bottom-color: var(--charcoal);
}

/* ==========================================================================
   About — definition block
   ========================================================================== */

.definition {
  text-align: center;
  margin: 0 auto;
  max-width: 640px;
  padding: 6rem 0;
  font-family: var(--font-display);
  color: var(--charcoal);
}

.definition .def-word {
  font-size: clamp(2.5rem, 4.8vw, 3.75rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1;
  display: block;
}

.definition .def-meaning {
  display: block;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--text-body);
  margin: 0.75rem 0;
  line-height: 1.5;
}

.about-prose {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.about-prose p {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   Process teaser on index
   ========================================================================== */

.process-teaser {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.process-teaser p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-body);
}

/* ==========================================================================
   Contact form — minimal, underline inputs, no card
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--stone);
  margin-bottom: 0.6rem;
}

.form-group label .req {
  color: var(--copper);
  margin-left: 0.2rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--mist);
  border-radius: 0;
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--copper);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-body);
  line-height: 1.7;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238C6E52' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 2rem;
  cursor: pointer;
}

.form-error {
  color: #a14a3a;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  margin-top: 0.4rem;
  display: none;
}

.form-control.invalid {
  border-bottom-color: #a14a3a;
}

.form-control.invalid + .form-error {
  display: block;
}

.form-submit {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 1.05rem 2.25rem;
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 1.25rem;
}

.form-submit:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--cream);
}

.form-success {
  display: none;
  padding: 4rem 0;
  text-align: center;
}

.form-success.show { display: block; }

.form-success h3 {
  font-style: italic;
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--text-body);
  font-size: 1.05rem;
}

.form-note {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.form-heading {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-card h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.info-card .info-value {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--charcoal);
  display: block;
  line-height: 1.3;
}

.info-card .info-sub {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-top: 0.55rem;
  line-height: 1.6;
}

.contact-license {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  line-height: 1.6;
}

.contact-license .num {
  color: var(--charcoal);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 0.4rem;
}

/* ==========================================================================
   Footer — minimal, hairline border, no fill
   ========================================================================== */

.site-footer {
  background: transparent;
  border-top: 1px solid var(--mist);
  padding: 5rem 0 2.5rem;
  margin-top: var(--section-y);
  color: var(--text-body);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.footer-col:first-child {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 0 12px 0;
  opacity: 0.85;
  filter: invert(1);
}

.footer-brand p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}

.footer-col h5 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: var(--text-body);
  font-size: 0.95rem;
}

.footer-col a:hover { color: var(--copper); }

.footer-col p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.footer-license {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1.25rem;
  display: block;
}

.footer-license .num {
  color: var(--copper);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid var(--mist);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
