:root {
  --ivory: #f7f3ed;
  --cream: #eee6db;
  --white: #fffdf9;
  --ink: #241a16;
  --muted: #72665f;
  --terracotta: #b75f3e;
  --terracotta-dark: #91462e;
  --sage: #6f8063;
  --line: rgba(36, 26, 22, 0.14);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  backdrop-filter: none;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  padding: 14px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, min-height 0.3s ease;
}

.site-header.is-scrolled {
  min-height: 74px;
  background: rgba(247, 243, 237, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: max-content;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.brand small {
  margin-top: 5px;
  color: var(--terracotta);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
}

.main-nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--terracotta);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--terracotta);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  min-height: 100svh;
  padding: 132px clamp(24px, 5vw, 80px) 64px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: -18%;
  left: -8%;
  z-index: 0;
  width: clamp(340px, 42vw, 620px);
  height: clamp(340px, 42vw, 620px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 95, 62, 0.14), rgba(111, 128, 99, 0.08) 55%, transparent 72%);
  content: "";
  pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite;
}

.hero::after {
  position: absolute;
  right: -6%;
  bottom: -22%;
  z-index: 0;
  width: clamp(300px, 36vw, 540px);
  height: clamp(300px, 36vw, 540px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 128, 99, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
  animation: heroGlow 14s ease-in-out infinite reverse;
}

@keyframes heroGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, 18px) scale(1.08);
  }
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px clamp(28px, 6vw, 100px) 40px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
  animation: eyebrowPulse 3.2s ease-in-out infinite;
}

@keyframes eyebrowPulse {
  0%,
  100% {
    width: 30px;
    opacity: 1;
  }
  50% {
    width: 48px;
    opacity: 0.55;
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(64px, 7.4vw, 118px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.hero h1 em,
.manifesto h2 em,
.quote-section em,
.contact h2 em {
  color: var(--terracotta);
  font-weight: 400;
}

.hero-rotator .rotator-primary,
.hero-rotator .rotator-secondary {
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-rotator .rotator-secondary {
  transition-delay: 0.08s;
}

.hero-rotator.is-fading .rotator-primary,
.hero-rotator.is-fading .rotator-secondary {
  opacity: 0;
  transform: translateY(16px);
}

/* Single-word rotators (manifesto, contact) */
[data-rotator-manifesto],
[data-rotator-contact] {
  display: inline-block;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-rotator-manifesto].is-fading,
[data-rotator-contact].is-fading {
  opacity: 0;
  transform: translateY(14px);
}

/* Quote rotator */
.quote-rotator .quote-primary,
.quote-rotator .quote-secondary {
  display: inline-block;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.quote-rotator .quote-secondary {
  transition-delay: 0.1s;
}

.quote-rotator.is-fading .quote-primary,
.quote-rotator.is-fading .quote-secondary {
  opacity: 0;
  transform: translateY(14px);
}

.hero-intro {
  max-width: 520px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 56px;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.button::after {
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  content: "";
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.button:hover::after,
.button:focus-visible::after {
  left: 135%;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button-primary {
  background: var(--terracotta);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--terracotta-dark);
  box-shadow: 0 14px 34px rgba(183, 95, 62, 0.35);
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 48px;
}

.hero-note-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sage);
  animation: sparkleSpin 6s ease-in-out infinite;
}

@keyframes sparkleSpin {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    color: var(--sage);
  }
  50% {
    transform: rotate(180deg) scale(1.12);
    color: var(--terracotta);
  }
}

.hero-note p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.hero-note strong {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-carousel {
  position: absolute;
  inset: 0 0 52px 42px;
  overflow: hidden;
  border-radius: 240px 240px 6px 6px;
}

.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.45, 0, 0.15, 1);
  will-change: transform;
}

.hero-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  filter: saturate(1.08) contrast(1.03) brightness(1.01);
}

.hero-carousel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(29, 17, 12, 0.34));
  content: "";
  pointer-events: none;
}

.hero-carousel-prev,
.hero-carousel-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.85);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
  backdrop-filter: blur(6px);
}

.hero-carousel:hover .hero-carousel-prev,
.hero-carousel:hover .hero-carousel-next,
.hero-carousel-prev:focus-visible,
.hero-carousel-next:focus-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
  background: var(--white);
}

.hero-carousel-prev {
  left: 18px;
}

.hero-carousel-next {
  right: 18px;
}

.hero-carousel-prev svg,
.hero-carousel-next svg {
  width: 22px;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.5);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.hero-carousel-dots button.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--white);
}

.hero-seal {
  position: absolute;
  top: 50px;
  left: 0;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(53, 33, 24, 0.12);
  animation: sealFloat 5s ease-in-out infinite;
}

@keyframes sealFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

.hero-seal span {
  position: absolute;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateY(34px);
}

.hero-seal strong {
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  transform: translateY(-6px);
}

