:root {
  --ed-ink: #2c2c2c;
  --ed-muted: rgba(44, 44, 44, 0.7);
  --ed-night: #2b281c;
  --ed-olive: #8c8557;
  --ed-olive-text: #6f6a43;
  --ed-olive-deep: #4d472f;
  --ed-sand: #c4b896;
  --ed-cream: #e8e2d5;
  --ed-paper: #f3efe7;
  --ed-surface: #fbf9f4;
  --ed-lime: #e8f4ac;
  --ed-line: rgba(77, 71, 47, 0.16);
  --ed-line-strong: rgba(77, 71, 47, 0.3);
  --ed-line-dark: rgba(232, 226, 213, 0.18);
  --ed-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ed-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ed-serif: "Editor's Note", Georgia, serif;
  --ed-label: "Walkway", "Montserrat", Arial, sans-serif;
  --ed-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ed-gutter: clamp(16px, 5vw, 64px);
  --ed-max: 1240px;
}

.page-home {
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: var(--ed-sans);
  font-size: 16px;
  line-height: 1.65;
}

.page-home main section[id] { scroll-margin-top: 96px; }

.page-home :focus-visible { outline: 2px solid var(--ed-olive-deep); outline-offset: 3px; }
.page-home .ed-diag :focus-visible,
.page-home .ed-close :focus-visible { outline-color: var(--ed-lime); }

.page-home ::selection { background: rgba(196, 184, 150, 0.6); color: var(--ed-ink); }

.ed-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ed-lime);
  color: var(--ed-night);
  font: 600 14px/1 var(--ed-sans);
  transition: top 0.2s;
}
.ed-skip:focus { top: 12px; }

.ed-wrap {
  width: 100%;
  max-width: var(--ed-max);
  margin: 0 auto;
  padding: 0 var(--ed-gutter);
}

.ed-section { padding: clamp(72px, 10vw, 136px) 0; }

.ed-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 22px;
  font: 600 11.5px/1.4 var(--ed-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ed-olive-text);
}
.ed-eyebrow__num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ed-serif);
  font-style: italic;
  font-weight: 200;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ed-olive-deep);
}
.ed-eyebrow__num::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.45; }
.ed-eyebrow--light { color: var(--ed-sand); }
.ed-eyebrow--light .ed-eyebrow__num { color: var(--ed-lime); }

