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

:root {
  --ink: #182a42;
  --ink-soft: #546578;
  --night: #102744;
  --night-soft: #1e3b60;
  --ivory: #f7f4ed;
  --paper: #fffdf8;
  --stone: #e8e6e1;
  --bronze: #937a5a;
  --bronze-light: #c7b08e;
  --olive: #6e7880;
  --line: rgba(24, 42, 66, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --title-leading: 1.16;
  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  color: white;
  background: var(--night);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(24, 42, 66, 0.12);
  background: rgba(255, 253, 248, 0.94);
}

.home .site-header {
  position: absolute;
  top: 0;
  color: var(--ink);
  border-color: rgba(24, 42, 66, 0.12);
  background: rgba(255, 253, 248, 0.94);
}

.nav {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__links {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.35rem, 1vh, 0.9rem);
  padding: 8rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 4rem;
  opacity: 0;
  color: var(--ink);
  background: rgba(247, 244, 237, 0.97);
  backdrop-filter: blur(18px);
  transform: translateY(-14px);
  transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
}

.menu-open .nav__links {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav__link {
  position: relative;
  padding-block: 0.2rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 260ms ease;
}

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

.brand {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 auto;
  justify-items: start;
  line-height: 1;
  text-align: left;
}

.brand__logo {
  width: clamp(9.5rem, 12vw, 11.5rem);
  height: auto;
}

.footer__brand .brand__logo {
  width: 12.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.nav__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  margin-left: auto;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav__phone svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.nav__phone:hover span {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.menu-toggle {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle span {
  transform: translate(-50%, -50%);
}

.menu-toggle::before {
  transform: translate(-50%, calc(-50% - 6px));
}

.menu-toggle::after {
  transform: translate(-50%, calc(-50% + 6px));
}

.menu-open .menu-toggle::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  color: var(--bronze);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: var(--title-leading);
}

.display em,
.section-title em {
  font-weight: 400;
}

.lining-nums,
.story__year {
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

.section-title {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: var(--title-leading);
}

main h1,
main h2,
main h3,
main blockquote,
.intro__note strong,
.page-hero__aside strong {
  font-style: italic;
}

.section-copy {
  max-width: 620px;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--night);
  color: white;
  background: var(--night);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button::after {
  content: "↗";
  font-size: 0.95rem;
  font-weight: 400;
}

.button:hover {
  color: var(--night);
  background: transparent;
}

.button--light {
  border-color: white;
  color: var(--night);
  background: white;
}

.button--light:hover {
  color: white;
  background: transparent;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: white;
  background: transparent;
}

.button--ghost:hover {
  color: var(--night);
  background: white;
}

.hero {
  position: relative;
  display: grid;
  height: 100svh;
  min-height: 650px;
  align-items: stretch;
  overflow: hidden;
  color: white;
  background: var(--night);
}

.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slides {
  background: var(--night);
}

.hero__slide {
  object-fit: cover;
  object-position: var(--position, center);
  opacity: 0;
  filter: saturate(0.72) contrast(0.96);
  transform: scale(1.018);
  transition: opacity 1.15s ease, transform 7s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 25, 48, 0.92) 0%, rgba(10, 25, 48, 0.64) 39%, rgba(10, 25, 48, 0.14) 72%),
    linear-gradient(0deg, rgba(10, 25, 48, 0.68) 0%, transparent 35%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  width: min(800px, 68vw);
  padding-top: 112px;
  padding-bottom: 88px;
}

.hero .eyebrow {
  color: #e4c59d;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
}

.hero__lead {
  max-width: 600px;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.hero__slider-controls {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 100px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hero__slider-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: white;
  background: rgba(10, 25, 48, 0.2);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero__slider-arrow:hover,
.hero__slider-arrow:focus-visible {
  border-color: white;
  color: var(--night);
  background: white;
  outline: none;
}

.hero__slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__slider-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.hero__slider-dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: white;
}

.hero__slider-dots button:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

.hero__facts {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(13, 31, 56, 0.48);
  backdrop-filter: blur(10px);
}

.hero__fact {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.hero__fact:last-child {
  border-right: 0;
}

.hero__fact span {
  color: var(--bronze-light);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.intro {
  position: relative;
  padding: clamp(6rem, 11vw, 11rem) 0;
  overflow: hidden;
}

.intro::before {
  position: absolute;
  top: 2rem;
  right: -0.06em;
  color: rgba(155, 121, 80, 0.08);
  content: "C";
  font-family: var(--serif);
  font-size: min(48vw, 42rem);
  line-height: 0.75;
  pointer-events: none;
}

.intro__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.intro__note {
  max-width: 330px;
  padding-top: 0.65rem;
  color: var(--ink-soft);
}

.intro__note strong {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
}

.brand-detail {
  padding: clamp(5rem, 9vw, 9rem) 0;
  background: #edf0f3;
}

.brand-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
}

.brand-detail__image {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: var(--night);
}

.brand-detail__image::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.brand-detail__image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.96);
  transition: transform 900ms ease;
}

.brand-detail__image:hover img {
  transform: scale(1.025);
}

.brand-detail__copy {
  max-width: 700px;
}

.text-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
}

.territory {
  position: relative;
  min-height: clamp(520px, 68vw, 760px);
  display: flex;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--night);
}

.territory__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.34) sepia(0.12) contrast(0.9) brightness(0.9);
}

