/* ============================================================
   DEORE & FREOND — EDITORIAL REDESIGN
   Palette: #2E3A44 / #4C5F6B / #7E939C / #B0C2C6 / #DDE4E1 / #F6F4EE
   Fonts:   Fraunces (serif) + Space Grotesk (sans) — Google Fonts
   ============================================================ */

/* ============================================================
   ROOT / RESET
   ============================================================ */
:root {
  --ink: #4c5f6b;
  --ink-2: #8a82a6;
  --slate: hwb(180 55% 35%);
  --mist: #B0C2C6;
  --haze: #DDE4E1;
  --paper: #f4f5f5;

  --fg: var(--ink);
  --bg: var(--paper);
  --line: rgba(46, 58, 68, .14);
  --line-light: rgba(246, 244, 238, .16);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;

  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --pad: clamp(1.25rem, 4vw, 4rem);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  font-weight: 400;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit
}

ul,
ol {
  list-style: none
}

::selection {
  background: var(--ink);
  color: var(--paper)
}

/* ============================================================
   GRAIN / TEXTURE
   ============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--paper);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(246, 244, 238, .85);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width .5s var(--ease), height .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}

.cursor-ring span {
  font-size: .55rem;
  letter-spacing: .28em;
  color: var(--paper);
  opacity: 0;
  transition: opacity .3s;
  text-transform: uppercase;
}

.cursor-ring.hover {
  width: 88px;
  height: 88px;
  background: rgba(246, 244, 238, .08)
}

.cursor-ring.hover span {
  opacity: 1
}

@media(hover:none), (pointer:coarse) {
  .cursor {
    display: none !important
  }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 9996;
  pointer-events: none;
}

.scroll-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transform-origin: left;
  transition: background .6s var(--ease);
}

.scroll-bar.on-dark span {
  background: var(--mist)
}

/* ============================================================
   TOP PILL NAV — GLASS
   ============================================================ */
.top-nav {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .55rem .55rem 1.6rem;

  background: rgba(246, 244, 238, .42);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 100px;
  box-shadow:
    0 8px 32px rgba(46, 58, 68, .10),
    inset 0 1px 0 rgba(255, 255, 255, .65);

  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}

.top-nav .nav-brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: .01em;
  margin-right: 1.2rem;
  color: var(--ink);
}

.top-nav ul.nav-links {
  display: flex;
  gap: .15rem;
  align-items: center;
  position: relative;
}

.top-nav a {
  position: relative;
  z-index: 1;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  padding: .6rem 1rem;
  color: var(--ink-2);
  border-radius: 100px;
  transition: background .35s var(--ease), color .35s var(--ease);
}

.top-nav a:hover {
  background: rgba(46, 58, 68, .06);
  color: var(--ink)
}

.top-nav a.active {
  background: transparent !important;
  color: var(--paper)
}

/* --- Slower, more elegant active-link glide --- */
.nav-active-indicator {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--ink);
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(46, 58, 68, 0.3);
  transition:
    transform 2.5s cubic-bezier(0.19, 1, 0.22, 1),
    width 2.5s cubic-bezier(0.19, 1, 0.22, 1),
    height 2.5s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 1.2s ease;
  z-index: 0;
  pointer-events: none;
}

.top-nav .nav-cta {
  margin-left: .4rem;
  background: var(--ink);
  color: var(--paper);
  padding: .65rem 1.2rem;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 100px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: transform .4s var(--ease), background .4s var(--ease);
}

.top-nav .nav-cta:hover {
  transform: scale(1.04);
  background: var(--ink-2)
}

.top-nav .nav-cta svg {
  transition: transform .4s var(--ease)
}

.top-nav .nav-cta:hover svg {
  transform: translateX(3px)
}