.ed-title {
  margin: 0;
  font-family: var(--ed-display);
  font-weight: 200;
  font-size: clamp(2rem, 1.25rem + 2.9vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
  text-wrap: balance;
}
.ed-title em,
.ed-pull em,
.ed-diag__title em,
.ed-close__title em {
  font-family: var(--ed-serif);
  font-style: italic;
  font-weight: 200;
  letter-spacing: -0.005em;
  color: var(--ed-olive-text);
}

.ed-lead {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: clamp(16px, 0.95rem + 0.25vw, 18.5px);
  line-height: 1.7;
  color: var(--ed-muted);
}
.ed-lead strong, .ed-text strong { color: var(--ed-ink); font-weight: 600; }
.ed-text { margin: 18px 0 0; max-width: 60ch; color: var(--ed-muted); }
.ed-meta {
  margin: 18px 0 0;
  font: 600 11.5px/1.5 var(--ed-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ed-olive-text);
}
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

.ed-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 12.5px/1.2 var(--ed-sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.35s var(--ed-ease), border-color 0.35s var(--ed-ease), transform 0.2s var(--ed-ease);
}
.ed-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.55s var(--ed-ease);
}
.ed-btn:hover::before, .ed-btn:focus-visible::before { transform: none; }
.ed-btn:active { transform: scale(0.98); }
.ed-btn__arrow { display: inline-block; font-size: 1.15em; letter-spacing: 0; transition: transform 0.4s var(--ed-ease); }
.ed-btn:hover .ed-btn__arrow { transform: translateX(4px); }
.ed-btn--dark { background: var(--ed-olive-deep); color: var(--ed-paper); }
.ed-btn--dark::before { background: var(--ed-night); }
.ed-btn--lime { background: var(--ed-lime); color: var(--ed-night); }
.ed-btn--lime::before { background: #f6fbd9; }
.ed-btn--outline { border-color: var(--ed-olive-deep); color: var(--ed-olive-deep); }
.ed-btn--outline::before { background: var(--ed-olive-deep); }
.ed-btn--outline:hover, .ed-btn--outline:focus-visible { color: var(--ed-paper); }
.ed-btn--ghost-light { border-color: rgba(243, 239, 231, 0.5); color: var(--ed-paper); }
.ed-btn--ghost-light::before { background: var(--ed-paper); }
.ed-btn--ghost-light:hover, .ed-btn--ghost-light:focus-visible { color: var(--ed-night); }

.ed-link {
  display: inline-block;
  padding: 6px 0;
  font: 500 15px/1.4 var(--ed-sans);
  color: var(--ed-olive-deep);
  text-decoration: underline;
  text-decoration-color: rgba(77, 71, 47, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.3s, color 0.3s;
}
.ed-link:hover { text-decoration-color: currentColor; color: var(--ed-night); }

.ed-signature {
  margin: 0;
  font-family: var(--ed-serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4.4rem);
  line-height: 1;
  color: var(--ed-olive);
  transform: rotate(-6deg);
  transform-origin: left center;
}
.ed-signature--sm { font-size: 2.2rem; margin-top: 14px; }

.ed-fig { position: relative; margin: 0; }
.ed-fig__frame { position: relative; overflow: hidden; background: var(--ed-cream); }
.ed-fig__frame img,
.ed-fig__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ed-fig__cap {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 12px 0 0;
  max-width: 40ch;
  font: 400 13px/1.5 var(--ed-sans);
  color: var(--ed-muted);
}
.ed-fig__num {
  flex: none;
  font-family: var(--ed-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ed-olive-text);
}
.ed-fig--dark .ed-fig__cap { color: rgba(243, 239, 231, 0.72); }
.ed-fig--dark .ed-fig__num { color: var(--ed-lime); }

.hx {
  --hx-top: clamp(84px, 9vh, 104px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--hx-top);
  color: var(--bk-cream);
  background: #2b281c;
}
.hx__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #2b281c url("../assets/images/IMG_3980%202.JPEG") center 30% / cover no-repeat;
}
.hx__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
  filter: saturate(0.55) sepia(0.28) brightness(0.86) contrast(1.06);
  scale: 1.04;
  translate: calc(var(--bk-mx) * -12px) calc(var(--bk-my) * -12px);
  transition: translate 1.2s var(--bk-ease);
  animation: hx-zoom 9s var(--bk-ease) both;
}
.hx__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43, 40, 28, 0.72) 0%, rgba(43, 40, 28, 0) 24%),
    linear-gradient(0deg, rgba(43, 40, 28, 0.94) 0%, rgba(43, 40, 28, 0.35) 26%, rgba(43, 40, 28, 0) 44%),
    linear-gradient(90deg, rgba(43, 40, 28, 0.95) 0%, rgba(43, 40, 28, 0.84) 32%, rgba(77, 71, 47, 0.5) 62%, rgba(43, 40, 28, 0.62) 100%);
}
.hx__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(140, 133, 87, 0.5);
  mix-blend-mode: color;
}
.hx .hx__ghost {
  right: -3vw;
  bottom: clamp(70px, 9vw, 150px);
  font-size: clamp(7rem, 21vw, 25rem);
  color: var(--bk-sand);
  animation: hx-ghost 1.8s var(--bk-ease) both 0.4s;
}
.hx__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  width: 100%;
  height: clamp(30px, 4.6vw, 80px);
  overflow: visible;
  pointer-events: none;
}
.hx__curve-fill { fill: var(--ed-cream); }
.hx__curve-line {
  fill: none;
  stroke: var(--bk-sand);
  stroke-opacity: 0.55;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: bk-draw 2.4s var(--bk-ease) forwards 0.9s;
}
.hx__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 32px) var(--ed-gutter);
}
.hx__logo {
  display: block;
  width: clamp(170px, min(17vw, 26vh), 300px);
  height: auto;
  margin: 0 0 clamp(18px, 3.4vh, 40px) -1.5%;
  animation: hx-fade 1.2s var(--bk-ease) both 0.1s;
}
.hx__title {
  font-size: clamp(2.55rem, min(5.5vw, 10.2vh), 5.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: initial;
}
.hx.bk-night .hx__title { color: var(--bk-paper); }
.hx.bk-night .hx__title em { color: var(--bk-lime); font-size: 1.08em; letter-spacing: -0.01em; }
.hx__line { display: block; }
.hx__w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.08em 0.14em 0;
  margin: 0 -0.08em -0.14em 0;
}
.hx__w > span {
  display: inline-block;
  animation: hx-rise 1.15s var(--bk-ease) both;
  animation-delay: calc(0.3s + var(--i) * 0.09s);
}
.hx__lead {
  max-width: 44ch;
  margin: clamp(18px, 3vh, 32px) 0 0;
  font-size: clamp(16px, 0.9rem + 0.35vw, 19.5px);
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.8);
  animation: hx-fade-up 1s var(--bk-ease) both 0.85s;
}
.hx__lead strong { font-weight: 500; color: var(--bk-paper); }
.hx__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(22px, 3.6vh, 38px);
  animation: hx-fade-up 1s var(--bk-ease) both 1s;
}
.hx .bk-btn--lime { box-shadow: 0 18px 40px -18px rgba(232, 244, 172, 0.45); }
.hx .bk-link { color: var(--bk-cream); }
.hx__note {
  margin: 18px 0 0;
  font: 600 11px/1.5 var(--bk-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(196, 184, 150, 0.9);
  animation: hx-fade 1s var(--bk-ease) both 1.2s;
}
.hx__visual {
  --bk-badge: clamp(92px, 8vw, 128px);
  width: min(100%, 62vh, 600px);
  aspect-ratio: 1;
  min-height: 0;
  justify-self: center;
}
.hx .bk-frame { width: 60%; }
.hx .bk-arch { box-shadow: 0 60px 90px -40px rgba(0, 0, 0, 0.75); background: #3a3624; }
.hx .bk-orbits { width: 100%; }
.hx .bk-orbits circle { stroke: var(--bk-sand); stroke-opacity: 0.5; }
.hx .bk-orbits circle:nth-child(2) { stroke-opacity: 0.28; }
.hx .bk-orbits .bk-dot { fill: var(--bk-lime); }
.hx .hx__mark-o { fill: none; stroke: var(--bk-olive-deep); stroke-width: 4.5; }
.hx .hx__mark-leaf { fill: none; stroke: var(--bk-olive); stroke-width: 1; }
.hx .bk-caption { color: var(--bk-cream); }
.hx .bk-caption::before { background: var(--bk-sand); }
.hx__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px var(--ed-gutter) calc(clamp(30px, 4.6vw, 80px) + 10px);
}
.hx__foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--ed-gutter);
  right: var(--ed-gutter);
  height: 1px;
  background: rgba(232, 226, 213, 0.24);
  transform-origin: left;
  animation: hx-rule 1.6s var(--bk-ease) both 1s;
}
.hx__index ol { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2.8vw, 52px); margin: 0; padding: 0; list-style: none; }
.hx__index li { animation: hx-fade-up 0.8s var(--bk-ease) both; animation-delay: calc(1.15s + var(--i) * 0.07s); }
.hx__index a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 600 11.5px/1 var(--bk-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bk-cream);
  transition: color 0.4s var(--bk-ease);
}
.hx__n {
  font-family: var(--bk-serif);
  font-style: italic;
  font-weight: 200;
  font-size: 19px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bk-sand);
  transition: color 0.4s var(--bk-ease);
}
.hx__t { display: inline-flex; align-items: center; }
.hx__t::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: currentColor;
  transition: width 0.5s var(--bk-ease), margin 0.5s var(--bk-ease);
}
.hx__index a:hover,
.hx__index a:focus-visible,
.hx__index a:hover .hx__n,
.hx__index a:focus-visible .hx__n { color: var(--bk-lime); }
.hx__index a:hover .hx__t::before,
.hx__index a:focus-visible .hx__t::before { width: 28px; margin-right: 10px; }
.hx__scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  flex: none;
  font: 600 11px/1 var(--bk-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bk-cream);
  animation: hx-fade 1s var(--bk-ease) both 1.5s;
}
.hx__scroll svg {
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 1px solid rgba(232, 226, 213, 0.4);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: background-color 0.4s var(--bk-ease), color 0.4s var(--bk-ease), border-color 0.4s var(--bk-ease);
}
.hx__scroll path { animation: hx-nudge 2.2s var(--bk-ease) infinite 2.4s; }
.hx__scroll:hover svg,
.hx__scroll:focus-visible svg { background: var(--bk-lime); border-color: var(--bk-lime); color: var(--bk-olive-deep); }
.page-home .hx :focus-visible { outline-color: var(--bk-lime); }
.page-home .nav:not(.nav--scrolled) { background: transparent; backdrop-filter: none; }
.page-home .nav:not(.nav--scrolled) .nav__border { opacity: 0; }
.page-home .nav:not(.nav--scrolled) .nav__logo-img { opacity: 0; visibility: hidden; }
.page-home .nav .nav__logo-img { transition: opacity 0.4s var(--bk-ease), visibility 0.4s; }

