/* The Designer Eye theme styles. Tokens come from tokens.css (data-theme="light" on <html>). */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, figure, blockquote, hr { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--border-strong); outline-offset: 3px; }
.tde-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--onyx); color: var(--ivory); border-radius: var(--radius-sm); }
.tde-skip:focus { top: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:root {
  --gutter: 80px;
  --container: 1440px;
  --header-h: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (max-width: 1024px) { :root { --gutter: 40px; } }
@media (max-width: 640px) { :root { --gutter: 20px; } }

.tde-container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.tde-section { padding: 56px 0 64px; }
.tde-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }

/* ---------- Type ---------- */
.tde-eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mahogany); margin-bottom: 12px; display: flex; align-items: center; gap: 12px;
}
.tde-eyebrow__sep { width: 1px; height: 14px; background: var(--taupe); }
.tde-eyebrow--rule::before { content: ""; width: 40px; height: 1px; background: var(--espresso); }
.tde-h2 { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.0375em; color: var(--espresso); }
.tde-tt__heavy { font-weight: 700; }
.tde-tt__light { font-weight: 300; color: var(--taupe); }
.tde-tt__mahogany { color: var(--mahogany); }
.tde-icon { width: 1em; height: 1em; flex: none; }

/* Buttons: 4 px corners, 44 px tall, Mahogany fill with Ivory text for primary */
.tde-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tde-btn--primary { background: var(--mahogany); color: var(--ivory); border-color: var(--mahogany); }
.tde-btn--primary:hover { background: var(--espresso); border-color: var(--espresso); }
.tde-btn--onyx { background: var(--onyx); color: var(--ivory); border-color: var(--onyx); }
.tde-btn--onyx:hover { background: var(--mahogany); border-color: var(--mahogany); }
.tde-btn--outline { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.tde-btn--outline:hover { background: var(--espresso); color: var(--ivory); }
.tde-btn--ghost { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.tde-btn--ghost:hover { background: var(--ivory); color: var(--onyx); }
.tde-textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mahogany);
}
.tde-textlink .tde-icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.tde-textlink:hover .tde-icon { transform: translateX(4px); }
.tde-textlink--rule { position: relative; padding-bottom: 2px; }
.tde-textlink--rule::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--clay); }
.tde-textlink--rule::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; background: var(--mahogany); z-index: 1; }
.tde-underline-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 24px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--espresso);
  border-bottom: 2px solid var(--espresso); transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tde-underline-btn:hover { color: var(--mahogany); border-color: var(--mahogany); }
.tde-play {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--mahogany); color: var(--ivory); border: 1px solid var(--taupe); flex: none;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.tde-play .tde-icon { width: 24px; height: 24px; margin-left: 3px; }
.tde-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--taupe); }

/* ---------- Header ---------- */
.tde-header {
  position: sticky; top: 0; z-index: 60; background: var(--ivory); height: var(--header-h);
  transition: box-shadow .25s var(--ease);
}
.tde-header.is-scrolled { box-shadow: 0 1px 0 var(--clay), 0 8px 24px rgba(12, 9, 6, .08); }
.tde-header__inner { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.tde-header__brand { display: inline-flex; align-items: center; flex: none; }
.tde-header__logo { width: auto; height: 46px; }
.tde-nav { flex: 1; display: flex; justify-content: center; }
.tde-nav__list { display: flex; align-items: center; }
.tde-nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 5px 20px;
  font-size: 15px; font-weight: 500; color: var(--espresso); position: relative;
}
.tde-nav__link::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 6px; height: 2px; background: var(--mahogany); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.tde-nav__link:hover::after, .tde-nav__link:focus-visible::after { transform: scaleX(1); }
.tde-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.tde-phone { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; margin-right: 8px; line-height: 1.15; }
.tde-phone__label { font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mahogany); }
.tde-phone__number { font-size: 14px; font-weight: 700; color: var(--espresso); }
.tde-header .tde-btn { min-height: 40px; padding: 0 18px; }
.tde-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--espresso); margin-left: auto; }
.tde-burger .tde-icon { width: 26px; height: 26px; }
.tde-burger__close { display: none; }
.tde-burger[aria-expanded="true"] .tde-burger__open { display: none; }
.tde-burger[aria-expanded="true"] .tde-burger__close { display: block; }
.tde-drawer {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 59; overflow-y: auto;
  background: var(--ivory); padding: 24px var(--gutter) 40px; border-top: 1px solid var(--clay);
}
.tde-drawer[hidden] { display: none; }
.tde-drawer__nav a { display: flex; align-items: center; min-height: 52px; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--clay); }
.tde-drawer__phone { margin: 24px 0 16px; }
.tde-drawer__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.tde-drawer__buttons .tde-btn { flex: 1 1 160px; }
.tde-drawer__social { margin-top: 28px; }
.tde-drawer__social .tde-social__btn { background: var(--espresso); color: var(--ivory); }