/* --- Hamburger toggle --- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  transition: background .35s var(--ease);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(46, 58, 68, .07)
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease), opacity .3s;
}

.nav-toggle span:nth-child(1) { top: 16px; transform: translateX(-50%) }
.nav-toggle span:nth-child(2) { top: 22px; transform: translateX(-50%) }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: translateX(-50%) rotate(45deg) }
.nav-toggle.open span:nth-child(2) { top: 19px; transform: translateX(-50%) rotate(-45deg) }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 899;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.5rem var(--pad) 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .5s var(--ease), visibility .5s, transform .5s var(--ease);
  overflow-y: auto;
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column
}

.mobile-menu nav a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 8vw, 3rem);
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--ink);
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(18px);
  opacity: 0;
  transition: transform .55s var(--ease), opacity .55s var(--ease), color .3s;
  display: block;
}

.mobile-menu nav a:last-child { border-bottom: none }
.mobile-menu nav a:hover { color: var(--slate) }

.mobile-menu.open nav a {
  transform: translateY(0);
  opacity: 1
}

.mobile-menu.open nav a:nth-child(1) { transition-delay: .06s }
.mobile-menu.open nav a:nth-child(2) { transition-delay: .11s }
.mobile-menu.open nav a:nth-child(3) { transition-delay: .16s }
.mobile-menu.open nav a:nth-child(4) { transition-delay: .21s }
.mobile-menu.open nav a:nth-child(5) { transition-delay: .26s }
.mobile-menu.open nav a:nth-child(6) { transition-delay: .31s }

.mobile-menu-foot {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease) .35s, transform .5s var(--ease) .35s;
}

.mobile-menu.open .mobile-menu-foot {
  opacity: 1;
  transform: translateY(0)
}

.mobile-menu-foot a {
  color: var(--ink);
  letter-spacing: .08em;
  text-transform: none;
  font-size: .9rem;
  font-family: var(--serif);
  font-style: italic;
}

/* ============================================================
   SIDE DOTS
   ============================================================ */
.side-dots {
  position: fixed;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  align-items: flex-end;
}

.side-dots a {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: .5;
  transition: opacity .4s var(--ease), color .4s var(--ease);
}

.side-dots a i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-2);
  transition: all .4s var(--ease);
}

.side-dots a span {
  opacity: 0;
  transform: translateX(6px);
  transition: all .4s var(--ease);
  white-space: nowrap
}

.side-dots a:hover { opacity: 1 }
.side-dots a:hover span { opacity: 1; transform: translateX(0) }
.side-dots a.active { opacity: 1 }
.side-dots a.active i { width: 20px; border-radius: 100px; background: var(--ink) }
.side-dots.on-dark a { color: var(--mist) }
.side-dots.on-dark a i { background: var(--mist) }
.side-dots.on-dark a.active i { background: var(--paper) }

@media(max-width:900px) {
  .top-nav { padding: .5rem .5rem .5rem 1.2rem; gap: 0 }
  .top-nav ul.nav-links { display: none }
  .top-nav .nav-cta { display: none }
  .top-nav .nav-toggle { display: flex }
  .side-dots { display: none }
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  font-size: .62rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--slate);
  display: inline-block;
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 20, 'WONK' 0;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: .95;
  letter-spacing: -.03em;
}

.display em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}

.section-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: .9rem;
  letter-spacing: .1em;
  color: var(--slate);
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page {
  position: relative;
  z-index: 2;
  background: var(--paper);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 9rem var(--pad) 2.5rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy { display: flex; flex-direction: column; gap: 1.6rem }
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; color: var(--slate) }
.hero-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--slate); }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 0;
  font-size: clamp(3rem, 9.5vw, 8.4rem);
  line-height: .9;
  letter-spacing: -.045em;
  color: var(--ink);
}

.hero-title .line { display: block; overflow: hidden }
.hero-title .w { display: inline-block; transform: translateY(105%); will-change: transform }
.hero-title em { font-style: italic; color: var(--slate); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.hero-desc { font-size: 1rem; line-height: 1.65; color: var(--ink-2); max-width: 420px; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  align-self: flex-start;
  padding: 1.1rem 1.9rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease);
}

.hero-cta .arrow { display: inline-block; transition: transform .5s var(--ease); }
.hero-cta:hover { transform: translateX(4px) }
.hero-cta:hover .arrow { transform: translateX(6px) }

.hero-explore {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: .9rem 1.5rem;
  margin-top: 1.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  max-width: 100%;
}

.hero-explore-label {
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0;
  white-space: nowrap;
}

.hero-explore-cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.6rem;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 100px;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
}

.hero-explore-cta:hover { background: var(--ink); color: var(--paper); transform: translateX(4px); }
.hero-explore-cta svg { transition: transform .5s var(--ease) }
.hero-explore-cta:hover svg { transform: translateX(3px) }