@keyframes hx-zoom { from { scale: 1.16; } to { scale: 1.04; } }
@keyframes hx-rise { from { transform: translateY(112%); } to { transform: none; } }
@keyframes hx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hx-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hx-rule { from { transform: scaleX(0); } to { transform: none; } }
@keyframes hx-ghost { from { opacity: 0; transform: translateY(60px); } to { opacity: 0.09; transform: none; } }
@keyframes hx-nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(3px); } }

@media (max-width: 1200px) {
  .hx__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

@media (max-width: 960px) {
  .hx__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo visual" "title title" "lead lead" "actions actions";
    align-items: end;
    align-content: center;
    column-gap: 16px;
  }
  .hx__text { display: contents; }
  .hx__logo { grid-area: logo; align-self: center; width: clamp(150px, 30vw, 240px); margin: 0; }
  .hx__visual { grid-area: visual; --bk-badge: clamp(46px, 10vw, 72px); width: clamp(148px, 38vw, 260px); padding: 0; justify-self: end; }
  .hx .bk-orbits { width: 100%; }
  .hx .bk-frame { width: 62%; }
  .hx .bk-seal { top: auto; bottom: calc(var(--bk-badge) * -0.18); right: calc(var(--bk-badge) * -0.5); }
  .hx__title { grid-area: title; margin-top: clamp(14px, 3vh, 36px); font-size: clamp(2.6rem, 9.6vw, 5.4rem); }
  .hx__lead { grid-area: lead; }
  .hx__actions { grid-area: actions; }
  .hx__note { display: none; }
  .hx__index ol { column-gap: 20px; }
  .hx .hx__ghost { bottom: clamp(90px, 18vw, 160px); font-size: clamp(6rem, 30vw, 14rem); }
  .hx__veil {
    background:
      linear-gradient(180deg, rgba(43, 40, 28, 0.78) 0%, rgba(43, 40, 28, 0.35) 30%, rgba(43, 40, 28, 0.6) 55%, rgba(43, 40, 28, 0.94) 100%);
  }
}

