/*
Theme Name: Vanodio
Template: twentytwentyfive
Version: 2.1.0
Text Domain: nep-studio
Description: Vanodio — nội thất gỗ từ Việt Nam, sử dụng hệ thống thiết kế Astryx Stone.
*/

/* A quiet, modern palette. Layers: skip link 30, mobile navigation 20. */
:root {
  --nep-paper: #f4f4ef;
  --nep-surface: #eeefe8;
  --nep-field: #fcfcf8;
  --nep-ink: #272c26;
  --nep-muted: #62685f;
  --nep-accent: #475445;
  --nep-accent-hover: #344031;
  --nep-on-accent: #fcfcf8;
  --nep-line: #d6d9cf;
  --nep-field-line: #92998b;
  --nep-success-bg: #e6eddf;
  --nep-success-ink: #35482f;
  --nep-error-bg: #f4e7e1;
  --nep-error-ink: #8a3428;
  --nep-font: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --paper: var(--nep-paper);
  --ink: var(--nep-ink);
  --accent: var(--nep-accent);
  --line: var(--nep-line);
  --muted: var(--nep-muted);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --nep-paper: #20251f;
    --nep-surface: #2a3027;
    --nep-field: #252c23;
    --nep-ink: #eef0e8;
    --nep-muted: #bdc4b5;
    --nep-accent: #c3d0b8;
    --nep-accent-hover: #d6e2cc;
    --nep-on-accent: #222a1f;
    --nep-line: #424a3e;
    --nep-field-line: #78846f;
    --nep-success-bg: #303f2a;
    --nep-success-ink: #d2e5c6;
    --nep-error-bg: #442f29;
    --nep-error-ink: #f5c3b5;
  }
}

