/* =============================================================
   Local Quest — Ohio Stage Demo 2 layout system
   Brand colors are tokens in :root. Fonts: Inter Tight + Inter
   (closest free match to the Neue Helvetica style Ohio demos use).
   ============================================================= */
:root {
  color-scheme: light;
  --ink: #0f2240;          /* headings, dark surfaces */
  --text: #3d475a;         /* body copy */
  --muted: #7a8396;
  --accent: #c0392b;       /* brand red */
  --accent-2: #a93226;
  --paper: #ffffff;
  --soft: #f4f5f7;
  --line: #e6e8ec;
  --line-2: #d3d7de;
  --dark: #0f2240;
  --on-dark: #ffffff;
  --on-dark-2: #a9b4c7;
  --star: #f5a524;
  --ok: #1f8a5b;
  --head: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 10px;
  --r-lg: 18px;
  --container: 1300px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #eef2f8; --text: #c3cbd8; --muted: #8e98aa;
    --paper: #0d1726; --soft: #142034; --line: #233149; --line-2: #2e3e5a;
    --dark: #081120;
  }
}
:root[data-theme="dark"] { color-scheme: dark; --ink: #eef2f8; --text: #c3cbd8; --muted: #8e98aa; --paper: #0d1726; --soft: #142034; --line: #233149; --line-2: #2e3e5a; --dark: #081120; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
html, body { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }

h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--ink); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.025em; }
h4 { font-size: 1.15rem; letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 600; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 150px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: var(--on-dark-2); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }
.subtitle { display: inline-block; font: 600 14px/1.4 var(--body); color: var(--muted); margin-bottom: 1.25rem; }
.subtitle::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: .6rem; vertical-align: 1px; }
.section--dark .subtitle { color: var(--on-dark-2); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.65; color: var(--text); max-width: 56ch; }
.muted { color: var(--muted); }
.heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; margin-bottom: clamp(40px, 6vw, 70px); }
.heading h2 { margin: 0; max-width: 17ch; }
.heading--split { grid-template-columns: 1fr 1fr; align-items: start; }
.heading--split p { margin: .6rem 0 0; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); position: relative; display: inline-flex; align-items: center; gap: .7rem; padding: 1rem 1.6rem; border: 0; border-radius: var(--r); background: var(--bg); color: var(--fg); font: 600 15px/1 var(--body); cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: #fff; }
.btn .arrow { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--accent::before { background: var(--ink); }
.btn--light { --bg: #fff; --fg: #0f2240; }
.btn--outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--sm { padding: .75rem 1.15rem; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }
.link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); position: relative; padding-bottom: 3px; }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.link .arrow { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
.tag { display: inline-flex; align-items: center; padding: .32rem .7rem; border-radius: 6px; background: var(--soft); color: var(--ink); font: 500 13px/1.2 var(--body); transition: background .3s, color .3s; }
a.tag:hover, .tag.is-active { background: var(--ink); color: var(--paper); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.stars { color: var(--star); letter-spacing: 1px; }

/* ---------- Roll text (menu hover) ---------- */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll > span { display: inline-block; transition: transform .5s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
a:hover > .roll > span, .roll:hover > span { transform: translateY(-100%); }

/* ---------- Preloader & page transition ---------- */
.preloader { position: fixed; inset: 0; z-index: 2000; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; transition: transform 1s var(--ease-io); }
.preloader img { height: 56px; width: auto; animation: pre-fade 1s var(--ease) both; }
.preloader__bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: pre-bar 1.1s var(--ease-io) forwards .1s; }
.preloader.is-done { transform: translateY(-100%); }
@keyframes pre-fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes pre-bar { to { transform: scaleX(1); } }
.transition { position: fixed; inset: 0; z-index: 1900; background: var(--ink); transform: scaleY(0); transform-origin: bottom; pointer-events: none; transition: transform .7s var(--ease-io); }
.transition.is-in { transform: scaleY(1); }
.transition.is-leaving { transform-origin: top; }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 1500; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; }
.cursor { width: 38px; height: 38px; border: 1px solid var(--ink); transition: width .45s var(--ease), height .45s var(--ease), background .3s, border-color .3s, opacity .3s; display: grid; place-items: center; }
.cursor-dot { width: 5px; height: 5px; background: var(--accent); }
.cursor span { font: 600 12px/1 var(--body); color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-on, .cursor-dot.is-on { opacity: 1; }
.cursor.is-link { width: 62px; height: 62px; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.cursor.is-view { width: 86px; height: 86px; background: var(--accent); border-color: var(--accent); }
.cursor.is-view span { opacity: 1; }
.cursor.is-light { border-color: #fff; }
@media (hover: none), (max-width: 1024px) { .cursor, .cursor-dot { display: none; } }

/* ---------- Side bars (Ohio elements bar) ---------- */
.sidebar { position: fixed; top: 50%; z-index: 60; display: flex; align-items: center; gap: 1.1rem; font: 600 13px/1 var(--body); color: var(--ink); white-space: nowrap; mix-blend-mode: normal; transition: color .4s; }
.sidebar--left { left: 22px; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center; margin-left: 12px; }
.sidebar--right { right: 22px; transform: translate(50%, -50%) rotate(90deg); margin-right: 12px; cursor: pointer; background: none; border: 0; padding: 0; }
.sidebar a { opacity: .85; transition: opacity .3s, color .3s; }
.sidebar a:hover { color: var(--accent); opacity: 1; }
.sidebar .label { color: var(--muted); }
.sidebar__line { width: 46px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.sidebar__line i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.on-hero .sidebar { color: #fff; }
.on-hero .sidebar .label { color: rgba(255,255,255,.7); }
.on-hero .sidebar__line { background: rgba(255,255,255,.35); }
@media (max-width: 1360px) { .sidebar { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 96px; transition: height .4s var(--ease); }
body:not(.has-hero) { padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
.header.is-stuck { background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-stuck .container { height: 76px; }
.header.is-hidden { transform: translateY(-100%); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 101; background: var(--paper); }
.brand { display: inline-flex; align-items: center; border-radius: 8px; }
.brand img { height: 50px; width: auto; transition: height .4s var(--ease), filter .4s; }
.header.is-stuck .brand img { height: 42px; }
.has-hero .header:not(.is-stuck) .brand { background: #fff; padding: 6px 12px; }
.nav { display: flex; gap: 2.1rem; }
.nav a { font: 500 15px/1 var(--body); color: var(--ink); position: relative; padding: .5rem 0; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.has-hero .header:not(.is-stuck) .nav a, .has-hero .header:not(.is-stuck) .icon-btn { color: #fff; }
.header__tools { display: flex; align-items: center; gap: .6rem; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .3s; }
.icon-btn:hover { background: rgba(127,127,127,.12); }
.icon-btn svg { width: 20px; height: 20px; }
.hamburger { display: none; flex-direction: column; gap: 6px; padding: 14px 12px; }
.hamburger i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .4s var(--ease), width .4s var(--ease); }
.hamburger i:nth-child(2) { width: 14px; margin-left: auto; }
.hamburger:hover i:nth-child(2) { width: 22px; }

/* Overlay menu & search (Ohio fullscreen) */
.overlay { position: fixed; inset: 0; z-index: 300; background: var(--dark); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); gap: 3rem; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s .9s; overflow-y: auto; }
.overlay.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.overlay__close { position: absolute; top: calc(24px + env(safe-area-inset-top, 0px)); right: var(--gutter); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; font-size: 26px; line-height: 1; transition: transform .5s var(--ease), background .3s; }
.overlay__close:hover { transform: rotate(90deg); background: var(--accent); border-color: var(--accent); }
.overlay__nav { display: flex; flex-direction: column; gap: .2rem; align-self: center; }
.overlay__nav a { font: 600 clamp(2.2rem, 6vw, 4.4rem)/1.08 var(--head); letter-spacing: -.04em; color: #fff; display: flex; align-items: baseline; gap: 1rem; overflow: hidden; }
.overlay__nav a span.t { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * .06s + .25s); }
.overlay.is-open .overlay__nav a span.t { transform: none; }
.overlay__nav a sup { font: 500 13px var(--body); color: var(--on-dark-2); letter-spacing: 0; }
.overlay__nav a:hover { color: var(--accent); }
.overlay__info { align-self: end; display: grid; gap: 2rem; color: var(--on-dark-2); opacity: 0; transform: translateY(20px); transition: opacity .6s .6s, transform .8s var(--ease) .6s; }
.overlay.is-open .overlay__info { opacity: 1; transform: none; }
.overlay__info h4 { color: #fff; margin-bottom: .4rem; }
.overlay__info a:hover { color: var(--accent); }
.search-overlay { grid-template-columns: 1fr; align-content: center; }
.search-overlay form { max-width: 900px; width: 100%; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; gap: 1rem; }
.search-overlay input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: 600 clamp(1.8rem, 5vw, 3.6rem)/1.3 var(--head); letter-spacing: -.03em; padding: .4em 0; }
.search-overlay input::placeholder { color: rgba(255,255,255,.35); }
.search-overlay .hint { max-width: 900px; width: 100%; margin: 1.2rem auto 0; color: var(--on-dark-2); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.search-overlay .hint a { color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: .3rem .7rem; font-size: 14px; }
.search-overlay .hint a:hover { background: var(--accent); border-color: var(--accent); }
.menu-open, .search-open { overflow: hidden; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; background: #0b1a31; color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-active { visibility: visible; z-index: 2; }
.slide.is-prev { visibility: visible; z-index: 1; }
.slide__media { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease-io); }
.slide.is-active .slide__media { clip-path: inset(0 0 0 0); }
.slide.is-prev .slide__media { clip-path: inset(0 0 0 0); }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 7s var(--ease); }
.slide.is-active .slide__media img { transform: scale(1.05); }
.slide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,18,36,.82) 0%, rgba(8,18,36,.45) 55%, rgba(8,18,36,.2)), linear-gradient(0deg, rgba(8,18,36,.75), transparent 45%); }
.slide__content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; padding-bottom: 210px; }
.slide__meta { display: flex; gap: 1.6rem; font: 500 14px var(--body); color: rgba(255,255,255,.75); margin-bottom: 1.6rem; }
.slide__meta b { color: #fff; font-weight: 600; }
.slide h1, .slide h2.h1 { color: #fff; max-width: 13ch; margin: 0 0 1.5rem; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.05em; }
.slide .line { display: block; overflow: hidden; padding-bottom: .05em; }
.slide .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.slide.is-active .line > span { transform: none; transition-delay: .55s; }
.slide.is-active .line:nth-child(2) > span { transition-delay: .65s; }
.slide.is-active .line:nth-child(3) > span { transition-delay: .75s; }
.slide p { max-width: 46ch; color: rgba(255,255,255,.8); font-size: 1.08rem; opacity: 0; transform: translateY(20px); transition: opacity .8s .9s, transform 1s var(--ease) .9s; }
.slide .actions { display: flex; flex-wrap: wrap; gap: .8rem; opacity: 0; transform: translateY(20px); transition: opacity .8s 1s, transform 1s var(--ease) 1s; }
.slide.is-active p, .slide.is-active .actions { opacity: 1; transform: none; }
.slide:not(.is-active) .slide__meta { opacity: 0; }
.hero__ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; }
.hero__ui .container { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding-bottom: 40px; }
.hero__search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; background: rgba(255,255,255,.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-lg); padding: 8px; max-width: 780px; }
.hero__search label { display: flex; align-items: center; gap: .7rem; padding: 0 1.1rem; color: rgba(255,255,255,.75); }
.hero__search label + label { border-left: 1px solid rgba(255,255,255,.2); }
.hero__search svg { width: 18px; height: 18px; flex: none; }
.hero__search input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: 1rem 0; font-size: 15px; }
.hero__search input::placeholder { color: rgba(255,255,255,.6); }
.hero__pager { display: flex; align-items: center; gap: 1.4rem; font: 600 14px var(--body); }
.hero__count { font-variant-numeric: tabular-nums; }
.hero__count b { font-size: 1.6rem; font-family: var(--head); }
.hero__bars { display: flex; gap: 8px; }
.hero__bars button { width: 46px; height: 20px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.hero__bars button::before, .hero__bars button i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.3); }
.hero__bars button i { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__bars button.is-active i { animation: bar var(--dur, 7s) linear forwards; }
.hero__bars button.is-done i { transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: .5rem; }
.hero__arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.hero__arrows button:hover { background: var(--accent); border-color: var(--accent); }
.hero__arrows svg { width: 18px; height: 18px; }
.scroll-badge { position: absolute; right: var(--gutter); top: 50%; z-index: 5; width: 130px; height: 130px; transform: translateY(-50%); display: grid; place-items: center; color: #fff; }
.scroll-badge svg.ring { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.scroll-badge svg.ring text { fill: #fff; font: 600 11px var(--body); letter-spacing: 3.2px; }
.scroll-badge .core { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .5s var(--ease); }
.scroll-badge:hover .core { transform: scale(1.15); }
.scroll-badge .core svg { width: 20px; height: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * .045s); }
.split-words.is-in .w > span { transform: none; }
.img-reveal { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--soft); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s var(--ease); }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: right; transition: transform 1.1s var(--ease-io); z-index: 2; }
.img-reveal.is-in::after { transform: scaleX(0); }
.img-reveal.is-in img { transform: scale(1); }
.no-js [data-reveal], .no-js .split-words .w > span { opacity: 1; transform: none; }
.no-js .img-reveal::after { display: none; }

/* ---------- About / intro ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__media { position: relative; display: grid; grid-template-columns: 1fr .8fr; gap: 20px; align-items: end; }
.intro__media .img-reveal:first-child { aspect-ratio: 3/4; }
.intro__media .img-reveal:last-child { aspect-ratio: 4/5; margin-bottom: 60px; }
.intro__badge { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); background: var(--paper); border-radius: 50%; width: 120px; height: 120px; display: grid; place-items: center; text-align: center; box-shadow: 0 20px 50px -20px rgba(15,34,64,.4); z-index: 3; }
.intro__badge strong { display: block; font: 600 2rem/1 var(--head); color: var(--accent); }
.intro__badge span { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.2; }

/* ---------- Services tabs (Ohio "Our Services") ---------- */
.svc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; font: 600 clamp(1.3rem, 2.4vw, 2rem)/1.15 var(--head); letter-spacing: -.03em; color: var(--muted); transition: color .4s, padding .5s var(--ease); }
.svc-list button:hover { color: var(--ink); }
.svc-list button.is-active { color: var(--ink); padding-left: 1rem; }
.svc-list button sup { font: 500 13px var(--body); color: var(--accent); letter-spacing: 0; }
.svc-list button svg { width: 26px; height: 26px; opacity: 0; transform: translateX(-12px); transition: opacity .4s, transform .5s var(--ease); color: var(--accent); }
.svc-list button.is-active svg { opacity: 1; transform: none; }
.svc-panes { position: relative; }
.svc-pane { display: none; }
.svc-pane.is-active { display: block; animation: pane .9s var(--ease); }
@keyframes pane { from { opacity: 0; transform: translateY(24px); } }
.svc-pane .img-reveal { aspect-ratio: 16/11; margin-bottom: 2rem; }
.svc-pane p { font-size: 1.08rem; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: clamp(60px, 8vw, 110px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); }
.counter { display: flex; align-items: flex-start; gap: 1rem; }
.counter strong { font: 600 clamp(3rem, 6vw, 5rem)/.9 var(--head); letter-spacing: -.05em; color: var(--ink); }
.counter strong sup { font-size: .4em; color: var(--accent); }
.counter > span { font-size: 14px; line-height: 1.35; color: var(--muted); padding-top: .4rem; }

/* ---------- Awards-style category rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { position: relative; display: grid; grid-template-columns: 90px 1.5fr 1fr auto; align-items: center; gap: 2rem; padding: 1.4rem 1rem; isolation: isolate; transition: color .4s; }
.rows a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.rows a:hover::before { transform: scaleY(1); transform-origin: top; }
.rows a:hover, .rows a:hover h3 { color: #fff; }
.rows a:hover .muted { color: var(--on-dark-2); }
.rows .thumb { width: 90px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--soft); }
.rows .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rows a:hover .thumb img { transform: scale(1.12); }
.rows h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.8rem); transition: color .4s; }
.rows .go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.rows .go svg { width: 18px; height: 18px; }
.rows a:hover .go { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); color: #fff; }
.follow-img { position: fixed; left: 0; top: 0; width: 300px; height: 210px; border-radius: 14px; overflow: hidden; z-index: 70; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.5); transition: opacity .35s, transform .55s var(--ease); }
.follow-img.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.follow-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Works grid (featured listings) ---------- */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 40px); }
.work { grid-column: span 4; display: flex; flex-direction: column; gap: 1.1rem; }
.works--feature .work:nth-child(1), .works--feature .work:nth-child(2) { grid-column: span 6; }
.work__media { position: relative; aspect-ratio: 4/3; }
.works--feature .work:nth-child(-n+2) .work__media { aspect-ratio: 16/11; }
.work__media img { transition: transform 1.3s var(--ease) !important; }
.work:hover .work__media.is-in img { transform: scale(1.07); }
.work__logo { position: absolute; left: 16px; bottom: 16px; z-index: 3; background: #fff; border-radius: 10px; padding: 8px 12px; height: 54px; max-width: 60%; display: flex; align-items: center; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.work__logo img { max-height: 38px; width: auto; object-fit: contain; transform: none !important; }
.work__head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.work h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); margin: 0 0 .5rem; }
.work h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.work:hover h3 a { background-size: 100% 1px; }
.work__loc { font-size: 14px; color: var(--muted); white-space: nowrap; }
.work p { color: var(--text); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Clients logos ---------- */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients a { aspect-ratio: 4/3; display: grid; place-items: center; padding: 1.5rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .4s; }
.clients img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .5s, opacity .5s, transform .6s var(--ease); }
.clients a:hover { background: var(--soft); }
.clients a:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.testi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 1.2rem; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.testi:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(15,34,64,.3); }
.testi h4 { margin: 0; }
.testi blockquote { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.testi footer { margin-top: auto; display: flex; align-items: center; gap: .9rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 600 16px var(--head); }
.avatar--sm { width: 32px; height: 32px; font-size: 13px; }
.testi footer small { display: block; color: var(--muted); }

/* ---------- Journal / RSS ---------- */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.post { display: flex; flex-direction: column; gap: 1.1rem; }
.post__media { aspect-ratio: 16/11; }
.post:hover .post__media img { transform: scale(1.06); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; font-size: 14px; color: var(--muted); }
.post__meta .by { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 500; }
.post h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); margin: 0; line-height: 1.25; }
.post h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.post:hover h3 a { background-size: 100% 1px; }
.post p { margin: 0; color: var(--text); font-size: 15px; }
.post--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.post--wide h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.skel { background: linear-gradient(90deg, var(--soft) 25%, var(--line) 50%, var(--soft) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-lg); }
@keyframes shimmer { to { background-position: -200% 0; } }
.live { display: inline-flex; align-items: center; gap: .5rem; font: 600 14px var(--body); color: var(--ok); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,138,91,.5); } 70% { box-shadow: 0 0 0 9px rgba(31,138,91,0); } 100% { box-shadow: 0 0 0 0 rgba(31,138,91,0); } }
.feed-error { grid-column: 1/-1; padding: 3rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }

/* ---------- Work inquiries CTA (independent orgs) ---------- */
.inquiries { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: end; }
.inquiries h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 14ch; margin-bottom: 2.2rem; }
.inquiries__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
.inquiries__cols h4 { margin-bottom: .6rem; }
.inquiries__cols p { margin: 0; font-size: 15px; }
.inquiries__cols a:hover { color: var(--accent); }
/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.5rem 0; font: 600 clamp(1.1rem, 1.6vw, 1.3rem)/1.3 var(--head); letter-spacing: -.02em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details[open] summary { color: var(--accent-2); }
.faq .ans { overflow: hidden; }
.faq .ans p { padding-bottom: 1.5rem; margin: 0; max-width: 68ch; }

/* ---------- Forms (Ohio underline style) ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.field { position: relative; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 13px var(--body); color: var(--muted); margin-bottom: .2rem; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: .8rem 0; outline: 0; border-radius: 0; transition: border-color .3s; color: var(--ink); }
.field select { cursor: pointer; }
.field textarea { min-height: 120px; resize: vertical; }
.field .bar { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field .bar { bottom: 22px; }
.field input:focus ~ .bar, .field textarea:focus ~ .bar, .field select:focus ~ .bar { transform: scaleX(1); }
.field .err { font-size: 13px; color: #c0392b; min-height: 22px; padding-top: 4px; }
.field.is-bad input, .field.is-bad textarea { border-color: #c0392b; }
.captcha { display: flex; align-items: center; gap: 1rem; }
.captcha span { font: 600 1.1rem var(--head); color: var(--ink); white-space: nowrap; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form-ok { display: none; grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: var(--r); background: rgba(31,138,91,.1); color: var(--ok); font-weight: 600; }
.form.is-sent .form-ok { display: block; animation: pane .6s var(--ease); }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 50px); }

/* ---------- Page headline (Ohio) ---------- */
.headline { padding-block: clamp(60px, 9vw, 120px) clamp(40px, 6vw, 80px); position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.8rem; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-2); }
.crumbs a:hover { color: var(--accent); }
.headline h1 { max-width: 15ch; margin-bottom: 1.6rem; }
.headline__row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.headline--image { padding: 0; }
.headline--image .media { position: relative; height: clamp(360px, 52vh, 560px); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; margin-top: calc(-96px - env(safe-area-inset-top, 0px)); }
.headline--image .media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: zoom-out 2.4s var(--ease) forwards; }
.headline--image .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,18,36,.85), rgba(8,18,36,.25)); }
.headline--image .over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(30px, 5vw, 60px); color: #fff; }
.headline--image h1, .headline--image .crumbs, .headline--image .crumbs a { color: #fff; }
.headline--image .lead { color: rgba(255,255,255,.82); }
@keyframes zoom-out { to { transform: scale(1); } }

/* ---------- Filter tabs (Ohio portfolio filter) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; align-items: baseline; }
.filters button { border: 0; background: none; padding: .3rem 0; cursor: pointer; font: 500 16px var(--body); color: var(--muted); position: relative; transition: color .3s; }
.filters button sup { font-size: 11px; color: var(--accent); margin-left: 2px; }
.filters button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.filters button:hover, .filters button.is-active { color: var(--ink); }
.filters button.is-active::after { transform: scaleX(1); transform-origin: left; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-bottom: clamp(36px, 5vw, 60px); padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.search-line { display: flex; align-items: center; gap: .6rem; border-bottom: 1px solid var(--line-2); min-width: min(100%, 320px); }
.search-line input { border: 0; outline: 0; background: transparent; padding: .7rem 0; width: 100%; }
.search-line svg { width: 18px; height: 18px; color: var(--muted); }
.search-line:focus-within { border-color: var(--accent); }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.cat { display: flex; flex-direction: column; gap: .9rem; transition: opacity .5s, transform .6s var(--ease); }
.cat__media { aspect-ratio: 1/1; }
.cat:hover .cat__media img { transform: scale(1.08); }
.cat h3 { font-size: 1.15rem; margin: 0; display: flex; justify-content: space-between; gap: .6rem; }
.cat h3 svg { width: 18px; height: 18px; flex: none; transform: rotate(-45deg); transition: transform .5s var(--ease), color .3s; }
.cat:hover h3 svg { transform: none; color: var(--accent); }
.cat.is-hidden { display: none; }
.empty { display: none; padding: 3rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.empty.is-on { display: block; }

/* ---------- Sidebar layout ---------- */
.layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.layout--left { grid-template-columns: 300px 1fr; }
.aside { position: sticky; top: 110px; display: grid; gap: 2.4rem; }
.widget h4 { padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.widget ul a { display: flex; justify-content: space-between; padding: .5rem 0; color: var(--text); transition: color .3s, padding .4s var(--ease); }
.widget ul a:hover, .widget ul a[aria-current="page"] { color: var(--accent-2); padding-left: .5rem; }
.widget ul a span { color: var(--muted); font-size: 13px; }
.widget--dark { background: var(--dark); color: var(--on-dark-2); border-radius: var(--r-lg); padding: 2rem; }
.widget--dark h4 { color: #fff; border-color: rgba(255,255,255,.15); }
.check { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; cursor: pointer; font-size: 15px; }
.check input { accent-color: var(--accent); width: 17px; height: 17px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-bottom: 1.2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.result-bar select { border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: .4rem 0; cursor: pointer; }
.pager { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pager a, .pager span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.pager a:hover, .pager .is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager svg { width: 16px; height: 16px; }

/* Listing row (archive) */
.lrow { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding-block: 2rem; border-bottom: 1px solid var(--line); align-items: center; }
.lrow:first-child { padding-top: 0; }
.lrow__media { aspect-ratio: 4/3; }
.lrow:hover .lrow__media img { transform: scale(1.07); }
.lrow h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); margin: .5rem 0 .6rem; }
.lrow h3 a:hover { color: var(--accent-2); }
.lrow p { font-size: 15px; margin-bottom: .9rem; }
.lrow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; font-size: 14px; color: var(--muted); }
.lrow__meta svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: .3rem; color: var(--accent); }
.lrow .catname { font-size: 13px; font-weight: 600; color: var(--accent-2); }

/* ---------- Services table ---------- */
.svc-table { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 70px 1.1fr 1.4fr auto; gap: 2rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); position: relative; }
.svc-row .num { font: 500 14px var(--body); color: var(--muted); }
.svc-row h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); transition: transform .5s var(--ease), color .3s; }
.svc-row p { margin: 0; color: var(--muted); font-size: 15px; }
.svc-row .ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: background .4s, color .4s, border-color .4s; }
.svc-row .ico svg { width: 22px; height: 22px; }
.svc-row:hover h3 { transform: translateX(10px); color: var(--accent-2); }
.svc-row:hover .ico { background: var(--accent); color: #fff; border-color: var(--accent); }
.adv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.adv .box h3 { margin-bottom: 1.2rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .8rem; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__info { display: grid; gap: 2.4rem; }
.contact__info h4 { margin-bottom: .4rem; }
.contact__info p { margin: 0; }
.contact__info a:hover { color: var(--accent-2); }
.socials-text { display: flex; gap: .4rem; font-weight: 600; color: var(--ink); }
.socials-text a:hover { color: var(--accent); }

/* ---------- Blog single ---------- */
.article { font-size: 1.08rem; line-height: 1.85; max-width: 760px; }
.article h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 2.6rem; }
.article blockquote { margin: 2.4rem 0; padding-left: 2rem; border-left: 2px solid var(--accent); font: 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.45 var(--head); letter-spacing: -.02em; color: var(--ink); }
.article figure { margin: 2.4rem 0; }
.article figcaption { font-size: 14px; color: var(--muted); margin-top: .7rem; }
.post-head .post__meta { margin-top: 1.5rem; }
.featured-img { aspect-ratio: 21/9; margin-bottom: clamp(40px, 6vw, 80px); }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
.toc a { color: var(--muted); transition: color .3s; } .toc a:hover, .toc a.is-on { color: var(--accent-2); }
.author-box { display: flex; gap: 1.4rem; align-items: center; padding: 2rem; border-radius: var(--r-lg); background: var(--soft); margin-top: 3rem; }
.author-box .avatar { width: 70px; height: 70px; font-size: 1.3rem; }
.share { display: flex; gap: .5rem; flex-wrap: wrap; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.share a:hover, .share button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.share svg { width: 15px; height: 15px; fill: currentColor; }
.share button svg { fill: none; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 150; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-nav a { padding: 2.2rem 0; display: flex; flex-direction: column; gap: .4rem; }
.post-nav a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 2rem; align-items: flex-end; }
.post-nav small { color: var(--muted); font-weight: 500; }
.post-nav strong { font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.25 var(--head); letter-spacing: -.02em; transition: color .3s; }
.post-nav a:hover strong { color: var(--accent-2); }

/* ---------- Single listing — split screen (option 2) ---------- */
.sl-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: start; padding-block: clamp(40px, 5vw, 70px) clamp(80px, 9vw, 120px); }
.sl-info { position: sticky; top: 110px; }
.sl-info h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); margin: 1rem 0 1.2rem; }
.sl-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; font-size: 15px; color: var(--muted); margin-bottom: 1.6rem; }
.sl-rating b { font: 600 1.5rem var(--head); color: var(--ink); }
.verified { display: inline-flex; align-items: center; gap: .35rem; color: var(--ok); font-weight: 600; }
.verified svg { width: 17px; height: 17px; }
.open-now { font-weight: 600; }
.open-now.is-open { color: var(--ok); } .open-now.is-closed { color: #c0392b; }
.details { list-style: none; margin: 2rem 0; padding: 0; border-top: 1px solid var(--line); }
.details li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.details li > span { color: var(--muted); }
.details a, .details b { color: var(--ink); font-weight: 600; word-break: break-word; }
.details a:hover { color: var(--accent-2); }
.sl-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.sl-actions .btn svg { width: 16px; height: 16px; }
.sl-gallery { display: grid; gap: clamp(16px, 2vw, 24px); }
.sl-gallery .img-reveal { aspect-ratio: 4/3; cursor: zoom-in; }
.sl-gallery .img-reveal:first-child { aspect-ratio: 4/4.4; }
.sl-gallery .pair { display: grid; grid-template-columns: 1fr 1fr; gap: inherit; }
.sl-gallery .pair .img-reveal { aspect-ratio: 3/4; }
.sl-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); }
.sl-about .big { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.4 var(--head); letter-spacing: -.025em; color: var(--ink); margin-bottom: 1.6rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.6rem; transition: background .5s; }
.feature:hover { background: var(--soft); }
.feature .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--accent-2); transition: background .4s, color .4s, transform .6s var(--ease); }
.feature:hover .ico { background: var(--accent); color: #fff; transform: rotate(-10deg); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h4 { margin: 0; }
.feature small { color: var(--muted); font-size: 14px; }
.hours-tbl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hours-tbl li { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.hours-tbl li.is-today { color: var(--ink); font-weight: 600; }
.hours-tbl li.is-today span:first-child::after { content: "Today"; margin-left: .6rem; font-size: 11px; font-weight: 600; padding: .15rem .5rem; border-radius: 4px; background: var(--accent); color: #fff; vertical-align: 2px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.reviews-head { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(30px, 5vw, 70px); align-items: center; padding-bottom: clamp(30px, 4vw, 50px); margin-bottom: clamp(30px, 4vw, 50px); border-bottom: 1px solid var(--line); }
.score { font: 600 clamp(4rem, 9vw, 7.5rem)/.85 var(--head); letter-spacing: -.06em; color: var(--ink); }
.bars { display: grid; gap: .55rem; max-width: 460px; width: 100%; }
.bar { display: grid; grid-template-columns: 50px 1fr 40px; gap: .8rem; align-items: center; font-size: 14px; color: var(--muted); }
.bar .track { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar .fill { height: 100%; width: 0; background: var(--ink); transition: width 1.6s var(--ease); }
.bar:first-child .fill { background: var(--accent); }
.map { aspect-ratio: 21/8; overflow: hidden; border-radius: var(--r-lg); background: var(--soft); filter: grayscale(.9); transition: filter .8s; }
.map:hover { filter: none; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.next-listing { display: block; padding-block: clamp(60px, 9vw, 120px); text-align: center; border-top: 1px solid var(--line); }
.next-listing small { display: block; color: var(--muted); font-weight: 500; margin-bottom: 1rem; }
.next-listing strong { display: inline-block; font: 600 clamp(2.4rem, 7vw, 6rem)/1 var(--head); letter-spacing: -.05em; color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 92% / 0 .08em no-repeat; transition: background-size .9s var(--ease); }
.next-listing:hover strong { background-size: 100% .08em; }

/* Lightbox / modal */
.lightbox, .modal { position: fixed; inset: 0; z-index: 400; background: rgba(8,16,30,.92); display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-on, .modal.is-on { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; width: auto; border-radius: var(--r); transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-on img { transform: none; }
.lb-close { position: absolute; top: calc(1.2rem + env(safe-area-inset-top, 0px)); right: 1.2rem; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 26px; cursor: pointer; transition: transform .5s var(--ease), background .3s; }
.lb-close:hover { transform: rotate(90deg); background: var(--accent); }
.modal__box { position: relative; width: min(580px, 100%); max-height: 90vh; overflow: auto; background: var(--paper); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); transform: translateY(30px); transition: transform .6s var(--ease); }
.modal.is-on .modal__box { transform: none; }
.modal__box .lb-close { top: 1rem; right: 1rem; color: var(--ink); border-color: var(--line-2); width: 44px; height: 44px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2rem; color: var(--line-2); cursor: pointer; transition: color .2s, transform .3s var(--ease); }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
.star-input label:hover { transform: scale(1.2); }

/* ---------- Sitemap / legal / 404 ---------- */
.sitemap { columns: 3 260px; column-gap: 3rem; }
.sitemap section { break-inside: avoid; margin-bottom: 2.5rem; }
.sitemap h3 { font-size: 1.3rem; padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sitemap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.sitemap a { transition: color .3s, padding .4s var(--ease); display: inline-block; }
.sitemap a:hover { color: var(--accent-2); padding-left: .4rem; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.7rem; margin-top: 2.6rem; }
.nf { min-height: calc(100vh - 96px); display: grid; place-items: center; text-align: center; padding-block: 60px; }
.nf__num { font: 600 clamp(9rem, 30vw, 22rem)/.8 var(--head); letter-spacing: -.07em; color: var(--ink); display: flex; justify-content: center; }
.nf__num span { display: inline-block; animation: nf-in 1.4s var(--ease) both; }
.nf__num span:nth-child(2) { color: var(--accent); animation-delay: .1s; }
.nf__num span:nth-child(3) { animation-delay: .2s; }
@keyframes nf-in { from { transform: translateY(70%); opacity: 0; } }

/* ---------- Footer (Ohio) ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(70px, 9vw, 120px); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 60px); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: clamp(30px, 4vw, 60px); padding-bottom: clamp(50px, 6vw, 80px); }
.footer h4 { font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer p, .footer li { font-size: 15px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer ul a, .footer p a { transition: color .3s; }
.footer ul a:hover, .footer p a:hover { color: var(--accent-2); }
.newsletter { display: flex; align-items: center; border-bottom: 1px solid var(--line-2); margin: .6rem 0 1rem; }
.newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .9rem 0; }
.newsletter button { border: 0; background: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; transition: background .3s, color .3s; }
.newsletter button:hover { background: var(--accent); color: #fff; }
.newsletter button svg { width: 18px; height: 18px; }
.newsletter-msg { font-size: 13px; color: var(--ok); min-height: 1.2em; margin-top: .4rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.8rem; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.footer__bottom a:hover { color: var(--accent-2); }
.cookie { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: min(560px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .9rem .9rem .9rem 1.4rem; background: var(--dark); color: var(--on-dark-2); border-radius: var(--r-lg); font-size: 14px; transform: translateY(160%); transition: transform .8s var(--ease); box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.cookie.is-on { transform: none; }
.cookie a { color: #fff; text-decoration: underline; }
.cookie div { display: flex; gap: .4rem; flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__tools .btn { display: none; }
  .hamburger { display: flex; }
  .intro, .svc-tabs, .inquiries, .contact, .layout, .layout--left, .sl-split, .sl-about, .two-col, .post--wide { grid-template-columns: 1fr; }
  .heading--split { grid-template-columns: 1fr; }
  .aside, .sl-info { position: static; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .works .work, .works--feature .work:nth-child(-n+2) { grid-column: span 6; }
  .journal, .testimonials { grid-template-columns: 1fr 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .overlay { grid-template-columns: 1fr; }
  .scroll-badge { display: none; }
  .reviews-head { grid-template-columns: auto 1fr; }
  .reviews-head .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 720px) {
  .header .container { height: 76px; }
  body:not(.has-hero) { padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
  .brand img { height: 40px; }
  .heading { grid-template-columns: 1fr; }
  .hero { min-height: 680px; }
  .slide__content { padding-bottom: 200px; justify-content: flex-end; }
  .slide__meta { gap: .9rem; font-size: 13px; flex-wrap: wrap; }
  .slide .actions .btn--outline-light { display: none; }
  .hero__ui .container { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 24px; }
  .hero__search { grid-template-columns: 1fr auto; padding: 6px; }
  .hero__search label + label { display: none; }
  .hero__search .btn { padding: .9rem 1.1rem; }
  .hero__pager { justify-content: space-between; }
  .hero__bars button { width: 30px; }
  .rows a { grid-template-columns: 64px 1fr auto; gap: 1rem; padding-inline: 0; }
  .rows .thumb { width: 64px; height: 48px; }
  .rows .muted { display: none; }
  .cats { grid-template-columns: 1fr 1fr; }
  .works .work, .works--feature .work:nth-child(-n+2) { grid-column: 1 / -1; }
  .journal, .testimonials, .adv, .form, .inquiries__cols { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr auto; gap: .6rem 1rem; }
  .svc-row .num { display: none; }
  .svc-row p { grid-column: 1 / -1; grid-row: 2; }
  .lrow { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .details li { grid-template-columns: 1fr; gap: .1rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .cookie { flex-direction: column; align-items: flex-start; left: 16px; }
  .map { aspect-ratio: 4/3; }
  .reviews-head { grid-template-columns: 1fr; }
  .follow-img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], .split-words .w > span, .slide .line > span, .slide p, .slide .actions { opacity: 1 !important; transform: none !important; }
  .img-reveal::after { display: none; }
  .img-reveal img { transform: none; }
  .scroll-badge svg.ring { animation: none; }
}

.sl-logo { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 1.4rem; }
.sl-logo img { width: 100%; height: 100%; object-fit: cover; }



/* ============================================================
   Gravity Forms – wrapper styles
   Usage: <div class="style-01|style-02|style-03">[gravityform]</div>
   Override any --gfs-* variable on the wrapper to recolor a form.
   ============================================================ */

/* ---------- Shared tokens (defaults from theme brand vars) ---------- */
.style-01,
.style-02,
.style-03 {
  --gfs-font: inherit;
  --gfs-font-size: 15px;

  /* Inputs */
  --gfs-input-bg: #ffffff;
  --gfs-input-text: var(--brand-primary, #071a34);
  --gfs-input-placeholder: #9aa3b2;
  --gfs-input-border: var(--border, #d4dced);
  --gfs-input-border-focus: var(--brand-accent, #fe5114);
  --gfs-input-focus-ring: rgba(254, 81, 20, 0.15);
  --gfs-input-radius: 6px;
  --gfs-input-padding: 12px 16px;
  --gfs-input-height: 50px;

  /* Labels */
  --gfs-label: var(--brand-primary, #071a34);
  --gfs-required: #d92d20;
  --gfs-description: var(--text, #666666);

  /* Button */
  --gfs-btn-bg: var(--brand-accent, #fe5114);
  --gfs-btn-text: #ffffff;
  --gfs-btn-border: var(--brand-accent, #fe5114);
  --gfs-btn-bg-hover: var(--brand-primary, #071a34);
  --gfs-btn-text-hover: #ffffff;
  --gfs-btn-border-hover: var(--brand-primary, #071a34);
  --gfs-btn-radius: 6px;
  --gfs-btn-padding: 14px 34px;

  /* Validation */
  --gfs-error: #d92d20;
  --gfs-error-bg: #fef3f2;
  --gfs-error-border: #fecdca;
  --gfs-success: #067647;
  --gfs-success-bg: #ecfdf3;
  --gfs-success-border: #abefc6;
}

/* ---------- Base: labels & text ---------- */
:is(.style-01, .style-02, .style-03) .gform_wrapper {
  font-family: var(--gfs-font);
  font-size: var(--gfs-font-size);
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_label,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform-field-label {
  color: var(--gfs-label);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_required {
  color: var(--gfs-required);
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_description {
  color: var(--gfs-description);
  font-size: 13px;
}

/* ---------- Base: inputs ---------- */
:is(.style-01, .style-02, .style-03) .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="hidden"]),
:is(.style-01, .style-02, .style-03) .gform_wrapper select,
:is(.style-01, .style-02, .style-03) .gform_wrapper textarea {
  width: 100%;
  min-height: var(--gfs-input-height);
  padding: var(--gfs-input-padding);
  font-family: inherit;
  font-size: var(--gfs-font-size);
  line-height: 1.4;
  color: var(--gfs-input-text);
  background-color: var(--gfs-input-bg);
  border: 1px solid var(--gfs-input-border);
  border-radius: var(--gfs-input-radius);
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper textarea {
  min-height: 140px;
  resize: vertical;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper ::placeholder {
  color: var(--gfs-input-placeholder);
  opacity: 1;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="hidden"]):focus,
:is(.style-01, .style-02, .style-03) .gform_wrapper select:focus,
:is(.style-01, .style-02, .style-03) .gform_wrapper textarea:focus {
  border-color: var(--gfs-input-border-focus);
  box-shadow: 0 0 0 3px var(--gfs-input-focus-ring);
}

:is(.style-01, .style-02, .style-03) .gform_wrapper input[type="checkbox"],
:is(.style-01, .style-02, .style-03) .gform_wrapper input[type="radio"] {
  accent-color: var(--gfs-btn-bg);
}

/* ---------- Base: button ---------- */
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_footer,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_page_footer {
  margin-top: 20px;
  padding: 0;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_button,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_next_button,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_previous_button,
:is(.style-01, .style-02, .style-03) .gform_wrapper input[type="submit"],
:is(.style-01, .style-02, .style-03) .gform_wrapper button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--gfs-input-height);
  padding: var(--gfs-btn-padding);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gfs-btn-text);
  background: var(--gfs-btn-bg);
  border: 1px solid var(--gfs-btn-border);
  border-radius: var(--gfs-btn-radius);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_button:hover,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_next_button:hover,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_previous_button:hover,
:is(.style-01, .style-02, .style-03) .gform_wrapper input[type="submit"]:hover,
:is(.style-01, .style-02, .style-03) .gform_wrapper button[type="submit"]:hover {
  color: var(--gfs-btn-text-hover);
  background: var(--gfs-btn-bg-hover);
  border-color: var(--gfs-btn-border-hover);
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_button:focus-visible,
:is(.style-01, .style-02, .style-03) .gform_wrapper input[type="submit"]:focus-visible,
:is(.style-01, .style-02, .style-03) .gform_wrapper button[type="submit"]:focus-visible {
  outline: 2px solid var(--gfs-input-border-focus);
  outline-offset: 3px;
}

/* ---------- Validation messages ---------- */

/* Top summary box: GF 2.5+ (.gform_validation_errors) and legacy (.validation_error) */
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_validation_errors,
:is(.style-01, .style-02, .style-03) .gform_wrapper .validation_error {
  margin: 0 0 24px;
  padding: 14px 18px;
  color: var(--gfs-error);
  background: var(--gfs-error-bg);
  border: 1px solid var(--gfs-error-border);
  border-left: 4px solid var(--gfs-error);
  border-radius: var(--gfs-input-radius);
  box-shadow: none;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_validation_errors .gform_submission_error,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_validation_errors h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gfs-error);
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_validation_errors .gform-icon {
  display: none;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_validation_errors ol {
  margin: 8px 0 0;
  padding-left: 18px;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gform_validation_errors ol a {
  color: var(--gfs-error);
  font-size: 13px;
  text-decoration: underline;
}

/* Field in error state */
:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error {
  background: none;
  border: 0;
  padding: 0;
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error .gfield_label,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error .gform-field-label {
  color: var(--gfs-error);
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="hidden"]),
:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error select,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error textarea {
  border-color: var(--gfs-error);
}

:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="hidden"]):focus,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error select:focus,
:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_error textarea:focus {
  box-shadow: 0 0 0 3px var(--gfs-error-border);
}

/* Inline per-field message */
:is(.style-01, .style-02, .style-03) .gform_wrapper .gfield_validation_message,
:is(.style-01, .style-02, .style-03) .gform_wrapper .validation_message {
  margin-top: 6px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gfs-error);
  background: none;
  border: 0;
}

/* Confirmation (success) message */
:is(.style-01, .style-02, .style-03) .gform_confirmation_message {
  padding: 16px 20px;
  color: var(--gfs-success);
  background: var(--gfs-success-bg);
  border: 1px solid var(--gfs-success-border);
  border-left: 4px solid var(--gfs-success);
  border-radius: var(--gfs-input-radius);
  font-weight: 500;
}

/* ============================================================
   STYLE 01 — Boxed: bordered inputs, solid accent button
   ============================================================ */
.style-01 {
  /* uses shared defaults */
}

/* ============================================================
   STYLE 02 — Minimal underline: bottom-border inputs, outline button
   ============================================================ */
.style-02 {
  --gfs-input-bg: transparent;
  --gfs-input-border: #c5cddb;
  --gfs-input-border-focus: var(--brand-primary, #071a34);
  --gfs-input-radius: 0;
  --gfs-input-padding: 10px 0;

  --gfs-btn-bg: transparent;
  --gfs-btn-text: var(--brand-primary, #071a34);
  --gfs-btn-border: var(--brand-primary, #071a34);
  --gfs-btn-bg-hover: var(--brand-primary, #071a34);
  --gfs-btn-text-hover: #ffffff;
  --gfs-btn-border-hover: var(--brand-primary, #071a34);
  --gfs-btn-radius: 0;
}

.style-02 .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="hidden"]),
.style-02 .gform_wrapper select,
.style-02 .gform_wrapper textarea {
  border-width: 0 0 1px;
}

.style-02 .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="hidden"]):focus,
.style-02 .gform_wrapper select:focus,
.style-02 .gform_wrapper textarea:focus {
  box-shadow: 0 1px 0 0 var(--gfs-input-border-focus);
}

.style-02 .gform_wrapper .gfield_label,
.style-02 .gform_wrapper .gform-field-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.style-02 .gform_wrapper .gform_button,
.style-02 .gform_wrapper input[type="submit"],
.style-02 .gform_wrapper button[type="submit"] {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}

.style-02 .gform_wrapper .gform_validation_errors,
.style-02 .gform_wrapper .validation_error,
.style-02 .gform_confirmation_message {
  border-width: 0 0 0 3px;
}

/* ============================================================
   STYLE 03 — Soft filled: light-filled inputs, pill button
   ============================================================ */
.style-03 {
  --gfs-input-bg: var(--brand-light, #f2f5fa);
  --gfs-input-border: transparent;
  --gfs-input-border-focus: var(--brand-accent, #fe5114);
  --gfs-input-radius: 12px;
  --gfs-input-padding: 14px 20px;
  --gfs-input-height: 54px;

  --gfs-btn-bg: var(--brand-primary, #071a34);
  --gfs-btn-border: var(--brand-primary, #071a34);
  --gfs-btn-bg-hover: var(--brand-accent, #fe5114);
  --gfs-btn-border-hover: var(--brand-accent, #fe5114);
  --gfs-btn-radius: 999px;
  --gfs-btn-padding: 16px 40px;
}

.style-03 .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="hidden"]):focus,
.style-03 .gform_wrapper select:focus,
.style-03 .gform_wrapper textarea:focus {
  background-color: #ffffff;
}

.style-03 .gform_wrapper .gform_button:hover,
.style-03 .gform_wrapper input[type="submit"]:hover,
.style-03 .gform_wrapper button[type="submit"]:hover {
  transform: translateY(-2px);
}

.style-03 .gform_wrapper .gform_validation_errors,
.style-03 .gform_wrapper .validation_error,
.style-03 .gform_confirmation_message {
  border-left-width: 1px;
  border-radius: 12px;
}

