/*
  Medigo Template (Green) — Northway Clean Merge (Patched)
  Source: templatemo_460_medigo (heavily customized)

  Patch goals:
  - Centralize all colors & UI tokens in a single :root
  - Replace hard-coded colors with tokens
  - Fix minor bugs (var() typo, duplicate body/root, undefined --ink/--surface)
  - Maintain layout, structure, and overall visual feel
*/

/* ======================================================
   TOKENS / GLOBAL — Northway
   ====================================================== */
:root{
  /* Brand */
  --brand:#16412f;          /* primary ink & buttons */
  --brand-weak:#6AA476;     /* hovers / subtle fills */
  --brand-soft:#8EAF9D;     /* tints, chips, badges */

  /* Accent */
  --accent:#ffd54f;         /* gold accent */

  /* Surfaces */
  --bg:#eef3f0;             /* page bg (was sage-200) */
  --surface-1:#f0f0f0;      /* “white” used throughout */
  --surface-2:#f9f9f9;      /* light panels, menus */
  --surface-3:#f1f4f5;      /* inputs, footer */
  --surface-ink:#e8efec;    /* soft borders / dividers */
  --card:var(--surface-1);

  /* Text */
  --text:#31373a;           /* body / headings */
  --muted:#5a6763;          /* secondary text */
  --white:#f0f0f0;          /* existing off-white used in UI */

  /* Links & states */
  --link:var(--brand-weak);
  --link-hover: color-mix(in srgb, var(--brand) 65%, white 35%);
  --focus-ring: color-mix(in srgb, var(--accent) 60%, transparent);

  /* Layout */
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --maxw:1200px;
}

/* ======================================================
   BASE / RESET
   ====================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/*
/* Typography */
/*
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 .4em 0;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; line-height: 1.7; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; color: inherit; }

p { margin: 0 0 20px 0; }
p.lead { font-size: 28px; line-height: 36px; }

em, i { font-style: italic; }
strong, b { font-weight: 700; color: var(--text); }
/*
/* Links */
a, a:visited {
  color: var(--link);
  text-decoration: none;
  outline: 0;
  transition: all 150ms ease-in;
}
a:hover, a:focus, a:active { color: var(--link-hover); }

/* Selections */
::selection, ::-moz-selection { background-color: var(--surface-2); text-shadow: none; }
img::selection, img::-moz-selection { background: transparent; }

/* Focus (accessible) */
*:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Utilities */
/*
.subtract-bottom { margin-bottom: -40px !important; }
.remove-bottom { margin-bottom: 0 !important; }
.half-bottom { margin-bottom: 20px !important; }
.add-bottom { margin-bottom: 40px !important; }
*/
/* Global list resets used later */
/*
.main-nav ul, .main_menu, .main_menu li ul, #filters, .pages,
.project-single .meta-post, .archive-wrapper .archive-list,
.categories ul, .thumbs, .footer-menu {
  list-style: none; padding: 0; margin: 0;
}
*/
/* ======================================================
   TOPBAR + HEADER
   ====================================================== */
/* Top utility bar */
/*
.topbar{
  background:var(--surface-2);
  border-bottom:1px solid var(--surface-ink);
  color:var(--text);
  position: sticky;
  top: 0;
  z-index: 1040;
  font:500 14px/1.2 "Roboto", Arial, sans-serif;
}
.topbar__inner{
  max-width: var(--maxw);
  margin:0 auto;
  padding:6px 16px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.topbar__brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;}
.flag{font-size:14px;line-height:1;display:inline-block;}
.since{font-weight:600;letter-spacing:.2px;}
.topbar__nav{display:inline-flex;align-items:center;gap:18px;}
.topbar__nav a{color:var(--text);text-decoration:none;padding:4px 0;}
.topbar__nav a:hover,.topbar__nav a:focus{color:var(--brand-weak);text-decoration:underline;text-underline-offset:3px;}
*/
/* Mobile dropdown (no JS) */
/*
.topbar__mobile{display:none;position:relative;}
.topbar__mobile summary{list-style:none;cursor:pointer;padding:4px 0;user-select:none;}
.topbar__mobile summary::-webkit-details-marker{display:none;}
.topbar__mobile-list{
  position:absolute;right:0;top:100%;background:var(--surface-2);border:1px solid var(--surface-2);border-radius:8px;
  padding:8px 10px;margin-top:6px;display:flex;flex-direction:column;gap:6px;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
}
*/
/* Responsive visibility (single source of truth) */
@media (min-width: 769px){
  .topbar__nav{ display: inline-flex; }
  .topbar__mobile{ display: none; }
}
@media (max-width: 768px){
  .topbar__nav{ display: none; }
  .topbar__mobile{ display: block; }
  .topbar__inner{ padding:8px 12px; }
}
@media (max-width:420px){
  .since{display:none;}
}

