/* Galpero — Melbourne Barber Atelier */

@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=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --ivory: #f6f1e8;
  --cream: #ebe3d6;
  --off-white: #faf7f2;
  --charcoal: #2c2825;
  --graphite: #3f3a36;
  --espresso: #1a1613;
  --concrete: #8c847a;
  --copper: #a87855;
  --brass: #b8976a;
  --forest: #2d4a3c;
  --forest-deep: #1e3329;
  --line: rgba(44, 40, 37, 0.12);
  --line-dark: rgba(246, 241, 232, 0.14);
  --shadow: 0 24px 60px rgba(26, 22, 19, 0.14);
  --radius: 2px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', Helvetica, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(168, 120, 85, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(45, 74, 60, 0.06), transparent 45%),
    linear-gradient(180deg, var(--off-white) 0%, var(--ivory) 45%, var(--cream) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}

body.menu-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  word-break: break-word;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6,
p, span, li, label, td, th,
.btn, .nav-link, .footer-link,
.form-field, .modal, .card, .service-card {
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
}

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

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.lead {
  font-size: 1.125rem;
  color: var(--graphite);
  max-width: 38rem;
}

.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section-tight-top {
  padding-top: 0;
}

.mt-md {
  margin-top: 1.5rem;
}

.section-dark {
  background: linear-gradient(165deg, var(--espresso) 0%, var(--graphite) 55%, var(--forest-deep) 100%);
  color: var(--ivory);
}

.section-dark .display {
  color: var(--ivory);
}

.section-dark .lead,
.section-dark p {
  color: rgba(246, 241, 232, 0.78);
}

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

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .brand-name,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .menu-toggle {
  color: var(--espresso);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1002;
  position: relative;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ivory);
  transition: color 0.3s var(--ease);
}

.site-header:not(.on-light):not(.is-scrolled) .brand-name,
.site-header:not(.on-light):not(.is-scrolled) .nav-link,
.site-header:not(.on-light):not(.is-scrolled) .menu-toggle {
  color: var(--ivory);
}

.site-header.on-light .brand-name,
.site-header.on-light .nav-link,
.site-header.on-light .menu-toggle {
  color: var(--espresso);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 1102;
  position: relative;
  color: var(--ivory);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin-inline: auto;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

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

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

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

.mobile-panel {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s ease;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--copper);
  color: var(--off-white);
  border-color: var(--copper);
}

.btn-primary:hover:not(:disabled) {
  background: #966849;
  border-color: #966849;
}

.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(246, 241, 232, 0.45);
}

.btn-secondary:hover {
  background: rgba(246, 241, 232, 0.08);
  border-color: var(--ivory);
}

.btn-dark {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}

.btn-dark:hover:not(:disabled) {
  background: var(--graphite);
}

.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: rgba(44, 40, 37, 0.28);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--copper);
  color: var(--copper);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn.is-success {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
  opacity: 1;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  color: var(--ivory);
  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);
  transition: transform 8s var(--ease);
}

.hero:hover .hero-media img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(26, 22, 19, 0.82) 0%, rgba(26, 22, 19, 0.45) 48%, rgba(26, 22, 19, 0.28) 100%),
    linear-gradient(0deg, rgba(26, 22, 19, 0.7) 0%, transparent 45%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  max-width: 42rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--ivory);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(246, 241, 232, 0.86);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.page-hero {
  min-height: 58vh;
  min-height: 58svh;
  padding-bottom: 3.5rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
}

/* Media blocks */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

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

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

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

.asymmetric.reverse .copy {
  order: -1;
}

.asymmetric .media-frame {
  min-height: clamp(320px, 48vw, 560px);
}

.asymmetric .copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 1rem;
}

.asymmetric .copy p + p {
  margin-top: 1rem;
}

.offset-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--concrete);
  max-width: 28rem;
}

/* Service / feature grids */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.service-card .media-frame {
  aspect-ratio: 4 / 3;
}

.service-body {
  padding: 1.5rem 1.4rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
}

.service-meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

.service-body p {
  color: var(--graphite);
  font-size: 0.98rem;
  flex: 1;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.35rem 0 0.75rem;
}

.benefit-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--graphite);
}

.benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 1px;
  background: var(--copper);
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.style-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.style-card.tall {
  grid-column: span 5;
  min-height: 420px;
}

.style-card.wide {
  grid-column: span 7;
}

.style-card .media-frame,
.style-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.style-card .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(26, 22, 19, 0.85), transparent);
  color: var(--ivory);
  z-index: 2;
}

.style-card .caption h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
}

.style-card .caption p {
  font-size: 0.92rem;
  color: rgba(246, 241, 232, 0.8);
}

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