/* ---------- Hero ---------- */
.tde-hero { position: relative; min-height: clamp(560px, 47.5vw, 720px); display: flex; align-items: stretch; overflow: hidden; isolation: isolate; }
.tde-hero__media { position: absolute; inset: 0; z-index: -1; }
.tde-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--tde-hero-pos, 70% 40%); }
.tde-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(243, 238, 231, .58) 0%, rgba(243, 238, 231, .3) 16%, rgba(243, 238, 231, 0) 30%),
    linear-gradient(90deg, rgba(243, 238, 231, .74) 0%, rgba(243, 238, 231, .46) 34%, rgba(243, 238, 231, 0) 60%);
}
.tde-hero__inner { position: relative; display: flex; flex-direction: column; padding-top: 88px; padding-bottom: 56px; }
.tde-hero__eyebrow { margin-bottom: 24px; font-size: 14px; font-weight: 600; }
.tde-hero__title { font-size: clamp(52px, 5.14vw, 74px); line-height: .96; font-weight: 900; letter-spacing: -.04em; color: var(--espresso); max-width: 640px; }
.tde-hero__title .tde-tt__light { font-weight: 300; color: var(--mahogany); }
.tde-hero__lead { max-width: 520px; margin-top: 36px; font-size: 16px; line-height: 1.7; color: var(--espresso); }
.tde-hero__cta { align-self: flex-start; margin-top: 24px; }
.tde-hero__rule { width: 100%; max-width: 520px; height: 1px; border: 0; background: var(--espresso); opacity: .6; margin: 40px 0 28px; }
/* The stats row never runs under the Meet box: room is reserved on the right (box width plus a margin). */
.tde-stats { display: flex; gap: 32px; flex-wrap: wrap; max-width: calc(100% - 360px); }
.tde-stat { display: flex; flex-direction: column; gap: 4px; }
.tde-stat__n { font-size: 26px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--espresso); }
.tde-stat__label { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--espresso); }
.tde-meet {
  position: absolute; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 20px;
  background: var(--onyx); color: var(--ivory); padding: 18px 24px 18px 18px; min-width: 300px;
}
.tde-meet__thumb { width: 104px; height: 58px; object-fit: cover; flex: none; }
.tde-meet__text { display: flex; flex-direction: column; gap: 4px; }
.tde-meet__small { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.tde-meet__title { font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--ivory); }
.tde-meet__play { width: 48px; height: 48px; margin-left: 4px; }
.tde-meet:hover .tde-play { transform: scale(1.06); }

/* ---------- Quote ribbon ---------- */
.tde-ribbon { background: var(--mahogany); color: var(--ivory); padding: 15px 0; }
.tde-ribbon__text { text-align: center; font-size: 19px; line-height: 1.3; }
.tde-ribbon__by { font-weight: 600; white-space: nowrap; }

/* ---------- Two ways ---------- */
.tde-twoways__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 32px; }
.tde-card { position: relative; display: block; aspect-ratio: 627 / 400; overflow: hidden; background: var(--umber); color: var(--ivory); isolation: isolate; }
.tde-card__media { position: absolute; inset: 0; }
.tde-card__img, .tde-card__video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tde-card:nth-child(1) .tde-card__img { object-position: 0% 0%; } /* Sanaz's face is top-left of the frame */
.tde-card__video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease); }
.tde-card.is-playing .tde-card__video { opacity: 1; }
.tde-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 9, 6, .8) 0%, rgba(12, 9, 6, .34) 40%, rgba(12, 9, 6, 0) 70%); transition: opacity .35s var(--ease); }
.tde-card__body { position: absolute; left: 34px; right: 34px; bottom: 30px; display: flex; flex-direction: column; }
.tde-card__title { font-size: 32px; font-weight: 850; line-height: 1; letter-spacing: -.02em; color: var(--ivory); }
.tde-card__bar { width: 36px; height: 3px; background: var(--blush-sand); margin-top: 14px; }
.tde-card__text { font-size: 15px; line-height: 1.55; color: rgba(243, 238, 231, .94); max-width: 460px; margin-top: 16px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s var(--ease); }
.tde-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.tde-card__link .tde-icon { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .tde-card:hover .tde-card__img, .tde-card:focus-visible .tde-card__img { transform: scale(1.05); }
  .tde-card:hover .tde-card__shade, .tde-card:focus-visible .tde-card__shade { background: linear-gradient(0deg, rgba(12, 9, 6, .88) 0%, rgba(12, 9, 6, .5) 45%, rgba(12, 9, 6, 0) 70%); }
  .tde-card:hover .tde-card__text, .tde-card:focus-visible .tde-card__text { max-height: 160px; opacity: 1; }
  .tde-card:hover .tde-card__link, .tde-card:focus-visible .tde-card__link { opacity: 1; transform: none; }
}