@media (max-width: 600px) {
  .hx { --hx-top: 64px; }
  .hx__grid { padding-top: 10px; padding-bottom: 8px; }
  .hx__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hx__lead { margin-top: 14px; font-size: 15.5px; line-height: 1.55; }
  .hx__actions { gap: 4px 20px; margin-top: 20px; }
  .hx__actions .bk-btn { width: 100%; }
  .hx__foot { flex-direction: column; align-items: stretch; gap: 4px; padding-top: 8px; }
  .hx__index ol { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0 12px; }
  .hx__index a { gap: 6px; min-height: 40px; font-size: 10.5px; letter-spacing: 0.16em; }
  .hx__n { font-size: 16px; }
  .hx__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hx__video { display: none; }
  .hx .hx__ghost { animation: none; opacity: 0.09; }
  .hx__w > span, .hx__logo, .hx__lead, .hx__actions, .hx__note, .hx__index li, .hx__scroll, .hx__scroll path, .hx__foot::before { animation: none; }
  .hx__curve-line { animation: none; stroke-dashoffset: 0; }
}

.ed-clients { border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); background: var(--ed-cream); }
.ed-clients__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; padding-top: 22px; padding-bottom: 22px; }
.ed-clients__label {
  margin: 0;
  font: 600 11px/1.4 var(--ed-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ed-olive-text);
}
.ed-clients__list { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.ed-clients__list li { display: inline-flex; align-items: baseline; }
.ed-clients__list li + li::before { content: "/"; margin: 0 14px; color: var(--ed-sand); }
.ed-clients__list a {
  font-family: var(--ed-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.4vw, 1.4rem);
  color: var(--ed-olive-deep);
  transition: color 0.3s;
}
.ed-clients__list a:hover { color: var(--ed-olive); }

.ed-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.ed-intro__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 4vw, 44px);
}
.ed-intro__cols p { margin: 0; color: var(--ed-muted); }
.ed-dropcap::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  font-family: var(--ed-serif);
  font-style: italic;
  font-size: 4.1em;
  line-height: 0.82;
  color: var(--ed-olive-deep);
}
.ed-pull {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0 0 0 clamp(18px, 2.5vw, 30px);
  border-left: 1px solid var(--ed-olive);
}
.ed-pull p {
  margin: 0;
  max-width: 24ch;
  font-family: var(--ed-display);
  font-weight: 200;
  font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.ed-intro__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ed-fig--before { margin-top: clamp(40px, 6vw, 90px); }
.ed-fig--before .ed-fig__frame, .ed-fig--after .ed-fig__frame { aspect-ratio: 9 / 19; box-shadow: 0 30px 60px -40px rgba(43, 40, 28, 0.55); }
.ed-fig--before img, .ed-fig--after img { object-position: top; }

.ed-diag {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  background: var(--ed-night);
  color: var(--ed-paper);
  overflow: hidden;
}
.ed-diag__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.ed-diag__media .ed-fig__frame { aspect-ratio: 4 / 5; background: #36321f; }
.ed-diag__media img { object-position: 50% 30%; }
.ed-diag__title {
  margin: 0;
  font-family: var(--ed-display);
  font-weight: 200;
  font-size: clamp(1.6rem, 1.05rem + 1.9vw, 2.65rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ed-paper);
  text-wrap: pretty;
}
.ed-diag__title em, .ed-close__title em { color: var(--ed-lime); }
.ed-diag__lead { margin: 24px 0 0; max-width: 56ch; font-size: clamp(16px, 0.95rem + 0.2vw, 18px); color: rgba(243, 239, 231, 0.76); }
.ed-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(32px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--ed-line-dark);
}
.ed-facts__item { padding: 20px 16px 0 0; }
.ed-facts__item + .ed-facts__item { padding-left: 18px; border-left: 1px solid var(--ed-line-dark); }
.ed-facts dt {
  font-family: var(--ed-display);
  font-weight: 200;
  font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ed-lime);
}
.ed-facts dd { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; color: rgba(243, 239, 231, 0.8); }
.ed-diag__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(32px, 4vw, 48px); }
.ed-diag__limit { margin: 0; max-width: 34ch; font-size: 14px; line-height: 1.55; color: rgba(243, 239, 231, 0.72); }
.ed-diag__limit strong { display: block; color: var(--ed-paper); font-weight: 600; }

