/*
Theme Name: Hometrrend
Theme URI: https://www.hometrrend.online
Author: Hometrrend
Author URI: https://www.hometrrend.online
Description: Premium German home decor WordPress theme with Startseite, Über uns, Leistungen, and Kontakt. Unsplash imagery. Swiss design for Allschwil.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hometrrend
Tags: one-page, custom-menu, featured-images, translation-ready, portfolio
*/

:root {
  --mist: #eef1f4;
  --mist-deep: #e2e7ec;
  --paper: #f7f8fa;
  --white: #ffffff;
  --ink: #101820;
  --ink-soft: #2a3440;
  --slate: #5a6672;
  --muted: #7a8692;
  --line: rgba(16, 24, 32, 0.1);
  --sage: #2f5d56;
  --sage-light: #3f756c;
  --sand: #c9b8a0;
  --sand-soft: #ddd0bc;
  --header-h: 108px;
  --shadow: 0 24px 60px rgba(16, 24, 32, 0.14);
  --shadow-soft: 0 10px 28px rgba(16, 24, 32, 0.08);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(47, 93, 86, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(201, 184, 160, 0.12), transparent 50%),
    var(--mist);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

h1,
h2,
h3,
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: none;
  background: var(--sage);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 28px rgba(47, 93, 86, 0.28);
}

.btn:hover {
  background: var(--sage-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.25);
}

.btn-dark:hover {
  background: var(--ink-soft);
  color: #fff;
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--sage);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), color 0.25s ease;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  gap: 14px;
  color: var(--ink);
}

/* Header — Swiss editorial split */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: opacity 0.3s ease, max-height 0.35s var(--ease), padding 0.35s ease;
  max-height: 40px;
  overflow: hidden;
}

.header-phone {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;
}

.header-phone:hover {
  color: var(--sand);
}

.header-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 12px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.35s ease, padding 0.35s ease, min-height 0.35s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  transition: color 0.3s ease;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--sage);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  box-shadow: 0 8px 20px rgba(47, 93, 86, 0.35);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.04);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-accent {
  color: var(--sand);
}

.logo-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.primary-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
}

.header-mail {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}

.header-mail:hover {
  color: var(--sand);
}

.header-cta {
  min-height: 44px;
  padding: 0 22px;
  font-size: 13px;
}

.header-cta-mobile {
  display: none;
}

.site-header:not(.is-scrolled) .header-cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
  color: #fff;
}

.site-header:not(.is-scrolled) .header-cta:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* Scrolled state — solid compact bar */
.site-header.is-scrolled {
  background: rgba(247, 248, 250, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(16, 24, 32, 0.1);
}

.site-header.is-scrolled .header-top {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

.site-header.is-scrolled .header-inner {
  min-height: 64px;
  padding: 8px 0;
  border-bottom-color: var(--line);
}

.site-header.is-scrolled .logo {
  color: var(--ink);
}

.site-header.is-scrolled .logo-accent {
  color: var(--sage);
}

.site-header.is-scrolled .logo-tag {
  color: var(--muted);
}

.site-header.is-scrolled .logo-mark {
  background: var(--ink);
  box-shadow: none;
}

.site-header.is-scrolled .primary-nav ul {
  background: var(--mist);
  border-color: var(--line);
}

.site-header.is-scrolled .primary-nav a {
  color: var(--slate);
}

.site-header.is-scrolled .primary-nav a:hover,
.site-header.is-scrolled .primary-nav a.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.site-header.is-scrolled .header-mail {
  color: var(--slate);
}

.site-header.is-scrolled .header-mail:hover {
  color: var(--sage);
}

.site-header.is-scrolled .header-cta {
  background: var(--sage);
  border: none;
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 93, 86, 0.25);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
  z-index: 90;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle::before,
.site-header.is-scrolled .nav-toggle::after {
  background: var(--ink);
}

.nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle::before {
  top: 14px;
}

.nav-toggle::after {
  bottom: 14px;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.45) 0%, rgba(16, 24, 32, 0.2) 35%, rgba(16, 24, 32, 0.78) 100%),
    linear-gradient(90deg, rgba(16, 24, 32, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  max-width: 720px;
}

.brand-mark {
  font-size: clamp(42px, 8vw, 88px);
  margin: 0 0 18px;
  color: #fff;
  animation: brand-in 1s var(--ease) both;
}

.brand-mark::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  background: var(--sand);
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  margin: 0 0 18px;
  max-width: 14ch;
  animation: rise-in 0.9s var(--ease) 0.15s both;
}

.hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 32px;
  max-width: 42ch;
  font-weight: 300;
  animation: rise-in 0.9s var(--ease) 0.28s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise-in 0.9s var(--ease) 0.4s both;
}

.hero-scroll {
  position: absolute;
  right: max(20px, calc((100% - 1200px) / 2));
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--sand), transparent);
  animation: scroll-line 1.8s ease infinite;
}

@keyframes brand-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Looks / Inspiration grid */
.looks {
  padding: 110px 0 100px;
}

.section-head {
  max-width: 580px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0 0 14px;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.looks-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.look-item {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 320px;
}

.look-wide {
  grid-column: span 6;
  min-height: 420px;
}

.look-media {
  position: absolute;
  inset: 0;
}

.look-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.look-item:hover .look-media img {
  transform: scale(1.06);
}

.look-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 32, 0.88));
  color: #fff;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}

