:root {
  --orange: #ff900d;
  --brand: #ee7203;
  --teal: #115757;
  --teal-deep: #0c4545;
  --wine: #57001b;
  --sand: #ede7e1;
  --paper: #f7f7f7;
  --ink: #202124;
  --muted: #5f6368;
  --line-dark: rgba(255, 255, 255, .16);
  --line-light: rgba(32, 33, 36, .14);
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 112px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Ubuntu, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--wine); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--orange); color: var(--wine); padding: 10px 18px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }

.eyebrow { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); font-weight: 400; margin-bottom: 18px; }
.h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.15; font-weight: 700; letter-spacing: -.005em; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; }

/* Buttons: pill + round arrow, as on the Normec Group sites */
.cta { display: inline-flex; align-items: center; gap: 0; font-weight: 500; font-size: 17px; }
.cta-label { background: var(--orange); color: var(--wine); padding: 0 30px; height: 54px; display: inline-flex; align-items: center; border-radius: 999px; transition: background .25s; white-space: nowrap; }
.cta-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--sand); color: var(--wine); display: inline-grid; place-items: center; transition: transform .4s var(--ease); }
.cta-icon svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.cta:hover .cta-label { background: #ffa338; }
.cta:hover .cta-icon { transform: translateX(6px); }
.cta:hover .cta-icon svg { transform: rotate(-45deg); }
.ghost { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid currentColor; font-weight: 500; font-size: 17px; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.ghost:hover { background: #fff; color: var(--wine); border-color: #fff; }
.ghost--dark:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.textlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background .35s, transform .35s var(--ease); }
.header.is-solid { background: var(--teal); }
.header.is-hidden { transform: translateY(-100%); }
.header.menu-open, .header:has(.nav-item.open), .header:has(.search-panel.open) { background: var(--teal); }
.utility { display: flex; justify-content: flex-end; gap: 28px; font-size: 14px; padding-top: 12px; height: 38px; transition: height .3s, opacity .3s, padding .3s; overflow: hidden; }
.header.is-solid .utility { height: 0; padding-top: 0; opacity: 0; }
.utility a { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.utility a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.utility span { opacity: .9; }
.textlink--plain { border-bottom: 0; opacity: .8; }
.footer-cols li span { display: inline-block; padding: 5px 0; opacity: .85; }
.utility svg { width: 12px; height: 12px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; border-bottom: 1px solid var(--line-dark); }
.header.is-solid .bar { border-bottom-color: transparent; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-weight: 500; font-size: 30px; color: var(--brand); letter-spacing: -.01em; }
.logo-word span { font-size: 15px; margin-top: 3px; letter-spacing: .01em; color: currentColor; opacity: .92; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 16px; font-weight: 400; border-radius: 999px; transition: background .2s; }
.nav-link svg { width: 12px; height: 12px; transition: transform .3s; }
.nav-link:hover, .nav-item.open > .nav-link { background: rgba(255, 255, 255, .1); }
.nav-item.open > .nav-link svg { transform: rotate(180deg); }

.panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-top: 1px solid var(--line-light); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.nav-item.open .panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
.panel-inner { display: grid; gap: 48px; padding-top: 40px; padding-bottom: 48px; }
.panel-inner--3 { grid-template-columns: 1fr 1fr .85fr; }
.panel-inner--2 { grid-template-columns: 1.4fr 1fr; }
.panel h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }
.panel h3 a:hover { color: var(--wine); }
.panel-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 16px; transition: color .2s, transform .25s var(--ease); }
.panel-list a:hover { color: var(--wine); transform: translateX(4px); }
.panel-list .tag { order: 2; font-size: 12px; color: var(--teal); background: rgba(17, 87, 87, .08); padding: 2px 8px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.panel-list--cols { columns: 2; column-gap: 40px; }
.panel-list--cols li { break-inside: avoid; }
.panel-promo { background: var(--sand); color: var(--wine); padding: 28px; border-radius: 4px; display: flex; flex-direction: column; gap: 16px; align-self: start; }
.panel-promo p { font-size: 22px; line-height: 1.3; font-weight: 500; }
.panel-promo .small { font-size: 15px; font-weight: 400; color: var(--ink); opacity: .8; }

.actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); display: grid; place-items: center; transition: background .2s, color .2s; }
.icon-btn:hover { background: #fff; color: var(--teal); }
.icon-btn svg { width: 17px; height: 17px; }
.btn-quote { background: var(--orange); color: var(--wine); font-weight: 500; font-size: 16px; padding: 0 24px; height: 50px; border-radius: 999px; display: inline-flex; align-items: center; white-space: nowrap; transition: background .2s; }
.btn-quote:hover { background: #ffa338; }
.burger { display: none; }

.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); padding: 28px 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.search-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
.search-panel form { display: flex; gap: 12px; align-items: center; }
.search-panel input { flex: 1; font: inherit; font-size: 24px; border: 0; border-bottom: 2px solid var(--teal); padding: 10px 0; background: transparent; outline: none; color: var(--ink); }
.search-panel input::placeholder { color: #9aa0a6; }

/* Mobile menu */
.mobile { position: fixed; inset: 0; top: 74px; background: var(--teal); color: #fff; overflow-y: auto; padding: 16px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.mobile.open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.mobile details { border-bottom: 1px solid var(--line-dark); }
.mobile summary, .mobile .m-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 22px; font-weight: 500; list-style: none; cursor: pointer; }
.mobile summary::-webkit-details-marker { display: none; }
.mobile summary svg { width: 16px; height: 16px; transition: transform .3s; }
.mobile details[open] summary svg { transform: rotate(180deg); }
.mobile .m-link { border-bottom: 1px solid var(--line-dark); }
.mobile .m-sub { padding: 0 0 18px; }
.mobile .m-sub h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); font-weight: 400; margin: 12px 0 6px; }
.mobile .m-sub a { display: block; padding: 7px 0; font-size: 16px; opacity: .9; }
.mobile .m-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(680px, min(100svh, 940px)); color: #fff; background: #0e1f1f; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg figure.active { opacity: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s linear; }
.hero-bg figure.active img { transform: scale(1.02); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(8, 26, 26, .92) 0%, rgba(8, 26, 26, .72) 42%, rgba(8, 26, 26, .25) 75%, rgba(8, 26, 26, .15) 100%),
  linear-gradient(0deg, rgba(8, 26, 26, .75) 0%, rgba(8, 26, 26, 0) 40%); }