.ed-healer { background: var(--ed-surface); }
.ed-healer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.ed-healer__media { max-width: 420px; justify-self: end; width: 100%; }
.ed-healer__media .ed-fig__frame { aspect-ratio: 1581 / 2000; transform: rotate(1.5deg); box-shadow: 0 30px 60px -36px rgba(43, 40, 28, 0.5); }

.page-home .ed-portfolio {
  background: var(--ed-cream);
}
.page-home .ed-portfolio .portfolio-marca__shell {
  max-width: var(--ed-max);
  padding: clamp(72px, 10vw, 136px) var(--ed-gutter) 0;
}
.page-home .ed-portfolio .portfolio-marca__top { align-items: start; }
.page-home .ed-portfolio .portfolio-marca__showcase { padding-bottom: clamp(72px, 10vw, 128px); }
.page-home .ed-portfolio .portfolio-marca__switcher-label {
  font-family: var(--ed-sans);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ed-olive-text);
}
.page-home .ed-portfolio .portfolio-marca__switch {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ed-line);
  border-radius: 0;
  box-shadow: none;
  padding: 10px 4px;
}
.page-home .ed-portfolio .portfolio-marca__switch:last-child { border-bottom: 1px solid var(--ed-line); }
.page-home .ed-portfolio .portfolio-marca__switch:hover { background: rgba(251, 249, 244, 0.5); transform: none; }
.page-home .ed-portfolio .portfolio-marca__switch.is-active { background: var(--ed-surface); box-shadow: none; }
.page-home .ed-portfolio .portfolio-marca__switch-num {
  font-family: var(--ed-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ed-olive-text);
}
.page-home .ed-portfolio .portfolio-marca__switch-name {
  font-family: var(--ed-sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 15px;
  color: var(--ed-ink);
}
.page-home .ed-portfolio .portfolio-marca__switch-tag { color: var(--ed-muted); opacity: 1; letter-spacing: 0.06em; font-family: var(--ed-sans); font-weight: 500; }
.page-home .ed-portfolio .portfolio-marca__autoplay-hint { font-family: var(--ed-sans); }
.page-home .ed-portfolio .portfolio-marca__autoplay-hint { color: var(--ed-muted); }

.page-home .ed-ig {
  background: var(--ed-paper);
  color: var(--ed-ink);
  padding: clamp(72px, 10vw, 136px) 0;
}
.page-home .ed-ig .instagram-showcase__inner { max-width: var(--ed-max); padding: 0 var(--ed-gutter); }
.ed-ig__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.ed-ig__aside .ed-lead { margin-top: 0; }
.page-home .ed-ig .ig-carousel__btn {
  border: 1px solid var(--ed-line-strong);
  background: var(--ed-surface);
  color: var(--ed-olive-deep);
}
.page-home .ed-ig .ig-carousel__btn:hover { background: var(--ed-olive-deep); color: var(--ed-paper); }
.page-home .ed-ig .ig-carousel__embed-shell { background: var(--ed-surface); border-radius: 4px; min-height: 200px; }

.ed-web { background: var(--ed-surface); overflow: hidden; }
.ed-web__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.ed-notes { margin: 32px 0 0; padding: 0; list-style: none; max-width: 52ch; }
.ed-notes li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--ed-line);
  color: var(--ed-muted);
}
.ed-notes li:last-child { border-bottom: 1px solid var(--ed-line); }
.ed-notes__n { font-family: var(--ed-serif); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--ed-olive-text); }
.ed-web__stage { display: flex; flex-direction: column; align-items: center; }
.page-home .ed-phone {
  width: min(300px, 72vw);
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 40px 50px rgba(43, 40, 28, 0.28));
  transition: transform 0.8s var(--ed-ease);
}
.page-home .ed-phone:hover { transform: rotate(0deg); }
.ed-web__cap { margin-top: 28px; }