/* ---------- About ---------- */
.tde-about { position: relative; overflow: hidden; padding: 96px 0 88px; min-height: 900px; display: flex; align-items: center; }
/* Portrait photo (2:3): the box is narrower than the photo so the left edge of the frame (her face) is anchored and the fade only covers the left quarter. */
.tde-about__media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.tde-about__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 12%, #000 24%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 12%, #000 24%);
}
.tde-about .tde-container { position: relative; }
.tde-about__content { max-width: 680px; }
.tde-about__title { margin-bottom: 40px; }
.tde-about__title .tde-tt__light { color: var(--mahogany); }
.tde-about__lead { font-size: 16px; font-weight: 700; line-height: 1.75; }
.tde-about__body { font-size: 16px; line-height: 1.75; margin-top: 4px; }
.tde-about .tde-textlink { margin-top: 8px; }
.tde-timeline { position: relative; margin: 36px 0 0; padding-left: 0; }
.tde-timeline::before { content: ""; position: absolute; left: 5px; top: 16px; bottom: 16px; width: 1px; background: var(--clay); }
.tde-timeline__item { position: relative; display: grid; grid-template-columns: 12px 48px 1fr; gap: 0 18px; align-items: center; min-height: 44px; }
.tde-timeline__marker { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--taupe); background: var(--ivory); position: relative; z-index: 1; }
.tde-timeline__year { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--mahogany); }
.tde-timeline__label { font-size: 15px; line-height: 1.35; color: var(--espresso); }
.tde-reach { margin-top: 44px; }
.tde-reach__title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.tde-reach__title .tde-tt__light { font-weight: 300; }
.tde-reach__list { display: flex; flex-wrap: wrap; }
.tde-reach__item { padding: 0 24px 0 0; margin-right: 24px; border-right: 1px solid var(--clay); }
.tde-reach__item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.tde-reach__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.tde-reach__link .tde-icon { width: 20px; height: 20px; color: var(--mahogany); }
.tde-reach__text { display: flex; flex-direction: column; line-height: 1.15; }
.tde-reach__n { font-size: 16px; font-weight: 800; color: var(--espresso); }
.tde-reach__n--handle { font-size: 14px; font-weight: 700; }
.tde-reach__label { font-size: 11px; color: var(--mahogany); }

/* ---------- Episodes carousel ---------- */
.tde-episodes { background: var(--blush-sand); padding: 32px 0; overflow: hidden; }
.tde-episodes__inner { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.tde-episodes .tde-eyebrow { color: var(--espresso); }
.tde-episodes__title { font-size: 49px; line-height: 1.02; }
.tde-episodes__title .tde-tt__light { color: var(--mahogany); }
.tde-carousel { position: relative; min-width: 0; }
.tde-carousel__track { min-width: 0; }
.tde-carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; cursor: grab;
}
.tde-carousel__track::-webkit-scrollbar { display: none; }
.tde-carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.tde-carousel__item { flex: none; scroll-snap-align: start; }
.tde-episodes__carousel { margin-right: calc(-1 * var(--gutter)); }
.tde-episodes__carousel .tde-carousel__item { width: 300px; }
.tde-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--umber); }
.tde-thumb__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tde-thumb__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.tde-thumb:hover .tde-thumb__img { transform: scale(1.04); }
.tde-thumb:hover .tde-play { background: var(--espresso); }
.tde-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center; background: var(--mahogany); color: var(--ivory);
  transition: background-color .2s var(--ease), opacity .2s var(--ease);
}
.tde-carousel__arrow .tde-icon { width: 26px; height: 26px; }
.tde-carousel__arrow:hover { background: var(--espresso); }
.tde-carousel__arrow[disabled] { opacity: .35; cursor: default; }
.tde-carousel__arrow--prev { left: -32px; }
.tde-carousel__arrow--next { right: var(--gutter); }
.tde-carousel__arrow--small { position: static; transform: none; width: 44px; height: 44px; }
.tde-carousel__arrow--small .tde-icon { width: 20px; height: 20px; }