.hero-images { position: relative; aspect-ratio: 4/5; width: 100%; max-width: 520px; justify-self: end; }
.hero-img-main { position: absolute; top: 0; left: 0; width: 74%; height: 82%; overflow: hidden; border-radius: 2px; }
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; will-change: transform }

.hero-img-side {
  position: absolute; bottom: 0; right: 0; width: 52%; height: 46%;
  overflow: hidden; border-radius: 2px; border: 6px solid var(--paper);
  box-shadow: 0 20px 40px rgba(46, 58, 68, .14);
}
.hero-img-side img { width: 100%; height: 100%; object-fit: cover; will-change: transform }

.hero-badge {
  position: absolute; top: 12%; right: 4%; width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center; z-index: 3;
}
.hero-badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite }
.hero-badge text { font-family: var(--sans); font-size: 9px; letter-spacing: .32em; fill: var(--ink); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg) } }

.hero-strip {
  max-width: 1500px; margin: 3rem auto 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--slate);
}
.hero-strip .scroll-cue { display: flex; align-items: center; gap: .8rem }
.hero-strip .scroll-cue i { display: block; width: 44px; height: 1px; background: var(--slate); position: relative; overflow: hidden; }
.hero-strip .scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--ink); animation: cueMove 2.4s var(--ease) infinite; }
@keyframes cueMove { 0% { transform: translateX(-100%) } 60% { transform: translateX(0) } 100% { transform: translateX(100%) } }

@media(max-width:900px) {
  .hero { padding-top: 7rem; padding-bottom: 2rem }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem }
  .hero-images { justify-self: center; max-width: 420px; aspect-ratio: 1/1 }
  .hero-img-main { width: 78%; height: 88% }
  .hero-img-side { width: 52%; height: 48% }
  .hero-strip { flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 2rem }
  .hero-explore { flex-direction: column; align-items: flex-start; gap: .9rem }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { position: relative; z-index: 1; background: var(--paper); padding: clamp(3rem, 6vw, 5rem) var(--pad); }
.about-inner { max-width: 1500px; margin: 0 auto; width: 100%; }
.about-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; }
.about-head .section-num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.about-head .num-line { width: 36px; height: 1px; background: var(--slate); }

.about-statement {
  font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 0;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: -.025em; color: var(--ink);
  max-width: 1100px; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.about-statement em { font-style: italic; color: var(--slate); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.about-text { display: flex; flex-direction: column; gap: 1.5rem; max-width: 560px; }
.about-text p { font-size: 1rem; line-height: 1.75; color: var(--ink-2); }
.about-action { margin-top: .6rem; display: flex; align-items: center; }

.about-cta {
  display: inline-flex; align-items: center; gap: 1.1rem; padding: .95rem 1.9rem;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 100px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  position: relative; overflow: hidden; text-decoration: none; box-shadow: 0 4px 18px rgba(46, 58, 68, .08);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.about-cta span { position: relative; z-index: 2; }
.about-cta .cta-arrow { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(246, 244, 238, .12); transition: transform .45s var(--ease), background .45s var(--ease); }
.about-cta .cta-arrow svg { display: block; transition: transform .45s var(--ease); }
.about-cta:hover { background: var(--slate); border-color: var(--slate); color: var(--paper); transform: translateX(5px); box-shadow: 0 8px 24px rgba(76, 95, 107, .25); }
.about-cta:hover .cta-arrow { background: rgba(246, 244, 238, .24); transform: translateX(3px); }
.about-cta:hover .cta-arrow svg { transform: translateX(2px); }
.about-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.about-img { position: relative; aspect-ratio: 5/4; overflow: hidden; border-radius: 2px; background: var(--haze); }
.about-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.about-stat dt { font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--slate); margin-bottom: .65rem; }
.about-stat dd { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink); line-height: 1.3; }

@media(max-width:900px) {
  .about-grid { grid-template-columns: 1fr }
  .about-img { aspect-ratio: 4/3; order: -1 }
  .about-stats { grid-template-columns: 1fr; gap: 1.6rem }
  .about-statement { margin-bottom: 2rem }
  .about-action { margin-top: .4rem }
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy { position: relative; z-index: 1; background: var(--paper); padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(6rem, 12vw, 10rem); }
.philosophy-head { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: flex-start; }
.phil-label { display: flex; flex-direction: column; gap: .5rem; position: sticky; top: 120px; }
.phil-label .section-num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem); font-weight: 300; line-height: .9; color: var(--ink); letter-spacing: -.03em; }
.phil-label .num-line { width: 36px; height: 1px; background: var(--slate); margin: .4rem 0; }
.phil-label .eyebrow { margin-top: .2rem }
.phil-body { display: flex; flex-direction: column; gap: 2.5rem; max-width: 820px; }
.phil-quote { font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 0; font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.phil-quote em { font-style: italic; color: var(--slate); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.phil-quote .w { display: inline-block; opacity: 0; transform: translateY(30px); will-change: transform }
.phil-mid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: end; margin-top: 1.5rem; }
.phil-mid p { font-size: .95rem; line-height: 1.75; color: var(--ink-2); max-width: 440px }
.phil-img { position: relative; aspect-ratio: 5/6; overflow: hidden; border-radius: 2px; }
.phil-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.phil-sign { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--ink); margin-top: 1rem; display: inline-block; }
.phil-sign::before { content: ''; display: block; width: 44px; height: 1px; background: var(--slate); margin-bottom: 1rem; }