html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body.nep {
  margin: 0;
  background: var(--nep-paper);
  color: var(--nep-ink);
  font: 400 15px/1.75 var(--nep-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.nep *, .nep *::before, .nep *::after { box-sizing: border-box; }
.nep a { color: inherit; text-decoration: none; }
.nep button, .nep input, .nep select, .nep textarea { font: inherit; }
.nep button, .nep a { -webkit-tap-highlight-color: transparent; }
.nep a:focus-visible, .nep button:focus-visible, .nep input:focus-visible,
.nep select:focus-visible, .nep textarea:focus-visible {
  outline: 2px solid var(--nep-accent);
  outline-offset: 5px;
}
.nep h1, .nep h2, .nep h3, .nep h4 {
  margin: 0;
  font-family: var(--nep-font);
  color: var(--nep-ink);
  font-weight: 500;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.nep h1 { font-size: clamp(40px, 4.3vw, 64px); line-height: 1.18; }
.nep h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.28; }
.nep h3 { font-size: 25px; line-height: 1.38; letter-spacing: -.035em; }
.nep p { margin: 0 0 1.25em; }
.nep p:last-child { margin-bottom: 0; }
.nep img { display: block; max-width: 100%; height: auto; }
.nep figure { margin: 0; }
.nep ::selection { background: var(--nep-accent); color: var(--nep-on-accent); }
.nep .wrap { width: min(calc(100% - 88px), 1344px); margin-inline: auto; }
.nep .section-space { padding-block: 106px; }

.nep .skip {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 30;
  padding: 10px 16px;
  color: var(--nep-on-accent);
  background: var(--nep-accent);
  transform: translateY(-160%);
}
.nep .skip:focus { transform: none; }
.nep .site-header { position: relative; }
.nep .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 32px;
  border-bottom: 1px solid var(--nep-line);
}
.nep .brand {
  display: inline-block;
  font: 600 30px/1.2 var(--nep-font);
  letter-spacing: -.075em;
  white-space: nowrap;
}
.nep .main-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); }
.nep .main-nav a { position: relative; padding: 10px 0; font-size: 12px; font-weight: 500; white-space: nowrap; }
.nep .main-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--nep-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nep .main-nav a:hover::after, .nep .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nep .main-nav a[aria-current="page"] { color: var(--nep-accent); }
.nep .menu-toggle { display: none; }
.nep .language-switch { display: flex; align-items: center; gap: 3px; flex-shrink: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nep .language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 31px; min-height: 40px; color: var(--nep-muted); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.nep .language-switch span { font-size: 11px; color: var(--nep-muted); }
.nep .language-switch a:hover { color: var(--nep-ink); }
.nep .language-switch a[aria-current="page"] { color: var(--nep-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.nep .showroom-hero {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 510px;
  height: min(620px, calc(100svh - 112px));
  margin-top: 20px;
}
.nep .hero-editorial {
  align-self: center;
  padding: 38px 48px 42px 0;
}
.nep .kicker {
  margin: 0 0 24px;
  color: var(--nep-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nep .hero-editorial h1 {
  max-width: 10.5em;
  font-size: clamp(42px, 4.05vw, 60px);
  font-weight: 500;
  line-height: 1.17;
}
.nep .hero-lede {
  max-width: 37ch;
  margin-top: 26px;
  color: var(--nep-muted);
  font-size: 14px;
  line-height: 1.85;
}
.nep .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 34px; }
.nep .cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 49px;
  padding: 13px 22px;
  border: 1px solid var(--nep-accent);
  border-radius: 0;
  background: var(--nep-accent);
  color: var(--nep-on-accent);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nep .cta:hover { background: var(--nep-accent-hover); border-color: var(--nep-accent-hover); color: var(--nep-on-accent); }
.nep .cta:active { transform: translateY(1px); }
.nep .cta span { font-size: 17px; line-height: 1; }
.nep .text-link, .nep .jump {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-block: 8px;
  border-bottom: 1px solid var(--nep-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}
.nep .text-link:hover, .nep .jump:hover { color: var(--nep-accent); border-color: var(--nep-accent); }
.nep .text-link span { font-size: 18px; line-height: 1; }
.nep .hero-photo { position: relative; overflow: hidden; background: var(--nep-surface); }
.nep .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }

.nep .section-intro { max-width: 680px; margin-bottom: 42px; }
.nep .section-intro h2 { max-width: 23ch; }
.nep .section-intro p { max-width: 59ch; margin-top: 20px; color: var(--nep-muted); font-size: 14px; }
.nep .featured-projects { display: grid; grid-template-columns: 1.18fr 1fr; gap: 32px 46px; }
.nep .feature-card { min-width: 0; }
.nep .feature-card:first-child { grid-row: span 2; }
.nep .feature-image { display: block; overflow: hidden; background: var(--nep-surface); }
.nep .feature-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.nep .feature-card:hover .feature-image img { transform: scale(1.025); }
.nep .feature-copy { padding-top: 20px; }
.nep .feature-copy h3 { font-size: 24px; }
.nep .feature-copy h3 a { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.nep .feature-copy h3 span { flex-shrink: 0; font-size: 20px; font-weight: 400; }
.nep .feature-copy p { margin-top: 10px; color: var(--nep-muted); font-size: 13px; line-height: 1.85; }
.nep .feature-card:not(:first-child) { display: grid; grid-template-columns: .95fr 1fr; gap: 24px; align-items: center; }
.nep .feature-card:not(:first-child) .feature-image { align-self: stretch; }
.nep .feature-card:not(:first-child) .feature-image img { min-height: 192px; aspect-ratio: 1; }
.nep .feature-card:not(:first-child) .feature-copy { padding-top: 0; }
.nep .feature-card:not(:first-child) h3 { font-size: 21px; }
.nep .feature-card:not(:first-child) h3 a { gap: 10px; }
.nep .section-link { margin-top: 34px; }

.nep .studio-section { background: var(--nep-surface); }
.nep .studio-layout { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(48px, 8vw, 120px); align-items: center; padding-block: 70px; }
.nep .material-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nep .material-photo figcaption { margin-top: 12px; color: var(--nep-muted); font-size: 10px; line-height: 1.7; }
.nep .studio-copy h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.33; }
.nep .studio-copy p { max-width: 44ch; margin-top: 25px; color: var(--nep-muted); font-size: 14px; line-height: 1.9; }
.nep .studio-copy .text-link { margin-top: 10px; }

.nep .services-section .section-intro { max-width: 770px; }
.nep .services-section .section-intro h2 { max-width: 25ch; }
.nep .service-list { margin-top: 48px; border-top: 1px solid var(--nep-line); }
.nep .service-list article { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 28px 0; border-bottom: 1px solid var(--nep-line); align-items: start; }
.nep .service-list h3 { font-size: 26px; }
.nep .service-list p { max-width: 50ch; color: var(--nep-muted); font-size: 14px; }
.nep .contact-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 50px 54px;
  margin-bottom: 106px;
  background: var(--nep-surface);
}
.nep .contact-band h2 { font-size: clamp(28px, 2.6vw, 38px); }
.nep .contact-band p { max-width: 56ch; margin-top: 16px; color: var(--nep-muted); font-size: 13px; }
.nep .contact-band .cta { flex-shrink: 0; }

.nep .site-footer { border-top: 1px solid var(--nep-line); }
.nep .footer-main { display: flex; justify-content: space-between; align-items: start; gap: 40px; padding-block: 50px 40px; }
.nep .footer-brand p { max-width: 32ch; margin-top: 18px; color: var(--nep-muted); font-size: 12px; }
.nep .footer-nav { display: flex; gap: 30px; padding-top: 10px; font-size: 12px; }
.nep .footer-nav a:hover, .nep .back-top:hover { color: var(--nep-accent); text-decoration: underline; text-underline-offset: 5px; }
.nep .footer-bottom { display: flex; justify-content: space-between; gap: 30px; align-items: baseline; padding-block: 22px 28px; border-top: 1px solid var(--nep-line); color: var(--nep-muted); font-size: 10px; }
.nep .footer-bottom p { margin: 0; }
.nep .back-top { white-space: nowrap; }
.nep .back-top span { margin-left: 12px; font-size: 16px; }

/* Existing WordPress page content and shortcodes share the same visual system. */
.nep .page-heading { padding-block: 70px 38px; border-bottom: 1px solid var(--nep-line); }
.nep .page-heading .kicker { margin-bottom: 18px; }
.nep .page-heading h1 { max-width: 18ch; font-size: clamp(38px, 4.7vw, 64px); }
.nep .page-heading > a { display: inline-block; margin-bottom: 26px; color: var(--nep-muted); font-size: 12px; }
.nep .page-heading > a:hover { color: var(--nep-accent); }
.nep .page-heading > p:last-child:not(.kicker) { max-width: 62ch; margin-top: 22px; color: var(--nep-muted); }
.nep .page-content, .nep .home-content { padding-block: 38px 86px; }
.nep .page-content > p { max-width: 68ch; }
.nep .page-content h2 { margin-block: 1.4em .55em; font-size: clamp(28px, 3vw, 40px); }
.nep .page-content h3 { margin-bottom: .65em; }
.nep .page-content p { color: var(--nep-muted); }
.nep .page-content a:not(.cta):not(.text-link):not(.jump):not(.gallery a):not(.edit-card a) { text-decoration: underline; text-underline-offset: 4px; }
.nep .page-content ul, .nep .page-content ol { padding-left: 24px; max-width: 70ch; }
.nep .page-content li { padding-left: 5px; margin-bottom: 12px; }
.nep .page-content .wp-block-image { margin-block: 30px; }
.nep .page-content .wp-block-image img { height: auto; }
.nep .page-content .wp-block-button__link { border-radius: 0; background: var(--nep-accent); color: var(--nep-on-accent); font-size: 13px; padding: 14px 23px; }
.nep .page-content :where(.is-layout-constrained) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 100%; }
.nep .services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-block: 42px; }
.nep .services article { border-top: 1px solid var(--nep-line); padding-top: 25px; }
.nep .services h3 { font-size: 25px; }
.nep .services p { font-size: 14px; }
.nep .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-block: 36px 48px; padding: 0; }
.nep .gallery article { min-width: 0; }
.nep .gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.nep .gallery .kicker { margin-block: 18px 10px; font-size: 9px; }
.nep .gallery h3 { font-size: 25px; margin-bottom: 10px; }
.nep .gallery p:not(.kicker) { font-size: 13px; color: var(--nep-muted); }
.nep .gallery p.project-label { margin-block: 17px 8px; color: var(--nep-muted); font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: 0; text-transform: none; }
.nep .project-hero { width: 100%; height: auto; max-height: 690px; object-fit: cover; margin-top: 30px; }
.nep .project-copy { max-width: 850px; margin-inline: auto; }
.nep .project-copy > p { max-width: 68ch; }
.nep .project-copy h2 { margin-top: 1.5em; }
.nep .project-copy .gallery { display: flex; flex-wrap: wrap; }
.nep .project-copy .gallery-item { flex: 1 1 230px; margin: 0; }
.nep .contact-layout { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.nep .contact-aside { max-width: 36ch; }
.nep .contact-aside h2 { margin-top: 0; font-size: 30px; }
.nep .contact-aside p { font-size: 14px; line-height: 1.9; }
.nep .contact-aside ul { padding-left: 20px; font-size: 13px; color: var(--nep-muted); }
.nep .inquiry { display: grid; gap: 22px; max-width: 680px; }
.nep .inquiry label { display: grid; gap: 8px; color: var(--nep-ink); font-size: 13px; font-weight: 500; }
.nep .inquiry input, .nep .inquiry textarea, .nep .inquiry select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--nep-field-line);
  border-radius: 0;
  background: var(--nep-field);
  color: var(--nep-ink);
  font-size: 15px;
  line-height: 1.7;
}
.nep .inquiry textarea { min-height: 155px; resize: vertical; }
.nep .inquiry input::placeholder, .nep .inquiry textarea::placeholder { color: var(--nep-muted); opacity: 1; }
.nep .inquiry .cta { justify-self: start; }
.nep .inquiry [hidden] { display: none; }
.nep .inquiry .form-note { color: var(--nep-muted); font-size: 11px; line-height: 1.8; margin: 0; }
.nep .notice { padding: 18px 20px; color: var(--nep-success-ink); background: var(--nep-success-bg); border-left: 3px solid currentColor; font-size: 14px; }
.nep .notice.error { color: var(--nep-error-ink); background: var(--nep-error-bg); }