/* ---------- Recognition strip ---------- */
.tde-recognition { padding: 20px 0; border-top: 1px solid var(--clay); border-bottom: 1px solid var(--clay); overflow: hidden; }
.tde-recognition__inner { display: flex; align-items: center; gap: 24px; }
.tde-recognition__label { font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--espresso); white-space: nowrap; }
.tde-recognition__divider { width: 1px; height: 28px; background: var(--taupe); flex: none; }
.tde-marquee { flex: 1; display: flex; overflow: hidden; margin-right: calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
/* The track stays still until the strip has been on screen for a moment (.is-live from theme.js), so the first paint shows the badges and MODERN whole. */
.tde-marquee__track { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; animation: tde-marquee 42s linear infinite; animation-play-state: paused; }
.tde-marquee.is-live .tde-marquee__track { animation-play-state: running; }
.tde-marquee:hover .tde-marquee__track, .tde-marquee:focus-within .tde-marquee__track { animation-play-state: paused; }
.tde-marquee__item { flex: none; display: flex; align-items: center; min-height: 48px; }
.tde-marquee__badge { width: 48px; height: 48px; }
.tde-marquee__mark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-wordmark); font-size: 24px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); white-space: nowrap; transition: color .2s var(--ease); }
.tde-marquee__mark:hover { color: var(--mahogany); }
@keyframes tde-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Masterclass panel ---------- */
.tde-panel { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--clay); background: var(--ivory); box-shadow: 0 10px 30px rgba(12, 9, 6, .05); }
.tde-mcard { padding: 32px 28px 28px; display: flex; flex-direction: column; border-left: 1px solid var(--clay); }
.tde-mcard:first-child { border-left: 0; }
.tde-mcard__top { display: flex; gap: 20px; align-items: flex-start; }
.tde-mcard__thumb { width: 115px; height: 115px; flex: none; overflow: hidden; background: var(--umber); }
.tde-mcard__img { width: 100%; height: 100%; object-fit: cover; }
.tde-mcard__cat { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mahogany); margin-bottom: 6px; }
.tde-mcard__cat--interior-design .tde-dot { background: var(--mahogany); }
.tde-mcard__title { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--espresso); max-width: 9.6em; text-wrap: balance; } /* two balanced lines, no single-word last line */
.tde-mcard__lessons { margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mahogany); }
.tde-mcard__where { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--mahogany); }
.tde-mcard__where .tde-icon { width: 14px; height: 14px; }
.tde-mcard__text { margin-top: 24px; font-size: 15px; line-height: 1.55; color: var(--espresso); flex: 1; }
.tde-mcard .tde-underline-btn { align-self: flex-start; margin-top: 32px; }

