:root {
  --ep-black: #050505;
  --ep-anthracite: #121417;
  --ep-steel: #1b1e22;
  --ep-fog: #f4f4f1;
  --ep-white: #f4f4f1;
  --ep-muted: #a4a8ae;
  --ep-red: #e3122c;
  --ep-red-deep: #ff3b52;
  --ep-line: #2a2d32;
  --ep-font-display: "Anybody", "Arial Black", Impact, sans-serif;
  --ep-font-body: "Manrope", system-ui, Arial, sans-serif;
  --ep-header-h: 72px;
  --bg: #050505;
  --s1: #121417;
  --s2: #1b1e22;
  --ln: #2a2d32;
  --fg: #f4f4f1;
  --mu: #a4a8ae;
  --red: #e3122c;
  --red2: #ff3b52;
  --wa: #1f7a4d;
  --hd: "Anybody", "Arial Black", Impact, sans-serif;
  --bd: "Manrope", system-ui, Arial, sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--ep-font-body);
  font: 400 1.0625rem/1.65 var(--bd);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 3px solid var(--red2);
  outline-offset: 3px;
  border-radius: 6px;
}

.w,
.ep-container {
  width: min(1240px, 100% - clamp(32px, 6vw, 64px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--ln);
  background: none;
  color: var(--fg);
  font: 700 1rem var(--bd);
  cursor: pointer;
  transition: .2s;
  text-align: center;
  text-decoration: none;
}
.btn:hover { border-color: var(--fg); }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.red:hover { background: var(--red2); border-color: var(--red2); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa:hover { filter: brightness(1.18); }

.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ep-btn:hover { transform: translateY(-1px); }
.ep-btn--primary { background: var(--ep-red); color: #fff; }
.ep-btn--primary:hover { background: var(--ep-red-deep); }
.ep-btn--ghost {
  border-color: rgba(247,248,250,0.28);
  color: var(--ep-white);
  background: rgba(255,255,255,0.04);
}
.ep-wa { background: var(--wa); color: #fff; border: 0; }

/* ——— Header (mock structure + responsive) ——— */
.site-hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: .3s;
}
.site-hd::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 5, 5, .94);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: .3s;
}
.site-hd.on::before,
.site-hd.m::before { opacity: 1; }
.site-hd.on,
.site-hd.m { border-color: var(--ln); }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}
.logo img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 160px;
  object-fit: contain;
}

#nav > ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#nav a,
#nav .dd {
  display: block;
  padding: 10px 15px;
  border-radius: 999px;
  font: 500 .95rem var(--bd);
  color: #dcdcd8;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
#nav a:hover,
#nav .dd:hover,
#nav a.cur,
#nav a[aria-current="page"] {
  background: var(--s2);
  color: #fff;
}

.has { position: relative; }
.mega {
  display: none;
  position: absolute;
  left: -120px;
  top: 100%;
  width: min(720px, 92vw);
  background: var(--s1);
  border: 1px solid var(--ln);
  border-radius: 20px;
  padding: 16px;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  box-shadow: 0 30px 60px #000a;
  z-index: 90;
}
.has:hover .mega,
.has:focus-within .mega,
.has.open .mega { display: grid; }
.mega a {
  border-radius: 12px;
  font-size: .92rem;
}
.mega .all {
  grid-column: 1 / -1;
  color: var(--red2);
  font-weight: 700;
}

.bg {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ln);
  background: none;
  color: var(--fg);
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

#nav .has > .dd { display: none; }

.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: none;
  box-shadow: 0 10px 30px #000a;
}

.ep-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.ep-brand__logo {
  display: block;
  width: auto;
  height: 48px;
  max-height: 56px;
  object-fit: contain;
}
.ep-brand--footer .ep-brand__logo { height: 44px; }
.ep-footer__name {
  margin: 0.65rem 0 0;
  font-family: var(--ep-font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ep-fog);
}

/* Hero */
.ep-hero {
  position: relative;
  min-height: clamp(70vh, 85vh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ep-black);
}