.hero-location {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 270px;
  padding: 20px 24px;
  background: var(--sage);
  color: var(--white);
}

.hero-location svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.hero-location p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.hero-location span {
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.72;
  text-transform: uppercase;
}

.hero-location strong {
  font-size: 14px;
  font-weight: 500;
}

.manifesto {
  padding: clamp(90px, 12vw, 180px) clamp(24px, 10vw, 160px);
  text-align: center;
}

.manifesto .eyebrow {
  justify-content: center;
}

.manifesto h2 {
  max-width: 1120px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 94px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.manifesto h2 em {
  display: block;
}

.manifesto-line {
  width: 1px;
  height: 80px;
  margin: 60px auto -180px;
  background: var(--line);
}

.section {
  padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 110px);
}

.services {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 72px;
}

.section-heading h2,
.experience h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 5.5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.section-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), #d99372, var(--sage));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--cream);
}

.service-card-featured {
  background: var(--terracotta);
  color: var(--white);
}

.service-card-featured:hover {
  background: var(--terracotta-dark);
}

.service-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: currentColor;
  font-size: 10px;
  letter-spacing: 0.15em;
  opacity: 0.5;
}

.service-icon {
  width: 52px;
  margin-bottom: 50px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  transition: transform 0.4s ease, color 0.4s ease;
}

.service-card:hover .service-icon {
  color: var(--terracotta);
  transform: translateY(-8px) scale(1.08);
}

.service-card-featured:hover .service-icon {
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.service-card p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.experience {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 850px;
  background: var(--cream);
}

.experience-image {
  position: relative;
  min-height: 680px;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.experience-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(30, 18, 13, 0.45));
  content: "";
}

.experience-image > span {
  position: absolute;
  bottom: 38px;
  left: 42px;
  z-index: 1;
  color: var(--white);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}

.experience-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 130px);
}

.experience-lead {
  max-width: 520px;
  margin: 30px 0 34px;
  color: var(--muted);
  line-height: 1.8;
}

.experience-list {
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}

.experience-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.experience-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.experience-list li > span {
  color: var(--terracotta);
  font-family: var(--serif);
}

.experience-list strong {
  font-size: 14px;
  font-weight: 600;
}

