/* === Brown Font === */
@font-face {
  font-family: 'Brown';
  src: url('../fonts/Brown-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brown';
  src: url('../fonts/Brown-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brown';
  src: url('../fonts/Brown-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Brown', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #1c1c1c;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: transparent; border: none; color: inherit; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Brown', sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(40px, 7.5vw, 84px); font-weight: 400; }
h2 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 400; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 400; letter-spacing: 0.04em; }
.italic, em.serif {
  font-family: freight-text-pro, 'Times New Roman', serif;
  font-style: italic;
  letter-spacing: 0;
}
/* Inside an uppercase heading the italic word still gets uppercased; only the
   hero-title em opts out via its own text-transform: none below. */

p { font-size: 16px; line-height: 1.55; color: #1c1c1c; }
.lead { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.5; color: #1c1c1c; }

.eyebrow {
  font-family: 'Brown', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1c1c1c;
  font-weight: 400;
}
.eyebrow--muted { color: #8a8a8a; }
.eyebrow--on-dark { color: #d6c7af; }

.text-muted { color: #6b6b6b; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Layout === */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 700px) { .container { padding: 0 20px; } }

.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.section--tight { padding: 64px 0; }
.section--dark { background: #1c1c1c; color: #fff; }
.section--dark p, .section--dark .lead { color: #fff; }
.section--dark .eyebrow { color: #fff; }
.section--dark .eyebrow--muted { color: #8a8a8a; }

/* === Nav === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28,28,28,0.08);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
/* Overlay mode (used on pages with hero) — nav stays transparent until scrolled */
.site-nav--overlay {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
}
.site-nav--overlay.is-scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: rgba(28,28,28,0.08);
  color: #1c1c1c;
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  height: 68px;
}
.site-nav__brand-img {
  height: 64px;
  width: auto;
  display: block;
  transition: filter 0.35s ease;
}
/* Single source logo. When the nav is in overlay mode (transparent over
   the hero), invert it to render as white. Same DOM size, no padding
   mismatch between two separate PNG sources. */
.site-nav--overlay:not(.is-scrolled) .site-nav__brand-img {
  filter: brightness(0) invert(1);
}
/* Legacy white-variant img is now obsolete — never displayed */
.site-nav__brand-img--light { display: none !important; }
@media (max-width: 700px) {
  .site-nav__brand { height: 48px; }
  .site-nav__brand-img { height: 44px; }
}
.site-nav__links {
  display: flex;
  gap: 36px;
}
.site-nav__link {
  font-family: 'Brown', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  padding: 4px 0;
  position: relative;
  transition: opacity 0.2s;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav__link:hover::after,
.site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.site-nav__toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: background 0.25s;
}

body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .site-nav__toggle { display: flex; }
  .site-nav__links {
    position: fixed;
    inset: 84px 0 0 0;
    background: #fff;
    color: #1c1c1c;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .site-nav__links.is-open { transform: translateX(0); }
  .site-nav__link { font-size: 18px; padding: 14px 0; letter-spacing: 0.16em; }
  .site-nav__link::after { display: none; }
}

/* push page content below fixed nav (only on pages without a hero) */
main { padding-top: 84px; }
body.has-hero main { padding-top: 0; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero__image,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
}
.hero__title {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(56px, 11vw, 140px);
  letter-spacing: 0.01em;
  line-height: 0.95;
}
.hero__title em {
  font-family: freight-text-pro, serif;
  font-style: italic;
  font-weight: 400;
  display: block;
  font-size: 0.36em;
  color: #fff;
  margin-top: 18px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.92;
}
.hero__logo {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: min(420px, 60vw);
  height: auto;
  filter: brightness(0) invert(1); /* render dark akunz logo as white on hero */
  margin-bottom: 22px;
}
@media (max-width: 700px) {
  .hero__logo { max-width: 57vw; }
}
.hero__sub {
  color: #fff;
  margin: 24px auto 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  opacity: 0.95;
}

/* Pill buttons bottom-right of hero (like the existing live site) */
.hero__pills {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  font-family: 'Brown', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.hero__pill:hover {
  background: #fff;
  color: #1c1c1c;
  text-decoration: none;
}
@media (max-width: 700px) {
  .hero__pills {
    left: 0; right: 0;
    bottom: 32px;
    align-items: center;
  }
  .hero__pill { padding: 10px 20px; font-size: 11px; }
}

/* === Holding stage === */
.holding {
  text-align: center;
}
.holding__logo {
  display: block;
  margin: 18px auto 28px;
  width: auto;
  max-width: min(420px, 60vw);
  height: auto;
}
@media (max-width: 700px) { .holding__logo { max-width: 70vw; } }
.holding__title {
  margin: 16px 0 12px;
}
.holding__lead {
  max-width: 56ch;
  margin: 0 auto;
  color: #4a4a4a;
}
.holding__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 56px auto 0;
}
@media (max-width: 768px) { .holding__cards { grid-template-columns: 1fr; } }

.sub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #1c1c1c;
  padding: 40px 36px 30px;
  text-align: left;
  color: #1c1c1c;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  min-height: 320px;
}
.sub-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(28,28,28,0.08); }
.sub-card .eyebrow { transition: color 0.25s; }

/* Logo block — large, anchored top */
.sub-card__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 80px;
  margin: 24px 0 28px;
}
.sub-card__brand img {
  max-height: 64px;
  max-width: 80%;
  width: auto;
  height: auto;
  display: block;
}
/* Orvia-Variante etwas kleiner — die Wordmark ist schmaler/leichter */
.sub-card--orvia .sub-card__brand img {
  max-height: 52px;
  max-width: 64%;
}

.sub-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: #4a4a4a;
  margin-bottom: 28px;
}
.sub-card__cta {
  margin-top: auto;
  display: inline-block;
  border-top: 1px solid currentColor;
  padding-top: 14px;
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Orvia variant: brown background to host the brown-Orvia logo as-is */
.sub-card--orvia {
  background: #836a50;
  border-color: #836a50;
  color: #f4ede0;
}
.sub-card--orvia .sub-card__desc { color: rgba(244,237,224,0.82); }
.sub-card--orvia .eyebrow { color: #d6c7af; }
.sub-card--orvia .sub-card__cta { border-color: currentColor; }

/* === Activity (editorial line layout) === */
.activity__heading {
  margin-bottom: 64px;
}
.activity__heading h2 {
  margin-top: 12px;
  font-size: clamp(40px, 6vw, 72px);
}
.activity__list {
  border-top: 1px solid rgba(28,28,28,0.18);
}
.activity__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px 0;
  border-bottom: 1px solid rgba(28,28,28,0.18);
  align-items: start;
}
@media (max-width: 768px) {
  .activity__item { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
}
.activity__item-title {
  margin: 0;
  font-size: clamp(36px, 5.5vw, 68px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
}
.activity__num {
  font-family: 'Brown', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #6b6b6b;
  letter-spacing: 0.05em;
  text-transform: none;
  margin-top: 6px;
  vertical-align: top;
}
.activity__item-right p {
  color: #4a4a4a;
  max-width: 48ch;
  margin-bottom: 22px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
}
.activity__link {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid #1c1c1c;
  padding-bottom: 4px;
  transition: opacity 0.2s, color 0.2s;
}
.activity__link:hover { color: #e8170c; border-bottom-color: #e8170c; }

/* === Trenner-Bild (full-width architectural divider) === */
.full-divider {
  margin: 0;
  width: 100%;
  height: clamp(280px, 42vh, 480px);
  overflow: hidden;
}
.full-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === X-Grid trenner (port of orvia.ch interaction, hover spells AKUNZ) === */
.x-trenner {
  width: 100%;
  padding: clamp(72px, 12vh, 128px) 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-top: 1px solid rgba(28,28,28,0.06);
  border-bottom: 1px solid rgba(28,28,28,0.06);
  user-select: none;
  cursor: default;
}
.x-trenner__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: clamp(48px, 7vw, 96px);
  row-gap: clamp(32px, 5vh, 56px);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.x-trenner__x {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Brown', ui-monospace, monospace;
  font-size: 13px;
  color: #1c1c1c;
  opacity: 0.22;
}
/* Row 3 interactive 5-letter group (grid columns 2..6) */
.x-trenner__word {
  grid-column: 2 / span 5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: clamp(48px, 7vw, 96px);
}
.x-trenner__letter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
}
.x-trenner__letter-x {
  font-family: 'Brown', ui-monospace, monospace;
  font-size: 13px;
  color: #1c1c1c;
  opacity: 0.6;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.x-trenner__letter-c {
  position: absolute;
  font-family: 'Brown', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  color: #1c1c1c;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Section :hover reveals the word — feels generous when the cursor enters anywhere in the trenner */
.x-trenner:hover .x-trenner__letter-x {
  opacity: 0;
  transform: scale(0.5);
}
.x-trenner:hover .x-trenner__letter-c {
  opacity: 1;
  transform: scale(1);
}
/* Staggered reveal per letter (matches orvia timing) */
.x-trenner__letter:nth-child(1) .x-trenner__letter-x,
.x-trenner__letter:nth-child(1) .x-trenner__letter-c { transition-delay: 0ms; }
.x-trenner__letter:nth-child(2) .x-trenner__letter-x,
.x-trenner__letter:nth-child(2) .x-trenner__letter-c { transition-delay: 75ms; }
.x-trenner__letter:nth-child(3) .x-trenner__letter-x,
.x-trenner__letter:nth-child(3) .x-trenner__letter-c { transition-delay: 100ms; }
.x-trenner__letter:nth-child(4) .x-trenner__letter-x,
.x-trenner__letter:nth-child(4) .x-trenner__letter-c { transition-delay: 150ms; }
.x-trenner__letter:nth-child(5) .x-trenner__letter-x,
.x-trenner__letter:nth-child(5) .x-trenner__letter-c { transition-delay: 200ms; }
@media (max-width: 600px) {
  .x-trenner__grid { max-width: 360px; column-gap: 24px; row-gap: 20px; }
  .x-trenner__word { column-gap: 24px; }
}

/* === Architecture slider (1 image at a time, arrows + dots) === */
.slider {
  padding: 80px 0 64px;
  background: #fff;
}
.slider__head { text-align: center; margin-bottom: 36px; }
.slider__title { margin-top: 10px; }
.slider__viewport {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}
.slider__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #efefef;
  scroll-snap-align: start;
}
.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .slider__slide { aspect-ratio: 4 / 3; }
}
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.slider__btn svg { width: 22px; height: 22px; }
.slider__btn:hover { background: #1c1c1c; color: #fff; }
.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }
.slider__btn[disabled] { opacity: 0.35; cursor: default; }
.slider__btn[disabled]:hover { background: rgba(255,255,255,0.92); color: #1c1c1c; }
.slider__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #1c1c1c;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.slider__dot.is-active { background: #1c1c1c; }

/* === Team section (editorial line layout, mirrors original site) === */
.team-section__heading { margin-bottom: 56px; }
.team-section__heading h2 {
  margin-top: 12px;
  font-size: clamp(40px, 6vw, 72px);
}
.team-section__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid rgba(28,28,28,0.18);
  border-bottom: 1px solid rgba(28,28,28,0.18);
  position: relative;
  align-items: center;
}
.team-section__split::before {
  /* vertical hairline between info column and photo column */
  content: "";
  position: absolute;
  top: 56px;
  bottom: 56px;
  left: 50%;
  width: 1px;
  background: rgba(28,28,28,0.18);
}
@media (max-width: 768px) {
  .team-section__split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .team-section__split::before { display: none; }
}
.team-section__info {
  text-align: center;
  align-self: center;
  padding-right: 32px;
}
.team-section__name {
  font-family: 'Brown', sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(18px, 1.6vw, 22px);
  color: #1c1c1c;
  margin-bottom: 4px;
}
.team-section__role {
  font-family: 'Brown', sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 17px);
  color: #4a4a4a;
}
.team-section__photo {
  max-width: 360px;
  margin-right: auto;
  margin-left: 32px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.team-section__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .team-section__info { padding-right: 0; }
  .team-section__photo { margin-left: 0; max-width: 100%; }
}

/* === Team card === */
.team-card { text-align: left; }
.team-card__photo {
  aspect-ratio: 4 / 5;
  background: #efefef;
  overflow: hidden;
  margin-bottom: 22px;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-size: 28px; margin-bottom: 6px; }
.team-card__role { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #6b6b6b; }
.team-card__bio { color: #4a4a4a; margin-top: 12px; font-size: 14px; }

/* === Team page grid === */
.team-page__head { margin-bottom: 64px; }
.team-page__head h1 { margin-top: 16px; margin-bottom: 16px; }
.team-page__head p { color: #4a4a4a; max-width: 56ch; }
.team-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 900px) { .team-page__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-page__grid { grid-template-columns: 1fr; } }

/* === Subpage hero === */
.subpage-hero {
  padding: 140px 0 100px;
  border-bottom: 1px solid rgba(28,28,28,0.1);
  text-align: center;
}
.subpage-hero h1 { margin-top: 20px; margin-bottom: 18px; }
.subpage-hero__lead {
  max-width: 60ch;
  margin: 0 auto;
  color: #4a4a4a;
}
.subpage-hero__logo {
  max-width: 360px;
  height: auto;
  margin: 32px auto 24px;
  display: block;
}
.subpage-hero__logo--orvia {
  max-width: 360px;
}
.subpage-hero--orvia {
  background: #836a50;
  color: #f4ede0;
  border-bottom-color: rgba(244,237,224,0.18);
}
.subpage-hero--orvia .lead, .subpage-hero--orvia .subpage-hero__lead { color: #f4ede0; }
@media (max-width: 600px) {
  .subpage-hero { padding: 110px 0 70px; }
  .subpage-hero__logo { max-width: 240px; margin: 24px auto 20px; }
  .subpage-hero__logo--orvia { max-width: 240px; }
}

/* === Orvia body === */
.orvia-body__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 768px) { .orvia-body__grid { grid-template-columns: 1fr; } }
.orvia-body__text p { font-size: 17px; line-height: 1.6; color: #1c1c1c; margin-bottom: 28px; }
.orvia-body__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* === AMM === */
.amm-hero { text-align: center; padding: 140px 0 100px; border-bottom: 1px solid rgba(28,28,28,0.1); }
.amm-hero__logo {
  max-width: min(620px, 80vw);
  margin: 32px auto 16px;
  display: block;
}
@media (max-width: 600px) { .amm-hero__logo { max-width: 80vw; } }
.amm-hero__brand {
  margin-top: 16px;
  font-size: clamp(72px, 14vw, 160px);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 400;
  display: none; /* hidden by default — we use the SVG logo above; set display:block to show again */
}
.amm-hero__longname {
  font-family: freight-text-pro, serif;
  font-style: italic;
  font-size: 16px;
  color: #6b6b6b;
  margin-top: 8px;
}
.amm-hero__lead { margin: 28px auto 0; max-width: 50ch; color: #4a4a4a; }

.amm-intro { background: #f5f3ee; }
.amm-intro__text { max-width: 70ch; margin: 0 auto; font-size: 18px; line-height: 1.7; }

.amm-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) { .amm-services__grid { grid-template-columns: 1fr; } }
.amm-service { padding: 32px 28px; border: 1px solid rgba(28,28,28,0.12); background: #fff; }
.amm-service__num { font-family: freight-text-pro, serif; font-style: italic; font-size: 26px; color: #8a8a8a; margin-bottom: 14px; }
.amm-service__title { font-size: 24px; margin-bottom: 14px; }
.amm-service__text { color: #4a4a4a; font-size: 14px; line-height: 1.6; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid #1c1c1c;
  color: #1c1c1c;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: #1c1c1c; color: #fff; }
.btn--primary { background: #1c1c1c; color: #fff; }
.btn--primary:hover { background: transparent; color: #1c1c1c; }
.btn--on-dark { border-color: #fff; color: #fff; }
.btn--on-dark:hover { background: #fff; color: #1c1c1c; }

/* === Contact === */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 768px) { .contact__inner { grid-template-columns: 1fr; gap: 40px; } }
.contact__left h2 { margin-bottom: 18px; }
.contact__intro { opacity: 0.85; margin-bottom: 28px; }
.contact__mail {
  font-family: freight-text-pro, serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  display: inline-block;
}
.contact__form { display: grid; gap: 18px; }
.contact__field { display: block; }
.contact__field > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.contact__field input,
.contact__field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'Brown', sans-serif;
  font-size: 16px;
  padding: 8px 0 10px;
}
.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}
.contact__field textarea { resize: vertical; min-height: 100px; }

.sent-banner {
  margin: 0 0 32px;
  padding: 16px 22px;
  background: #f5f3ee;
  color: #1c1c1c;
  border: 1px solid #1c1c1c;
}
.sent-banner p { margin: 0; color: #1c1c1c; }
.section--dark .sent-banner p { color: #1c1c1c; }

/* === Footer === */
.site-footer {
  border-top: 1px solid rgba(28,28,28,0.1);
  padding: 32px 0;
  background: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #6b6b6b;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer__links { display: flex; gap: 28px; }
.site-footer__links a { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.2s; }
.site-footer__links a:hover { color: #1c1c1c; }

/* === Legal === */
.legal { padding: 120px 0 96px; }
.legal h1 { margin-bottom: 24px; }
.legal__content { max-width: 70ch; }
.legal__content p { margin-bottom: 16px; }
.legal__content h2 { margin: 36px 0 12px; font-size: clamp(22px, 2.6vw, 28px); }
.legal__content address { font-style: normal; margin-bottom: 16px; line-height: 1.6; }
.legal__content a { border-bottom: 1px solid currentColor; }
.legal__content a:hover { color: #e8170c; }
.legal__content ul { margin: 0 0 16px 22px; list-style: disc; }
.legal__content li { margin-bottom: 8px; }

/* === 404 === */
.error-page { padding: 160px 0; text-align: center; }
.error-page h1 { font-size: clamp(100px, 18vw, 220px); margin-bottom: 12px; }
.error-page p { color: #4a4a4a; margin-bottom: 32px; }

/* === AMM Longform + FAQ (SEO) === */
.amm-longform .legal__content { max-width: 72ch; margin: 0 auto; }
.amm-faq { background: #f5f3ee; }
.amm-faq__heading { margin: 12px 0 40px; max-width: 26ch; }
.amm-faq__list { max-width: 80ch; }
.amm-faq__item { border-top: 1px solid #ddd8cd; padding: 24px 0; }
.amm-faq__item:last-child { border-bottom: 1px solid #ddd8cd; }
.amm-faq__q { margin-bottom: 10px; letter-spacing: 0; }
.amm-faq__a { max-width: 70ch; color: #4a4a4a; }