@media(max-width:900px) {
  .philosophy-head { grid-template-columns: 1fr; gap: 2rem }
  .phil-label { position: static }
  .phil-mid { grid-template-columns: 1fr }
  .phil-img { aspect-ratio: 4/3 }
}

/* ============================================================
   PRINCIPLES — Vertical stack of crystal-glass bars (Desktop)
   Horizontal swipe rail (Mobile)
   ============================================================ */
.principles {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, var(--haze) 0%, #e8eeeb 50%, var(--haze) 100%);
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden; isolation: isolate;
}
.principles::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 55% at 15% 30%, rgba(126, 147, 156, .28), transparent 65%),
    radial-gradient(40% 60% at 85% 70%, rgba(176, 194, 198, .42), transparent 65%),
    radial-gradient(35% 45% at 50% 100%, rgba(138, 130, 166, .18), transparent 65%);
}
.principles > * { position: relative; z-index: 1; }

.principles-head {
  padding: 0 var(--pad); max-width: 1500px; margin: 0 auto 2.5rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.principles-head .display { color: var(--ink); max-width: 640px }
.principles-head .eyebrow { color: var(--slate) }
.rail-hint { display: inline-flex !important; align-items: center; gap: .6rem; font-size: .55rem !important; letter-spacing: .4em !important; opacity: .75; }

.principles-rail-wrap { max-width: 1000px; margin: 0 auto; padding: 0 var(--pad); width: 100%; }

.principles-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

/* Crystal glass principle card — horizontal pill bar */
.principle {
  width: 100%;
  border-radius: 100px;
  padding: 2rem 3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px rgba(46, 58, 68, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}

.principle::before {
  content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); opacity: .9; pointer-events: none;
}
.principle::after {
  content: ''; position: absolute; top: -40%; left: -30%; width: 160%; height: 160%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .55), transparent 55%);
  opacity: .45; pointer-events: none; z-index: 0; transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.principle > * { position: relative; z-index: 1 }