/* Retained product and journal templates, without adding unavailable navigation. */
.nep .edit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-block: 30px 50px; }
.nep .card-photo { display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden; background: var(--nep-surface); color: var(--nep-muted); font-size: 13px; }
.nep .card-photo img { width: 100%; height: 100%; object-fit: cover; }
.nep .edit-card .kicker { margin-block: 18px 8px; }
.nep .edit-card h3 { font-size: 25px; }
.nep .catalog-links { display: flex; flex-wrap: wrap; gap: 15px 28px; }
.nep .catalog-group { padding-top: 35px; }
.nep .product-detail { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; padding-block: 45px 85px; }
.nep .product-copy h1 { margin-block: 20px; font-size: clamp(36px, 4vw, 56px); }
.nep .product-copy .kicker { margin-top: 25px; }
.nep .product-copy dl { display: grid; grid-template-columns: 1fr 2fr; margin-block: 24px; }
.nep .product-copy dt, .nep .product-copy dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--nep-line); }
.nep .product-copy dt { font-weight: 500; }

@media (min-width: 768px) and (max-width: 1199px) {
  .nep .wrap { width: calc(100% - 64px); }
  .nep .hero-editorial { padding-right: 30px; }
  .nep .showroom-hero { min-height: 490px; height: 560px; }
  .nep .hero-editorial h1 { font-size: 43px; }
  .nep .hero-actions { gap: 18px; }
  .nep .hero-actions .cta { padding-inline: 17px; }
  .nep .featured-projects { gap: 28px; grid-template-columns: 1.12fr 1fr; }
  .nep .feature-card:not(:first-child) { gap: 17px; grid-template-columns: .8fr 1fr; }
  .nep .feature-card:not(:first-child) .feature-image img { min-height: 175px; }
  .nep .feature-card:not(:first-child) h3 { font-size: 19px; }
  .nep .feature-copy p { font-size: 12px; }
  .nep .studio-layout { gap: 44px; }
  .nep .contact-band { padding: 38px 34px; }
  .nep .services, .nep .gallery { gap: 24px; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .nep .main-nav { gap: 17px; }
  .nep .main-nav a { font-size: 11px; }
  .nep .brand { font-size: 27px; }
  .nep .hero-editorial h1 { font-size: 39px; }
  .nep .hero-lede { font-size: 13px; }
  .nep .featured-projects { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nep .feature-card:first-child { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; }
  .nep .feature-card:not(:first-child) { display: block; }
  .nep .feature-card:not(:first-child) .feature-image img { aspect-ratio: 4 / 3; min-height: 0; }
  .nep .feature-card .feature-copy { padding-top: 18px; }
  .nep .feature-card:first-child .feature-copy { padding-top: 0; }
  .nep .feature-card:not(:first-child) h3 { font-size: 23px; }
  .nep .service-list article { gap: 35px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 20px; }
  .nep .wrap { width: calc(100% - 40px); }
  .nep .section-space { padding-block: 66px; }
  .nep .top { min-height: 70px; gap: 15px; flex-wrap: wrap; }
  .nep .language-switch { order: 1; margin-left: auto; }
  .nep .menu-toggle { order: 2; }
  .nep .main-nav { order: 3; }
  .nep .menu-toggle-label { display: none; }
  .nep .brand { font-size: 28px; }
  .nep .main-nav { width: 100%; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 18px; }
  .nep .main-nav a { font-size: 13px; }
  .nep-menu-ready .nep .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    border: 0;
    padding: 8px 0 8px 10px;
    background: transparent;
    color: var(--nep-ink);
    font-size: 11px;
    cursor: pointer;
  }
  .nep .menu-symbol { position: relative; width: 21px; height: 14px; display: block; }
  .nep .menu-symbol::before, .nep .menu-symbol::after {
    content: "";
    position: absolute;
    left: 0;
    width: 21px;
    height: 1px;
    background: currentColor;
    transition: transform .2s ease;
  }
  .nep .menu-symbol::before { top: 3px; }
  .nep .menu-symbol::after { top: 10px; }
  .nep .menu-toggle[aria-expanded="true"] .menu-symbol::before { transform: translateY(4px) rotate(45deg); }
  .nep .menu-toggle[aria-expanded="true"] .menu-symbol::after { transform: translateY(-3px) rotate(-45deg); }
  .nep-menu-ready .nep .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    padding: 10px 20px 22px;
    background: var(--nep-paper);
    border-bottom: 1px solid var(--nep-line);
  }
  .nep-menu-ready .nep .main-nav.is-open { display: grid; gap: 0; }
  .nep-menu-ready .nep .main-nav a { min-height: 45px; padding: 10px 0; }
  .nep .main-nav a::after { width: 32px; bottom: 6px; }
  .nep .showroom-hero { display: flex; flex-direction: column; height: auto; min-height: 0; margin-top: 0; }
  .nep .hero-editorial { width: 100%; padding: 44px 0 34px; }
  .nep .kicker { margin-bottom: 19px; font-size: 9px; letter-spacing: .1em; }
  .nep .hero-editorial h1 { max-width: 12ch; font-size: clamp(38px, 8.6vw, 54px); line-height: 1.19; }
  .nep .hero-lede { max-width: 39ch; margin-top: 22px; font-size: 13px; }
  .nep .hero-actions { margin-top: 25px; gap: 16px 22px; }
  .nep .cta { min-height: 47px; padding: 12px 18px; gap: 24px; font-size: 12px; }
  .nep .text-link, .nep .jump { font-size: 11px; gap: 13px; }
  .nep .hero-photo { width: 100%; aspect-ratio: 5 / 4; }
  .nep .hero-photo img { object-position: center; }
  .nep .section-intro { margin-bottom: 30px; }
  .nep .section-intro h2 { max-width: 21ch; font-size: 31px; }
  .nep .section-intro p { margin-top: 17px; font-size: 13px; }
  .nep .featured-projects { display: block; }
  .nep .feature-card:first-child { margin-bottom: 30px; }
  .nep .feature-image img { aspect-ratio: 4 / 3; }
  .nep .feature-copy { padding-top: 16px; }
  .nep .feature-copy h3 { font-size: 23px; }
  .nep .feature-copy p { margin-top: 8px; font-size: 12px; }
  .nep .feature-card:not(:first-child) { grid-template-columns: 42% 1fr; gap: 18px; margin-top: 23px; }
  .nep .feature-card:not(:first-child) .feature-image img { min-height: 152px; aspect-ratio: 1; }
  .nep .feature-card:not(:first-child) h3 { font-size: 19px; line-height: 1.4; }
  .nep .feature-card:not(:first-child) h3 span { font-size: 17px; }
  .nep .section-link { margin-top: 28px; }
  .nep .studio-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 40px 48px; }
  .nep .studio-copy h2 { font-size: 31px; }
  .nep .studio-copy p { max-width: 50ch; margin-top: 21px; font-size: 13px; }
  .nep .material-photo figcaption { font-size: 9px; margin-top: 9px; }
  .nep .service-list { margin-top: 30px; }
  .nep .service-list article { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .nep .service-list h3 { font-size: 24px; }
  .nep .service-list p { font-size: 13px; }
  .nep .contact-band { display: block; padding: 32px 25px; margin-bottom: 66px; }
  .nep .contact-band h2 { max-width: 15ch; font-size: 30px; }
  .nep .contact-band p { margin-top: 17px; font-size: 12px; }
  .nep .contact-band .cta { margin-top: 25px; }
  .nep .footer-main { display: block; padding-block: 35px 29px; }
  .nep .footer-brand p { margin-top: 14px; font-size: 12px; }
  .nep .footer-nav { flex-wrap: wrap; gap: 16px 27px; margin-top: 26px; padding: 0; }
  .nep .footer-bottom { align-items: flex-start; gap: 22px; padding-block: 20px 24px; font-size: 9px; line-height: 1.8; }
  .nep .footer-bottom p { max-width: 30ch; }
  .nep .back-top span { margin-left: 5px; }
  .nep .page-heading { padding-block: 43px 27px; }
  .nep .page-heading h1 { font-size: 39px; }
  .nep .page-heading > a { margin-bottom: 20px; font-size: 11px; }
  .nep .page-heading > p:last-child:not(.kicker) { font-size: 13px; }
  .nep .page-content, .nep .home-content { padding-block: 29px 62px; }
  .nep .page-content { font-size: 14px; }
  .nep .page-content h2 { font-size: 28px; }
  .nep .services { grid-template-columns: 1fr; gap: 24px; margin-block: 30px; }
  .nep .services article { padding-top: 21px; }
  .nep .services h3 { font-size: 24px; }
  .nep .services p { font-size: 13px; }
  .nep .gallery { grid-template-columns: 1fr; gap: 32px; margin-block: 28px 36px; }
  .nep .gallery h3 { font-size: 25px; }
  .nep .project-hero { margin-top: 24px; }
  .nep .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .nep .contact-aside { max-width: 50ch; }
  .nep .contact-aside h2 { font-size: 28px; }
  .nep .contact-aside p { font-size: 13px; }
  .nep .inquiry { gap: 20px; }
  .nep .inquiry input, .nep .inquiry select, .nep .inquiry textarea { font-size: 16px; }
  .nep .edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 15px; }
  .nep .edit-card h3 { font-size: 22px; }
  .nep .product-detail { grid-template-columns: 1fr; gap: 30px; padding-block: 30px 60px; }
  .nep .product-copy h1 { font-size: 38px; }
}
@media (max-width: 359px) {
  .nep .wrap { width: calc(100% - 32px); }
  .nep .hero-editorial h1 { font-size: 35px; }
  .nep .hero-actions { gap: 15px; }
  .nep .hero-actions .cta { gap: 14px; padding-inline: 14px; }
  .nep .hero-actions .text-link { font-size: 10px; }
  .nep .feature-card:not(:first-child) { gap: 14px; }
  .nep .feature-card:not(:first-child) h3 { font-size: 17px; }
  .nep .feature-card:not(:first-child) .feature-image img { min-height: 144px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nep *, .nep *::before, .nep *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .nep .feature-card:hover .feature-image img { transform: none; }
}


/* Shop-first staging storefront */
.nep .main-nav .shop-nav-link { color: var(--nep-accent); font-weight: 700; }
.nep .footer-nav { flex-wrap: wrap; max-width: 760px; gap: 18px 22px; }
.nep .shop-spotlight ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.nep .shop-spotlight ul.products li.product { float: none; width: auto; margin: 0; }
@media (max-width: 767px) {
  .nep .shop-spotlight ul.products { grid-template-columns: 1fr; gap: 20px; }
  .nep .footer-nav { max-width: none; }
}

/* ------------------------------------------------------------------
   Storefront homepage (.sf scope on <main>) — retail + wholesale.
   Brand hooks: .sf uses the shared nep tokens; --sf-* overrides live here.
------------------------------------------------------------------- */
.nep .sf {
  --sf-radius: 18px;
  --sf-card: #ffffff;
  --sf-ink: var(--nep-ink);
  --sf-muted: var(--nep-muted);
  --sf-line: var(--nep-line);
  --sf-accent: var(--nep-accent);
  --sf-accent-hover: var(--nep-accent-hover);
  --sf-on-accent: var(--nep-on-accent);
  --sf-paper: var(--nep-paper);
  --sf-surface: var(--nep-surface);
}
.nep .sf-wrap { width: min(calc(100% - 88px), 1180px); margin-inline: auto; }
.nep .sf section { padding-block: clamp(56px, 6.4vw, 92px); }
.nep .sf section.sf-hero { padding-block: clamp(68px, 7vw, 100px); }
.nep .sf-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.nep .sf-badge {
  display: inline-block; margin-bottom: 26px; padding: 8px 14px;
  border: 1px solid var(--sf-line); border-radius: 999px;
  color: var(--sf-muted); font-size: 11px; font-weight: 500; letter-spacing: .04em;
}
.nep .sf-hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.12; max-width: 15ch; }
.nep .sf-lede { max-width: 46ch; margin-top: 24px; color: var(--sf-muted); font-size: 16px; line-height: 1.8; }
.nep .sf-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.nep .sf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 50px; padding: 14px 26px; border-radius: 999px;
  background: var(--sf-accent); color: var(--sf-on-accent);
  font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nep .sf-btn:hover { background: var(--sf-accent-hover); transform: translateY(-1px); }