/* ---------- Testimonials ---------- */
.tde-testimonials { overflow: hidden; }
.tde-testimonials__arrows { display: flex; gap: 8px; }
.tde-testimonials__carousel { margin: 0; }
.tde-testimonials__track { gap: 10px; padding-left: calc(50vw - 720px + var(--gutter)); padding-right: var(--gutter); padding-bottom: 24px; }
.tde-testimonials__track .tde-carousel__item { width: 250px; display: flex; }
/* Every quote box stretches to the tallest one in the row (flex), so the cards keep one height. */
.tde-tcard__figure { position: relative; display: flex; flex-direction: column; width: 100%; }
.tde-tcard__photo { width: 250px; height: 250px; flex: none; overflow: hidden; background: var(--umber); }
.tde-tcard__img { width: 100%; height: 100%; object-fit: cover; }
/* Portrait room frames in a square: keep the feature (pendants, fire, olive branches) above the quote box. */
.tde-tcard:nth-child(1) .tde-tcard__img { object-position: 50% 25%; }
.tde-tcard:nth-child(4) .tde-tcard__img { object-position: 50% 40%; }
.tde-tcard:nth-child(5) .tde-tcard__img { object-position: 50% 25%; }
.tde-tcard:nth-child(7) .tde-tcard__img { object-position: 50% 40%; }
.tde-tcard:nth-child(8) .tde-tcard__img { object-position: 50% 30%; }
.tde-tcard__box {
  position: relative; margin-top: -60px; width: 222px; min-height: 160px; flex: 1; padding: 26px 20px 18px;
  background: var(--ivory); box-shadow: 0 12px 30px rgba(12, 9, 6, .14), 0 1px 0 var(--clay);
}
.tde-tcard__corner { position: absolute; left: 0; top: 0; width: 44px; height: 4px; background: var(--mahogany); }
.tde-tcard__mark { position: absolute; font-size: 56px; line-height: 1; font-weight: 900; color: var(--blush-sand); pointer-events: none; }
.tde-tcard__mark--open { left: 10px; top: 4px; }
.tde-tcard__mark--close { right: 12px; bottom: -14px; }
.tde-tcard__quote p { position: relative; font-size: 14px; line-height: 1.5; font-style: italic; color: var(--espresso); }
.tde-tcard__name { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); padding-right: 24px; }
.tde-tcard__bar { width: 16px; height: 2px; background: var(--mahogany); flex: none; }
.tde-tcard__role { margin-top: 4px; padding-left: 26px; font-size: 12px; color: var(--mahogany); }

/* ---------- Footer ---------- */
.tde-footer { background: var(--onyx); color: var(--ivory); padding: 80px 0 var(--tde-cookie-h, 0px); } /* bottom room while the cookie notice is up */
.tde-footer__grid { display: grid; grid-template-columns: 1.7fr .8fr 1fr 1.6fr; gap: 40px; }
.tde-footer__brand { display: inline-block; margin-bottom: 14px; }
.tde-footer__sws { display: inline-block; margin-bottom: 28px; }
.tde-social { display: flex; gap: 12px; flex-wrap: wrap; }
.tde-social__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--umber); color: var(--ivory); transition: background-color .2s var(--ease); }
.tde-social__btn:hover { background: var(--mahogany); }
.tde-social__btn .tde-icon { width: 18px; height: 18px; }
.tde-footer__heading { font-size: 20px; font-weight: 700; margin-bottom: 14px; color: var(--ivory); }
.tde-footer__col--brand .tde-footer__heading { margin-top: 36px; }
.tde-footer__links li a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; color: var(--ivory); opacity: .92; }
.tde-footer__links li a:hover { color: var(--blush-sand); opacity: 1; }
.tde-footer__block { border-left: 2px solid var(--mahogany); padding-left: 16px; margin-bottom: 20px; }
.tde-footer__label { font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.tde-footer__value { font-size: 15px; line-height: 1.5; }
.tde-footer__value a:hover { color: var(--blush-sand); }
.tde-latest__item { padding: 0 0 0 80px; margin-bottom: 34px; }
.tde-latest__meta { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.tde-latest__meta .tde-dot { background: var(--mahogany); }
.tde-latest__title { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ivory); }
.tde-latest__title:hover { color: var(--blush-sand); }
.tde-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding: 20px 0 20px 68px; border-top: 1px solid var(--umber); }
.tde-footer__copy { font-size: 12px; color: var(--clay); }
.tde-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.tde-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--ivory); }
.tde-footer__legal a:hover { color: var(--blush-sand); }
.tde-credit { border-top: 1px solid var(--umber); padding: 14px var(--gutter); text-align: center; font-size: 12px; line-height: 1.5; color: var(--clay); }
.tde-credit a { display: inline-block; padding: 4px 0; line-height: 28px; color: var(--clay); }
.tde-credit a:hover { color: var(--ivory); }
.tde-credit img { display: inline-block; vertical-align: middle; width: 28px; height: 28px; margin-right: 8px; background: transparent; }
.tde-credit strong { color: var(--ivory); }