.principle:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 48px rgba(46, 58, 68, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.principle:hover::after { opacity: .7; transform: translate(6px, 6px); }

.principle-top { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.principle-num { font-family: var(--serif); font-weight: 300; font-size: 1rem; line-height: 1; color: var(--slate); letter-spacing: .12em; }
.principle-icon { width: 26px; height: 26px; color: var(--ink-2); flex-shrink: 0; transition: transform .5s var(--ease), color .5s var(--ease); }
.principle:hover .principle-icon { transform: translateY(-2px) rotate(-6deg); color: var(--slate); }
.principle-title { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.25; text-transform: uppercase; font-size: .8rem; letter-spacing: .16em; margin: 0; }
.principle-desc { font-size: .88rem; line-height: 1.6; color: var(--ink-2); max-width: 700px; margin: 0; }

.principles-progress { max-width: 1000px; margin: 2rem auto 0; padding: 0 var(--pad); }
.principles-progress .bar { height: 1px; background: rgba(46, 58, 68, .12); position: relative; overflow: hidden; border-radius: 1px; }
.principles-progress .bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .18s linear; }

/* Mobile overrides: Horizontal rail to drastically reduce page length */
@media(max-width: 900px) {
  .principles-track {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: .5rem .25rem 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .principles-track::-webkit-scrollbar { display: none }

  .principle {
    flex: 0 0 85vw;
    min-width: 280px;
    scroll-snap-align: center;
    border-radius: 40px;
    padding: 2rem 1.5rem;
  }
}

/* ============================================================
   BREEDS
   ============================================================ */
.breeds { position: relative; z-index: 2; background: var(--haze); overflow: hidden; }
.breeds-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vh, 6rem) 0 clamp(1.5rem, 3vh, 2.5rem); overflow: hidden; }
.breeds-head { padding: 0 var(--pad); max-width: 1500px; margin: 0 auto clamp(1.5rem, 3vh, 2.5rem); width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.breeds-head .display { color: var(--ink); font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.05; max-width: 560px; }
.breeds-head .count { font-family: var(--serif); font-weight: 300; font-size: .95rem; color: var(--ink-2); letter-spacing: .08em; white-space: nowrap; }
.breeds-head .count span { color: var(--ink) }

.breeds-track { display: flex; gap: 2rem; padding: 0 var(--pad); width: max-content; will-change: transform; align-items: stretch; }
.breed {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: auto;
}
.breed-frame {
  position: relative;
  height: clamp(220px, 42vh, 420px);
  width: calc(clamp(220px, 42vh, 420px) * 0.75); 
  overflow: hidden;
  border-radius: 3px;
  background: var(--ink);
  flex-shrink: 0;
}
.breed-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
  transform: scale(1.06);
  filter: saturate(.85);
}
..breed:hover .breed-frame img {
  transform: scale(1.12);
  filter: saturate(1);
}
.breed-tag { position: absolute; top: 1rem; left: 1rem; padding: .4rem .9rem; background: rgba(246, 244, 238, .9); backdrop-filter: blur(10px); border-radius: 100px; font-size: .55rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.breed-info { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.breed-name { font-family: var(--serif); font-weight: 400; font-size: clamp(1rem, 1.5vw, 1.25rem); letter-spacing: -.01em; color: var(--ink); line-height: 1.2; }
.breed-name em { font-style: italic }
.breed-index { font-size: .7rem; color: var(--slate); letter-spacing: .1em; }

.breeds-progress { padding: 0 var(--pad); max-width: 1500px; margin: clamp(1.5rem, 3vh, 2.5rem) auto 0; width: 100%; }
.breeds-progress .bar { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.breeds-progress .bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .15s linear; }

@media(max-width:900px), (hover:none) {
  .breeds-pin { 
    height: auto; 
    min-height: 0; 
    padding: 5rem 0 4rem; 
    justify-content: flex-start; 
  }
  .breeds-track { 
    flex-wrap: wrap; 
    width: 100%; 
    max-width: 100%; 
    justify-content: center; 
    gap: 1.5rem; 
    padding: 0 var(--pad); 
    box-sizing: border-box; 
  }
  .breed-frame { 
    height: auto; 
    aspect-ratio: 3/4; 
    width: min(300px, 72vw); 
  }
}

/* ============================================================
   JOURNEY (PROCESS) — Vertical stack of crystal-glass bars (Desktop)
   Horizontal swipe rail (Mobile)
   ============================================================ */
.journey {
  position: relative; z-index: 1; background: var(--paper);
  padding: clamp(4rem, 8vw, 6rem) var(--pad);
  overflow: hidden;
}

.journey-head {
  max-width: 1500px; width: 100%; margin: 0 auto 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end;
}
.journey-head .eyebrow { color: var(--slate) }
.journey-head .display { color: var(--ink) }
.journey-head .display em { color: var(--slate) }
.journey-head p { font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 400px; justify-self: end; align-self: end; }

.journey-stack {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Crystal glass process card — horizontal pill bar */
.step {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  border-radius: 100px;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px rgba(46, 58, 68, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}

.step::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); opacity: .9; pointer-events: none;
}

.step:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 48px rgba(46, 58, 68, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.step-num { font-family: var(--serif); font-weight: 300; font-size: 1.4rem; color: var(--slate); text-align: center; letter-spacing: -.02em; }
.step-body { text-align: center; }
.step-title { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; margin: 0 0 .4rem 0; }
.step-desc { font-size: .88rem; line-height: 1.6; color: var(--ink-2); margin: 0; }

.step-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); margin: 0 auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease);
}
.step:hover .step-icon { background: var(--slate); color: var(--paper); border-color: var(--slate); transform: rotate(-8deg) scale(1.05); }