/* Site header */
/*
.site-header{ 
  position: relative; 
  z-index: 1030;
  top: 0; left: 0; width: 100%;
  background: var(--brand);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 3px;
  padding: 35px 0;
  overflow: visible;
  transition: padding 0.3s ease-in-out;
}*/
.site-header.site-header-shrink { padding: 17px 0; }
.site-header .site-logo { width: 50px; height: auto; display: block; background: none !important; }

@media (max-width: 991px) {
  .site-header { padding: 17px 0; position: relative !important; }
}

/* Main nav */
/*
.main-nav ul::after { content:""; display: table; clear: both; }
.main-nav ul li { float:left; display:block; margin-left:20px; position:relative; }
.main-nav ul li a{
  color:var(--white); font-size:13px; font-weight:700;
  text-transform:uppercase; font-family:"Roboto", Arial, sans-serif;
  padding:5px 15px; display:block; border-radius:3px;
}
.main-nav ul li a:hover{ color:var(--brand-weak); }
.main-nav ul li a i{ margin-left:7px; }
.main-nav ul li.active a{ color:var(--brand-weak); background-color:var(--surface-2); }
.main-nav ul li ul{
  display:none; top:100%; left:0; margin-top:5px; position:absolute; width:220px;
  background:var(--surface-2); border:2px solid var(--surface-3);
}
.main-nav ul li ul li{ margin-left:0; width:100%; border-bottom:1px solid var(--surface-ink); }
.main-nav ul li ul li:last-child{ border-bottom:none; }
.main-nav ul li ul li a{
  background:transparent !important; color:#777 !important; text-transform:capitalize; font-weight:600;
}
.main-nav ul li ul li a:hover{ color:var(--brand-weak) !important; }
*/
.main-nav ul li ul li:last-child a{ border-bottom:none; }
/* Mobile/responsive menu container if used */
.responsive_menu {
  padding: 20px; background: rgba(49,55,58,.98); display: none; position: relative; z-index: 1050;
}

/* ======================================================
   GLOBAL LAYOUT & COMMON BLOCKS
   ====================================================== */
/*.service-section, .first-widget { position: relative; margin-top: 108px; }
.site-header + .first-widget { margin-top: 0; }

.section {
  display:flex; align-items:center; justify-content:center;
  padding:40px; color:var(--white); background-color:var(--brand-soft);
}
.dark-content .section .section-content {
  display:flex; align-items:center; gap: clamp(1rem, 2vw, 2rem);
  flex-direction: column; text-align:center;
}
@media (min-width: 769px) {
  .dark-content .section .section-content {
    flex-direction: row; text-align:left; flex-wrap: nowrap;
  }
}
.text-content, .image-wrap { flex:1 1 50%; max-width:100%; }
.image-wrap img { width:100%; height:auto; display:block; object-fit:cover; }

.buttons { margin-top:1.5rem; display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; }
.buttons a {
  display:inline-block; padding:.75rem 1.5rem; text-align:center;
  background:#333; color:var(--white); text-decoration:none; border-radius:6px;
}
.buttons a:hover { background-color: var(--brand-weak); }

.section-header { text-align:left; padding:40px 40px 0 40px; }
.section-header .section-title { font-size:30px; font-weight:600; color: var(--accent); }*/