.nep .sf-btn:active { transform: translateY(0); }
.nep .sf-btn span { font-size: 17px; line-height: 1; }
.nep .sf-btn-ghost { background: transparent; color: var(--sf-ink); border: 1px solid var(--sf-line); }
.nep .sf-btn-ghost:hover { border-color: var(--sf-accent); color: var(--sf-accent); background: transparent; }
.nep .sf-btn-light { background: var(--sf-paper); color: var(--sf-ink); }
.nep .sf-btn-light:hover { background: #ffffff; color: var(--sf-accent); }
.nep .sf-mini { min-height: 38px; padding: 9px 18px; font-size: 12px; gap: 10px; }
.nep .sf-hero-img { border-radius: var(--sf-radius); overflow: hidden; background: var(--sf-surface); }
.nep .sf-hero-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

.nep .sf-alt { background: var(--sf-surface); }
.nep .sf-kicker {
  margin: 0 0 18px; color: var(--sf-muted); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.nep .sf section h2 { font-size: clamp(28px, 3.2vw, 44px); max-width: 22ch; }
.nep .sf-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.nep .sf-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.nep .sf-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: var(--sf-radius);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nep .sf-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(39, 44, 38, .35); }
.nep .sf-card-ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sf-surface); }
.nep .sf-card-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nep .sf-card:hover .sf-card-ph img { transform: scale(1.04); }
.nep .sf-card-bd { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.nep .sf-card-bd h3 { font-size: 21px; }
.nep .sf-card-bd p { color: var(--sf-muted); font-size: 13px; line-height: 1.7; }
.nep .sf-tag {
  align-self: flex-start; padding: 5px 11px; border-radius: 999px;
  background: var(--sf-surface); color: var(--sf-muted);
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.nep .sf-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 14px; }
.nep .sf-price { font-size: 14px; font-weight: 600; }
.nep .sf-price small { color: var(--sf-muted); font-weight: 400; }
.nep .sf-note { margin-top: 26px; color: var(--sf-muted); font-size: 12px; }
.nep .sf-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.nep .sf-row .sf-btn { flex-shrink: 0; }

.nep .sf-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); margin-top: 48px; }
.nep .sf-split h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 14px 0 20px; }
.nep .sf-split ul { list-style: none; margin: 0 0 30px; padding: 0; }
.nep .sf-split li { position: relative; padding: 10px 0 10px 26px; color: var(--sf-muted); font-size: 14px; line-height: 1.7; border-bottom: 1px solid var(--sf-line); }
.nep .sf-split li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--sf-accent); }
.nep .sf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.nep .sf-step { border-top: 1px solid var(--sf-line); padding-top: 26px; }
.nep .sf-step .sf-n { font-size: 13px; font-weight: 600; color: var(--sf-accent); letter-spacing: .1em; margin-bottom: 14px; }
.nep .sf-step h3 { font-size: 22px; margin-bottom: 10px; }
.nep .sf-step p { color: var(--sf-muted); font-size: 14px; }
.nep .sf-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.nep .sf-band-wrap { background: var(--sf-surface); padding-block: 0; }
.nep .sf-quote-band {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  margin-block: clamp(48px, 7vw, 80px); padding: clamp(36px, 5vw, 64px);
  border-radius: var(--sf-radius); background: var(--sf-accent); color: var(--sf-on-accent);
}
.nep .sf-quote-band h2 { color: var(--sf-on-accent); max-width: 24ch; }
.nep .sf-quote-band p { max-width: 56ch; margin-top: 14px; opacity: .85; font-size: 14px; }