@media(max-width: 1100px) {
  .journey-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .journey-head p { justify-self: start; max-width: 100%; }
}

/* Mobile overrides: Horizontal rail to drastically reduce page length */
@media(max-width: 900px) {
  .journey-stack {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: .5rem .25rem 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .journey-stack::-webkit-scrollbar { display: none }

  .step {
    flex: 0 0 85vw;
    min-width: 280px;
    scroll-snap-align: center;
    border-radius: 40px;
    padding: 2rem 1.5rem;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1rem;
  }
  .step-num { order: -1; font-size: 1.2rem; }
  .step-icon { order: 2; width: 40px; height: 40px; }
  .step-body { order: 1; padding: 0; }
}
.about-action {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { position: relative; z-index: 5; isolation: isolate; background: var(--paper); padding: clamp(4rem, 8vw, 6rem) 0 0; }
.services-head { max-width: 1500px; margin: 0 auto clamp(3rem, 6vw, 5rem); padding: 0 var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.services-head .display { max-width: 720px; color: var(--ink) }
.services-head .head-meta { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--slate); max-width: 240px; line-height: 1.8; }

.services-stage { position: relative; width: 100%; height: calc(100vh + var(--svc-scroll, 2100px)); }
.services-stage-inner { position: sticky; top: 0; height: 100vh; max-width: 1500px; margin: 0 auto; padding: 4rem var(--pad) 2rem; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.services-visual { position: relative; width: 100%; height: min(68vh, 600px); border-radius: 4px; overflow: hidden; background: var(--haze); }
.svc-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.4s var(--ease); will-change: opacity, transform; }
.svc-img.is-active { opacity: 1; transform: scale(1) }
.svc-img img { width: 100%; height: 100%; object-fit: cover }

.services-counter { position: absolute; left: 1.1rem; bottom: 1.1rem; padding: .5rem 1rem; border-radius: 100px; background: rgba(246, 244, 238, .72); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255, 255, 255, .55); font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); font-variant-numeric: tabular-nums; }
.services-panel { display: flex; flex-direction: column; gap: 2rem }
.services-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.service-item { border-bottom: 1px solid var(--line); padding: .9rem 0; display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; cursor: pointer; opacity: .35; transition: opacity .55s var(--ease), padding .7s var(--ease); }
.service-item.is-active { opacity: 1; padding: 1.35rem 0 }
.service-item:hover { opacity: .75 }
.service-item.is-active:hover { opacity: 1 }
.service-num { font-family: var(--serif); font-weight: 300; font-size: .85rem; color: var(--slate); letter-spacing: .08em; padding-top: .35rem; }
.service-body { display: flex; flex-direction: column }
.service-name { font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 144, 'SOFT' 30; font-size: clamp(1.1rem, 1.9vw, 1.6rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.service-name em { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.service-desc { font-size: .88rem; line-height: 1.7; color: var(--ink-2); max-width: 460px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s var(--ease), margin .7s var(--ease); }
.service-item.is-active .service-desc { max-height: 140px; opacity: 1; margin-top: .6rem; }
.services-progress .bar { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.services-progress .bar span { display: block; height: 100%; width: 20%; background: var(--ink); transition: width .35s var(--ease); }

@media(max-width:900px), (hover:none) {
  .services { padding: clamp(4rem, 8vw, 6rem) 0 }
  .services-stage { height: auto }
  .services-stage-inner { position: static; height: auto; min-height: 0; grid-template-columns: 1fr; padding: 0 var(--pad); gap: 2.5rem; }
  .services-visual { height: min(58vh, 420px) }
  .service-item { opacity: 1; padding: 1.3rem 0 }
  .service-item:hover { opacity: 1 }
  .service-desc { max-height: none; opacity: 1; margin-top: .6rem }
  .services-counter { display: none }
}

/* ============================================================
   ENQUIRY
   ============================================================ */
.contact { position: relative; z-index: 1; background: var(--paper); color: var(--ink); padding: clamp(6rem, 12vw, 10rem) var(--pad); overflow: hidden; }
.contact-inner { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: flex-start; }
.contact-intro .eyebrow { color: var(--slate) }
.contact-intro .display { color: var(--ink); margin-top: 1.5rem }
.contact-intro .display em { color: var(--slate) }
.contact-intro p.lead { font-size: 1rem; line-height: 1.7; color: var(--ink-2); max-width: 420px; margin-top: 2rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); max-width: 520px; }
.detail dt { font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--slate); margin-bottom: .6rem; }
.detail dd { font-size: .95rem; color: var(--ink); line-height: 1.5; }
.detail dd a { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .4s; }
.detail dd a:hover { border-color: var(--ink) }

.form { display: flex; flex-direction: column; gap: 1.6rem; background: var(--haze); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: 0 20px 50px rgba(46, 58, 68, .06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.field { position: relative; display: flex; flex-direction: column; }
.field label { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--slate); margin-bottom: .65rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.1rem; font-family: var(--serif); font-weight: 300; font-size: 1.05rem; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none; transition: border-color .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease); }
.field select { cursor: pointer }
.field select option { background: var(--paper); color: var(--ink) }
.field textarea { min-height: 130px; resize: vertical; font-family: var(--sans); font-size: .98rem; line-height: 1.65 }
.field input::placeholder, .field textarea::placeholder { color: transparent }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--slate); background: var(--paper); box-shadow: 0 0 0 3px rgba(76, 95, 107, .12); }
.field .select-arrow { position: absolute; right: 1.15rem; bottom: 1.35rem; color: var(--slate); pointer-events: none; }