.experience-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.button-outline {
  align-self: flex-start;
  border-color: var(--ink);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.gallery {
  background: var(--ivory);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 240px;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.gallery-item-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item::after {
  position: absolute;
  inset: 32% 0 0;
  background: linear-gradient(transparent, rgba(28, 17, 12, 0.78));
  content: "";
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
}

.gallery-item figcaption span {
  padding-top: 6px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.gallery-item figcaption div {
  max-width: 390px;
}

.gallery-item figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.gallery-item:hover figcaption strong {
  color: #f0c9a8;
}

.gallery-item figcaption small {
  display: block;
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.82;
}

.quote-section {
  padding: clamp(90px, 12vw, 170px) 24px;
  overflow: hidden;
  background: linear-gradient(
    130deg,
    var(--sage),
    #5d7355 30%,
    #8a6a4e 65%,
    var(--terracotta-dark) 100%
  );
  background-size: 280% 280%;
  color: var(--white);
  text-align: center;
  animation: gradientFlow 16s ease-in-out infinite;
}

@keyframes gradientFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.quote-mark {
  height: 76px;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--serif);
  font-size: 170px;
  line-height: 1;
}

.quote-section blockquote {
  max-width: 1000px;
  margin: 24px auto 34px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.quote-section em {
  color: #ead6c5;
}

.quote-section > p {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.28em;
  opacity: 0.65;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(60px, 10vw, 160px);
  padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 110px);
  background: linear-gradient(150deg, var(--ink) 0%, #33241c 45%, #241a16 70%, #1c120e 100%);
  background-size: 220% 220%;
  color: var(--white);
  animation: contactShade 18s ease-in-out infinite;
}

@keyframes contactShade {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

.contact .eyebrow {
  color: #d99372;
}

.contact h2 {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(64px, 7.5vw, 106px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.8;
}

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

.button-light:hover,
.button-light:focus-visible {
  background: #ead6c5;
}

.contact-details {
  align-self: center;
}

.contact-card {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card > span {
  display: block;
  margin-bottom: 10px;
  color: #d99372;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-card p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card > a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 28px clamp(24px, 5vw, 80px);
  background: #17100d;
  color: rgba(255, 255, 255, 0.48);
}

.brand-light strong {
  color: var(--white);
}

.site-footer > p {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer > p:last-child {
  justify-self: end;
}

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

.reveal-delay {
  transition-delay: 0.14s;
}

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

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--ivory);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .main-nav.is-open {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    font-family: var(--serif);
    font-size: 38px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 10px 7px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    height: 1px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

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

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

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hero-copy {
    min-height: 630px;
  }

  .hero-visual {
    min-height: 760px;
  }

  .hero-carousel {
    left: 80px;
  }

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

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

  .experience-image {
    min-height: 700px;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 700px) {
  .site-header {
    min-height: 74px;
    padding: 10px 20px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding: 110px 20px 70px;
  }

  .hero-copy {
    min-height: auto;
    padding: 20px 0 60px;
  }

  .hero h1 {
    font-size: clamp(56px, 18vw, 84px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-note {
    margin-top: 45px;
    padding-top: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-carousel {
    inset: 0 0 44px 20px;
    border-radius: 160px 160px 4px 4px;
  }

  .hero-carousel-prev,
  .hero-carousel-next {
    width: 38px;
    height: 38px;
  }

  .hero-seal {
    top: 32px;
    width: 88px;
    height: 88px;
  }

  .hero-seal strong {
    font-size: 31px;
  }

  .hero-seal span {
    font-size: 6px;
    transform: translateY(27px);
  }

  .hero-location {
    min-width: 235px;
    padding: 15px 18px;
  }

  .manifesto {
    padding: 100px 20px;
  }

  .manifesto-line {
    display: none;
  }

  .section {
    padding: 90px 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 48px;
  }

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

  .service-card {
    min-height: 290px;
    padding: 32px;
  }

  .experience-image {
    min-height: 500px;
  }

  .experience-copy {
    padding: 80px 20px;
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
  }

  .gallery-item,
  .gallery-item-featured,
  .gallery-item-tall,
  .gallery-item-wide {
    height: 420px;
  }

  .gallery-item figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .contact {
    padding: 90px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer > p:last-child {
    justify-self: start;
  }
}

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

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

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

/* === Service card link === */
.service-card {
  cursor: pointer;
}

.service-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.service-card:hover .service-link {
  opacity: 1;
}

/* === Booking form === */
.booking {
  background: var(--white);
}

.booking-form {
  max-width: 760px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.booking-submit {
  margin-top: 8px;
  min-width: 260px;
}

.booking-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.booking-note span {
  color: var(--sage);
}

.booking-note strong {
  color: var(--ink);
}

/* === Service detail pages === */
.service-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100svh;
  padding: 132px clamp(24px, 5vw, 80px) 64px;
  overflow: hidden;
}

.service-back {
  position: absolute;
  top: 110px;
  left: clamp(24px, 5vw, 80px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.service-back:hover {
  color: var(--terracotta);
}

.service-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(20px, 4vw, 60px);
}

.service-hero h1 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.service-hero-lead {
  max-width: 480px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
}

.service-hero-image {
  position: relative;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 240px 240px 6px 6px;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03) brightness(1.01);
}

.service-hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(29, 17, 12, 0.3));
  content: "";
}

.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  background: var(--cream);
}

.service-detail-copy h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.service-detail-copy h2 em {
  display: block;
  color: var(--terracotta);
}

.service-detail-copy > p {
  max-width: 520px;
  margin: 0 0 32px;
  color: var(--muted);
  line-height: 1.8;
}

.service-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

.service-benefits span {
  color: var(--terracotta);
  font-size: 12px;
}

.service-detail-image {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 6px 240px 6px 240px;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.service-cta {
  padding: clamp(90px, 12vw, 160px) 24px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.service-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.service-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* === Responsive: booking + service pages === */
@media (max-width: 1050px) {
  .service-hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    gap: 40px;
  }

  .service-hero-content {
    padding-right: 0;
  }

  .service-hero-image {
    min-height: 420px;
  }

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

  .service-detail-image {
    min-height: 400px;
  }
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-field {
    margin-bottom: 28px;
  }

  .form-row .form-field:last-child {
    margin-bottom: 0;
  }

  .booking-submit {
    min-width: 100%;
  }

  .service-hero {
    padding: 110px 20px 60px;
  }

  .service-back {
    top: 90px;
    left: 20px;
  }

  .service-hero-image {
    min-height: 340px;
    border-radius: 160px 160px 4px 4px;
  }

  .service-detail {
    padding: 80px 20px;
  }

  .service-detail-image {
    min-height: 320px;
    border-radius: 4px 160px 4px 160px;
  }

  .service-cta {
    padding: 80px 20px;
  }
}

/* === Gallery clickable + lightbox === */
.gallery-item {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 16, 13, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: min(88vw, 1200px);
  max-height: 86vh;
  margin: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 4px;
  transition: opacity 0.25s ease;
}

.lightbox-caption {
  max-width: 640px;
  color: rgba(255, 253, 249, 0.72);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  display: grid;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 253, 249, 0.25);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 22px;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  margin: 0;
  color: rgba(255, 253, 249, 0.6);
  font-size: 11px;
  letter-spacing: 0.14em;
  transform: translateX(-50%);
}

@media (max-width: 700px) {
  .lightbox-figure {
    max-width: 94vw;
    max-height: 80vh;
  }

  .lightbox-figure img {
    max-height: 68vh;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    background: rgba(255, 253, 249, 0.2);
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}
