/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  --beige:       #DDD0C8;
  --charcoal:    #1C1C1C;
  --off-white:   #F5F0EB;
  --warm-brown:  #8C7B6E;
  --white:       #FDFAF7;
  --mid:         #5A524C;

  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 4.5rem;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--off-white);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ================================================================
   CUSTOM CURSOR
   ================================================================ */
.cursor {
  position: fixed;
  top: -7px;
  left: -7px;
  width: 14px;
  height: 14px;
  background: var(--charcoal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform;
  transition: width 0.35s var(--ease-out-expo),
              height 0.35s var(--ease-out-expo),
              background 0.35s ease,
              border 0.35s ease,
              top 0.35s var(--ease-out-expo),
              left 0.35s var(--ease-out-expo);
  mix-blend-mode: multiply;
}

.cursor--hover {
  top: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--charcoal);
  mix-blend-mode: normal;
}

@media (pointer: coarse) {
  .cursor { display: none; }
}

/* ================================================================
   UTILITIES
   ================================================================ */
.container {
  width: min(1020px, 100% - 5rem);
  margin-inline: auto;
}

@media (max-width: 600px) {
  .container { width: min(1020px, 100% - 2.75rem); }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-brown);
  margin-bottom: 1.5rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--warm-brown);
  flex-shrink: 0;
}

.section-tag--light {
  color: var(--beige);
}
.section-tag--light::before {
  background: var(--beige);
  opacity: 0.5;
}

/* Reveal lines */
.rline {
  display: block;
  overflow: hidden;
}

.rline__i {
  display: block;
  will-change: transform;
}

/* JS sets initial hidden state — so content shows if JS fails */
.js-ready .rline__i { transform: translateY(105%); }

/* Generic animation hooks — add data-hero-fade to hero elements and
   data-reveal to anything that should fade in on scroll */
.js-ready [data-hero-fade] { opacity: 0; transform: translateY(20px); }
.js-ready [data-reveal]    { opacity: 0; transform: translateY(24px); }

.rline__i--serif {
  font-family: var(--font-serif);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.875rem 1.875rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out-expo),
              box-shadow 0.25s ease,
              background 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--nav {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn--nav:hover { background: var(--charcoal); color: var(--white); }

.btn--dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn--dark:hover { box-shadow: 0 8px 30px rgba(28,28,28,0.28); }

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(28,28,28,0.3);
}
.btn--outline:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn--warm {
  background: var(--warm-brown);
  color: var(--white);
  border-color: var(--warm-brown);
}
.btn--warm:hover { box-shadow: 0 8px 30px rgba(140,123,110,0.4); background: #7a6a5e; border-color: #7a6a5e; }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(253,250,247,0.3);
}
.btn--outline-light:hover {
  background: rgba(253,250,247,0.1);
  border-color: rgba(253,250,247,0.7);
}

.btn--ghost-light {
  background: transparent;
  color: rgba(253,250,247,0.6);
  border-color: transparent;
}
.btn--ghost-light:hover { color: var(--white); }

.btn--lg {
  padding: 1.125rem 2.25rem;
  font-size: 1rem;
}

.btn__icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background: rgba(245,240,235,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(28,28,28,0.06);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-right: auto;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--mid);
  position: relative;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  inset-block-end: -3px;
  inset-inline: 0;
  height: 1px;
  background: var(--warm-brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav__links a:hover { color: var(--charcoal); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  width: 2rem;
  height: 2rem;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.2s ease, width 0.3s ease;
}

.nav__burger span:nth-child(3) { width: 65%; }

.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); width: 100%; }

/* ================================================================
   MOBILE MENU
   ================================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--nav-h) clamp(1.5rem, 6vw, 4rem) 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: auto;
  padding-top: 2rem;
}

.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--charcoal);
  line-height: 1.2;
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: color 0.2s ease,
              opacity 0.4s var(--ease-out-expo),
              transform 0.5s var(--ease-out-expo);
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.08s + var(--i, 0) * 0.06s);
}

.mobile-menu__nav a:hover { color: var(--warm-brown); }

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(28,28,28,0.1);
  width: 100%;
}

.mobile-menu__footer a {
  font-size: 0.9375rem;
  color: var(--mid);
  transition: color 0.2s ease;
}

.mobile-menu__footer a:hover { color: var(--charcoal); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 3rem) 5rem;
  overflow: hidden;
}

/* Animated blobs */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.blob--1 {
  width: clamp(300px, 38vw, 560px);
  height: clamp(300px, 38vw, 560px);
  background: radial-gradient(circle, rgba(221,208,200,0.4) 0%, transparent 65%);
  top: -10%;
  right: -5%;
  animation: blobFloat1 22s ease-in-out infinite;
}