.form-submit { align-self: flex-start; margin-top: .6rem; display: inline-flex; align-items: center; gap: 1.2rem; padding: 1.15rem 2rem; background: var(--ink); color: var(--paper); border-radius: 100px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; transition: transform .5s var(--ease), background .5s var(--ease); }
.form-submit:hover { transform: translateX(4px); background: var(--slate) }
.form-note { font-size: .8rem; color: var(--slate); margin-top: .2rem; opacity: 0; transition: opacity .4s; }
.form-note.show { opacity: 1 }

@media(max-width:900px) {
  .contact-inner { grid-template-columns: 1fr }
  .form-row { grid-template-columns: 1fr }
  .contact-details { grid-template-columns: 1fr; gap: 1.4rem }
}

/* ============================================================
   FOOTER — curtain reveal
   ============================================================ */
.footer-spacer { display: block; height: 0; position: relative; z-index: 0; pointer-events: none; }
.footer { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 1; background: var(--ink); color: var(--paper); padding: clamp(4rem, 8vw, 6rem) var(--pad) 0; border-top: 1px solid var(--line-light); will-change: transform; }
.footer-main { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer-brand .footer-logo { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; line-height: 1; display: block; color: var(--paper); }
.footer-brand p { margin-top: 1.3rem; font-size: .9rem; line-height: 1.75; color: rgba(246, 244, 238, .6); max-width: 360px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.8rem }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--mist); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.footer-social a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-3px); }
.footer-col h4 { font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--mist); font-weight: 500; margin-bottom: 1.4rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .85rem }
.footer-col li a, .footer-col li span { font-size: .9rem; line-height: 1.5; color: rgba(246, 244, 238, .72); display: inline-block; transition: color .35s var(--ease), padding-left .35s var(--ease); }
.footer-col li a:hover { color: var(--paper); padding-left: 4px }
.footer-contact li span { color: rgba(246, 244, 238, .55) }
.footer-bottom { max-width: 1500px; margin: 0 auto; border-top: 1px solid var(--line-light); padding: 2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mist); }
.footer-legal { display: flex; gap: 1.6rem; flex-wrap: wrap }
.footer-legal a { transition: color .4s }
.footer-legal a:hover { color: var(--paper) }

@media(max-width:1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem }
  .footer-brand { grid-column: 1 / -1 }
}