.territory::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(12, 31, 57, 0.86), rgba(12, 31, 57, 0.04) 70%);
}

.territory__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: clamp(2rem, 5vw, 4.5rem);
}

.territory__content .eyebrow {
  color: var(--bronze-light);
}

.territory__content h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: var(--title-leading);
}

.territory__caption {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.services-preview {
  padding: clamp(5rem, 9vw, 9rem) 0;
  background: var(--ivory);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: rgba(24, 42, 66, 0.14);
  border: 1px solid rgba(24, 42, 66, 0.18);
}

.service-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.6rem, 3vw, 3rem);
  overflow: hidden;
  background: var(--paper);
  transition: color 300ms ease, background 300ms ease;
}

.service-card:nth-child(1),
.service-card:nth-child(5) {
  grid-column: span 8;
}

.service-card:nth-child(n + 3) {
  border-top: 1px solid rgba(24, 42, 66, 0.18);
}

.service-card--international {
  grid-column: 9 / 13;
  grid-row: 2 / 4;
  background: var(--stone);
}

.service-card::before {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(147, 122, 90, 0.12);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  color: white;
  background: var(--night-soft);
}

.service-card__icon {
  position: relative;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid rgba(147, 122, 90, 0.32);
  border-radius: 50%;
}

.service-card__icon img {
  width: 2.15rem;
  height: 2.15rem;
  opacity: 0.9;
}

.service-card:hover .service-card__icon {
  border-color: rgba(199, 176, 142, 0.72);
}

.service-card__body {
  position: relative;
  max-width: 500px;
}

.service-card h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  font-weight: 400;
  line-height: var(--title-leading);
}

.service-card p {
  max-width: 420px;
  margin: 0;
  color: var(--ink-soft);
  transition: color 300ms ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.philosophy {
  position: relative;
  padding: clamp(6rem, 11vw, 11rem) 0;
  overflow: hidden;
  color: white;
  background: var(--night);
}

.philosophy::before,
.philosophy::after {
  position: absolute;
  top: -5%;
  bottom: -5%;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.1);
}

.philosophy::before {
  left: 16%;
}

.philosophy::after {
  right: 16%;
}

.philosophy__inner {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  text-align: center;
}

.philosophy__symbol {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--bronze-light);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.philosophy blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.philosophy blockquote em {
  color: var(--bronze-light);
  font-style: italic;
}

.philosophy__eyebrow {
  color: var(--bronze-light);
}