.blob--2 {
  width: clamp(180px, 24vw, 360px);
  height: clamp(180px, 24vw, 360px);
  background: radial-gradient(circle, rgba(140,123,110,0.09) 0%, transparent 65%);
  bottom: 8%;
  left: -4%;
  animation: blobFloat2 28s ease-in-out infinite;
}

.blob--3 {
  width: clamp(120px, 16vw, 240px);
  height: clamp(120px, 16vw, 240px);
  background: radial-gradient(circle, rgba(221,208,200,0.25) 0%, transparent 65%);
  top: 40%;
  left: 20%;
  animation: blobFloat3 18s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-40px, 30px) scale(1.06); }
  66%       { transform: translate(25px, -35px) scale(0.95); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(50px, -40px) scale(1.08); }
  70%       { transform: translate(-20px, 20px) scale(0.97); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%       { transform: translate(30px, 50px) scale(1.12) rotate(15deg); }
}

/* Hero layout — capped slightly narrower than other sections
   so the headline and photo sit closer together on wide screens */
.hero .container { max-width: 940px; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-brown);
  margin-bottom: 1.75rem;
  will-change: transform, opacity;
}

.eyebrow__line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--warm-brown);
  flex-shrink: 0;
}

.hero__headline {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.hero__headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--warm-brown);
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--mid);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
  will-change: transform, opacity;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  will-change: transform, opacity;
}

/* Photo */
.hero__photo-wrap {
  position: relative;
  justify-self: end;
  will-change: transform, opacity;
}
.js-ready .hero__photo-wrap { opacity: 0; transform: translateX(40px); }

.hero__photo-deco {
  position: absolute;
  inset: 0;
  background: var(--beige);
  border-radius: 65% 35% 40% 60% / 55% 50% 50% 45%;
  transform: translate(18px, 22px);
  z-index: 0;
  animation: blobMorph 12s ease-in-out infinite alternate;
}

.hero__photo {
  position: relative;
  z-index: 1;
  border-radius: 65% 35% 40% 60% / 55% 50% 50% 45%;
  overflow: hidden;
  animation: blobMorph 12s ease-in-out infinite alternate;
  max-width: clamp(260px, 33vw, 400px);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@keyframes blobMorph {
  from { border-radius: 65% 35% 40% 60% / 55% 50% 50% 45%; }
  to   { border-radius: 40% 60% 60% 40% / 45% 55% 45% 55%; }
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  inset-block-end: 2rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  will-change: opacity;
}
.js-ready .hero__scroll { opacity: 0; }

.hero__scroll span {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-brown);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--warm-brown), transparent);
  transform-origin: top;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 10rem);
}

/* Large decorative ring */
.about__deco {
  position: absolute;
  width: 700px;
  height: 700px;
  border: 80px solid rgba(221,208,200,0.25);
  border-radius: 50%;
  bottom: -200px;
  right: -200px;
  pointer-events: none;
}

.about__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  position: relative;
}

.about__label-col {
  padding-top: 0.25rem;
}

.about__rule {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, var(--beige), transparent);
  margin-top: 1.5rem;
}

.about__headline {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.about__headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--warm-brown);
}

.about__body {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.about__lead {
  font-size: 1.1875rem;
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.65;
}

.about__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.about__stat {
  will-change: transform, opacity;
}
.js-ready .about__stat { opacity: 0; transform: translateY(24px); }

.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--warm-brown);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.about__body p {
  will-change: transform, opacity;
}
.js-ready .about__body p { opacity: 0; transform: translateY(20px); }

/* ================================================================
   SERVICES — 2×2 grid
   ================================================================ */
.services {
  background: var(--off-white);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.services__head {
  max-width: 520px;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.services__title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.services__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--warm-brown);
}

.services__sub {
  font-size: 1rem;
  color: var(--mid);
}

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

/* Service card */
.service-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(28,28,28,0.05);
  cursor: default;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
  will-change: transform, opacity;
  position: relative;
  overflow: hidden;
}
.js-ready .service-card { opacity: 0; transform: translateY(24px); }

.service-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--warm-brown), var(--beige));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(28,28,28,0.1);
}

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

.service-card:focus-visible {
  outline: 2px solid var(--warm-brown);
  outline-offset: 2px;
}

.service-card__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--beige);
}

.service-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--warm-brown);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.75;
  flex: 1;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--warm-brown);
  margin-top: 0.5rem;
  transition: gap 0.25s ease, color 0.2s ease;
}

/* Stretch the CTA link so the whole card is clickable */
.service-card__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.service-card:hover .service-card__cta,
.service-card:focus-visible .service-card__cta {
  gap: 0.55rem;
  color: var(--charcoal);
}


/* ================================================================
   CONTACT CTA
   ================================================================ */
.contact {
  background: var(--charcoal);
  position: relative;
  padding-block: clamp(6rem, 12vw, 10rem);
  overflow: hidden;
}