/* Text helpers */
.larger-text { font-size:18px; line-height:36px; }
.light-text { color:#aaaaaa; }

/* Buttons */
.large-button, .main-button {
  padding: 12px 15px;
  font-size: 12px; font-family:"Roboto", Arial, sans-serif;
  text-transform: uppercase; font-weight: 700; border-radius: 2px;
}
.large-button { padding: 15px 20px; font-weight: 800; }
a.large-button.white-color { color:var(--surface-1); background-color: var(--brand-weak); }
a.main-button.accent-color { background-color: var(--brand); color:#fff; }
a.main-button.accent-color:hover { background-color: var(--brand-weak); }
.icon-button { margin-left: 15px; }
.last-item-margin { margin-bottom: 100px; }

/* Forms */
label { font-weight: 400; color:#aaaaaa; }
input, textarea {
  border:1px solid var(--surface-3); color:#777; padding:8px 14px; background:var(--surface-3); border-radius:3px;
}
input:focus, textarea:focus { background:#fff; border-color:#dce4e6; }
button { outline:0; border:0; }
.mainBtn, input.mainBtn {
  background-color: var(--brand-weak); padding:7px 17px; color:#fff; display:inline-block; border-radius:3px;
  transition: background 250ms ease-in;
}
.mainBtn:hover { background-color: var(--brand-weak); filter: brightness(1.05); }
input.mainBtn:focus { border:0; }

/* Background images */
#homeIntro { background-image: url(../images/Heroimage.png); }
#portfolio, #portfolioId { background-image: url("../images/Tuscany kitchen_green.jpg"); }
#aboutusId { background-image: url("../images/Plant.jpg"); }
#blogPosts { background-image: url("../images/includes/blogPosts.jpg"); }
#blog { background-image: url("../images/includes/blog.jpg"); }
#blogId { background-image: url("../images/includes/blogId.jpg"); background-attachment: inherit; }

/* Parallax */
.parallax {
  background-attachment: fixed;
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  color:#fff;
  overflow:hidden;
}
.parallax-overlay { background-color: rgba(0,0,0,.55); }

/* Page titles / intro */
.pageTitle { padding:70px 0; }
.page-title { color:#fff; margin:5px 0 0 0; font-size:30px; font-weight:800; }
.page-location {
  background: rgba(0,0,0,.4); display:inline-block; font-size:14px; padding:7px 12px; border-radius:3px;
}
.home-intro-content { padding:11em 0; text-align:center; }
.home-intro-content h2 { font-size:36px; font-weight:800; color: var(--accent); }
.home-intro-content p { margin:55px 0; font-size:18px; line-height:32px; }
.home-intro-content .large-button:hover { opacity:.8; }

blockquote { margin:30px 0; display:block; color:#aaaaaa; }


/* ======================================================
   HPL DOORS — DARK PANEL MODULE
   ====================================================== */
.hpl-doors {
  --bg: #0f0f11;
  --panel: #151518;
  --muted: #9aa0a6;
  --text: #e8eaed;
  --accent: #c9a26b;
  --radius: 14px;
  font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  padding: clamp(16px, 3vw, 28px);
  border-radius: var(--radius);
}
.hpl-doors__grid {
  display:grid; grid-template-columns: minmax(320px, 1fr) minmax(280px, 420px);
  gap: clamp(16px, 2.5vw, 28px); align-items:start;
}
@media (max-width:900px){ .hpl-doors__grid{ grid-template-columns:1fr; } }
.hpl-doors__image-wrap {
  position:relative; overflow:hidden; border-radius: var(--radius);
  background:#0a0a0a; box-shadow: 0 10px 30px rgba(0,0,0,.35); aspect-ratio: 16/10;
}
.hpl-doors__image-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.hpl-doors__panel {
  background: var(--panel); border:1px solid #222328; border-radius: var(--radius);
  padding: clamp(16px, 2.5vw, 24px); box-shadow: 0 8px 20px rgba(0,0,0,.25) inset;
}
.hpl-doors__header h2 { margin:0 0 6px; font-size: clamp(20px, 2.4vw, 28px); letter-spacing:.2px; }
.hpl-doors__header p { margin:0; color: var(--muted); }
.hpl-doors__form { margin-top:18px; display:grid; gap:14px; }
.hpl-field { display:grid; gap:6px; }
.hpl-label {
  font-size:13px; color: var(--muted); text-transform:uppercase; letter-spacing:.08em;
}
.hpl-select {
  appearance:none; width:100%; padding:12px 14px; font-size:16px; color: var(--text);
  background:#1b1c21; border:1px solid #2a2b31; border-radius:10px; outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
  background-repeat:no-repeat;
  background-position:right 14px center, right 38px center, right 14px center;
  background-size:0 100%, 8px 8px, 0 100%;
}
.hpl-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,162,107,.25); }
.hpl-note { margin:6px 2px 0; font-size:12px; color: var(--muted); }
.sr-only {
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* Hero Section Container */
.hero-section {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--surface-1);
}

/* Background Image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* recenters focus area */
  filter: brightness(70%);
  z-index: 0;
}

/* Subtle dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
	  background: rgba(0, 0, 0, 0.45); /* <-- darkness level */
  z-index: 1;
}

/* Text Container */
.hero-content {
  position: relative;
  z-index: 1;
  padding-left: 5%;
  padding-right: 5%;
  max-width: 800px;
}

/* Title Text */
.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* Subtitle Text */
.hero-content p {
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 2;
  color: #f1f1f1;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
  .hero-content p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .hero-section { height: 60vh; }
  .hero-content h1 { font-size: 2.25rem; }
  .hero-content p { font-size: 1rem; }
}

/* HPL Door Collection Page */
.hpl-hero {
  --section-bg: var(--surface-1);
  --surface: var(--surface-1);
  --title: var(--text);
  --body: var(--muted);
  --accent: var(--brand);
  --accent-weak: var(--brand-soft);
  background: var(--bg);
  padding: clamp(16px, 3vw, 24px) 16px;
  min-height: 55vh; /* secondary page: compact hero */
  display: grid;
  place-items: start center;
}

/* Layout */
.hpl-hero__inner {
  width: 100%;
  max-width: var(--maxw);
  background: var(--surface-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: clip;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  isolation: isolate;
}

@media (min-width: 900px) {
  .hpl-hero__inner { grid-template-columns: 1.1fr 1fr; /* content : media */ }
}

/* Content */
.hpl-hero__content {
  padding: clamp(20px, 5vw, 48px);
  display: grid;
  align-content: center;
  gap: clamp(12px, 2.5vw, 18px);
}

.hpl-hero__content h1 {
  color: var(--title);
  font-size: clamp(1.4rem, 2.5vw + 1rem, 2.25rem);
  line-height: 1.4;
  letter-spacing: 0.2px;
  margin: 0;
}

.hpl-hero__sub {
  color: var(--body);
  /*font-size: clamp(1.2rem, 1.2vw + 0.8rem, 1.125rem);*/
  margin: 0;
}

.hpl-hero__bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 560px) {
  .hpl-hero__bullets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hpl-hero__bullets li {
  display: flex;
  align-items: flex-start; /* aligns to top line */
  gap: 0.75rem;
  font-size: 1.1rem;
  line-height: 1;
}

.hpl-hero__bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
  margin-top: 0.6em; /* fine-tunes vertical alignment */
}
/*.hpl-hero__bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  vertical-align:middle;
}
.hpl-hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  outline: 2px solid var(--brand);
  background: radial-gradient(circle at center, var(--accent) 0 40%, transparent 45% 100%);
  opacity: 0.9;
}*/



/* CTAs */
.hpl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.btn {
  --btn-pad-y: 12px;
  --btn-pad-x: 18px;
  --btn-radius: calc(var(--radius) / 1.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  will-change: transform;
}
.btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.btn--primary {
  background: var(--brand);
  color: var(--surface-1);
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--brand) 85%, black 10%);
}
.btn--primary:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--brand) 92%, white 8%);
}
.btn--ghost {
  color: var(--brand);
  border: 1.5px solid var(--brand-soft);
}
.btn--ghost:hover {
  background: color-mix(in srgb, var(--surface-3) 70%, white 30%);
}