.feature-item {
  padding: 1.75rem 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.feature-item::before {
  counter-increment: feature;
  content: '0' counter(feature);
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--copper);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 0.65rem;
}

.section-dark .feature-item {
  background: rgba(246, 241, 232, 0.04);
  border-top-color: var(--line-dark);
}

.section-dark .feature-item h3 {
  color: var(--ivory);
}

.section-dark .feature-item p {
  color: rgba(246, 241, 232, 0.78);
}

.section-dark .btn-secondary {
  color: var(--ivory);
}

.quote-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.quote-band .media-frame {
  min-height: 420px;
}

.quote-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.quote-copy blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--espresso);
  margin-bottom: 1.25rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  color: var(--ivory);
}

.cta-band .media-frame {
  position: absolute;
  inset: 0;
}

.cta-band .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 22, 19, 0.88), rgba(45, 74, 60, 0.72));
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 16ch;
  color: var(--ivory);
  line-height: 1.05;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.detail-block h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
}

.detail-block p,
.detail-block a {
  color: var(--graphite);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.35rem;
}

.social-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--espresso);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.15rem;
}

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

.map-note {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  color: var(--graphite);
}

/* Forms */
.form-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.form-intro {
  color: var(--graphite);
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

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

.form-field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--graphite);
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(44, 40, 37, 0.18);
  background: var(--off-white);
  color: var(--espresso);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(168, 120, 85, 0.15);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #9b4a3c;
}

.field-error {
  min-height: 1.1em;
  font-size: 0.82rem;
  color: #9b4a3c;
}

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

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(26, 22, 19, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(440px, 100%);
  max-height: min(90vh, 90svh);
  overflow: auto;
  background: var(--off-white);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.35s var(--ease);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--espresso);
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}

.modal p {
  color: var(--graphite);
  margin-bottom: 1.5rem;
}

/* Legal */
.legal-page {
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 0.75rem;
}

.legal-meta {
  color: var(--concrete);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--graphite);
  margin-bottom: 0.85rem;
}

.legal-content ul {
  margin: 0 0 1rem 1.1rem;
  list-style: disc;
}

.legal-hero-img {
  margin: 0 0 2.5rem;
  max-height: 280px;
  overflow: hidden;
}

.legal-hero-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: rgba(246, 241, 232, 0.78);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .brand-name {
  color: var(--ivory);
  font-size: 2rem;
}

.footer-brand p {
  max-width: 28rem;
  font-size: 0.98rem;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.98rem;
}

.footer-contact-list .phone-text {
  color: var(--ivory);
}

.footer-contact-list a[href^="mailto:"] {
  color: var(--ivory);
  border-bottom: 1px solid rgba(184, 151, 106, 0.5);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 0.85rem;
}

.footer-social a {
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--copper);
}

.footer-social a:hover {
  color: var(--brass);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(246, 241, 232, 0.55);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-media img,
  .media-frame img {
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .service-grid,
  .feature-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .style-card,
  .style-card.tall,
  .style-card.wide {
    grid-column: span 6;
    min-height: 320px;
  }

  .asymmetric,
  .asymmetric.reverse,
  .quote-band,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .asymmetric.reverse .copy {
    order: 0;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .mobile-panel {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background:
      linear-gradient(165deg, rgba(26, 22, 19, 0.97), rgba(45, 74, 60, 0.94)),
      var(--espresso);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .mobile-panel.is-open {
    transform: translateX(0);
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1rem;
  }

  .mobile-nav a {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 2.8rem);
    color: var(--ivory);
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(246, 241, 232, 0.12);
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--brass);
  }

  .mobile-cta {
    margin-top: 2rem;
  }

  .site-header.menu-active {
    background: transparent;
    box-shadow: none;
  }

  .site-header.menu-active .brand-name,
  .site-header.menu-active .menu-toggle {
    color: var(--ivory);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .container,
  .hero-content {
    width: min(100% - 1.5rem, 1180px);
  }

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

  .style-card,
  .style-card.tall,
  .style-card.wide {
    grid-column: span 1;
    min-height: 280px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .hero {
    align-items: flex-end;
    min-height: 92svh;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .asymmetric .media-frame {
    min-height: 260px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 1.35rem;
  }

  .hero p,
  .lead {
    font-size: 1rem;
  }

  .modal {
    padding: 1.5rem 1.15rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero,
  .page-hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 2.5rem;
  }

  .mobile-panel {
    padding-top: calc(var(--header-h) + 0.75rem);
  }

  .mobile-nav a {
    font-size: 1.45rem;
    padding: 0.35rem 0;
    min-height: 40px;
  }
}
