/* =========================================================
   Pro-Books of Oregon
   Brand colors and fonts come from images/PDF Guideline.pdf
   ========================================================= */
:root {
  --navy:        #00172D;   /* brand navy */
  --navy-deep:   #000F1F;
  --navy-2:      #0B2741;   /* raised surface on navy */
  --gold:        #DEB769;   /* brand gold */
  --gold-light:  #EAD398;
  --gold-text:   #8A6A2E;   /* gold dark enough to read on white */
  --gold-soft:   #F6EEDB;
  --gold-grad:   linear-gradient(115deg, #B79662 0%, #EAD398 30%, #C1A26D 60%, #DDBB7D 100%);

  --ink:         #13202E;
  --muted:       #566373;
  --line:        #E6E1D6;
  --bg:          #FFFFFF;
  --bg-tint:     #F8F5EE;   /* warm cream */
  --on-navy:     #C9D3DF;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,23,45,.06), 0 10px 30px rgba(0,23,45,.10);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-text); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; }

.eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .9em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 700;
  padding: .8em 1.4em; border-radius: 6px; border: 2px solid var(--gold);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  font-family: inherit; font-size: 1rem; cursor: pointer; letter-spacing: .01em;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(222,183,105,.35); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--gold); color: var(--gold); box-shadow: none; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,23,45,.96); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(222,183,105,.15); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.site-header .brand img { height: 48px; width: auto; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a:not(.btn) { color: #E8EDF3; text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.menu a:not(.btn):hover { color: #fff; }
.menu a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: transform .25s, opacity .25s; border-radius: 2px; }

/* Hero */
.hero {
  padding: 80px 0 110px;
  background:
    radial-gradient(800px 480px at 88% 0%, rgba(222,183,105,.14), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(11,39,65,.9), transparent 70%),
    var(--navy);
  color: var(--on-navy);
  overflow: hidden; position: relative;
}
.hero::before {
  /* faint echo of the logo's nested-square mark */
  content: ""; position: absolute; right: -90px; bottom: -140px; width: 420px; height: 420px;
  border: 46px solid rgba(222,183,105,.06); box-shadow: inset 0 0 0 46px var(--navy), inset 0 0 0 92px rgba(222,183,105,.05);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: italic; font-weight: 500;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: var(--gold);
  -webkit-text-fill-color: transparent;
}
.hero .eyebrow { color: var(--gold); }
.lede { font-size: 1.18rem; color: var(--on-navy); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 32px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--on-navy); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: var(--gold); }