.ep-hero__media {
  position: absolute;
  inset: 0;
}

.ep-hero__media .ep-hero__poster,
.ep-hero__media .ep-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-hero__media .ep-hero__poster {
  z-index: 0;
}

.ep-hero__media .ep-hero__video {
  z-index: 1;
}

.ep-hero__media.is-video-playing .ep-hero__poster {
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.ep-hero__media.is-video-fallback .ep-hero__video,
.ep-hero__media.is-video-fallback .ep-hero__play {
  display: none !important;
}

/* Data saver / autoplay kapalı: poster + tap (overlay üstünde) */
.ep-hero__play {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.72);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ep-hero__play[hidden] {
  display: none !important;
}

.ep-hero__play:hover,
.ep-hero__play:focus-visible {
  background: rgba(196, 30, 58, 0.92);
  border-color: transparent;
  outline: none;
}

.ep-hero__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}

.ep-hero__media.is-video-needs-gesture .ep-hero__poster {
  opacity: 1;
  pointer-events: auto;
}

.ep-hero__media.is-video-needs-gesture .ep-hero__video {
  opacity: 0;
  pointer-events: none;
}

.ep-hero__media:not(.is-video-needs-gesture) .ep-hero__play[hidden] {
  display: none !important;
}

.ep-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,11,13,0.35) 0%, rgba(10,11,13,0.55) 45%, rgba(10,11,13,0.92) 100%),
    linear-gradient(90deg, rgba(10,11,13,0.75) 0%, rgba(10,11,13,0.15) 55%, rgba(10,11,13,0.45) 100%);
}

.ep-hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--ep-header-h) + 3rem) 0 4.5rem;
}

.ep-hero__eyebrow {
  color: var(--ep-red);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.ep-hero h1 {
  font-family: var(--ep-font-display);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 0 1.1rem;
}

.ep-hero__lead {
  max-width: 38rem;
  color: var(--ep-fog);
  font-size: 1.08rem;
  margin: 0 0 1.75rem;
}

.ep-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes ep-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.ep-hero__content > * {
  animation: ep-rise .7s ease both;
}

.ep-hero__content > *:nth-child(2) { animation-delay: .08s; }
.ep-hero__content > *:nth-child(3) { animation-delay: .16s; }
.ep-hero__content > *:nth-child(4) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  /* UI animasyonları kapansın; hero video işletme medyası — oynamaya devam */
  .ep-hero__content > * { animation: none; }
  .site-hd,
  .site-hd::before,
  .btn,
  .card,
  .bw a,
  .rv { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* Sections */
.ep-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--ep-line);
}

.ep-section--alt { background: var(--ep-anthracite); }