/* ---------- Cookie notice ---------- */
.tde-cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(540px, calc(100vw - 40px));
  background: var(--onyx); color: var(--ivory); padding: 28px 28px 24px; box-shadow: 0 20px 50px rgba(12, 9, 6, .35);
}
.tde-cookie[hidden] { display: none; }
.tde-cookie__close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--clay); }
.tde-cookie__close .tde-icon { width: 18px; height: 18px; }
.tde-cookie__title { font-size: 22px; font-weight: 500; letter-spacing: .04em; margin-bottom: 10px; }
.tde-cookie__body { font-size: 14px; line-height: 1.6; color: var(--clay); }
.tde-cookie__settings { margin-top: 16px; display: grid; gap: 8px; }
.tde-cookie__settings[hidden] { display: none; }
.tde-cookie__opt { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 32px; }
.tde-cookie__opt input { width: 18px; height: 18px; accent-color: var(--mahogany); }
.tde-cookie__buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.tde-cookie__buttons .tde-btn { flex: 1 1 140px; }
.tde-cookie__buttons .tde-btn[hidden] { display: none; }
.tde-cookie .tde-btn--primary { border-color: var(--taupe); }

/* ---------- Video modal ---------- */
.tde-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tde-modal[hidden] { display: none; }
.tde-modal__backdrop { position: absolute; inset: 0; background: rgba(12, 9, 6, .92); }
.tde-modal__dialog { position: relative; width: min(1120px, 100%); background: var(--onyx); color: var(--ivory); outline: 0; }
.tde-modal__close { position: absolute; right: 0; top: -52px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ivory); }
.tde-modal__close .tde-icon { width: 22px; height: 22px; }
.tde-modal__frame { aspect-ratio: 16 / 9; background: var(--onyx); }
.tde-modal__frame:empty { display: none; }
.tde-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tde-modal__blocked { padding: 40px; text-align: center; }
.tde-modal__blocked[hidden] { display: none; }
.tde-modal__blocked p { font-size: 16px; line-height: 1.6; color: var(--clay); max-width: 520px; margin: 0 auto 24px; }
.tde-modal__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tde-no-scroll { overflow: hidden; }