/* Media */
.hpl-hero__media {
  position: relative;
  min-height: 240px;
  background: var(--surface-1);
  overflow: hidden;
}
.hpl-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 900ms ease;
}
@media (prefers-reduced-motion: no-preference) {
  .hpl-hero__media img { animation: heroPan 14s ease-in-out both; }
}
@keyframes heroPan {
  0%   { transform: scale(1.04) translateY(0); }
  50%  { transform: scale(1.07) translateY(-2%); }
  100% { transform: scale(1.04) translateY(0); }
}

/* Subtle edge gradient over media for text legibility on small screens */
@media (max-width: 899.98px) {
  .hpl-hero__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.12));
    pointer-events: none;
  }
}

/* Door Styles Section */
.styles {
  background: var(--bg);
  padding: clamp(24px, 5vw, 56px) 16px;
  border-top: 1px solid color-mix(in srgb, var(--surface-3) 70%, white 30%);
}
.styles__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(16px, 3vw, 28px);
}
.styles__head h2 {
  margin: 0 0 6px 0;
  color: var(--text);
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.75rem);
  letter-spacing: .2px;
}
.styles__intro {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

/* Grid layout */
.styles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .styles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Each card now allows tall image ratio */
.style-card__media {
  aspect-ratio: 3 / 4; /* portrait */
  background: var(--surface-3);
  position: relative;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--surface-3);
}