@media (max-width: 1023px) {
  .nep .sf-wrap { width: calc(100% - 64px); }
  .nep .sf-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nep .sf-hero-grid { grid-template-columns: 1fr; }
  .nep .sf-hero-img img { aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) {
  .nep .sf-wrap { width: calc(100% - 40px); }
  .nep .sf section { padding-block: 42px; }
  .nep .sf section.sf-hero { padding-block: 50px; }
  .nep .sf-grid3, .nep .sf-grid4, .nep .sf-split, .nep .sf-steps { grid-template-columns: 1fr; }
  .nep .sf-split { gap: 40px; }
  .nep .sf-quote-band { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .nep .sf-actions .sf-btn { width: 100%; }
}

/* WooCommerce product loop + single product rendered inside nep templates. */
.nep .nep-products { padding-bottom: 80px; }
.nep ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nep ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid var(--nep-line);
  border-radius: 18px;
  background: var(--nep-field);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nep ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(39, 44, 38, .35); }
.nep ul.products .woocommerce-LoopProduct-link { display: block; }
.nep ul.products .woocommerce-LoopProduct-link__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nep-surface); }
.nep ul.products .woocommerce-LoopProduct-link__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nep ul.products li.product:hover .woocommerce-LoopProduct-link__img img { transform: scale(1.04); }
.nep ul.products .woocommerce-loop-product__title {
  display: block;
  padding: 18px 20px 6px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.35;
}
.nep ul.products .price { display: block; padding: 0 20px 8px; color: var(--nep-ink); font-size: 14px; font-weight: 600; }
.nep ul.products .price del { color: var(--nep-muted); font-weight: 400; margin-right: 8px; }
.nep ul.products .add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: flex-start;
  min-height: 42px;
  margin: 4px 20px 20px;
  padding: 10px 20px;
  border: 1px solid var(--nep-accent);
  border-radius: 999px;
  background: var(--nep-accent);
  color: var(--nep-on-accent);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.nep ul.products .add_to_cart_button:hover { background: var(--nep-accent-hover); border-color: var(--nep-accent-hover); color: var(--nep-on-accent); }