.philosophy .section-title {
  margin-inline: auto;
}

.philosophy .section-title em {
  color: var(--bronze-light);
}

.philosophy p {
  max-width: 600px;
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.64);
}

.process {
  padding: clamp(6rem, 11vw, 11rem) 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 6vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.process-step {
  min-height: 330px;
  padding: 2.5rem 2.8rem 2.5rem 0;
  border-right: 1px solid var(--line);
}

.process-step + .process-step {
  padding-left: 2.8rem;
}

.process-step:last-child {
  border-right: 0;
}

.process-step h3 {
  margin: 2rem 0 1rem;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: var(--title-leading);
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-band {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: hidden;
  color: white;
  background: var(--bronze);
}

.contact-band::after {
  position: absolute;
  right: -2rem;
  bottom: -9rem;
  content: "24";
  color: rgba(255, 255, 255, 0.09);
  font-family: var(--serif);
  font-size: clamp(18rem, 35vw, 34rem);
  line-height: 0.7;
}

.contact-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.contact-band .section-title {
  max-width: 860px;
}

.contact-band .eyebrow {
  color: white;
}

.contact-band__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.page-hero {
  padding: clamp(7rem, 13vw, 12rem) 0 clamp(5rem, 9vw, 8rem);
  overflow: hidden;
  background: var(--ivory);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 4rem;
  align-items: end;
}

.page-hero__aside {
  max-width: 390px;
  padding-left: 2rem;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
}

.page-hero__aside strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--bronze);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.story {
  padding: clamp(6rem, 11vw, 11rem) 0;
}

.story__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 9vw, 10rem);
}

.story__year {
  position: sticky;
  top: 3rem;
  color: var(--bronze);
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 13rem);
  letter-spacing: -0.06em;
  line-height: 0.7;
}

.story__body h2 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: var(--title-leading);
}

.story__body p {
  max-width: 670px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.stats {
  display: grid;
  max-width: 520px;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 4rem;
}

.stat {
  padding: 0;
}

.stat + .stat {
  padding-left: 0;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.values {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background: var(--night);
  color: white;
}

.values .eyebrow {
  color: var(--bronze-light);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.value-card {
  min-height: 390px;
  padding: 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.value-card:last-child {
  border-right: 0;
}

.value-card__mark {
  color: var(--bronze-light);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.value-card h3 {
  margin: 6rem 0 1rem;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: var(--title-leading);
}

.value-card p {
  color: rgba(255, 255, 255, 0.62);
}

.family-note {
  padding: clamp(6rem, 11vw, 11rem) 0;
}

.photo-gallery {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background: var(--ivory);
}

.photo-gallery__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.photo-gallery__head > p {
  max-width: 420px;
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
}

.photo-gallery__grid {
  columns: 4 250px;
  column-gap: 1rem;
}

.photo-gallery__item {
  position: relative;
  display: block;
  margin: 0 0 1rem;
  overflow: hidden;
  break-inside: avoid;
  background: var(--stone);
}

.photo-gallery__item::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 50px rgba(16, 39, 68, 0.08);
  pointer-events: none;
}

.photo-gallery__item img {
  width: 100%;
  height: auto;
  filter: saturate(0.78) contrast(0.96);
  transition: transform 650ms ease, filter 650ms ease;
}

.photo-gallery__item:hover img,
.photo-gallery__item:focus-visible img {
  transform: scale(1.025);
  filter: saturate(0.9) contrast(0.98);
}

.family-note__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
}

.family-note__image {
  margin: 0;
  min-height: 640px;
  overflow: hidden;
  background: var(--stone);
}

.family-note__image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.62) contrast(0.96);
}

.family-note__copy p {
  color: var(--ink-soft);
}

.service-list {
  padding: clamp(5rem, 9vw, 9rem) 0 clamp(7rem, 12vw, 12rem);
}

.service-visual {
  padding: clamp(1rem, 3vw, 3rem) 0 clamp(5rem, 9vw, 9rem);
  background: var(--paper);
}

.service-visual__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}