.look-item:hover .look-meta {
  transform: translateY(0);
}

.look-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-soft);
  margin-bottom: 8px;
}

.look-meta h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.look-meta p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* About */
.about {
  padding-bottom: 110px;
  position: relative;
}

.about-strip {
  height: 220px;
  overflow: hidden;
  margin-bottom: -80px;
}

.about-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
  background: var(--paper);
  padding: 48px;
  box-shadow: var(--shadow);
}

.about-visual {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 14px;
  align-items: stretch;
}

.about-main {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.about-stack {
  display: grid;
  gap: 14px;
}

.about-stack img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.about-copy h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 18px;
}

.about-copy > p {
  color: var(--slate);
  margin: 0 0 14px;
}

.about-points {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.about-points li {
  padding-left: 18px;
  border-left: 3px solid var(--sage);
}

.about-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 4px;
}

.about-points span {
  color: var(--muted);
  font-size: 15px;
}

/* Services */
.services {
  padding: 40px 0 110px;
}

.service-rail {
  display: grid;
  gap: 0;
  margin-bottom: 64px;
}

.service-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  background: var(--white);
}

.service-band.reverse {
  direction: rtl;
}

.service-band.reverse > * {
  direction: ltr;
}

.service-band-media {
  position: relative;
  overflow: hidden;
}

.service-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.service-band:hover .service-band-media img {
  transform: scale(1.04);
}

.service-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(28px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(47, 93, 86, 0.04), transparent 40%),
    var(--paper);
}

.service-band-copy h3 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 14px;
}

.service-band-copy > p {
  color: var(--slate);
  margin: 0 0 20px;
}

.service-band-copy ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-band-copy li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

.service-band-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 2px;
  background: var(--sage);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.mosaic-large {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.mosaic-large img,
.mosaic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 18px 22px;
  background: rgba(16, 24, 32, 0.78);
  color: #fff;
  backdrop-filter: blur(8px);
}

.mosaic-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
}

.mosaic-caption span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mosaic-grid img {
  min-height: 230px;
  height: 100%;
}

/* Contact */
.contact {
  padding: 0 0 110px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.contact-info {
  padding: 48px 40px;
  background: var(--ink);
  color: #fff;
}

.contact-info .eyebrow {
  color: var(--sand);
}

.contact-info h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 0 0 14px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 32px;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-bottom: 32px;
}

.contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}

.contact-row strong {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
}

.contact-row a:hover {
  color: var(--sand-soft);
}

.contact-map {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 220px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.contact-form-panel {
  display: grid;
  grid-template-rows: 200px 1fr;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-form-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.contact-form {
  padding: 36px 40px 44px;
}

.contact-form h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.form-lead {
  margin: 0 0 24px;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--sage);
  background: #fff;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--sage);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand .logo {
  color: #fff;
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-brand .logo-mark {
  background: var(--sage);
  box-shadow: none;
}

.footer-brand .logo-accent {
  color: var(--sand);
}

.footer-brand .logo-tag {
  color: rgba(255, 255, 255, 0.45);
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  font-size: 15px;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 16px;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--sand);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
  z-index: 100;
  box-shadow: var(--shadow);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  text-align: center;
}

.error-page h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 12px;
}

.error-page p {
  color: var(--muted);
  margin: 0 0 28px;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-mail {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .primary-nav ul {
    gap: 0;
  }

  .primary-nav a {
    padding: 10px 12px;
    font-size: 12px;
  }

  .look-item {
    grid-column: span 6;
  }

  .look-wide {
    grid-column: span 12;
  }

  .about-layout,
  .gallery-mosaic,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-band,
  .service-band.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: 0;
  }

  .service-band-media {
    min-height: 280px;
  }

  .about-main {
    min-height: 320px;
  }

  .mosaic-large {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .header-top {
    display: none;
  }

  .header-inner {
    display: flex;
    min-height: 64px;
    padding: 10px 0;
  }

  .logo-tag {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse at top right, rgba(47, 93, 86, 0.35), transparent 50%),
      rgba(16, 24, 32, 0.97);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 85;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
  }

  .primary-nav a {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    padding: 12px 20px;
    background: transparent;
  }

  .primary-nav a:hover,
  .primary-nav a.is-active {
    background: transparent;
    color: var(--sand);
  }

  .site-header.is-scrolled .primary-nav a {
    color: #fff;
  }

  .site-header.is-scrolled .primary-nav a:hover,
  .site-header.is-scrolled .primary-nav a.is-active {
    color: var(--sand);
    background: transparent;
    box-shadow: none;
  }

  .header-cta-mobile {
    display: inline-flex;
    background: var(--sage);
    border: none;
    color: #fff;
    box-shadow: 0 12px 28px rgba(47, 93, 86, 0.35);
  }

  .hero {
    align-items: center;
    padding-bottom: 80px;
  }

  .hero-scroll {
    display: none;
  }

  .look-item,
  .look-wide {
    grid-column: span 12;
    min-height: 300px;
  }

  .about-layout {
    padding: 28px 20px;
  }

  .about-visual {
    grid-template-columns: 1fr;
  }

  .about-stack {
    grid-template-columns: 1fr 1fr;
  }

  .about-stack img {
    height: 140px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    padding: 32px 24px;
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .brand-mark,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .look-media img,
  .service-band-media img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