.hero-card { position: relative; }
.ledger {
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
  padding: 28px; transform: rotate(1.5deg); color: var(--ink); position: relative;
}
.ledger::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 16px 16px 0 0; background: var(--gold-grad); }
.ledger-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); font-weight: 600; margin-bottom: 14px; }
.pill { font-family: var(--font-body); font-size: .74rem; font-weight: 700; background: var(--gold-soft); color: var(--gold-text); padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.ledger-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed var(--line); font-weight: 500; }
.tick { color: var(--navy); background: var(--gold); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.ledger-bar { height: 8px; background: #EEE9DE; border-radius: 8px; margin: 22px 0 18px; overflow: hidden; }
.ledger-bar span { display: block; height: 100%; background: var(--gold-grad); border-radius: 8px; animation: fill 1.6s ease-out; }
@keyframes fill { from { width: 0 !important; } }
.ledger-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ledger-foot small { display: block; color: var(--muted); font-size: .8rem; }
.ledger-foot strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); }
.float-badge {
  position: absolute; left: -28px; bottom: -64px;
  background: var(--gold-grad); color: var(--navy); border-radius: 12px; padding: 14px 18px;
  display: flex; gap: 12px; align-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.35); transform: rotate(-2deg);
}
.float-badge svg { width: 30px; height: 30px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-badge strong { display: block; font-size: .98rem; }
.float-badge small { opacity: .8; font-size: .8rem; }

/* Sections */
.section { padding: 100px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 3px; margin: 18px auto 0; background: var(--gold-grad); border-radius: 3px; }
.section-head.left { text-align: left; margin: 0; }
.section-head.left h2::after { margin-left: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.service::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gold-grad); border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(.25); transform-origin: left; transition: transform .35s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.service-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service-tag { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .4em; }
.service p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 4px 0 26px; flex: 1; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .96rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2300172D' d='M7.6 13.6 4 10l-1.4 1.4 5 5 10-10L16.2 5z'/%3E%3C/svg%3E") center/11px no-repeat;
}
.service-link { font-weight: 700; text-decoration: none; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; border-bottom: 2px solid var(--gold); align-self: flex-start; padding-bottom: 2px; }
.service-link span { transition: transform .2s; }
.service-link:hover span { transform: translateX(4px); }
.also { margin-top: 36px; text-align: center; background: var(--bg-tint); border-radius: var(--radius); padding: 20px 26px; color: var(--muted); }
.also p { margin: 0; }
.also strong { color: var(--navy); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; border-top: 2px dashed #D8CDB4; z-index: 0; }
.steps li { text-align: center; position: relative; z-index: 1; padding: 0 6px; }
.step-num {
  width: 56px; height: 56px; border-radius: 10px; background: var(--navy); color: var(--gold);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; display: grid; place-items: center;
  margin: 0 auto 18px; box-shadow: 0 0 0 8px var(--bg-tint);
}
.steps p { color: var(--muted); font-size: .97rem; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.industries-grid > div p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.6em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  font-weight: 500; font-size: .95rem; color: var(--navy); transition: background .2s, border-color .2s;
}
.chips li:hover { background: var(--gold-soft); border-color: var(--gold); }
.chips .chip-more { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* Why */
.section-dark { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.section-dark::after { content: ""; position: absolute; right: -120px; top: -120px; width: 400px; height: 400px; border: 50px solid rgba(222,183,105,.05); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 1; }
.why > div { border-top: 2px solid var(--gold); padding-top: 22px; }
.why p { font-size: .98rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-family: var(--font-body); font-size: 1.2rem; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 48px; margin-bottom: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-weight: 500; color: var(--navy); }
.contact-list a { color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--gold-text); }
.contact-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 10px; background: var(--navy); fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.contact-form { background: #fff; border-radius: 16px; padding: 34px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.contact-form label { display: block; font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 16px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; font-size: 1rem;
  color: var(--ink); border: 1.5px solid var(--line); border-radius: 8px; background: #FDFCF9; transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); background: #fff; outline: none; box-shadow: 0 0 0 4px var(--gold-soft); }
.contact-form .invalid { border-color: #C2453A !important; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { background: var(--navy); color: #fff; border-color: var(--navy); }
.contact-form .btn:hover { background: var(--navy-2); border-color: var(--navy-2); box-shadow: 0 8px 22px rgba(0,23,45,.25); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-picker { border: 0; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-picker legend { font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 10px; grid-column: 1 / -1; }
.service-picker label { margin: 0; }
.service-picker input { position: absolute; opacity: 0; pointer-events: none; }
.service-picker span {
  display: block; text-align: center; padding: 11px 10px; border: 1.5px solid var(--line); border-radius: 8px;
  font-weight: 500; font-size: .92rem; color: var(--muted); cursor: pointer; transition: all .2s;
}
.service-picker span:hover { border-color: var(--gold); }
.service-picker input:checked + span { border-color: var(--gold); background: var(--gold-soft); color: var(--navy); font-weight: 700; }
.service-picker input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-status { margin: 14px 0 0; text-align: center; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #2C6E49; }
.form-status.err { color: #C2453A; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #9FB0C3; padding: 64px 0 0; border-top: 3px solid var(--gold); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.site-footer .brand img { height: 60px; width: auto; }
.footer-grid p { max-width: 26em; margin-top: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-start; }
.site-footer nav a { color: #DCE4EE; text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--gold); }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .86rem; }
.footer-base p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .why { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid rgba(222,183,105,.2); box-shadow: 0 16px 30px rgba(0,0,0,.3);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 16px; }
  .menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 52px 0 96px; }
  .hero-grid, .industries-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 460px; margin: 0 auto; width: 100%; }
  .float-badge { left: 8px; }
  .section { padding: 76px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .site-header .brand img { height: 40px; }
  .hero-actions .btn { width: 100%; }
  .why, .steps { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }
  .ledger { padding: 22px; transform: none; }
  .faq summary { font-size: 1.06rem; }
}

/* ---- Consolidated layout ---- */
.service .checks { flex: none; margin-bottom: 14px; }
.more { margin: 0 0 22px; flex: 1; }
.more summary {
  cursor: pointer; list-style: none; font-size: .9rem; font-weight: 500; color: var(--gold-text);
  display: inline-flex; align-items: center; gap: 6px;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.1rem; line-height: 1; transition: transform .2s; }
.more[open] summary::after { transform: rotate(45deg); }
.more .checks { margin: 12px 0 0; }
.also { margin: 32px 0 0; padding: 0; background: none; }

.steps { grid-template-columns: repeat(3, 1fr); max-width: 940px; margin-inline: auto; }
.steps::before { left: 17%; right: 17%; }
.promises {
  list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px;
  font-weight: 500; color: var(--navy);
}
.promises li { display: flex; align-items: center; gap: 8px; }
.promises li::before { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 0; }
  .steps::before { display: block; }
}
@media (max-width: 860px) {
  .hero-card { display: none; }
  .hero { padding: 48px 0 56px; }
}
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps::before { display: none; }
  .promises { flex-direction: column; align-items: center; margin-top: 36px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
}

/* tighter rhythm */
@media (min-width: 701px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 64px 0 96px; }
  .promises { margin-top: 36px; }
}
.service { padding: 28px 26px 24px; }
.contact-form .row label, .contact-form > label { margin-bottom: 12px; }

/* industries strip inside services */
.industries { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); text-align: center; }
.industries-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.industries .chips { justify-content: center; gap: 8px; }
.industries .chips li { padding: 6px 14px; font-size: .9rem; }
.also { margin-top: 24px; }

/* phone in header */
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--gold) !important; text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav-phone::after { display: none !important; }
.nav-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-phone:hover { color: var(--gold-light) !important; }
.nav-phone-mobile { display: none; }
@media (max-width: 1060px) and (min-width: 861px) { .menu { gap: 20px; } }
@media (max-width: 860px) {
  .nav-phone-mobile {
    display: inline-flex; margin-left: auto; margin-right: 6px; width: 44px; height: 44px; justify-content: center;
    border: 1.5px solid rgba(222,183,105,.45); border-radius: 8px;
  }
  .nav-phone-mobile span { display: none; }
  .nav-phone-mobile svg { width: 20px; height: 20px; }
}

/* back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy); border: 1.5px solid rgba(222,183,105,.55); box-shadow: 0 8px 24px rgba(0,23,45,.25);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-2); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; } }

/* gentle page-load entrance for the top section */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-card { animation: rise .9s .25s cubic-bezier(.2,.7,.2,1) both; }
