@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Sora:wght@300;400;500;600&display=swap");

:root {
  --ivory: #f8f4ec;
  --cream: #f1e9dc;
  --linen: #e6ddd0;
  --stone: #a89888;
  --taupe: #8a7b6e;
  --oat: #c9b8a6;
  --walnut: #3f3126;
  --walnut-soft: #5a4638;
  --sage: #6f8168;
  --burgundy: #6a3538;
  --copper: #b07a52;
  --brass: #a68958;
  --ink: #2c241c;
  --muted: #6e6258;
  --white: #fffcf7;
  --error: #8b3a3a;
  --success: #4d6b4a;
  --header-h: 5.25rem;
  --radius: 2px;
  --shadow: 0 18px 48px rgba(63, 49, 38, 0.08);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Sora", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(176, 122, 82, 0.07), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(111, 129, 104, 0.06), transparent 45%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 48%, var(--linen) 100%);
  min-height: 100vh;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

html.nav-open {
  overflow: hidden;
}

html.nav-open body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

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

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.25s var(--ease);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--walnut);
  margin: 0 0 0.75rem;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

ul,
ol {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(248, 244, 236, 0.96);
  border-bottom: 1px solid rgba(168, 152, 136, 0.28);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(63, 49, 38, 0.06);
  background: rgba(255, 252, 247, 0.98);
}

.header-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--walnut);
  min-width: 0;
}

.brand:hover {
  color: var(--walnut-soft);
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(90, 70, 56, 0.25);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--walnut);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

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

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem 1.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--walnut-soft);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.35rem 0;
  position: relative;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--walnut);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

main {
  padding-top: var(--header-h);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-align: center;
}

.btn-primary {
  background: var(--walnut);
  color: var(--ivory);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--burgundy);
  color: var(--white);
}

.btn-primary:active {
  transform: translateY(1px);
  background: var(--walnut-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--walnut);
  border-color: rgba(63, 49, 38, 0.35);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--copper);
  color: var(--copper);
  background: rgba(255, 252, 247, 0.7);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 48rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(39, 28, 20, 0.72) 8%, rgba(39, 28, 20, 0.35) 55%, rgba(39, 28, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(39, 28, 20, 0.55) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  max-width: 38rem;
  color: var(--ivory);
}

.hero-content .eyebrow {
  color: var(--oat);
}

.hero-content h1 {
  color: var(--ivory);
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(248, 244, 236, 0.88);
  font-size: 1.05rem;
  max-width: 32rem;
}

.hero .btn-primary {
  background: var(--ivory);
  color: var(--walnut);
}

.hero .btn-primary:hover {
  background: var(--cream);
  color: var(--burgundy);
}

.hero .btn-secondary {
  color: var(--ivory);
  border-color: rgba(248, 244, 236, 0.45);
}

.hero .btn-secondary:hover {
  background: rgba(248, 244, 236, 0.1);
  border-color: var(--ivory);
  color: var(--ivory);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-alt {
  background: rgba(255, 252, 247, 0.55);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head p {
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.split.reverse .split-media {
  order: 1;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--linen);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 252, 247, 0.18);
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame.tall img {
  aspect-ratio: 3 / 4;
}

.media-frame.wide img {
  aspect-ratio: 16 / 10;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(168, 152, 136, 0.28);
  padding: 0;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-card-body {
  padding: 1.35rem 1.4rem 1.55rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.list-panel {
  background: var(--white);
  border: 1px solid rgba(168, 152, 136, 0.28);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.list-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.list-panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--muted);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.list-panel li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.philosophy-band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 152, 136, 0.28);
  background: var(--white);
}

.philosophy-band img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.philosophy-copy {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(168, 152, 136, 0.35);
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--walnut);
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 18rem;
  display: grid;
  align-items: center;
}

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

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(39, 28, 20, 0.82), rgba(39, 28, 20, 0.45));
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 34rem;
  color: var(--ivory);
}

.cta-banner-content h2 {
  color: var(--ivory);
}

.cta-banner-content p {
  color: rgba(248, 244, 236, 0.88);
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(168, 152, 136, 0.25);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-item {
  background: var(--white);
  border: 1px solid rgba(168, 152, 136, 0.28);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.service-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-item:hover img {
  transform: scale(1.04);
}

.service-item-body {
  padding: 1.4rem 1.45rem 1.6rem;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.85rem 0 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  counter-reset: step;
}

.process-step {
  background: var(--white);
  border: 1px solid rgba(168, 152, 136, 0.28);
  padding: 1.25rem 1rem;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

.process-step h3 {
  font-size: 1.15rem;
}

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-aside {
  background: var(--white);
  border: 1px solid rgba(168, 152, 136, 0.28);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.contact-aside .contact-line {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.contact-aside .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.25rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid rgba(168, 152, 136, 0.28);
  padding: clamp(1.4rem, 3vw, 2.1rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--walnut-soft);
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(168, 152, 136, 0.45);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.form-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(176, 122, 82, 0.15);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--error);
}

.field-error {
  min-height: 1.1rem;
  font-size: 0.8rem;
  color: var(--error);
}

.form-actions {
  margin-top: 0.5rem;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 36, 28, 0.55);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: var(--white);
  border: 1px solid rgba(168, 152, 136, 0.35);
  padding: 2rem 1.6rem 1.6rem;
  box-shadow: var(--shadow);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--walnut);
}

.modal-dialog h2 {
  padding-right: 2rem;
}

.modal-dialog .btn {
  margin-top: 1rem;
  width: 100%;
}

/* Legal */
.legal-content {
  max-width: 48rem;
}

.legal-content h2 {
  margin-top: 2.25rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
}

.legal-content ul {
  color: var(--muted);
  padding-left: 1.2rem;
}

/* Footer */
.site-footer {
  background: var(--walnut);
  color: rgba(248, 244, 236, 0.82);
  padding: clamp(2.75rem, 6vw, 4rem) 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  margin-bottom: 2.5rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--ivory);
  font-size: 1.25rem;
}

.site-footer p,
.site-footer li {
  color: rgba(248, 244, 236, 0.78);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-contact p {
  margin: 0 0 0.55rem;
}

.footer-nav ul,
.footer-legal ul,
.footer-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: rgba(248, 244, 236, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--oat);
}

.footer-social a {
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-social-block {
  margin-top: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 244, 236, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 980px) {
  .split,
  .split.reverse,
  .page-hero-grid,
  .form-layout,
  .philosophy-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy,
  .split.reverse .split-media {
    order: initial;
  }

  .feature-grid,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .philosophy-band img {
    min-height: 14rem;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 4.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    z-index: 1;
    display: block;
    background: rgba(248, 244, 236, 0.99);
    padding: 1.5rem 1rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    font-size: 1.05rem;
    padding: 0.95rem 0.35rem;
    min-height: 3rem;
  }

  .feature-grid,
  .service-grid,
  .stats-row,
  .form-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(88vh, 40rem);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .modal-dialog {
    padding: 1.6rem 1.1rem 1.2rem;
  }
}

@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;
  }

  .hero-media img {
    transform: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