@media(max-width:900px) {
  .footer { position: static; z-index: auto; transform: none !important; }
  .footer-spacer { display: none }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem }
  .footer-main { grid-template-columns: 1fr }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-wrapper { position: fixed; bottom: clamp(1.25rem, 3vw, 2.25rem); right: clamp(1.25rem, 3vw, 2.25rem); z-index: 890; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.whatsapp-btn { display: inline-flex; align-items: center; position: relative; pointer-events: auto; text-decoration: none; color: #fff; border-radius: 9999px; outline: none; transition: transform .4s var(--ease); }
.whatsapp-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.whatsapp-icon { width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .38), 0 3px 8px rgba(46, 58, 68, .14); border: 1px solid rgba(255, 255, 255, .25); position: relative; transition: transform .4s var(--ease), background-color .3s ease, box-shadow .4s var(--ease); }
.whatsapp-icon svg { width: 32px; height: 32px; fill: currentColor; display: block; transition: transform .4s var(--ease); }
.whatsapp-icon::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: .6; z-index: -1; animation: whatsappPulse 2.8s cubic-bezier(.19, 1, .22, 1) infinite; }
@keyframes whatsappPulse { 0% { transform: scale(1); opacity: .6 } 60%, 100% { transform: scale(1.55); opacity: 0 } }
.whatsapp-btn:hover .whatsapp-icon { transform: scale(1.08) translateY(-2px); background: #20ba59; box-shadow: 0 14px 32px rgba(37, 211, 102, .48), 0 6px 14px rgba(46, 58, 68, .2); }
.whatsapp-btn:hover .whatsapp-icon svg { transform: scale(1.04) }
.whatsapp-btn:active .whatsapp-icon { transform: scale(.96) }

.whatsapp-tooltip { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(8px); background: rgba(46, 58, 68, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--paper); font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: .5rem .95rem; border-radius: 100px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .15); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
.whatsapp-tooltip::after { content: ''; position: absolute; top: 50%; left: 100%; transform: translateY(-50%); border-width: 5px; border-style: solid; border-color: transparent transparent transparent rgba(46, 58, 68, .94); }
.whatsapp-btn:hover .whatsapp-tooltip, .whatsapp-btn:focus-visible .whatsapp-tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
body:has(.whatsapp-btn:hover) .cursor-ring { width: 64px; height: 64px; }
body:has(.whatsapp-btn:hover) .cursor-ring span { display: none }

@media(max-width:768px) {
  .whatsapp-wrapper { bottom: max(1.25rem, env(safe-area-inset-bottom, 1.25rem)); right: max(1.25rem, env(safe-area-inset-right, 1.25rem)); }
  .whatsapp-icon { width: 52px; height: 52px }
  .whatsapp-icon svg { width: 28px; height: 28px }
}
@media(hover:none), (pointer:coarse) { .whatsapp-tooltip { display: none !important } }
@media(prefers-reduced-motion:reduce) {
  .whatsapp-icon::before { animation: none; display: none }
  .whatsapp-btn, .whatsapp-icon, .whatsapp-tooltip { transition: none }
  .nav-active-indicator { transition: none }
}
/* Shared CTA alignment */
.section-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
  padding-block: 0.75rem;
}

/* BREEDS CTA */
.breeds-cta {
  /* Prevent the container from absorbing excess space */
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;

  /* Reduce space above and below the button */
  padding: 0.75rem 0;
  min-height: 0;
}

.breeds-progress {
  margin: 0 !important;
  flex-shrink: 0;
}

/* SERVICES CTA */
.services-cta {
  padding: 0.05rem;
  background: var(--paper);
}

/* ENQUIRY CTA */
.contact-cta {
  padding: 0.75rem 0;
}
  
  /* ============================================================
     RESPONSIVE — Mobile & Touch devices
     ============================================================ */
  @media (max-width: 900px), (hover: none) {
    /* Reset flex behavior for mobile where height is auto */
    .breeds-cta {
      flex: none;
      padding: 2rem 0 3rem;
    }
  
    .services-cta {
      padding: 1.5rem var(--pad) 2.5rem;
    }
  
    .contact-cta {
      padding-top: 2rem;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .section-cta {
      transition: none !important;
    }
  }