.ed-photo__head { max-width: 50rem; margin-bottom: clamp(40px, 5vw, 72px); }
.ed-photo__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 2vw, 28px);
  row-gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.ed-photo__a { grid-column: 1 / 6; grid-row: 1 / 3; }
.ed-photo__a .ed-fig__frame { aspect-ratio: 2 / 3; }
.ed-photo__b { grid-column: 7 / 10; grid-row: 1; margin-top: 3rem; }
.ed-photo__b .ed-fig__frame { aspect-ratio: 3 / 4; }
.ed-photo__c { grid-column: 10 / 13; grid-row: 1; margin-top: 9rem; }
.ed-photo__c .ed-fig__frame { aspect-ratio: 3 / 4; }
.ed-photo__d { grid-column: 6 / 9; grid-row: 2; padding-left: clamp(0px, 2vw, 24px); }
.ed-photo__d .ed-fig__frame { aspect-ratio: 4 / 5; }
.ed-photo__e { grid-column: 9 / 13; grid-row: 2; margin-top: 4rem; }
.ed-photo__e .ed-fig__frame { aspect-ratio: 1 / 1; }

.ed-tools { background: var(--ed-cream); }
.ed-tools__head { max-width: 50rem; }
.ed-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 72px);
}
.ed-tool { padding-top: 22px; border-top: 1px solid var(--ed-line-strong); }
.ed-tool__n { margin: 0; font-family: var(--ed-serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--ed-olive-text); }
.ed-tool__title {
  margin: 14px 0 0;
  font-family: var(--ed-display);
  font-weight: 200;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ed-ink);
}
.ed-tool__lead { margin: 12px 0 0; color: var(--ed-ink); }
.ed-tool__list { margin: 16px 0 0; padding: 0; list-style: none; }
.ed-tool__list li { position: relative; padding: 8px 0 8px 22px; color: var(--ed-muted); font-size: 15px; line-height: 1.55; }
.ed-tool__list li::before { content: "—"; position: absolute; left: 0; color: var(--ed-olive); }
.ed-tools__cta { margin: clamp(32px, 4vw, 52px) 0 0; }