.service-visual__item {
  position: relative;
  height: 560px;
  margin: 7rem 0 0;
  overflow: hidden;
  background: var(--night);
}

.service-visual__item--primary {
  height: 690px;
  margin-top: 0;
}

.service-visual__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(0.96);
}

.service-visual__item figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.9rem 1rem;
  color: white;
  background: rgba(16, 39, 68, 0.82);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.16fr 0.84fr 1fr;
  gap: 2rem;
  padding: 3.3rem 0;
  border-top: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail__icon {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  align-self: start;
  border: 1px solid rgba(147, 122, 90, 0.34);
  border-radius: 50%;
}

.service-detail__icon img {
  width: 2.3rem;
  height: 2.3rem;
}

.service-detail h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: var(--title-leading);
}

.service-detail p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
}

.service-detail ul {
  display: grid;
  gap: 0.5rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.service-detail li::before {
  margin-right: 0.7rem;
  color: var(--bronze);
  content: "—";
}

.contact-page {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-column {
  border-top: 1px solid var(--line);
}

.contact-card {
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-card__label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--bronze);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card address,
.contact-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-style: normal;
  line-height: 1.2;
}

.contact-card a:hover {
  color: var(--bronze);
}

.contact-map {
  min-height: 420px;
  margin-top: 2rem;
  overflow: hidden;
  background: var(--stone);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.68) contrast(0.94);
}

.location-strip {
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: white;
  background: var(--night);
}

.location-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.location-strip h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  line-height: var(--title-leading);
}

.location-strip p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.62);
}

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

.necrologi-page {
  min-height: calc(100vh - 300px);
  background: var(--ivory);
}

.necrologi-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  color: white;
  background:
    radial-gradient(circle at 82% 10%, rgba(199, 176, 142, 0.2), transparent 30%),
    linear-gradient(125deg, #0b1d36, var(--night-soft));
}

.necrologi-hero__inner {
  max-width: 780px;
  margin-left: max(var(--gutter), calc((100% - var(--max)) / 2));
}

.necrologi-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--bronze-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.necrologi-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: 0.95;
}

.necrologi-hero p:last-child {
  max-width: 610px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.necrologi-list-shell {
  display: grid;
  min-height: 28rem;
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
}

.necrologi-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.necrologi-search {
  position: relative;
  display: block;
  width: min(100%, 430px);
}

.necrologi-search svg {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--ink-soft);
  stroke-linecap: round;
  stroke-width: 1.6;
}

.necrologi-search input {
  width: 100%;
  height: 50px;
  padding: 0 1rem 0 3rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
}

.necrologi-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.necrologi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.necrologio-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(16, 39, 68, 0.06);
}

.necrologio-card__link {
  display: grid;
  grid-template-columns: minmax(210px, 44%) 1fr;
  height: 100%;
  min-height: 275px;
}

.necrologio-card__visual {
  display: grid;
  overflow: hidden;
  place-items: center;
  padding: 0.75rem;
  border-right: 1px solid var(--line);
  background: #eeece6;
}

.necrologio-card__visual img {
  width: 100%;
  height: 100%;
  filter: grayscale(1);
  object-fit: contain;
  transition: filter 360ms ease, transform 360ms ease;
}

.necrologio-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
}

.necrologio-card__place {
  margin: 0 0 0.5rem;
  color: var(--bronze);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.necrologio-card__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  font-weight: 500;
  line-height: 0.98;
}