.ep-kicker {
  color: var(--ep-red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.7rem;
}

.ep-section h2 {
  font-family: var(--ep-font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.ep-section__lead {
  color: var(--ep-muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.ep-grid {
  display: grid;
  gap: 1rem;
}

.ep-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ep-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ep-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ep-tile {
  display: block;
  text-decoration: none;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--ep-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  border-radius: 0;
  transition: border-color .2s ease, transform .2s ease;
}

.ep-tile:hover {
  border-color: rgba(196, 30, 58, 0.55);
  transform: translateY(-2px);
}

.ep-tile h3 {
  font-family: var(--ep-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

.ep-tile p {
  margin: 0;
  color: var(--ep-muted);
  font-size: 0.95rem;
}

.ep-brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  border: 1px solid var(--ep-line);
  text-decoration: none;
  font-family: var(--ep-font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.ep-brand-chip:hover { border-color: var(--ep-red); color: #fff; }

/* Marka → model filtre çipleri */
.ep-model-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ep-model-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ep-line);
  text-decoration: none;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.ep-model-chip:hover,
.ep-model-chip.is-active {
  border-color: var(--ep-red);
  color: #fff;
}
.ep-model-chip.is-active {
  background: color-mix(in srgb, var(--ep-red) 18%, transparent);
}
.ep-model-count {
  font-weight: 500;
  opacity: 0.65;
  font-size: 0.85em;
  margin-left: 0.35em;
}
@media (max-width: 640px) {
  .ep-model-chip {
    flex: 1 1 calc(50% - 10px);
    min-width: calc(50% - 10px);
    text-align: center;
  }
}

/* Mock: işlem adımları + marka wordmark strip */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 14px;
  margin-top: 40px;
  counter-reset: s;
}
.steps div {
  padding: 22px;
  border-left: 3px solid var(--red);
  background: var(--s2);
  border-radius: 0 16px 16px 0;
}
.steps div::before {
  counter-increment: s;
  content: counter(s);
  font: 900 2rem var(--hd);
  font-style: italic;
  color: var(--red2);
  display: block;
}
.steps b { display: block; }
.steps span {
  color: var(--mu);
  font-size: .93rem;
}
.bw {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 36px;
}
.bw a {
  font: 800 clamp(1.5rem, 4.2vw, 3.2rem) / 1.1 var(--hd);
  font-style: italic;
  font-stretch: 125%;
  color: transparent;
  -webkit-text-stroke: 1.5px #6b6f76;
  padding: 4px 12px;
  border-radius: 12px;
  transition: .2s;
  text-decoration: none;
}
.bw a:hover,
.bw a:focus-visible {
  color: #fff;
  -webkit-text-stroke-color: #fff;
  background: var(--red);
}

/* Category hero + tachometer */
.cat-hero {
  padding: 140px 0 56px;
  background:
    radial-gradient(80% 100% at 90% 0, #2c0a11, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--ln);
}
.cat-hero--tach {
  padding: 120px 0 64px;
  min-height: auto;
}
.cat-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.cat-hero__copy .tag {
  display: inline-block;
  color: var(--red2);
  font-weight: 700;
  margin-bottom: 16px;
}
.cat-hero__copy h1 {
  font-family: var(--hd);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: 1.04;
  max-width: 12ch;
  margin: 0;
}
.cat-hero__copy > p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #d6d6d2;
  max-width: 44ch;
  margin: 22px 0 0;
}
.bc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: var(--mu);
  margin: 0 0 20px;
}
.ph .bc {
  /* page-path sits in hero content column, not under logo */
  max-width: 100%;
}
.bc a:hover { color: #fff; }
.bc > span::before {
  content: "/";
  margin-right: 6px;
  color: var(--mu);
}
.tag {
  display: inline-block;
  color: var(--red2);
  font-weight: 700;
  margin: 0 0 16px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tach {
  max-width: 460px;
  width: 100%;
  justify-self: center;
}
.tach svg {
  width: 100%;
  display: block;
}
#nd,
[data-ep-needle] {
  transform-origin: 150px 150px;
  transition: transform 1.2s cubic-bezier(.3, 1.35, .5, 1);
}
.sg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.sg button {
  padding: 12px 4px;
  border-radius: 14px;
  border: 1px solid var(--ln);
  background: var(--s1);
  color: var(--fg);
  font: 800 .95rem var(--hd);
  font-style: italic;
  font-stretch: 120%;
  cursor: pointer;
}
.sg button[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
}
.tach small {
  display: block;
  text-align: center;
  color: var(--mu);
  font-size: .82rem;
  margin-top: 10px;
}
@media (max-width: 980px) {
  .cat-hero__grid { grid-template-columns: 1fr; }
  .tach { max-width: 340px; margin-inline: auto; }
}

/* Mock: FAQ two-col + WhatsApp band */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.faq details {
  border-bottom: 1px solid var(--ln);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--red2);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p,
.faq details div {
  color: var(--mu);
  margin: 10px 0 0;
  max-width: 60ch;
}
.band {
  padding: clamp(32px, 6vw, 64px);
  border-radius: 28px;
  background: linear-gradient(120deg, #7d0b1a, #e3122c);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.band h2 {
  max-width: 16ch;
  color: #fff;
  font-family: var(--hd);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.8rem, 4.6vw, 3.3rem);
  line-height: 1.04;
  margin: 0;
}
.band .btn {
  background: #050505;
  border-color: #050505;
  color: #fff;
}
.band .btn:hover {
  border-color: #fff;
  filter: brightness(1.08);
}

/* —— Mock: hizmet kart grid (Aracınız için ne yapabiliriz?) —— */
.sec {
  padding: clamp(56px, 9vw, 120px) 0;
  background: var(--bg);
}

/* Section tone rhythm — consecutive blocks must not share the same ground */
.sec.tone-ink {
  background: var(--bg);
}
.sec.tone-panel {
  background: var(--s1);
  border-block: 1px solid var(--ln);
}
.sec.tone-ember {
  background:
    radial-gradient(85% 90% at 8% 0%, #3a0c1433, transparent 55%),
    radial-gradient(60% 70% at 100% 100%, #e3122c0f, transparent 50%),
    #09090b;
  border-bottom: 1px solid var(--ln);
}
.sec.tone-steel {
  background:
    linear-gradient(180deg, #0d1014 0%, #161a20 55%, #101317 100%);
  border-block: 1px solid var(--ln);
}
.sec.tone-void {
  background:
    radial-gradient(70% 80% at 50% 120%, #e3122c18, transparent 55%),
    #030303;
  border-top: 1px solid var(--ln);
  padding-block: clamp(40px, 7vw, 88px);
}

/* legacy alias */
.sec.alt {
  background: var(--s1);
  border-block: 1px solid var(--ln);
}

/* Cards on elevated panels sit slightly darker for contrast */
.sec.tone-panel .card {
  background: #0c0e11;
}
.sec.tone-steel .card {
  background: #0a0c0f;
}
.sec.tone-ink .steps div {
  background: #14181d;
}
.sec h2,
.ph h1 {
  font-family: var(--hd);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0;
  overflow-wrap: anywhere;
}
.sec h2 {
  font-size: clamp(1.8rem, 4.6vw, 3.3rem);
  max-width: 20ch;
}
.ph {
  padding: 140px 0 56px;
  background:
    radial-gradient(80% 100% at 90% 0, #2c0a11, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--ln);
}
.ph h1 {
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  max-width: 16ch;
}
.lead {
  color: var(--mu);
  max-width: 58ch;
  margin: 16px 0 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 14px;
  margin-top: 40px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: var(--s1);
  border: 1px solid var(--ln);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), #e3122c33, transparent 60%);
  opacity: 0;
  transition: .25s;
}
.card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 {
  font-family: var(--hd);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.35rem;
  line-height: 1.04;
  margin: 0;
  overflow-wrap: anywhere;
}
.card p {
  margin: 0;
  color: var(--mu);
  font-size: .97rem;
}
/* Homepage “Aracınız için ne yapabiliriz?” blurbs. Full copy stays in the markup. */
#hizmetler .card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
  line-height: 1.65;
}
.card .n {
  margin-top: auto;
  padding-top: 10px;
  color: var(--red2);
  font-weight: 700;
  font-size: .92rem;
}
.il {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px;
}
.il > div {
  padding: 20px;
  border-radius: 16px;
  background: var(--s2);
  border: 1px solid var(--ln);
}
.il b { display: block; }
.il b a { text-decoration: none; }
.il b a:hover { color: var(--red2); }
.il p {
  margin: 6px 0 0;
  color: var(--mu);
  font-size: .93rem;
}
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s, transform .6s;
}
.rv.in { opacity: 1; transform: none; }
.card.rv { transition: opacity .6s, transform .6s, border-color .2s; }
.card.rv.in:hover { transform: translateY(-3px); }
.sec.alt[id],
.sec[id] { scroll-margin-top: calc(var(--ep-header-h) + 1rem); }

/* legacy service list bits */
.ep-svc-block { margin: 0 0 3rem; scroll-margin-top: calc(var(--ep-header-h) + 1rem); }
.ep-svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.ep-svc-item {
  display: grid;
  gap: 0.2rem;
  text-decoration: none;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--ep-line);
}
.ep-svc-item__title { font-family: var(--ep-font-display); font-size: 1.05rem; font-weight: 600; }
.ep-svc-item__desc { color: var(--ep-muted); font-size: 0.9rem; }

.ep-faq details {
  border-top: 1px solid var(--ep-line);
  padding: 1rem 0;
}

.ep-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.ep-faq summary::-webkit-details-marker { display: none; }

.ep-faq p { color: var(--ep-muted); margin: 0.65rem 0 0; }

/* legacy alias — prefer .bc inside .ph > .w */
.ep-breadcrumbs { display: none; }

.ep-page {
  padding: calc(var(--ep-header-h) + 1.5rem) 0 4rem;
}

.ep-page h1 {
  font-family: var(--ep-font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.ep-prose { color: var(--ep-fog); max-width: 46rem; }
.ep-prose p { margin: 0 0 1rem; }
.ep-prose img,
.ep-content-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
}
.ep-blog-cover {
  margin: 0 0 28px;
}
.ep-blog-cover img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.ep-card-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.ep-footer {
  border-top: 1px solid var(--ep-line);
  background: #07080a;
  padding: 3rem 0 2rem;
}

.ep-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ep-footer h3 {
  font-family: var(--ep-font-display);
  font-size: 1rem;
  margin: 0 0 0.85rem;
}

.ep-footer a { text-decoration: none; color: var(--ep-muted); display: block; margin-bottom: 0.45rem; }
.ep-footer a:hover { color: var(--ep-white); }
.ep-footer__copy { color: var(--ep-muted); font-size: 0.85rem; border-top: 1px solid var(--ep-line); padding-top: 1rem; }

/* Social icons */
.hs {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.soc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.soc__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--ln);
  color: #dcdcd8;
  background: rgba(255,255,255,0.03);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
  text-decoration: none;
  margin: 0;
}
.soc__link svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.soc__link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.soc--header .soc__link {
  width: 34px;
  height: 34px;
}
.soc--footer {
  margin-top: 1.25rem;
  gap: 12px;
}
.ep-footer .soc--footer .soc__link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin: 0;
  color: #c7cbd1;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  border-radius: 10px;
}
.ep-footer .soc--footer .soc__link svg {
  width: 18px;
  height: 18px;
}
.ep-footer .soc--footer .soc__link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}
.soc--contact {
  gap: 10px;
}
.soc--contact .soc__link {
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 999px;
  font: 600 0.92rem var(--bd);
}
.soc--contact .soc__link span { line-height: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.contact-panel__title {
  margin: 0 0 1.25rem;
  font-family: var(--ep-font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}
.contact-list {
  display: grid;
  gap: 12px;
}
.contact-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--ln);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  color: inherit;
  transition: .2s;
}
a.contact-item:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
}
.contact-item__label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mu);
  font-weight: 700;
}
.contact-item__value {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}
.contact-item__maplink {
  margin-top: 6px;
  color: var(--red2);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.contact-item__maplink:hover { text-decoration: underline; }
.contact-social {
  margin-top: 1.75rem;
}
.contact-social h3 {
  margin: 0 0 0.85rem;
  font-family: var(--ep-font-display);
  font-size: 1.05rem;
}
.contact-map {
  border: 1px solid var(--ln);
  border-radius: 18px;
  overflow: hidden;
  background: var(--s1);
  min-height: 320px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: min(520px, 70vh);
  border: 0;
}
.contact-map__fallback {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* About page — distinct section compositions */
.about-ph .tag {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 18px;
}
.about-ph__lead { max-width: 42rem; }

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-story__copy {
  font-size: 1.08rem;
  max-width: 40rem;
}
.about-story__copy p:first-child {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--fg);
}

.about-rail {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 1.25rem;
}
.about-rail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--red), #2a2d32 70%);
}
.about-rail__item {
  position: relative;
  padding: 1.1rem 0 1.35rem 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.about-rail__item:last-child { border-bottom: 0; padding-bottom: 0; }
.about-rail__item::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
  transform: translateX(-4px);
}
.about-rail__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mu);
  font-weight: 700;
}
.about-rail__value {
  display: block;
  font-family: var(--ep-font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
  font-stretch: 110%;
}
.about-rail__value--xl {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-style: italic;
  line-height: 0.95;
  color: var(--red2);
}
.about-rail__value--xl span {
  font-size: 0.55em;
  vertical-align: super;
}

.about-values {
  overflow: hidden;
}
.about-values__head h2 {
  max-width: 12ch;
}
.about-values__list {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ln);
}
.about-values__item {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 1.75rem);
  border-right: 1px solid var(--ln);
  min-height: 14rem;
}
.about-values__item:last-child { border-right: 0; }
.about-values__num {
  display: block;
  font-family: var(--ep-font-display);
  font-style: italic;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 18, 44, 0.55);
  margin-bottom: 1.25rem;
  user-select: none;
}
.about-values__body h3 {
  margin: 0 0 0.6rem;
  font-family: var(--ep-font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-stretch: 115%;
  line-height: 1.1;
}
.about-values__body p {
  margin: 0;
  color: var(--mu);
  font-size: 0.95rem;
  max-width: 28ch;
}

.about-work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ln);
}
.about-work__head .lead { margin-top: 10px; }
.about-work__all {
  color: var(--red2);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.about-work__all:hover { text-decoration: underline; }

.about-catalog {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-catalog__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(10rem, 0.85fr) minmax(0, 1.35fr);
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background .25s, padding-left .25s;
}
.about-catalog__row:hover {
  background: linear-gradient(90deg, rgba(227,18,44,0.08), transparent 55%);
  padding-left: 0.5rem;
}
.about-catalog__idx {
  font-family: var(--ep-font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--red2);
}
.about-catalog__title {
  margin: 0;
  font-family: var(--ep-font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-stretch: 115%;
  line-height: 1.15;
}
.about-catalog__text {
  margin: 0;
  color: var(--mu);
  font-size: 0.95rem;
}

.about-founder {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 0% 50%, rgba(227,18,44,0.22), transparent 55%),
    radial-gradient(60% 70% at 100% 0%, rgba(227,18,44,0.08), transparent 50%),
    #07080a;
  border-block: 1px solid var(--ln);
  padding-block: clamp(72px, 11vw, 140px);
}
.about-founder__inner {
  position: relative;
  max-width: 40rem;
}
.about-founder__mark {
  position: absolute;
  right: max(0px, calc((100vw - min(1240px, 100% - 64px)) / -2 + 2vw));
  top: 50%;
  transform: translateY(-55%);
  font-family: var(--ep-font-display);
  font-style: italic;
  font-stretch: 140%;
  font-weight: 900;
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.about-founder__content { position: relative; z-index: 1; }
.about-founder__content .ep-kicker { margin-bottom: 12px; }
.about-founder__content h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 12ch;
}
.about-founder__quote {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: rgba(244,244,241,0.82);
  border-left: 3px solid var(--red);
  padding-left: 1.15rem;
}

.about-cta h2 { max-width: 18ch; }

@media (max-width: 980px) {
  .about-story__grid { grid-template-columns: 1fr; }
  .about-values__list { grid-template-columns: 1fr; }
  .about-values__item {
    border-right: 0;
    border-bottom: 1px solid var(--ln);
    min-height: 0;
  }
  .about-values__item:last-child { border-bottom: 0; }
  .about-catalog__row {
    grid-template-columns: 2.5rem 1fr;
    grid-template-areas:
      "idx title"
      "idx text";
  }
  .about-catalog__idx { grid-area: idx; }
  .about-catalog__title { grid-area: title; }
  .about-catalog__text { grid-area: text; }
  .about-founder__mark {
    right: -4vw;
    opacity: 0.7;
  }
}
@media (max-width: 640px) {
  .about-work__head { align-items: flex-start; }
}

/* Instagram showcase */
.ig-hero { margin-bottom: 1.5rem; }
.ig-hero__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ln);
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(227,18,44,0.16), transparent 55%),
    rgba(255,255,255,0.02);
}
.ig-hero__mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
}
.ig-hero__mark svg {
  width: 20px;
  height: 20px;
}
.ig-hero__kicker {
  margin: 0 0 2px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mu);
  font-weight: 700;
}
.ig-hero__user {
  margin: 0;
  font-family: var(--ep-font-display);
  font-size: clamp(0.9rem, 1.35vw, 1.05rem);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ig-hero__text {
  margin: 0.35rem 0 0;
  color: var(--mu);
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.ig-hero__card .row {
  margin-top: 10px !important;
}
.ig-hero__card .btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}
.ig-grid__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.ig-grid__title {
  margin: 0;
}
.ig-grid__head .n {
  color: var(--red2);
  font-weight: 700;
  text-decoration: none;
}
.ig-grid__head .n:hover { text-decoration: underline; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.ig-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ig-card {
  border: 1px solid var(--ln);
  border-radius: 14px;
  overflow: hidden;
  background: #0b0c0e;
  position: relative;
  aspect-ratio: 1;
}
.ig-card--embed {
  aspect-ratio: auto;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.ig-card__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
  text-decoration: none;
}
.ig-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.ig-card__link:hover .ig-card__img {
  transform: scale(1.04);
}
.ig-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.ig-card iframe {
  width: 100%;
  flex: 1 1 auto;
  min-height: 420px;
  border: 0;
  background: #0b0c0e;
}
.ig-card__open {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid var(--ln);
  color: var(--mu);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.ig-card__open:hover { color: #fff; }
.ig-empty {
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px dashed var(--ln);
  border-radius: 16px;
  display: grid;
  gap: 1rem;
  justify-items: start;
}
@media (max-width: 980px) {
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ig-grid--home { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ig-hero__card { grid-template-columns: 1fr; }
  .ig-grid,
  .ig-grid--home { grid-template-columns: 1fr 1fr; }
  .ig-card--embed,
  .ig-card--embed iframe { min-height: 420px; }
}

/* legacy float class kept as alias; mock uses .fab */
.ep-float-wa { display: none; }

/* Scroll-to-top (engine start style) */
.eng-btn {
  --eng-red: var(--red2, #ff3b52);
  --eng-size: 68px;
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: var(--eng-size);
  height: var(--eng-size);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.eng-btn.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.eng-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.eng-ring circle {
  fill: none;
  stroke-width: 3;
}
.eng-ring .track { stroke: #2a2a30; }
.eng-ring .prog {
  stroke: var(--eng-red);
  stroke-linecap: round;
  stroke-dasharray: 201.06;
  stroke-dashoffset: 201.06;
  filter: drop-shadow(0 0 4px rgba(255, 59, 82, 0.7));
  transition: stroke-dashoffset 0.12s linear;
}
.eng-core {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: radial-gradient(circle at 30% 22%, #34343a 0%, #141417 62%, #0a0a0c 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -3px 6px rgba(0, 0, 0, 0.6),
    0 4px 14px rgba(0, 0, 0, 0.6);
  color: #d9d9de;
  transition: box-shadow 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.eng-core svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eng-txt {
  font: 700 10px/1 var(--bd);
  letter-spacing: 0.04em;
  text-transform: none;
}
@media (max-width: 980px) {
  .eng-txt { font-size: 9px; }
}
.eng-btn:hover .eng-core {
  color: var(--eng-red);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -3px 6px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 59, 82, 0.5),
    0 0 22px rgba(255, 59, 82, 0.45);
}
.eng-btn:active .eng-core { transform: scale(0.93); }
.eng-btn:focus-visible {
  outline: 2px solid var(--eng-red);
  outline-offset: 4px;
  border-radius: 50%;
}
.eng-btn.ignite .eng-core {
  color: #fff;
  background: radial-gradient(circle at 50% 40%, #ff5c6f 0%, #c4112a 70%);
  box-shadow: 0 0 30px rgba(255, 45, 70, 0.9);
  animation: eng-rev 0.5s ease-out;
}
.eng-btn.ignite::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--eng-red);
  animation: eng-wave 0.6s ease-out forwards;
}
@keyframes eng-rev {
  0% { transform: translate(0, 0); }
  15% { transform: translate(-1.5px, 1px); }
  30% { transform: translate(1.5px, -1px); }
  45% { transform: translate(-1px, -1px); }
  60% { transform: translate(1px, 1px); }
  100% { transform: translate(0, 0); }
}
@keyframes eng-wave {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(2.2); opacity: 0; }
}
@media (max-width: 980px) {
  .eng-btn {
    --eng-size: 58px;
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .eng-btn,
  .eng-ring .prog,
  .eng-core { transition: none; }
  .eng-btn.ignite .eng-core,
  .eng-btn.ignite::after { animation: none; }
}

.ep-alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}
.ep-alert--ok { background: #d1fae5; color: #065f46; }
.ep-alert--err { background: #fee2e2; color: #7f1d1d; }

.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { border-bottom: 1px solid #d7dee7; padding: 0.7rem 0.75rem; text-align: left; font-size: 0.92rem; }
.admin-form { display: grid; gap: 0.75rem; background: #fff; padding: 1rem; border: 1px solid #d7dee7; border-radius: 10px; margin-bottom: 1.25rem; }
.admin-form label { font-size: 0.85rem; color: #5c6b7a; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%; padding: 0.55rem 0.65rem; border: 1px solid #d7dee7; border-radius: 8px; font: inherit;
}
.admin-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-actions button, .admin-actions .btn {
  border: 0; background: #0f766e; color: #fff; padding: 0.45rem 0.8rem; border-radius: 8px; cursor: pointer; text-decoration: none; font: inherit;
}
.admin-actions .btn-danger { background: #b91c1c; }

/* Mock header responsive — breakpoint 980px (do not change) */
@media (max-width: 980px) {
  #nav {
    position: fixed;
    inset: calc(72px + env(safe-area-inset-top, 0px)) 0 0;
    background: #050505;
    padding: 12px 20px 40px;
    overflow-y: auto;
    display: none;
  }
  .site-hd.m #nav { display: block; }
  #nav > ul { flex-direction: column; }
  #nav a,
  #nav .dd {
    padding: 15px 8px;
    font-size: 1.1rem;
    width: 100%;
    text-align: left;
  }
  .has:hover .mega { display: none; }
  .has.open .mega { display: grid; }
  .mega {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    background: var(--s1);
  }
  .bg { display: block; }
  #hw { display: none; }
  .hs { order: 2; margin-left: auto; }
  .bg { order: 3; }
  .logo { order: 1; }
  .fab { display: inline-flex; }
  .two { grid-template-columns: 1fr; }

  body:has(.site-hd.m) { overflow: hidden; }
  .has {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .has > a { flex: 1; }
  #nav .has > .dd {
    display: block;
    width: 48px;
    flex: none;
    padding: 0;
    text-align: center;
    font-size: 1.5rem;
  }
  .dd::before { content: "+"; }
  .has.open .dd::before { content: "–"; }
  .has .mega { flex-basis: 100%; }
  .has:hover .mega,
  .has:focus-within .mega { display: none; }
  .has.open .mega { display: grid; }

  .ep-grid--3, .ep-grid--4, .ep-grid--2, .ep-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ep-grid--3, .ep-grid--4, .ep-grid--2, .ep-footer__grid { grid-template-columns: 1fr; }
  .ep-hero { min-height: 72vh; }
  .logo img { height: 34px; }
  .ep-brand__logo { height: 36px; }
  .ep-brand--footer .ep-brand__logo { height: 40px; }
}

@media (max-width: 520px) {
  .band .btn { width: 100%; }
}