.hero-deco { position: absolute; right: 0; top: 0; height: 100%; width: min(34vw, 520px); z-index: -1; pointer-events: none; }
.hero-deco polyline { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-content { flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
.hero-slides { display: grid; max-width: 920px; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .6s; }
.hero-slide.active { opacity: 1; visibility: visible; transition: opacity .5s .25s, visibility 0s; }
.hero-title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; font-weight: 700; letter-spacing: -.015em; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.hero-slide.active .hero-title .line > span { transform: none; transition-delay: .3s; }
.hero-slide.active .hero-title .line:nth-child(2) > span { transition-delay: .4s; }
.hero-slide p.lead { max-width: 560px; opacity: .92; margin-bottom: 38px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

.hero-tabs { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); }
.hero-tabs .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-tab { text-align: left; padding: 22px 24px 26px 0; position: relative; color: rgba(255, 255, 255, .6); transition: color .3s; }
.hero-tab + .hero-tab { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-tab:hover, .hero-tab[aria-selected="true"] { color: #fff; }
.hero-tab .num { font-size: 13px; letter-spacing: .08em; color: var(--orange); }
.hero-tab .ttl { display: block; font-size: 18px; font-weight: 500; margin-top: 4px; }
.hero-tab .sub { display: block; font-size: 15px; margin-top: 2px; }
.hero-tab .progress { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--orange); }
.hero-tab + .hero-tab .progress { left: 0; }
.hero-tab[aria-selected="true"] .progress { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.paused .hero-tab[aria-selected="true"] .progress { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Easy (sand) ---------- */
.easy { background: var(--sand); color: var(--wine); padding: clamp(80px, 10vw, 140px) 0; }
.easy-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.easy-grid .h2 { position: sticky; top: 120px; }
.easy-grid .h2 em { font-style: normal; color: var(--brand); }
.qs li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 26px 0; border-top: 1px solid rgba(87, 0, 27, .18); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.35; }
.qs li:last-child { border-bottom: 1px solid rgba(87, 0, 27, .18); }
.qs .n { font-size: 14px; letter-spacing: .08em; color: var(--brand); padding-top: 6px; font-weight: 500; }
.easy-end { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.easy-end p { font-size: 18px; color: var(--ink); }
.easy .cta-icon, .panel-promo .cta-icon { background: #fff; }

/* ---------- Pillars (teal) ---------- */
.pillars { background: var(--teal); color: #fff; padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.pillars-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.pillars-head .lead { opacity: .9; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.pillar h3 { font-size: 26px; font-weight: 500; margin: 26px 0 10px; }
.pillar p { opacity: .85; font-size: 17px; }
.frame { position: relative; aspect-ratio: 1 / 1.08; }
.frame img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%); transition: transform .8s var(--ease); }
.frame::after { content: ""; position: absolute; inset: 14% 10% 22% 12%; border: 2px solid var(--orange); transform: rotate(-13deg); transition: transform .8s var(--ease), inset .8s var(--ease); pointer-events: none; }
.pillar:nth-child(2) .frame img { clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%); }
.pillar:nth-child(2) .frame::after { transform: rotate(-17deg); }
.pillar:nth-child(3) .frame img { clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 97%); }
.pillar:nth-child(3) .frame::after { transform: rotate(-10deg); }
.pillar:hover .frame::after { transform: rotate(-4deg); inset: 8% 6% 14% 8%; }
.pillars-foot { margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Services (paper) ---------- */
.services { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.services-head .h2 { color: var(--teal); }
.services-head .links { display: flex; gap: 12px; flex-wrap: wrap; }
.svc-table-head { display: grid; grid-template-columns: 2.1fr 2.6fr 1fr 200px; gap: 32px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.svc { display: grid; grid-template-columns: 2.1fr 2.6fr 1fr 200px; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line-light); position: relative; transition: padding .4s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: #fff; opacity: 0; transition: opacity .3s; z-index: -1; }
.svc-list { position: relative; z-index: 0; }
.svc:hover::before { opacity: 1; }
.svc:hover { padding-left: 14px; }
.svc-name { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 500; color: var(--teal); line-height: 1.2; }
.svc-name small { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 400; margin-bottom: 6px; }
.svc-desc { color: #3c4043; font-size: 16px; }
.svc-scope { font-size: 14px; color: var(--wine); }
.svc-scope span { display: inline-block; border: 1px solid rgba(87, 0, 27, .3); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.svc-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 15px; }
.svc-actions a { display: inline-flex; align-items: center; gap: 8px; }
.svc-actions .more { font-weight: 500; color: var(--teal); }
.svc-actions .more .arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--teal); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.svc-actions .more svg { width: 15px; height: 15px; }
.svc:hover .more .arrow { background: var(--teal); color: #fff; transform: rotate(-45deg); }
.svc-actions .svc-quote { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.svc-actions .svc-quote:hover { color: var(--wine); }
.svc-preview { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 50; opacity: 0; transition: opacity .25s; }
.svc-preview.show { opacity: 1; }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%); opacity: 0; transition: opacity .25s; }
.svc-preview img.on { opacity: 1; }
.svc-preview::after { content: ""; position: absolute; inset: 12% 14%; border: 2px solid var(--orange); transform: rotate(-12deg); }

/* ---------- Gallery (deep teal) ---------- */
.gallery { background: var(--teal-deep); color: #fff; padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.gallery-head p { max-width: 560px; opacity: .88; margin-top: 18px; }
.arrows { display: flex; gap: 10px; }
.arrow-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: grid; place-items: center; transition: background .2s, color .2s, opacity .2s; }
.arrow-btn:hover:not(:disabled) { background: #fff; color: var(--teal-deep); }
.arrow-btn:disabled { opacity: .3; cursor: default; }
.arrow-btn svg { width: 18px; height: 18px; }
.track { display: flex; gap: clamp(16px, 2.4vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
.track::-webkit-scrollbar { display: none; }
@media (min-width: 1440px) { .track { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.shot { flex: 0 0 clamp(270px, 30vw, 440px); scroll-snap-align: start; text-align: left; }
.shot .frame { aspect-ratio: 3 / 2.2; }
.shot .frame::after { inset: 10% 14% 16% 14%; opacity: 0; transform: rotate(-20deg) scale(.85); }
.shot:hover .frame::after, .shot:focus-visible .frame::after { opacity: 1; transform: rotate(-9deg) scale(1); }
.shot:nth-child(even) .frame img { clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%); }
.shot:hover img { transform: scale(1.04); }
.shot .frame { overflow: hidden; }
.shot span { display: block; margin-top: 16px; font-size: 18px; }
.social { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.social p { opacity: .9; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.social-icons a:hover { background: var(--orange); border-color: var(--orange); color: var(--wine); }
.social-icons svg { width: 18px; height: 18px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 92vw); width: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(6, 20, 20, .92); }
.lightbox img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 16px; }
.lightbox .arrow-btn { color: #fff; }

/* ---------- Advisor table (wine) ---------- */
.advisor { background: var(--wine); color: #fff; padding: clamp(80px, 10vw, 140px) 0; }
.advisor-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: end; margin-bottom: 64px; }
.advisor-head .lead { opacity: .9; }
.rows-head { display: grid; grid-template-columns: 1fr 1.3fr 60px; gap: 32px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.row { display: grid; grid-template-columns: 1fr 1.3fr 60px; gap: 32px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line-dark); transition: padding .4s var(--ease); }
.row-title { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.1; }
.row-text { opacity: .85; }
.row .go { justify-self: end; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.row .go svg { width: 18px; height: 18px; }
.row:hover { padding-left: 16px; }
.row:hover .go { background: var(--orange); border-color: var(--orange); color: var(--wine); transform: rotate(-45deg); }

/* ---------- Quotes + certificates (sand) ---------- */
.voices { background: var(--sand); color: var(--wine); padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 100px); }
.voices .eyebrow { color: var(--brand); text-align: center; }
.quotes { position: relative; display: grid; max-width: 980px; margin: 0 auto; text-align: center; min-height: 260px; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease), visibility 0s .6s; display: flex; flex-direction: column; justify-content: center; }
.quote.active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .15s, transform .6s .15s var(--ease), visibility 0s; }
.quote blockquote { margin: 0; font-size: clamp(1.45rem, 2.7vw, 2.3rem); line-height: 1.35; font-weight: 400; }
.quote.long blockquote { font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.5; }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { margin-top: 26px; font-style: italic; font-size: 17px; opacity: .8; }
.quotes-nav { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 40px; }
.quotes-nav .arrow-btn { border-color: rgba(87, 0, 27, .4); color: var(--wine); }
.quotes-nav .arrow-btn:hover { background: var(--wine); color: #fff; }
.quotes-count { font-size: 15px; letter-spacing: .08em; min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }
.certs { margin-top: clamp(72px, 9vw, 120px); text-align: center; }
.certs h2 { font-size: 18px; font-style: italic; font-weight: 400; margin-bottom: 40px; opacity: .85; }
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(28px, 4vw, 64px); }
.cert-row img { height: 56px; width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .75; transition: filter .3s, opacity .3s; }
.cert-row img.tall { height: 70px; }
.cert-row img.wide { height: 40px; }
.cert-row img:hover { filter: none; opacity: 1; }

/* ---------- Contact ---------- */
.contact { background: var(--teal); color: #fff; padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.6px, transparent 1.8px); background-size: 18px 18px; mask-image: linear-gradient(100deg, transparent 35%, #000 80%); -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 80%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.contact .h2 { margin-bottom: 22px; }
.contact .lead { opacity: .9; max-width: 520px; margin-bottom: 36px; }
.big-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(1.3rem, 2.4vw, 2rem); transition: color .2s; }
.big-links a:first-child { border-top: 1px solid var(--line-dark); }
.big-links a small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.big-links a:hover { color: var(--orange); }
.addr { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; font-size: 16px; }
.addr h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); font-weight: 400; margin-bottom: 8px; }
.addr p { opacity: .9; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-deep); color: #fff; position: relative; overflow: hidden; font-size: 15px; }
.footer-deco { position: absolute; right: 0; top: 0; height: 100%; width: 320px; pointer-events: none; }
.footer-cols { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; padding-top: 80px; padding-bottom: 56px; }
.footer h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer p { opacity: .85; max-width: 300px; }
.footer-cols li a { display: inline-block; padding: 5px 0; opacity: .85; transition: opacity .2s, color .2s; }
.footer-cols li a:hover { opacity: 1; color: var(--orange); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 28px; padding-bottom: 36px; background: linear-gradient(var(--line-dark), var(--line-dark)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom .legal a:hover { color: var(--orange); }
.footer-bottom .copy { opacity: .6; }
.footer-bottom .social-icons { margin-left: auto; }
.footer-bottom .social-icons a { width: 38px; height: 38px; border: 0; color: var(--orange); }
.footer-bottom .social-icons a:hover { background: rgba(255, 255, 255, .08); color: var(--orange); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .actions .icon-btn, .actions .btn-quote { display: none; }
  .burger { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; font-size: 16px; }
  .burger svg { width: 18px; height: 18px; }
  .svc-table-head { display: none; }
  .svc { grid-template-columns: 1fr auto; gap: 12px 24px; }
  .svc-desc { grid-column: 1 / -1; grid-row: 2; }
  .svc-scope { grid-column: 1; grid-row: 3; }
  .svc-actions { grid-column: 2; grid-row: 1 / 4; }
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 74px; }
  .utility { display: none; }
  .easy-grid, .pillars-head, .advisor-head, .contact-grid { grid-template-columns: 1fr; }
  .easy-grid .h2 { position: static; }
  .pillar-grid { grid-template-columns: 1fr; gap: 56px; }
  .frame { aspect-ratio: 4 / 3; }
  .hero-deco { display: none; }
  .hero::before { background: linear-gradient(0deg, rgba(8, 26, 26, .95) 10%, rgba(8, 26, 26, .55) 100%); }
  .hero-tabs .wrap { grid-template-columns: 1fr 1fr 1fr; }
  .hero-tab { padding: 16px 10px 18px 0; }
  .hero-tab + .hero-tab { padding-left: 12px; }
  .hero-tab .sub { display: none; }
  .hero-tab .ttl { font-size: 15px; }
  .rows-head { display: none; }
  .row { grid-template-columns: 1fr 48px; gap: 10px 20px; }
  .row-text { grid-column: 1; grid-row: 2; }
  .row .go { grid-column: 2; grid-row: 1 / 3; }
  .svc { grid-template-columns: 1fr; }
  .svc-actions { grid-column: 1; grid-row: 4; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom .social-icons { margin-left: 0; }
  .addr { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .logo-word b { font-size: 25px; }
  .logo-word span { font-size: 13px; }
  .logo-mark { width: 34px; height: 34px; }
  .cta-label { padding: 0 22px; }
  .hero-btns .ghost { padding: 0 20px; }
  .qs li { grid-template-columns: 44px 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cert-row img { height: 44px; }
  .cert-row img.tall { height: 58px; }
  .cert-row img.wide { height: 32px; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .person h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero-bg img { transform: none !important; }
}

/* ---------- WordPress ---------- */
.admin-bar .header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .mobile { top: calc(74px + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) { .admin-bar .header.is-solid { top: 0; } }
.header--solid { background: var(--teal); }
.logo .custom-logo { height: 44px; width: auto; }
.mobile .m-sub a.m-sub-head { opacity: 1; font-weight: 500; }


/* ---------- Subpages: hero ---------- */
.phero { position: relative; z-index: 1; background: var(--teal); color: #fff; padding: calc(var(--header-h) + 22px) 0 clamp(72px, 9vw, 130px); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3.5vw)); overflow: hidden; margin-bottom: -3.5vw; }
/* The section after the hero runs on under its slanted edge. */
.phero + * { padding-top: calc(clamp(64px, 8vw, 110px) + 3.5vw); }
.phero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.crumbs { font-size: 14px; margin-bottom: clamp(36px, 6vw, 84px); display: flex; flex-wrap: wrap; gap: 4px 0; opacity: .9; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { margin: 0 8px; opacity: .7; }
.crumbs [aria-current] { opacity: .8; }
.phero-title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; margin-bottom: 22px; overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 14 6 6; }
.phero-text { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; max-width: 580px; opacity: .92; }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--orange); transform: translateY(2px); }
.phero .hero-btns { margin-top: 34px; }
.phero-media { position: relative; }
.phero-frame { position: relative; isolation: isolate; aspect-ratio: 4 / 3.3; margin-right: calc(var(--gutter) * -.25); }
.phero-frame::before { content: ""; position: absolute; inset: -7% 10% -12% -9%; background: #2c6d6a; transform: rotate(-9deg); z-index: -1; }
.phero-frame img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 96%); }

/* ---------- Subpages: text sections ---------- */
.nsec { padding: clamp(64px, 8vw, 110px) 0; background: #fff; }
.nsec--sand { background: var(--sand); color: var(--wine); }
.nsec--paper { background: var(--paper); }
.nsec--teal { background: var(--teal); color: #fff; }
.nsec--wine { background: var(--wine); color: #fff; }
.nsec--narrow .prose { max-width: 820px; margin: 0 auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.15; font-weight: 700; color: var(--wine); margin-top: 1.7em; }
.prose h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.25; font-weight: 500; color: var(--wine); margin-top: 1.5em; }
.prose h4 { font-size: 1.1rem; font-weight: 700; margin-top: 1.4em; }
.prose > :first-child, .prose .wp-block-column > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.nsec--teal .prose h2, .nsec--teal .prose h3, .nsec--wine .prose h2, .nsec--wine .prose h3 { color: #fff; }
.prose a:not(.wp-block-button__link) { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:not(.wp-block-button__link):hover { color: var(--wine); }
.nsec--sand .prose a:not(.wp-block-button__link) { color: var(--wine); }
.nsec--teal .prose a:not(.wp-block-button__link), .nsec--wine .prose a:not(.wp-block-button__link) { color: var(--orange); }
.prose strong { font-weight: 700; }
.prose ul.wp-block-list { list-style: none; padding: 0; }
.prose ul.wp-block-list > li { position: relative; padding-left: 26px; }
.prose ul.wp-block-list > li + li, .prose ol.wp-block-list > li + li { margin-top: .45em; }
.prose ul.wp-block-list > li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.prose ol.wp-block-list { list-style: decimal; padding-left: 1.4em; }
.prose ol.wp-block-list > li::marker { color: var(--brand); font-weight: 500; }
.prose img { height: auto; }
.prose .wp-block-image { margin-left: 0; margin-right: 0; }
.prose .wp-block-image figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.wp-block-image.is-style-frame { position: relative; margin-top: 2em; margin-bottom: 2em; }
.wp-block-image.is-style-frame img { width: 100%; clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%); }
.wp-block-image.is-style-frame::after { content: ""; position: absolute; inset: 14% 12% 18% 12%; border: 2px solid var(--orange); transform: rotate(-9deg); pointer-events: none; }
.prose .wp-block-columns { display: flex; gap: clamp(32px, 4vw, 56px); margin-top: 2.4em; margin-bottom: 1em; }
/* Columns break out of the narrow reading column to a wider grid, so three columns never get cramped. */
.nsec--narrow .prose > .wp-block-columns { width: min(1200px, calc(100vw - 2 * var(--gutter))); margin-left: calc(50% - min(600px, 50vw - var(--gutter))); }
.prose .wp-block-column { flex: 1 1 0; min-width: 0; padding-top: 26px; background: linear-gradient(var(--orange), var(--orange)) left top / 48px 2px no-repeat, linear-gradient(rgba(87, 0, 27, .16), rgba(87, 0, 27, .16)) left top / 100% 1px no-repeat; }
.nsec--teal .prose .wp-block-column, .nsec--wine .prose .wp-block-column { background: linear-gradient(var(--orange), var(--orange)) left top / 48px 2px no-repeat, linear-gradient(var(--line-dark), var(--line-dark)) left top / 100% 1px no-repeat; }
.prose .wp-block-column h2, .prose .wp-block-column h3 { font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.25; font-weight: 700; }
.prose .wp-block-column h4 { font-size: 1.05rem; }
.prose .wp-block-column p, .prose .wp-block-column li { font-size: 16px; line-height: 1.65; }
.prose .wp-block-column .wp-block-image.is-style-frame { margin-top: 0; }
.prose h2, .prose h3 { text-wrap: balance; }
.prose p { text-wrap: pretty; }
.prose .wp-block-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.prose iframe { max-width: 100%; }
.prose hr { border: 0; border-top: 1px solid var(--line-light); }

.prose .wp-block-details { border-top: 1px solid rgba(87, 0, 27, .2); }
.prose .wp-block-details + .wp-block-details { margin-top: 0; }
.prose .wp-block-details:not(:has(+ .wp-block-details)) { border-bottom: 1px solid rgba(87, 0, 27, .2); }
.prose .wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.15rem; font-weight: 500; color: var(--wine); }
.prose .wp-block-details summary::-webkit-details-marker { display: none; }
.prose .wp-block-details summary::after { content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.prose .wp-block-details[open] summary::after { transform: rotate(45deg); }
.prose .wp-block-details > :not(summary) { margin-top: 0; padding-bottom: 14px; }
.prose .wp-block-details > :not(summary) + :not(summary) { margin-top: .8em; }

.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 1.8em; }
.prose .wp-block-buttons + .wp-block-buttons { margin-top: 14px; }
/* WordPress' own layout CSS sets the button to display:block, which hides the round arrow. */
.prose .wp-block-buttons > .wp-block-button { display: inline-flex; align-items: center; }
.prose .wp-block-button::after { display: block; }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 54px; padding: 10px 30px; border-radius: 999px; background: var(--orange); color: var(--wine); font-weight: 500; font-size: 17px; line-height: 1.2; text-decoration: none; transition: background .25s; }
.prose .wp-block-button::after { content: ""; flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 8v9H8' fill='none' stroke='%2357001b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .4s var(--ease); }
.prose .wp-block-button:hover .wp-block-button__link { background: #ffa338; }
.prose .wp-block-button:hover::after { transform: translateX(6px) rotate(-45deg); }
.nsec--sand .prose .wp-block-button::after { background-color: #fff; }
.prose .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: inherit; border: 1px solid currentColor; }
.prose .wp-block-button.is-style-outline::after { display: none; }

.nve-table { overflow-x: auto; margin-left: 0; margin-right: 0; }
.nve-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nve-table th, .nve-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-light); }
.nve-table th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Forms (Gravity Forms, Contact Form 7, Mailchimp) */
.prose form { display: grid; gap: 18px; }
.prose label, .prose .gfield_label, .prose legend { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.prose input[type="text"], .prose input[type="email"], .prose input[type="tel"], .prose input[type="number"], .prose input[type="url"], .prose input[type="date"], .prose input[type="password"], .prose input[type="file"], .prose select, .prose textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(32, 33, 36, .25); border-radius: 6px; padding: 12px 14px; }
.prose input:focus, .prose select:focus, .prose textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.prose input[type="submit"], .prose button[type="submit"], .prose .gform_button { font: inherit; font-weight: 500; font-size: 17px; background: var(--orange); color: var(--wine); border: 0; border-radius: 999px; padding: 0 32px; height: 54px; cursor: pointer; justify-self: start; }
.prose input[type="submit"]:hover, .prose button[type="submit"]:hover, .prose .gform_button:hover { background: #ffa338; }
.prose .gform_fields { display: grid; gap: 18px; list-style: none; padding: 0; }
.prose .gfield_required { color: var(--brand); }
.nve-form--missing { background: var(--paper); border-left: 3px solid var(--orange); padding: 20px 24px; }
.nve-form--missing > * + * { margin-top: .6em; }
.nve-form--missing code { font-size: 14px; }

/* ---------- Subpages: cards, people, posts, contact band ---------- */
.cards-band { background: var(--teal); color: #fff; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.cards-band .gallery-head p { max-width: 560px; opacity: .88; margin-top: 16px; }
.cards-band .arrows.is-idle { display: none; }
.card { flex: 0 0 clamp(260px, 26vw, 380px); scroll-snap-align: start; display: flex; flex-direction: column; color: #fff; }
.card .frame { aspect-ratio: 4 / 3; overflow: hidden; }
.card .frame::after { inset: 10% 14% 16% 14%; opacity: 0; transform: rotate(-20deg) scale(.85); }
.card:hover .frame::after, .card:focus-visible .frame::after { opacity: 1; transform: rotate(-9deg) scale(1); }
.card:nth-child(even) .frame img { clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%); }
.card:hover img { transform: scale(1.04); }
.card h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin-top: 18px; }
.card p { font-size: 16px; opacity: .85; margin-top: 8px; }
.card-go { margin-top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.card-go svg { width: 16px; height: 16px; }
.card:hover .card-go { background: var(--orange); border-color: var(--orange); color: var(--wine); transform: rotate(-45deg); }

.people { background: var(--paper); padding: clamp(72px, 9vw, 120px) 0; }
.people .h2 { color: var(--wine); margin-bottom: 48px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 48px 28px; }
.person .frame { aspect-ratio: 1 / 1.1; background: var(--sand); }
.person .frame::after { opacity: 0; transition: opacity .3s, transform .8s var(--ease); }
.person:hover .frame::after { opacity: 1; }
.person-empty { display: block; width: 100%; height: 100%; }
.person h3 { font-size: 18px; font-weight: 500; color: var(--wine); margin-top: 16px; line-height: 1.3; }
.person p { font-size: 15px; color: var(--muted); margin-top: 4px; }

.posts-band { padding: clamp(64px, 8vw, 110px) 0; background: #fff; }
.posts-band .h2 { color: var(--wine); margin-bottom: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 56px 32px; }
.post-card { display: flex; flex-direction: column; }
.post-card .frame { aspect-ratio: 3 / 2; overflow: hidden; }
.post-card .frame::after { opacity: 0; }
.post-card:hover .frame::after { opacity: 1; }
.post-card:hover img { transform: scale(1.04); }
.post-meta { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-top: 18px; }
.post-card h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.3; color: var(--wine); margin-top: 8px; }
.post-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.post-excerpt { font-size: 16px; color: #3c4043; margin-top: 8px; }
.post-empty { font-size: 18px; }
.pagination { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-light); display: inline-grid; place-items: center; }
.pagination .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--teal); }

.cta-band { background: var(--paper); color: var(--wine); padding: clamp(72px, 9vw, 120px) 0; text-align: center; }
.cta-band .h2 { max-width: 760px; margin: 0 auto 18px; }
.cta-band .lead { max-width: 620px; margin: 0 auto 34px; color: var(--ink); }
.cta-band .hero-btns { justify-content: center; }
.cta-band .ghost { color: var(--wine); }
.nsec--paper + .cta-band, .posts-band + .cta-band { border-top: 1px solid var(--line-light); }

@media (max-width: 860px) {
  .phero-grid { grid-template-columns: 1fr; }
  .phero-media { max-width: 560px; }
  .crumbs { margin-bottom: 28px; }
  .prose .wp-block-columns { flex-direction: column; }
}

/* ---------- Vacancies ---------- */
.nav-link--jobs { background: rgba(255, 255, 255, .1); padding-right: 7px; }
.nav-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--orange); color: var(--wine); font-size: 13px; font-weight: 700; }
.mobile .m-link .nav-count { margin-left: auto; margin-right: 0; }
.mobile .m-link { gap: 12px; }

.jobs { background: var(--sand); padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.jobs-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.jobs-filter { position: sticky; top: 100px; background: var(--teal); color: #fff; border-radius: 6px; padding: 28px 26px; }
.jobs-filter-head { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 20px; font-weight: 500; cursor: default; }
.jobs-filter-head svg { width: 20px; height: 20px; opacity: .8; }
.jobs-search { width: 100%; height: 48px; border: 0; border-radius: 999px; padding: 0 20px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.jobs-search:focus { outline: 2px solid var(--orange); outline-offset: 2px; }
.jobs-group { border: 0; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-dark); min-width: 0; }
.jobs-group legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.jobs-check { clear: both; position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 15px; cursor: pointer; }
.jobs-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jobs-check .box { width: 18px; height: 18px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 4px; transition: background .15s, border-color .15s; }
.jobs-check input:checked + .box { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2357001b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--orange); }
.jobs-check input:focus-visible + .box { outline: 2px solid var(--orange); outline-offset: 2px; }
.jobs-check .num { font-size: 13px; opacity: .65; }
.jobs-reset { margin-top: 26px; width: 100%; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .6); font-weight: 500; transition: background .2s, color .2s; }
.jobs-reset:hover { background: #fff; color: var(--teal); }
.jobs-count { font-size: 16px; color: var(--wine); margin-bottom: 18px; }
.job-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.job-card { position: relative; display: flex; flex-direction: column; min-height: 330px; background: #fff; border-radius: 6px; padding: 28px 28px 26px; border-top: 3px solid transparent; transition: border-color .25s, transform .35s var(--ease); }
.job-card[hidden] { display: none; }
.job-card:hover { border-top-color: var(--orange); transform: translateY(-3px); }
.job-cat { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.job-card h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 500; color: var(--teal); overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 12 5 5; }
.job-excerpt { font-size: 15px; color: #3c4043; margin-top: 10px; }
.job-facts { margin-top: auto; padding-top: 20px; padding-right: 52px; display: grid; gap: 8px; font-size: 14px; color: var(--wine); }
.job-facts li { display: flex; align-items: center; gap: 10px; }
.job-facts svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--teal); }
.job-go { position: absolute; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.job-go svg { width: 16px; height: 16px; }
.job-card:hover .job-go { background: var(--orange); color: var(--wine); transform: rotate(-45deg); }
.jobs-empty { background: #fff; border-radius: 6px; padding: 32px; font-size: 17px; }

.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.job-layout .prose { max-width: 760px; }
.job-aside { position: sticky; top: 110px; }
.job-summary { background: var(--sand); color: var(--wine); border-radius: 6px; padding: 30px; }
.job-summary h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.job-summary dl { margin: 0 0 26px; }
.job-summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(87, 0, 27, .15); font-size: 15px; }
.job-summary dt { opacity: .75; }
.job-summary dd { margin: 0; text-align: right; font-weight: 500; }
.job-summary .cta-icon { background: #fff; }
.job-help { font-size: 14px; margin-top: 18px; }
.job-help a { text-decoration: underline; text-underline-offset: 3px; }
.jobs--more .jobs-more-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.jobs--more .h2 { color: var(--wine); }
.jobs--more .job-list { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

@media (max-width: 980px) {
  .jobs-layout, .job-layout { grid-template-columns: 1fr; }
  .jobs-filter, .job-aside { position: static; }
  /* On small screens the filter groups fold away behind the "Filters" button. */
  .jobs-filter-head { cursor: pointer; }
  .js .jobs-form:not(.is-open) .jobs-groups { display: none; }
}

/* ---------- Gravity Forms in the house style ---------- */
.nve-form { background: var(--sand); color: var(--ink); border-radius: 6px; padding: clamp(26px, 4vw, 48px); margin-top: 2em; }
.nsec--sand .nve-form { background: #fff; }
.nve-form--missing { background: var(--paper); }
.nve-form .gform_wrapper { margin: 0; }
.nve-form .gform_heading { display: none; }
.nve-form .gform_fields { row-gap: 22px !important; }
.nve-form .gfield_label, .nve-form legend.gfield_label { font-size: 15px !important; font-weight: 500 !important; color: var(--wine) !important; margin-bottom: 8px !important; padding: 0; }
.nve-form .gfield_required { color: var(--brand) !important; font-size: 13px; margin-left: 2px; }
.nve-form .gform-field-label--type-sub { font-size: 13px !important; color: var(--muted) !important; margin-top: 4px; }
.nve-form .gfield_description { font-size: 14px !important; color: var(--muted) !important; padding-top: 6px !important; }
.nve-form .gform_wrapper input[type="text"], .nve-form .gform_wrapper input[type="email"], .nve-form .gform_wrapper input[type="tel"],
.nve-form .gform_wrapper input[type="number"], .nve-form .gform_wrapper input[type="url"], .nve-form .gform_wrapper select, .nve-form .gform_wrapper textarea {
  width: 100%; min-height: 52px; padding: 12px 16px !important; font: inherit; font-size: 16px !important; color: var(--ink); background: #fff;
  border: 1px solid rgba(87, 0, 27, .2) !important; border-radius: 6px !important; box-shadow: none !important; transition: border-color .2s, box-shadow .2s; }
.nsec--sand .nve-form .gform_wrapper :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) { background: var(--paper); }
.nve-form .gform_wrapper textarea { min-height: 150px; resize: vertical; }
.nve-form .gform_wrapper :is(input, select, textarea):focus { outline: none; border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(255, 144, 13, .25) !important; }
.nve-form .ginput_complex { gap: 16px; }
.nve-form .gform_wrapper input[type="file"] { font-size: 15px; padding: 10px 0; color: var(--muted); }
.nve-form .gform_wrapper input[type="file"]::file-selector-button { font: inherit; font-weight: 500; color: var(--teal); background: #fff; border: 1px solid var(--teal); border-radius: 999px; padding: 9px 18px; margin-right: 14px; cursor: pointer; }
.nve-form .gfield_checkbox, .nve-form .gfield_radio { display: grid; gap: 10px; }
.nve-form .gchoice, .nve-form .ginput_container_consent { display: flex; align-items: flex-start; gap: 10px; }
.nve-form .gform_wrapper input[type="checkbox"], .nve-form .gform_wrapper input[type="radio"] { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--orange); cursor: pointer; }
.nve-form .gchoice label, .nve-form .ginput_container_consent label { font-size: 16px !important; font-weight: 400 !important; color: var(--ink) !important; cursor: pointer; max-width: none !important; }
.nve-form .gsection { border-bottom: 1px solid rgba(87, 0, 27, .18) !important; padding: 12px 0 10px !important; margin-top: 10px; }
.nve-form .gsection_title { font-size: 1.3rem !important; color: var(--wine); font-weight: 700 !important; }
.nve-form .gfield--type-html { font-size: 16px; }
.nve-form .gfield--type-html img { max-width: 100%; height: auto; }
.nve-form .gform_footer, .nve-form .gform_page_footer { margin-top: 28px !important; padding: 0 !important; display: flex; gap: 12px; flex-wrap: wrap; }
.nve-form .gform_wrapper :is(.gform_button, .gform_next_button, .gform_previous_button, button[type="submit"], input[type="submit"]) {
  font: inherit !important; font-weight: 500 !important; font-size: 17px !important; height: 54px; padding: 0 34px !important; border: 0 !important; border-radius: 999px !important;
  background: var(--orange) !important; color: var(--wine) !important; cursor: pointer; transition: background .2s; line-height: 1 !important; width: auto !important; }
.nve-form .gform_wrapper :is(.gform_button, .gform_next_button, button[type="submit"], input[type="submit"]):hover { background: #ffa338 !important; }
.nve-form .gform_wrapper .gform_previous_button { background: transparent !important; border: 1px solid var(--wine) !important; color: var(--wine) !important; }
.nve-form .gf_progressbar_wrapper { margin-bottom: 28px; }
.nve-form .gfield_error :is(input, select, textarea) { border-color: #b3261e !important; }
.nve-form .validation_message, .nve-form .gform_validation_errors { color: #b3261e !important; font-size: 14px !important; }
.nve-form .gform_validation_errors { background: #fff !important; border: 1px solid #b3261e !important; border-radius: 6px !important; box-shadow: none !important; padding: 14px 18px !important; margin-bottom: 22px !important; }
.nve-form .gform_confirmation_message { font-size: 18px; color: var(--wine); }
.nve-form .gfield_error { background: none !important; border: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }

/* ---------- Contact page: details left, form card right ---------- */
.cform .cform-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.cform .eyebrow { color: var(--orange); margin-bottom: 14px; }
.cform-details { margin: 34px 0 0; display: grid; gap: 16px; }
.cform-details > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: start; }
.cform-icon { grid-row: span 2; width: 34px; height: 34px; border-radius: 4px; background: #fff; color: var(--teal); display: grid; place-items: center; }
.cform-icon:empty { background: transparent; }
.cform-icon svg { width: 17px; height: 17px; }
.cform-details dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cform-details dd { margin: 2px 0 0; font-size: 17px; }
.cform-details a:hover { color: var(--orange); }
.cform-card { background: #3b726f; padding: clamp(24px, 3vw, 40px); border-radius: 4px; }
.cform-lead { font-weight: 500; font-size: 16px; margin-bottom: 18px; }

/* Form inside the green card */
.cform-card .nve-form { background: none; padding: 0; margin: 0; color: #fff; }
.cform-card .nve-form :is(.gfield_label, legend.gfield_label, .gchoice label, .ginput_container_consent label) { color: #fff !important; }
.cform-card .nve-form :is(.gfield_description, .gform-field-label--type-sub) { color: rgba(255, 255, 255, .75) !important; }
.cform-card .nve-form .gfield_required { color: var(--orange) !important; }
.cform-card .nve-form .gform_wrapper :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) { border-color: transparent !important; background: #fff !important; }
.cform-card .nve-form .gform_wrapper input[type="file"] { color: rgba(255, 255, 255, .8); }
.cform-card .nve-form .gform_wrapper input[type="file"]::file-selector-button { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .7); }
.cform-card .nve-form a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cform-card .nve-form .validation_message { color: #ffd0c9 !important; }
.cform-card .nve-form .gform_validation_errors { background: rgba(0, 0, 0, .15) !important; border-color: #ffd0c9 !important; }
.cform-card .nve-form .gform_validation_errors :is(h2, .gform_submission_error) { color: #fff !important; }
.cform-card .nve-form .gform_confirmation_message { color: #fff; }
.cform-card .nve-form--missing { background: rgba(0, 0, 0, .12); border-left-color: var(--orange); padding: 20px 24px; }
.cform-card .nve-form--missing a { color: #fff; }
.cform-card .nve-form--missing code { color: #fff; }

/* Two fields next to each other where Gravity Forms sets a half-width span */
.nve-form .gform_fields { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)) !important; column-gap: 16px !important; }
.nve-form .gform_fields > .gfield { grid-column: 1 / -1; }
.nve-form .gform_fields > .gfield--width-half { grid-column: span 6; }
.nve-form .gfield_label + .ginput_complex, .nve-form .gfield--type-name .gform-field-label--type-sub { margin-top: 0; }

@media (max-width: 860px) {
  .cform .cform-grid { grid-template-columns: 1fr; }
  .nve-form .gform_fields > .gfield--width-half { grid-column: 1 / -1; }
}
.nve-form .gform_fileupload_rules { display: block; margin-top: 6px; font-size: 13px; color: inherit; opacity: .75; }