.necrologio-card__details {
  margin-top: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.necrologio-card__details p {
  margin: 0.15rem 0;
}

.necrologio-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.35rem;
  color: var(--night);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.necrologio-card__cta span {
  transition: transform 220ms ease;
}

.necrologio-card__link:hover .necrologio-card__visual img,
.necrologio-card__link:focus-visible .necrologio-card__visual img {
  filter: grayscale(0);
  transform: scale(1.025);
}

.necrologio-card__link:hover .necrologio-card__cta span {
  transform: translateX(4px);
}

.necrologi-status {
  align-self: center;
  justify-self: center;
  max-width: 34rem;
  padding: 4rem 1.5rem;
  color: var(--ink-soft);
  text-align: center;
}

.necrologi-status a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.annuncio-page {
  min-height: 70vh;
  padding: clamp(2.25rem, 5vw, 5rem) 0 clamp(5rem, 8vw, 8rem);
  background: var(--ivory);
}

.annuncio-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.annuncio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5.5rem);
}

.annuncio-heading {
  margin-bottom: 1.6rem;
}

.annuncio-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.annuncio-heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.annuncio-poster {
  margin: 0;
  padding: clamp(0.65rem, 1.5vw, 1rem);
  border: 1px solid var(--line);
  background: #eeece6;
  box-shadow: 0 24px 60px rgba(16, 39, 68, 0.08);
}

.annuncio-poster img {
  width: 100%;
  height: auto;
}

.annuncio-share {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  padding: 1.45rem 1rem 0;
  text-align: center;
}

.annuncio-share > p:first-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.annuncio-share__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.annuncio-share__button {
  display: inline-grid;
  width: 43px;
  height: 43px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(16, 39, 68, 0.24);
  border-radius: 50%;
  color: var(--night);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.annuncio-share__button:hover,
.annuncio-share__button:focus-visible {
  border-color: var(--night);
  color: white;
  background: var(--night);
  transform: translateY(-2px);
}

.annuncio-share__button:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.annuncio-share__button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}

.annuncio-share__button[data-share-instagram] svg,
.annuncio-share__button[data-share-email] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.annuncio-share__button[data-share-instagram] .annuncio-share__dot {
  fill: currentColor;
  stroke: none;
}

.annuncio-share__button[data-share-whatsapp] svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.annuncio-share__status {
  min-height: 1.2em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.annuncio-share__status:empty {
  display: none;
}

.annuncio-actions {
  position: sticky;
  top: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.7rem);
  border-top: 3px solid var(--bronze);
  background: white;
  box-shadow: 0 24px 65px rgba(16, 39, 68, 0.09);
}

.annuncio-actions > h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
}

.annuncio-actions__intro,
.annuncio-form-copy {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.annuncio-actions__intro {
  margin: 0.8rem 0 1.7rem;
}

.annuncio-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.7rem;
  border-bottom: 1px solid var(--line);
}

.annuncio-tabs button {
  padding: 0.8rem 0.45rem;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.annuncio-tabs button[aria-selected="true"] {
  border-bottom-color: var(--bronze);
  color: var(--night);
}

.annuncio-form-copy {
  margin: 0 0 1.25rem;
}

.annuncio-form {
  display: grid;
  gap: 1rem;
}

.annuncio-form label:not(.annuncio-check) {
  display: grid;
  gap: 0.35rem;
}

.annuncio-form label > span,
.annuncio-upload > span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.annuncio-form input,
.annuncio-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 42, 66, 0.23);
  border-radius: 0;
  color: var(--ink);
  background: #fffefa;
}

.annuncio-form input {
  min-height: 46px;
  padding: 0.7rem 0.8rem;
}

.annuncio-form textarea {
  resize: vertical;
  padding: 0.8rem;
}

.annuncio-form input:focus,
.annuncio-form textarea:focus {
  border-color: var(--bronze);
  outline: 1px solid var(--bronze);
}

.annuncio-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.annuncio-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.7rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.annuncio-check input {
  width: 17px;
  min-height: 17px;
  margin-top: 0.18rem;
  accent-color: var(--night);
}

.annuncio-check span,
.annuncio-upload small {
  font-size: 0.67rem;
  line-height: 1.55;
}

.annuncio-upload input[type="file"] {
  min-height: auto;
  padding: 0.8rem;
  background: var(--ivory);
}

.annuncio-upload small {
  color: var(--ink-soft);
}