.style-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.style-card:hover .style-card__media img { transform: scale(1.04); }

/* Adjust badges for tall photos */
.style-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--surface-1);
  background: var(--brand);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

/* Card body */
.style-card__body {
  padding: clamp(16px, 2.2vw, 24px);
  display: grid;
  gap: 10px;
}

/* Optional: more gallery-like */
@media (min-width: 1100px) {
  .styles__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Standard Construction ===== */
.construction {
  background: var(--bg);
  padding: clamp(28px, 6vw, 64px) 16px;
  border-top: 1px solid color-mix(in srgb, var(--surface-3) 70%, white 30%);
}
.construction__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.construction__head {
  margin-bottom: clamp(16px, 3vw, 28px);
}
.construction__head h2 {
  margin: 0 0 6px 0;
  color: var(--text);
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem);
  letter-spacing: .2px;
}
.construction__intro {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

/* Layout */
.construction__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 28px);
}
@media (min-width: 900px) {
  .construction__grid {
    grid-template-columns: 1.1fr .9fr; /* copy/text : visual */
    align-items: start;
  }
}

/* Feature list */
.specs {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 24px);
  display: grid;
  gap: clamp(10px, 2vw, 14px);
  margin: 0;
  list-style: none;
}
.spec {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}
.spec__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent) 0 45%, transparent 50% 100%),
    var(--brand);
  box-shadow: 0 6px 16px rgba(0,0,0,.12) inset, 0 2px 8px rgba(0,0,0,.06);
}
.spec__title {
  margin: 0 0 2px 0;
  color: var(--text);
  font-size: clamp(1.02rem, .6vw + 1rem, 1.15rem);
}
.spec__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Brand chips for Faces */
.chips {
  margin: 8px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 10px;
  color: var(--brand);
  background: color-mix(in srgb, var(--surface-3) 70%, white 30%);
 /* border: 1px solid var(--brand-soft);
  border-radius: 999px;*/
}

/* Molding pills */
.pills {
  margin: 8px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 10px;
  color: var(--surface-1);
  background: var(--brand);
  border-radius: 999px;
}