/* Subtle noise texture overlay */
.contact__noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(140,123,110,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(221,208,200,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  text-align: center;
}

.contact__headline {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
  will-change: transform, opacity;
}

.contact__headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--beige);
}

.contact__sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: rgba(253,250,247,0.55);
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 3rem;
  will-change: transform, opacity;
}
.js-ready .contact__sub { opacity: 0; transform: translateY(24px); }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  will-change: transform, opacity;
}
.js-ready .contact__actions { opacity: 0; transform: translateY(24px); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  position: relative;
  background: #111110;
  padding-top: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

/* Soft glow echoing the contact section above */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(140,123,110,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 88% 25%, rgba(221,208,200,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.footer .container { position: relative; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.2fr 1fr;
  gap: 3rem 2.5rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.footer__brand { max-width: 340px; }

.footer__name {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--beige);
  margin-bottom: 0.875rem;
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(221,208,200,0.45);
  margin-bottom: 1.5rem;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  color: rgba(221,208,200,0.6);
  border: 1px solid rgba(221,208,200,0.15);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.footer__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A3B18A;
  animation: footer-pulse 2.4s ease-in-out infinite;
}

@keyframes footer-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(163,177,138,0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(163,177,138,0); }
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer__col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(221,208,200,0.35);
  margin-bottom: 0.5rem;
}

.footer__col a {
  position: relative;
  font-size: 0.9375rem;
  color: rgba(221,208,200,0.55);
  transition: color 0.25s ease;
}

.footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--beige);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.footer__col a:hover { color: var(--beige); }
.footer__col a:hover::after { transform: scaleX(1); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(221,208,200,0.1);
}

.footer__copy,
.footer__meta {
  font-size: 0.8125rem;
  color: rgba(221,208,200,0.3);
}

.footer__meta { letter-spacing: 0.04em; }

.footer__to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(221,208,200,0.5);
  transition: color 0.25s ease;
}

.footer__to-top:hover { color: var(--beige); }
.footer__to-top svg { transition: transform 0.3s var(--ease-out-expo); }
.footer__to-top:hover svg { transform: translateY(-3px); }

/* Oversized serif name, clipped at the bottom edge */
.footer__watermark {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3.25rem, 11vw, 10.5rem);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  color: rgba(221,208,200,0.06);
  user-select: none;
  pointer-events: none;
  margin-bottom: -0.34em;
}

/* ================================================================
   SUBPAGES — page hero, content sections, steps
   (used by /ydelser/*.html and the page template)
   ================================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(4rem, 9vw, 6.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

/* Keep content above the absolutely positioned background blobs */
.page-hero .container { position: relative; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--mid);
  margin-bottom: 2.25rem;
}

.breadcrumb a { transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--charcoal); }
.breadcrumb span[aria-hidden] { color: var(--beige); }
.breadcrumb [aria-current] { color: var(--warm-brown); }

.page-hero__headline {
  font-size: clamp(2.625rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1.75rem;
}

.page-hero__headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--warm-brown);
}

.page-hero__lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--mid);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.page-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.page-section--white { background: var(--white); }

.page-h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page-h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--warm-brown);
}

/* Two-column label + content layout (mirrors the about section) */
.page-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

/* Feature list — editorial two-column list */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

.feature-list li {
  border-top: 1px solid rgba(28,28,28,0.12);
  padding-top: 1.25rem;
}

.feature-list h3 {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  margin-bottom: 0.45rem;
  color: var(--charcoal);
}

.feature-list p {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.7;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--white);
  border: 1px solid rgba(28,28,28,0.05);
  border-radius: 18px;
  padding: 2rem 1.75rem;
}

.page-section--white .step {
  background: var(--off-white);
  border-color: rgba(28,28,28,0.04);
}

.step__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--beige);
  margin-bottom: 1.1rem;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.step p {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 860px) {
  .about__inner,
  .page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about__label-col {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .about__rule { display: none; }

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

@media (max-width: 768px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* Hero stacks vertically on mobile */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__photo-wrap {
    justify-self: center;
    display: flex;
    justify-content: center;
  }
  .hero__photo {
    width: 260px;
    max-width: 260px;
  }

  /* Services: single column on mobile */
  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .feature-list { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Contact buttons stack on mobile */
  .contact__actions {
    flex-direction: column;
    align-items: center;
  }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .about__stats { gap: 2rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .blob,
  .hero__photo,
  .hero__photo-deco,
  .scroll-line,
  .marquee__track,
  .footer__status-dot {
    animation: none !important;
  }

  /* Override js-ready hidden states */
  .js-ready .rline__i,
  .js-ready [data-hero-fade],
  .js-ready [data-reveal],
  .js-ready .hero__photo-wrap,
  .js-ready .hero__scroll,
  .js-ready .about__body p,
  .js-ready .service-card,
  .js-ready .contact__headline,
  .js-ready .contact__sub,
  .js-ready .contact__actions,
  .mobile-menu__nav a {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