/* ---------- Back to top (45 px round, bottom-right, fades in after scrolling) ---------- */
.tde-totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 45px; height: 45px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--mahogany); color: var(--ivory);
  border: 1px solid var(--taupe); box-shadow: 0 8px 24px rgba(12, 9, 6, .25); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s, background-color .2s var(--ease);
}
.tde-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tde-totop:hover { background: var(--espresso); }
.tde-totop .tde-icon { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ---------- Inner pages (generic) ---------- */
.tde-page { padding: 64px var(--gutter) 96px; }
.tde-entry { max-width: 760px; }
.tde-entry__title { font-size: 40px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 24px; }
.tde-entry__content > * + * { margin-top: 1em; }
.tde-entry__content a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .tde-stats { gap: 24px; max-width: calc(100% - 290px); }
  .tde-stat { max-width: 150px; } /* long labels wrap to two lines instead of running under the Meet box */
  .tde-meet { min-width: 0; padding: 16px 20px 16px 16px; gap: 16px; }
  .tde-nav, .tde-header__actions { display: none; }
  .tde-burger { display: inline-flex; }
  .tde-header__inner { justify-content: center; position: relative; }
  .tde-header__brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .tde-header__logo { height: 36px; }
  .tde-burger { position: absolute; right: calc(var(--gutter) - 10px); top: 10px; margin: 0; }
}
@media (max-width: 1024px) {
  .tde-h2 { font-size: 36px; }
  .tde-about { min-height: 0; padding: 72px 0; }
  .tde-about__media { width: 46%; }
  .tde-about__content { max-width: 540px; }
  .tde-episodes__inner { grid-template-columns: 1fr; gap: 24px; }
  .tde-episodes__title { font-size: 44px; }
  .tde-episodes__title br { display: none; }
  .tde-carousel__arrow--prev { left: 0; }
  .tde-panel { grid-template-columns: 1fr; }
  .tde-mcard { border-left: 0; border-top: 1px solid var(--clay); }
  .tde-mcard:first-child { border-top: 0; }
  .tde-footer__grid { grid-template-columns: 1fr 1fr; }
  .tde-latest__item { padding-left: 0; }
  .tde-footer__bottom { padding-left: 0; }
  .tde-testimonials__track { padding-left: var(--gutter); }
}
@media (max-width: 768px) {
  .tde-section { padding: 48px 0; }
  .tde-section__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .tde-h2 { font-size: 32px; }
  /* Phones and small tablets: the photo is a block above the text (her face is never under the copy); its foot fades into Ivory. */
  .tde-hero { min-height: 0; flex-direction: column; }
  .tde-hero__media { position: relative; inset: auto; height: clamp(280px, 100vw, 520px); }
  .tde-hero__media::after { background: linear-gradient(180deg, rgba(243, 238, 231, 0) 55%, rgba(243, 238, 231, .6) 80%, var(--ivory) 100%); }
  .tde-hero__inner { padding-top: 0; padding-bottom: 36px; margin-top: -28px; }
  .tde-hero__eyebrow { margin-bottom: 16px; }
  .tde-hero__title { font-size: clamp(38px, 10.8vw, 48px); max-width: 100%; }
  .tde-hero__lead { margin-top: 24px; font-size: 15px; max-width: 100%; }
  .tde-hero__cta { margin-top: 20px; }
  .tde-meet { position: static; align-self: flex-start; margin-top: 24px; min-width: 0; padding: 12px 16px 12px 12px; gap: 14px; }
  .tde-meet__thumb { width: 72px; height: 40px; }
  .tde-meet__title { font-size: 18px; }
  .tde-meet__play { width: 40px; height: 40px; }
  .tde-meet__play .tde-icon { width: 18px; height: 18px; }
  .tde-hero__rule { margin: 28px 0 20px; max-width: 100%; }
  .tde-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 100%; }
  .tde-stat { max-width: none; }
  .tde-stat__n { font-size: 22px; }
  .tde-stat__label { font-size: 9px; letter-spacing: .04em; }
  .tde-ribbon__text { font-size: 16px; }
  .tde-twoways__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .tde-card { aspect-ratio: 370 / 280; }
  .tde-card__body { left: 22px; right: 22px; bottom: 22px; }
  .tde-card__title { font-size: 28px; }
  .tde-about { padding: 56px 0; }
  .tde-about__media { width: 100%; }
  .tde-about__img { object-position: 0% 20%; opacity: .32; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); }
  .tde-about__title { margin-bottom: 24px; }
  .tde-timeline__item { grid-template-columns: 12px 40px 1fr; }
  .tde-reach__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .tde-reach__item { border-right: 0; margin-right: 0; padding-right: 0; }
  .tde-episodes { padding: 36px 0; }
  .tde-episodes__title { font-size: 40px; }
  .tde-episodes__carousel .tde-carousel__item { width: min(300px, 70vw); }
  .tde-carousel__arrow { width: 48px; height: 48px; }
  .tde-carousel__arrow .tde-icon { width: 20px; height: 20px; }
  .tde-recognition__inner { flex-wrap: wrap; gap: 14px 20px; }
  .tde-recognition__divider { height: 20px; }
  .tde-marquee { flex-basis: 100%; }
  .tde-marquee__mark { font-size: 24px; } /* stays large text: Taupe on Ivory is 3.3:1 */
  .tde-mcard { padding: 28px 24px; }
  .tde-mcard__top { gap: 18px; }
  .tde-mcard__thumb { width: 88px; height: 88px; }
  .tde-testimonials__track .tde-carousel__item { width: 220px; }
  .tde-tcard__photo { width: 220px; height: 220px; }
  .tde-tcard__box { width: 200px; }
  .tde-totop { right: 12px; bottom: calc(12px + var(--tde-cookie-h, 0px)); }
  .tde-footer { padding-top: 56px; }
  .tde-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .tde-footer__col--brand .tde-footer__heading { margin-top: 28px; }
  .tde-footer__bottom { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 32px; }
  .tde-footer__legal { gap: 4px 16px; }
  .tde-cookie { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 22px 20px 20px; }
  .tde-cookie__title { font-size: 20px; }
  .tde-modal { padding: 12px; }
  .tde-modal__close { top: -48px; }
}
@media (max-width: 400px) {
  .tde-marquee__track { gap: 48px; padding-right: 48px; } /* badges and MODERN whole at 360 */
  .tde-stats { gap: 8px; }
  .tde-stat__n { font-size: 18px; }
  .tde-stat__label { font-size: 8px; }
  .tde-cookie__buttons .tde-btn { flex-basis: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .tde-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .tde-marquee__track { animation: none; }
  .tde-totop { transition: none; transform: none; }
  .tde-marquee__track[aria-hidden="true"] { display: none; }
  .tde-card:hover .tde-card__img, .tde-thumb:hover .tde-thumb__img { transform: none; }
  .tde-carousel__track { scroll-behavior: auto; }
}