/* Visual */
.construction__visual {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: clip;
  display: grid;
  grid-template-rows: auto auto;
}
.construction__visual img {
  width: 100%;
  height: auto;
  object-fit: contain; /* ensures full image is visible */
  background-color: color-mix(in srgb, var(--brand-soft) 9%, white 91%);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

.construction__visual figcaption {
  padding: 14px 14px;
  font-size: 1.2rem !important;
  color: var(--muted);
  background: var(--surface-3);
  border-top: 1px solid color-mix(in srgb, var(--surface-3) 70%, white 30%);
}

/* CTAs */
.construction__cta {
  margin-top: clamp(12px, 2vw, 20px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  --btn-pad-y: 10px;
  --btn-pad-x: 16px;
  --btn-radius: calc(var(--radius) / 1.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.btn--primary {
  background: var(--brand);
  color: var(--surface-1);
  border: 1px solid color-mix(in srgb, var(--brand) 85%, black 10%);
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand-soft);
}
.btn--ghost:hover {
  background: color-mix(in srgb, var(--surface-3) 70%, white 30%);
}

/* PDF Buttons */
.pdf-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pdf-buttons .btn {
  font-size: 0.9rem;
  padding: 10px 18px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .construction__visual img { transition: none; transform: none; }
}

/* ==== Balance the two columns ==== */
.construction__grid {
  /* Keep columns equal and stretched so both cards feel balanced */
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 28px);
}
@media (min-width: 980px) {
  .construction__grid { grid-template-columns: 1fr 1fr; }
}

/* Left card (specs) — tighten spacing */
.specs {
  padding: clamp(16px, 2.2vw, 22px);
  gap: clamp(8px, 1.6vw, 12px);
}
.chips, .pills { margin-top: 6px; gap: 6px; }
.construction__cta { margin-top: clamp(10px, 1.6vw, 16px); }

/* Right card (diagram) — make it a true "card" */
.construction__visual {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(12px, 1.8vw, 18px);
  display: grid;
  grid-template-rows: auto auto;
}

/* Keep the image contained and cap the visual height */
.construction__visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  max-height: clamp(360px, 52vh, 560px);
  margin: 0 auto;
  background-color: color-mix(in srgb, var(--brand-soft) 9%, white 91%);
  border-radius: calc(var(--radius) - 6px);
}

/* Caption: lighter & tighter */
.construction__visual figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface-3);
  border-radius: calc(var(--radius) - 8px);
  padding: 8px 10px;
}

/* Optional: ensure both columns align visually on tall screens */
@media (min-width: 980px) {
  .construction__content,
  .construction__visual {
    min-height: clamp(420px, 56vh, 620px);
  }
}

/* ===== Sample Box Section ===== */
.samplebox {
  background: var(--bg);
  padding: clamp(28px, 6vw, 64px) 16px;
  border-top: 1px solid color-mix(in srgb, var(--surface-3) 70%, white 30%);
}
.samplebox__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .samplebox__inner { grid-template-columns: 1.1fr .9fr; }
}

.samplebox__about { display: grid; gap: clamp(12px, 2vw, 18px); }
.samplebox__head h2 {
  margin: 0 0 6px 0;
  color: var(--text);
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem);
}
.samplebox__intro { margin: 0; color: var(--muted); max-width: 62ch; }
.samplebox__list {
  margin: 10px 0 0 0; padding: 0; list-style: none;
  display: grid; gap: 8px;
}
.samplebox__list li {
  position: relative; padding-left: 22px; color: var(--text);
}
.samplebox__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--accent) 0 45%, var(--brand) 50% 100%);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent);
}

/* Images */
.samplebox__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.8vw, 16px);
}
.samplebox__fig {
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto;
}
.samplebox__fig img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3 / 4; object-fit: cover;
}
.samplebox__fig figcaption {
  padding: 8px 10px; font-size: 1.2rem; color: var(--muted);
  background: var(--surface-3);
}