.annuncio-submit {
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--night);
  color: white;
  background: var(--night);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.annuncio-submit:hover {
  color: var(--night);
  background: transparent;
}

.annuncio-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.annuncio-form-status {
  min-height: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.annuncio-form-status:empty {
  display: none;
}

.annuncio-form-status.is-error {
  color: #a52f2f;
}

.annuncio-form-status.is-success {
  color: #2f6a4b;
}

.annuncio-otp {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.annuncio-otp h3,
.annuncio-otp p {
  margin: 0;
}

.cordogli-section {
  margin-top: clamp(4.5rem, 8vw, 8rem);
  padding-top: clamp(3.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}

.foto-ricordo-section {
  margin-top: clamp(4.5rem, 8vw, 8rem);
  padding-top: clamp(3.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}

.foto-ricordo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.foto-ricordo-card {
  margin: 0;
}

.foto-ricordo-card__link {
  display: grid;
  height: 100%;
  align-content: start;
  border: 1px solid var(--line);
  color: var(--night);
  background: white;
  box-shadow: 0 18px 45px rgba(16, 39, 68, 0.06);
}

.foto-ricordo-card__link:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}

.foto-ricordo-card__media {
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  background: rgba(16, 39, 68, 0.045);
}

.foto-ricordo-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.foto-ricordo-card__link:hover img,
.foto-ricordo-card__link:focus-visible img {
  transform: scale(1.025);
}

.foto-ricordo-card figcaption {
  padding: 1rem 1.1rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.foto-ricordo-card__fallback {
  max-width: 18rem;
  padding: 2rem;
  color: var(--ink-soft);
  text-align: center;
}

.foto-ricordo-status {
  padding: 2.5rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.cordogli-section__heading {
  max-width: 680px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.cordogli-section__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.cordogli-section__heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.cordogli-status {
  padding: 2.5rem;
  color: var(--ink-soft);
  text-align: center;
}

.cordogli-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.cordoglio-card {
  position: relative;
  min-height: 220px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-top: 2px solid var(--bronze);
  background: white;
  box-shadow: 0 18px 45px rgba(16, 39, 68, 0.06);
}

.cordoglio-card::before {
  position: absolute;
  top: 0.7rem;
  right: 1.2rem;
  color: rgba(147, 122, 90, 0.16);
  content: "“";
  font-family: var(--serif);
  font-size: 5.5rem;
  line-height: 1;
}

.cordoglio-card__name {
  position: relative;
  margin: 0;
  padding-right: 3rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.1;
}

.cordoglio-card__date {
  margin: 0.4rem 0 1.35rem;
  color: var(--bronze);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cordoglio-card__text {
  position: relative;
  margin: 0;
  color: var(--ink-soft);
  white-space: pre-line;
}

.cordogli-empty {
  display: grid;
  min-height: 230px;
  place-items: center;
  align-content: center;
  gap: 1.1rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.cordogli-empty p {
  margin: 0;
  color: var(--ink-soft);
}

.cordogli-empty a {
  display: inline-flex;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--bronze);
  color: var(--night);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1160px) {
  .necrologio-card__link {
    grid-template-columns: minmax(200px, 44%) 1fr;
  }

  .annuncio-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .necrologi-list,
  .cordogli-list,
  .foto-ricordo-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .annuncio-layout {
    grid-template-columns: 1fr;
  }

  .annuncio-actions {
    position: static;
  }
}

@media (max-width: 680px) {
  .necrologi-hero__inner {
    margin-inline: auto;
  }

  .necrologi-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }

  .necrologi-search {
    width: 100%;
  }

  .necrologio-card__link {
    grid-template-columns: 1fr;
  }

  .necrologio-card__visual {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .necrologio-card__body {
    min-height: 245px;
  }

  .annuncio-heading h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .annuncio-actions {
    padding: 1.35rem;
  }

  .annuncio-tabs,
  .annuncio-form__row {
    grid-template-columns: 1fr;
  }

  .annuncio-tabs button {
    border: 1px solid var(--line);
  }

  .annuncio-tabs button + button {
    border-top: 0;
  }

  .annuncio-tabs button[aria-selected="true"] {
    border-color: var(--bronze);
  }
}

.site-footer {
  padding: 5rem 0 2rem;
  color: white;
  background: #0b1d36;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer__brand .brand {
  justify-items: start;
  text-align: left;
}

.footer__brand p {
  display: none;
  max-width: 380px;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer__title {
  margin: 0 0 1.4rem;
  color: var(--bronze-light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer__links a:hover {
  color: white;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 920px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 100px;
  }

  .nav > .brand {
    justify-self: start;
  }

  .nav > .brand,
  .nav__actions {
    position: relative;
    z-index: 2;
  }

  .nav__actions {
    justify-self: end;
  }

  .nav__links {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .nav__link {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .hero__content {
    width: min(720px, 90vw);
  }

  .intro__grid,
  .brand-detail__grid,
  .story__grid,
  .contact-layout,
  .family-note__grid {
    grid-template-columns: 1fr;
  }

  .brand-detail__image,
  .brand-detail__image img {
    min-height: 540px;
  }

  .photo-gallery__head {
    grid-template-columns: 1fr;
  }

  .photo-gallery__grid {
    columns: 2 260px;
  }

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

  .service-visual__item,
  .service-visual__item--primary {
    height: 560px;
    margin-top: 0;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(5),
  .service-card--international {
    grid-column: span 6;
    grid-row: auto;
  }

  .page-hero__grid,
  .contact-band__inner,
  .location-strip__grid,
  .territory__content {
    grid-template-columns: 1fr;
  }

  .territory__content {
    display: grid;
  }

  .page-hero__aside {
    max-width: 620px;
  }

  .story__year {
    position: static;
  }

  .family-note__image,
  .family-note__image img {
    min-height: 480px;
    height: 480px;
  }

  .service-detail {
    grid-template-columns: 0.15fr 0.85fr;
  }

  .service-detail > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .brand__logo {
    width: 8.2rem;
  }

  .nav {
    min-height: 90px;
    gap: 0.75rem;
  }

  .nav__actions {
    gap: 0.6rem;
  }

  .nav__phone {
    gap: 0.35rem;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .nav__phone svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    height: 100svh;
    min-height: 720px;
  }

  .hero__slide {
    object-position: var(--position-mobile, var(--position, center));
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(10, 25, 48, 0.9), rgba(10, 25, 48, 0.46)),
      linear-gradient(0deg, rgba(10, 25, 48, 0.87), transparent 50%);
  }

  .hero__content {
    width: 100%;
    padding-top: 90px;
    padding-bottom: 160px;
  }

  .hero__slider-controls {
    right: var(--gutter);
    bottom: 168px;
    gap: 0.65rem;
  }

  .hero__slider-arrow {
    width: 34px;
    height: 34px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .hero__fact {
    min-height: 48px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero__fact:last-child {
    border-bottom: 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-detail__image,
  .brand-detail__image img {
    min-height: 480px;
  }

  .photo-gallery__grid {
    columns: 1;
  }

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

  .service-visual__item,
  .service-visual__item--primary {
    height: 520px;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(5),
  .service-card--international {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 330px;
  }

  .service-card:nth-child(2) {
    border-top: 1px solid rgba(24, 42, 66, 0.18);
  }

  .process-grid,
  .value-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step + .process-step,
  .value-card,
  .stat,
  .stat + .stat {
    min-height: auto;
    padding: 2rem 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-card {
    border-color: rgba(255, 255, 255, 0.18);
  }

  .process-step h3,
  .value-card h3 {
    margin-top: 2.5rem;
  }

  .page-hero {
    padding-top: 6rem;
  }

  .page-hero__aside {
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-detail > div:last-child {
    grid-column: 1;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 340px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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