.nep .nep-products .woocommerce-result-count,
.nep .nep-products .woocommerce-ordering { color: var(--nep-muted); font-size: 12px; margin-bottom: 20px; }
.nep nav.woocommerce-pagination, .nep .woocommerce-pagination { margin-top: 44px; }
.nep .woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nep .woocommerce-pagination a, .nep .woocommerce-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; min-height: 42px; padding: 8px 14px;
  border: 1px solid var(--nep-line); border-radius: 999px;
  color: var(--nep-ink); font-size: 12px; font-weight: 500;
}
.nep .woocommerce-pagination span.current { background: var(--nep-accent); border-color: var(--nep-accent); color: var(--nep-on-accent); }
.nep .woocommerce-pagination a:hover { border-color: var(--nep-accent); color: var(--nep-accent); }

.nep .nep-single-product { padding-bottom: 90px; }
.nep .nep-single-product .page-heading { padding-bottom: 34px; }
.nep .nep-single-product #product-\31 ,
.nep .nep-single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.nep .nep-single-product .woocommerce-product-gallery { margin: 0; }
.nep .nep-single-product .woocommerce-product-gallery img { border-radius: 18px; }
.nep .nep-single-product .summary.entry-summary { padding-top: 8px; }
.nep .nep-single-product .summary .product_title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; margin-bottom: 18px; }
.nep .nep-single-product .summary .price { font-size: 20px; font-weight: 600; margin-bottom: 22px; }
.nep .nep-single-product .summary .price del { color: var(--nep-muted); font-weight: 400; margin-right: 10px; font-size: 16px; }
.nep .nep-single-product .summary .woocommerce-product-details__short-description { color: var(--nep-muted); font-size: 14px; line-height: 1.8; }
.nep .nep-single-product .summary form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 26px 0; }
.nep .nep-single-product .summary form.cart .quantity { margin: 0; }
.nep .nep-single-product .summary form.cart .quantity input {
  width: 74px; min-height: 50px; padding: 10px 14px;
  border: 1px solid var(--nep-field-line); border-radius: 999px;
  background: var(--nep-field); color: var(--nep-ink); font-size: 15px;
}
.nep .nep-single-product .summary form.cart button.single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 14px 30px;
  border: 1px solid var(--nep-accent); border-radius: 999px;
  background: var(--nep-accent); color: var(--nep-on-accent);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.nep .nep-single-product .summary form.cart button.single_add_to_cart_button:hover { background: var(--nep-accent-hover); border-color: var(--nep-accent-hover); }