.ed-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.ed-about__media { position: sticky; top: 110px; padding-bottom: 80px; }
.ed-about__main .ed-fig__frame { aspect-ratio: 4 / 5; }
.ed-about__main img { object-position: 50% 25%; }
.ed-about__main .ed-fig__cap { max-width: 56%; }
.ed-about__video { position: absolute; right: -8%; bottom: 0; width: 38%; }
.ed-about__video .ed-fig__frame { aspect-ratio: 9 / 16; outline: 8px solid var(--ed-paper); background: var(--ed-night); }
.ed-about__video .ed-fig__cap { max-width: 20ch; }
.ed-diff { margin-top: clamp(40px, 5vw, 64px); }
.ed-diff__title {
  margin: 0 0 18px;
  font: 600 11.5px/1.4 var(--ed-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ed-olive-text);
}
.ed-diff__list { margin: 0; padding: 0; list-style: none; }
.ed-diff__list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--ed-line);
  color: var(--ed-muted);
}
.ed-diff__list li:last-child { border-bottom: 1px solid var(--ed-line); }
.ed-diff__list strong { color: var(--ed-ink); font-weight: 600; }
.ed-diff__n { font-family: var(--ed-serif); font-style: italic; font-size: 20px; line-height: 1.3; color: var(--ed-olive-text); }
.ed-about__signature { margin-top: 36px; }

.ed-close {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  background: var(--ed-night);
  color: var(--ed-paper);
}
.ed-close__title {
  margin: 0;
  font-family: var(--ed-display);
  font-weight: 200;
  font-size: clamp(2.4rem, 1.2rem + 4.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.ed-close__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 72px);
}
.ed-close__option { display: flex; flex-direction: column; align-items: flex-start; padding-top: 24px; border-top: 1px solid var(--ed-line-dark); }
.ed-close__when { margin: 0; font-family: var(--ed-serif); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem); line-height: 1.35; color: var(--ed-lime); }
.ed-close__option h3 { margin: 16px 0 0; font-family: var(--ed-display); font-weight: 200; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.1rem); line-height: 1.15; color: var(--ed-paper); }
.ed-close__option p:not(.ed-close__when) { margin: 12px 0 26px; max-width: 44ch; color: rgba(243, 239, 231, 0.74); }
.ed-close__option .ed-btn { margin-top: auto; }