/* Form card */
.samplebox__form {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 2.4vw, 24px);
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span {
  color: var(--text);
  font-weight: 600; font-size: .95rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  appearance: none;
  background: var(--surface-1);
  border: 1px solid color-mix(in srgb, var(--brand-soft) 40%, #0000);
  border-radius: 10px;
  padding: 12px 12px;
  color: var(--text);
  font-size: 1.2rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder { color: color-mix(in srgb, var(--muted) 70%, #fff 30%); }
input:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}

.samplebox__actions {
  margin-top: 8px; display: flex; flex-wrap: wrap; gap: 10px;
}
.samplebox__note {
  margin: 10px 0 0 0; font-size: 1.2rem; color: var(--muted);
}

/* Honeypot (anti-spam) */
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* About section */
.about-block {
  padding: 4rem 2rem;
  background-color: var(--surface-2);
}

.about-block__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-block__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-block__media {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.about-block__video-figure,
.about-block__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-block__heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.about-block__body {
  font-size: 14pt;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-block__inner { flex-direction: column; }
  .about-block__media { margin-top: 1.5rem; }
  .about-block__video { height: 300px; }
}

/* ========== Layout Utilities ========== */
.container{ width: min(1100px, 92vw); margin-inline: auto; }
.section{ padding-block: clamp(48px, 8vw, 88px); }
.stack > * + *{ margin-top: var(--stack-gap, 1rem); }

/* ========== Typography Utilities ========== */
.eyebrow{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .8rem;
  color: var(--brand);
}

/* Emphasis list items */
strong{ font-weight: 700; }

/* ========== Media Frames ========== */
.media-frame{
  background: var(--surface-1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.media-frame img{ width: 100%; height: auto; display: block; }


/* ======================================================
   FOOTER
   ====================================================== */
.site-footer {
  background:var(--surface-3); padding:100px 0; color:var(--muted); font-family:"Roboto", Arial, sans-serif;
}
.footer-menu { text-align:left; }
.footer-menu li { margin-bottom:6px; }
.footer-menu a { color:var(--muted); text-decoration:none; }
.footer-menu a:hover { text-decoration:underline; }
.copyright-text { margin-top:30px; font-weight:700; text-transform:uppercase; font-size:13px; text-align:center; }

/* Social links */
.site-footer .social-links.list-inline a {
  color: var(--brand-weak); text-decoration:none; transition: color .18s ease;
}
.site-footer .social-links.list-inline a:hover,
.site-footer .social-links.list-inline a:focus-visible {
  color: var(--brand-weak); outline:none; filter: brightness(1.05);
}
.site-footer .social-links.list-inline a svg { fill: currentColor; }
.site-footer .social-links.list-inline a i,
.site-footer .social-links.list-inline a span { color: currentColor; }

/* Social icons */
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #111;
  background: #f3f4f6;
  transition: background .15s ease, transform .15s ease, color .15s ease;
  text-decoration: none;
}

.icon:hover {
  background: #fff1e7;
  color: var(--accent);
  transform: translateY(-2px);
}

/* === Button tokens consolidated (END of CSS) === */

/* Primary & ghost buttons via tokens */
.btn--primary,
a.main-button.accent-color,
.mainBtn,
.buttons a {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: color-mix(in srgb, var(--brand) 85%, black 10%) !important;
}

.btn--primary:hover,
a.main-button.accent-color:hover,
.mainBtn:hover,
.buttons a:hover {
  background: color-mix(in srgb, var(--brand) 92%, white 8%) !important;
}

.btn--ghost {
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}
.btn--ghost:hover {
  background: color-mix(in srgb, var(--brand) 10%, white 90%) !important;
}

/* Accessibility: focus rings for buttons */
.btn:focus-visible,
a.main-button.accent-color:focus-visible,
.mainBtn:focus-visible,
.buttons a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ===========================
   FAQ Section (accordion)
   Coordinates with HPL Doors UI
   =========================== */

.faq {
  max-width: 1050px;
  margin: 4rem auto;
  padding: 0 1.25rem;
}

.faq #faq-title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.faq details {
  border: 1px solid rgba(15, 23, 42, 0.08);          /* soft slate */
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
  margin: 0 0 0.875rem;
  overflow: hidden; /* keeps rounded corners on open */
}

.faq details[open] {
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

.faq summary {
  list-style: none; /* remove default triangle */
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  outline: none; /* we’ll handle focus state */
}

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

/* Icon: plus ? minus */
.faq summary::before {
  content: "+";
  inline-size: 1.25rem;
  block-size: 1.25rem;
  line-height: 1.25rem;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  font-weight: 700;
  flex: none;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
  color: rgba(15, 23, 42, 0.85);
  background: #fff;
}

.faq details[open] summary::before {
  content: "–";
  background: rgba(15, 23, 42, 0.06);
}

/* Focus and hover states for accessibility */
.faq summary:hover {
  background: rgba(15, 23, 42, 0.02);
}

.faq summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35); /* accessible focus ring */
  border-radius: 16px;
}

/* Body text */
.faq details > p {
  padding: 0 1.25rem 1.25rem 3rem; /* indent to align with icon */
  margin: 0;
  color: rgba(15, 23, 42, 0.8);
}

/* Links inside answers */
.faq details > p a {
  text-underline-offset: 2px;
}

/* Compact spacing when FAQs are adjacent */
.faq details + details {
  margin-top: 0.75rem;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .faq summary::before {
    transition: none;
  }
}

/* Dark mode support (inherits your palette if present) */
@media (prefers-color-scheme: dark) {
  .faq details {
    background: #0b1220;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }
  .faq details[open] {
    border-color: rgba(255, 255, 255, 0.22);
  }
  .faq summary {
    color: rgba(255, 255, 255, 0.92);
  }
  .faq summary::before {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.28);
    background: #0b1220;
  }
  .faq details[open] summary::before {
    background: rgba(255, 255, 255, 0.08);
  }
  .faq details > p {
    color: rgba(255, 255, 255, 0.82);
  }
  .faq summary:hover {
    background: rgba(255, 255, 255, 0.04);
  }
}

/* Optional: narrow screens */
@media (max-width: 600px) {
  .faq {
    margin: 3rem auto;
  }
  .faq details > p {
    padding: 0 1rem 1rem 2.5rem;
  }
}


/*quote banner*/
/*quote banner — no tokens, exact colors*/
.quote-banner {
  width: 100%;
  background: #16412f; /* dark green */
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.quote-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px; /* narrow but noticeable */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quote-banner__text {
  margin: 0;
  color: #ffffff;       /* white text */
  font-size: 1.15rem;   /* larger / more eye-catching */
  line-height: 1.35;
  font-weight: 600;
}

.quote-banner__button {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;

  background: #ffffff;  /* white button */
  color: #000000;       /* black text */
  /*border: 1px solid rgba(0, 0, 0, 0.25);*/
  border-radius: 6px;

  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.quote-banner__button:visited {
	color: #000000;
	
}

.quote-banner__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  filter: brightness(0.98);
}

.quote-banner__button:focus-visible {
  outline: 3px solid rgba(255, 213, 79, 0.65); /* matches your accent vibe */
  outline-offset: 2px;
}

.quote-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px; /* ? increase this */
}

.quote-banner__text {
  margin-right: 0; /* or remove this rule entirely */
}
  /* Sticky in-page nav */
    .toc{
      /*position:sticky;*/
      top:76px;
      align-self:start;
      border:1px solid var(--border);
      background:#fff;
      border-radius:var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .toc-header{
      padding:14px 14px 10px;
      border-bottom:1px solid var(--border);
      background: linear-gradient(180deg, rgba(246,247,248,.9), #fff);
    }
    .toc-title{
      margin:0;
      font-weight:800;
      font-size:14px;
      letter-spacing:.2px;
    }
    .toc-body{
      padding:10px;
      display:flex;
      flex-direction:column;
      gap:4px;
    }
    .toc a{
      display:block;
      padding:9px 10px;
      border-radius:10px;
      color:var(--text);
      font-size:14px;
      font-weight:600;
    }
    .toc a:hover{
      background:var(--bg-2);
      text-decoration:none;
    }
    .toc small{color:var(--muted); font-weight:600}