.nep .nep-single-product .woocommerce-tabs { margin-top: 60px; }
.nep .nep-single-product .woocommerce-tabs ul.tabs { display: flex; gap: 26px; list-style: none; margin: 0 0 26px; padding: 0; border-bottom: 1px solid var(--nep-line); }
.nep .nep-single-product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: transparent; }
.nep .nep-single-product .woocommerce-tabs ul.tabs li a { display: inline-block; padding: 12px 0; color: var(--nep-muted); font-size: 13px; font-weight: 500; }
.nep .nep-single-product .woocommerce-tabs ul.tabs li.active a { color: var(--nep-ink); border-bottom: 2px solid var(--nep-accent); }
.nep .nep-single-product .woocommerce-Tabs-panel { color: var(--nep-muted); font-size: 14px; line-height: 1.8; }
.nep .nep-single-product .related.products, .nep .nep-single-product .upsells.products { margin-top: 60px; }
.nep .nep-single-product .related h2, .nep .nep-single-product .upsells h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 30px; }
@media (max-width: 900px) {
  .nep ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nep .nep-single-product div.product { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nep ul.products { grid-template-columns: 1fr; }
}

/* Storefront homepage helpers: linked cards, split media and muted copy. */
.nep .sf-card-ph { display: block; }
.nep .sf-card-link { color: inherit; }
.nep .sf-link { display: inline-flex; align-items: center; gap: 10px; color: var(--sf-accent); font-size: 13px; font-weight: 500; line-height: 1.6; }
.nep .sf-link span { font-size: 15px; line-height: 1; }
.nep .sf-link:hover { color: var(--sf-accent-hover); }
.nep .sf-split-media { margin: 0; overflow: hidden; border-radius: var(--sf-radius); background: var(--sf-surface); }
.nep .sf-split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.nep .sf-split-copy .sf-muted { max-width: 52ch; margin: 20px 0 28px; color: var(--sf-muted); font-size: 14px; line-height: 1.9; }
.nep .sf-split-copy .sf-mini { margin-top: 4px; }
@media (max-width: 767px) {
  .nep .sf-split-media img { aspect-ratio: 4 / 3; }
}