.page-home .footer { background: var(--ed-paper); border-top: 1px solid var(--ed-line); }
.page-home .footer__tagline, .page-home .footer__nav-heading, .page-home .footer__nav-link, .page-home .footer__copyright, .page-home .footer__legal-link, .page-home .footer__social-btn { font-family: var(--ed-sans); }
.page-home .footer__tagline { color: var(--ed-olive-text); font-weight: 600; letter-spacing: 0.16em; }
.page-home .footer__nav-heading { color: var(--ed-olive-text); }
.page-home .footer__nav-link { color: var(--ed-ink); }
.page-home .footer__copyright, .page-home .footer__legal-link, .page-home .footer__legal-sep { color: var(--ed-muted); }
.page-home .footer__cta-vertical { background: var(--ed-olive-deep); color: var(--ed-paper); box-shadow: none; }

.page-home .nav .nav__link--cta { white-space: nowrap; }

.ed-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ed-ease), transform 0.9s var(--ed-ease); }
.ed-js .reveal.is-in { opacity: 1; transform: none; }
.ed-js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.ed-js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.ed-js .reveal[data-delay="3"] { transition-delay: 0.3s; }
.ed-js .ed-unveil { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ed-ease) 0.1s; }
.ed-js .ed-unveil img { transform: scale(1.08); transition: transform 1.6s var(--ed-ease) 0.1s; }
.ed-js .is-in .ed-unveil { clip-path: inset(0 0 0 0); }
.ed-js .is-in .ed-unveil img { transform: none; }
.ed-js .ed-signature.reveal { transform: rotate(-6deg) translateY(10px); }
.ed-js .ed-signature.reveal.is-in { transform: rotate(-6deg); }

@media (max-width: 1100px) {
  .ed-about__video { right: 0; }
}

@media (max-width: 960px) {
  .ed-intro__grid, .ed-diag__grid, .ed-healer__grid, .ed-web__grid, .ed-about__grid, .ed-ig__head { grid-template-columns: minmax(0, 1fr); }
  .ed-intro__media { max-width: 520px; }
  .ed-diag__media { max-width: 440px; order: 2; }
  .ed-healer__media { justify-self: start; max-width: 340px; }
  .ed-about__media { position: relative; top: auto; max-width: 520px; }
  .ed-tools__grid { grid-template-columns: minmax(0, 1fr); }
  .page-home .ed-portfolio .portfolio-marca__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .ed-intro__cols { grid-template-columns: minmax(0, 1fr); }
  .ed-close__grid { grid-template-columns: minmax(0, 1fr); }
  .ed-photo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-photo__a { grid-column: 1 / -1; grid-row: auto; }
  .ed-photo__a .ed-fig__frame { aspect-ratio: 4 / 5; }
  .ed-photo__b, .ed-photo__d { grid-column: 1; grid-row: auto; margin-top: 0; padding-left: 0; }
  .ed-photo__c, .ed-photo__e { grid-column: 2; grid-row: auto; margin-top: 2.5rem; }
  .ed-photo__e .ed-fig__frame { aspect-ratio: 4 / 5; }
}

@media (max-width: 560px) {
  .ed-diag__cta .ed-btn, .ed-close__option .ed-btn { width: 100%; }
  .ed-btn { padding: 0 22px; }
  .ed-facts { grid-template-columns: minmax(0, 1fr); }
  .ed-facts__item, .ed-facts__item + .ed-facts__item { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--ed-line-dark); }
  .ed-facts dt { min-width: 3.2ch; font-size: 2.4rem; }
  .ed-facts dd { margin: 0; }
  .ed-clients__inner { gap: 6px 0; }
  .ed-clients__label { width: 100%; }
  .ed-clients__list li + li::before { margin: 0 10px; }
  .ed-about__video { width: 42%; right: 0; }
  .ed-photo__grid { column-gap: 12px; }
  .ed-fig__cap { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ed-js .reveal, .ed-js .ed-unveil, .ed-js .ed-unveil img { transition: none; opacity: 1; transform: none; clip-path: none; }
  .ed-js .ed-signature.reveal { transform: rotate(-6deg); }
  .page-home .ed-phone, .ed-btn, .ed-btn::before { transition: none; }
}
