/* Helm & Stem — restrained, responsive corporate identity */
:root {
  --navy: #172d32;
  --navy-deep: #10242a;
  --ink: #202628;
  --muted: #667174;
  --gold: #c3a66a;
  --gold-deep: #a98743;
  --ivory: #f5f1e9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(23,45,50,.14);
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(16,36,42,.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 1000; background: var(--white); color: var(--navy); padding: .75rem 1rem; border: 1px solid var(--gold); }
.skip-link:focus { left: 1rem; }
.container { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; color: var(--gold-deep); font-size: .71rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.topline { background: var(--navy-deep); color: rgba(255,255,255,.76); font-size: .69rem; letter-spacing: .15em; text-transform: uppercase; }
.topline .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topline a { color: var(--gold); text-decoration: none; }
.site-header { position: relative; z-index: 10; background: rgba(251,250,247,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; min-width: 235px; }
.brand-mark { width: 47px; height: 47px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-name { color: var(--navy); font-family: var(--serif); font-size: 1.23rem; letter-spacing: .075em; white-space: nowrap; }
.brand-sub { margin-top: .35rem; color: var(--gold-deep); font-size: .56rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.1rem,2vw,2rem); }
.primary-nav a { color: #3f4a4d; font-size: .79rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold-deep); }
.primary-nav .nav-contact { border: 1px solid var(--navy); color: var(--navy); padding: .68rem 1rem; letter-spacing: .04em; }
.primary-nav .nav-contact:hover { background: var(--navy); color: var(--white); }
.mobile-menu { display: none; }
.hero { padding: clamp(4.5rem,8vw,7.5rem) 0 5.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); align-items: center; gap: clamp(3rem,7vw,7.5rem); }
.hero h1 { max-width: 730px; margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(3.25rem,7vw,6.35rem); font-weight: 400; letter-spacing: -.055em; line-height: .99; }
.hero h1 em { color: var(--gold-deep); font-weight: 400; }
.hero-lead { max-width: 650px; margin: 1.8rem 0 0; color: #566265; font-size: clamp(1rem,1.4vw,1.16rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.18rem; border: 1px solid var(--navy); background: var(--navy); color: var(--white); text-decoration: none; font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: background .2s ease,color .2s ease,border-color .2s ease; }
.button:hover { border-color: var(--gold-deep); background: var(--gold-deep); }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { background: var(--navy); color: var(--white); }
.hero-plate { position: relative; min-height: 435px; display: grid; place-items: center; background: var(--ivory); border: 1px solid rgba(195,166,106,.45); box-shadow: var(--shadow); isolation: isolate; }
.hero-plate:before,.hero-plate:after { position: absolute; z-index: -1; content: ""; border: 1px solid rgba(195,166,106,.5); }
.hero-plate:before { inset: 18px; }
.hero-plate:after { width: 68%; height: 68%; border-radius: 50%; border-color: rgba(23,45,50,.07); }
.hero-plate img { width: min(66%,290px); max-height: 300px; object-fit: contain; }
.plate-caption { position: absolute; right: 2rem; bottom: 1.65rem; left: 2rem; display: flex; justify-content: space-between; gap: 1rem; color: #6f716b; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section { padding: clamp(4rem,7vw,6.5rem) 0; }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--navy); color: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 660px; margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(2.25rem,4.3vw,3.75rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.07; }
.section-dark .section-heading h2 { color: var(--white); }
.section-heading p { max-width: 410px; margin: 0; color: var(--muted); font-size: .94rem; }
.section-dark .section-heading p { color: rgba(255,255,255,.68); }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,7vw,7rem); align-items: start; }
.intro-statement { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(2rem,3.7vw,3.25rem); line-height: 1.17; font-weight: 400; }
.intro-copy { max-width: 680px; color: #596467; font-size: 1rem; line-height: 1.9; }
.intro-copy p:first-child { margin-top: 0; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; margin-top: .85rem; color: var(--navy); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--gold-deep); font-size: 1.15rem; transition: transform .2s ease; }
.text-link-light { color: var(--white); margin-top: 2rem; }
.text-link-light span { color: var(--gold); }
.text-link:hover span { transform: translateX(4px); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 265px; padding: 2rem; background: var(--paper); }
.service-no { color: var(--gold-deep); font-family: var(--serif); font-size: 1.35rem; }
.service-card h3 { margin: 1.7rem 0 .65rem; color: var(--navy); font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; font-weight: 400; }
.service-card p { margin: 0; color: #667174; font-size: .88rem; line-height: 1.8; }
.service-card a { display: inline-block; margin-top: 1rem; color: var(--gold-deep); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.service-card a:hover { color: var(--navy); }
.sector-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }
.sector-pill { padding: .72rem .9rem; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.87); font-size: .78rem; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem,4vw,3.5rem); background: var(--ivory); border: 1px solid rgba(195,166,106,.45); }
.callout h2 { max-width: 650px; margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(2rem,4vw,3.3rem); font-weight: 400; line-height: 1.1; }
.callout p { max-width: 550px; margin: .9rem 0 0; color: #5d686b; font-size: .92rem; }
.callout .button { flex-shrink: 0; }
.page-hero { padding: clamp(4rem,7vw,6.2rem) 0 3rem; background: var(--ivory); border-bottom: 1px solid rgba(195,166,106,.25); }
.page-hero h1 { max-width: 850px; margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(3rem,6vw,5.4rem); font-weight: 400; letter-spacing: -.05em; line-height: 1.02; }
.page-hero .lead { max-width: 760px; margin: 1.35rem 0 0; color: #596467; font-size: 1.05rem; line-height: 1.85; }
.content-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem,7vw,6rem); }
.content-aside { color: var(--gold-deep); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.content-main h2 { margin: 0 0 1rem; color: var(--navy); font-family: var(--serif); font-size: clamp(2rem,3.4vw,2.8rem); font-weight: 400; line-height: 1.16; }
.content-main h3 { margin: 2rem 0 .5rem; color: var(--navy); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.content-main p { margin: 0 0 1rem; color: #5e696c; line-height: 1.9; }
.principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.principle { padding: 1.5rem; border-top: 2px solid var(--gold); background: var(--white); }
.principle h3 { margin: 0 0 .5rem; color: var(--navy); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.principle p { margin: 0; color: #687275; font-size: .85rem; line-height: 1.75; }
.service-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 70px minmax(0,1fr) 42px; gap: 1rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.service-item .number { color: var(--gold-deep); font-family: var(--serif); font-size: 1.5rem; }
.service-item h2 { margin: 0 0 .55rem; color: var(--navy); font-family: var(--serif); font-size: clamp(1.55rem,2.5vw,2rem); font-weight: 400; line-height: 1.2; }
.service-item p { max-width: 760px; margin: 0; color: #657174; font-size: .93rem; line-height: 1.85; }
.service-item .arrow { color: var(--gold-deep); font-size: 1.35rem; text-align: right; }
.note-panel { margin-top: 2rem; padding: 1.4rem 1.6rem; background: var(--ivory); border-left: 3px solid var(--gold); color: #5d686b; font-size: .84rem; line-height: 1.8; }
.industry-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.industry-card { min-height: 210px; padding: clamp(1.5rem,3vw,2.4rem); background: var(--paper); }
.industry-card .index { color: var(--gold-deep); font-size: .69rem; font-weight: 700; letter-spacing: .15em; }
.industry-card h2 { margin: 1.3rem 0 .6rem; color: var(--navy); font-family: var(--serif); font-size: 1.85rem; font-weight: 400; }
.industry-card p { max-width: 520px; margin: 0; color: #657174; font-size: .88rem; line-height: 1.8; }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2rem,7vw,6rem); align-items: start; }
.contact-panel { padding: 2rem; background: var(--navy); color: var(--white); }
.contact-panel h2 { margin: 0 0 1.3rem; color: var(--white); font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.contact-channel { padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.contact-channel small { display: block; color: var(--gold); font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-channel a { display: inline-block; margin-top: .3rem; color: var(--white); font-size: 1.02rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-channel a:hover { color: var(--gold); }
.contact-copy h2 { margin: 0 0 1rem; color: var(--navy); font-family: var(--serif); font-size: clamp(2.1rem,4vw,3.15rem); font-weight: 400; line-height: 1.12; }
.contact-copy p { color: #647074; line-height: 1.9; }
.contact-copy .small-note { margin-top: 1.7rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .79rem; }
.site-footer { padding: 3.5rem 0 1.5rem; background: var(--navy-deep); color: rgba(255,255,255,.75); }
.footer-top { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; padding-bottom: 2.8rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--white); text-decoration: none; }
.footer-brand img { width: 45px; height: 45px; object-fit: contain; }
.footer-brand span { display: block; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .08em; }
.footer-brand small { display: block; margin-top: .22rem; color: var(--gold); font-family: var(--sans); font-size: .55rem; font-weight: 700; letter-spacing: .22em; }
.footer-description { max-width: 390px; margin: 1rem 0 0; color: rgba(255,255,255,.58); font-size: .86rem; line-height: 1.8; }
.footer-col h3 { margin: .2rem 0 1rem; color: var(--gold); font-size: .67rem; letter-spacing: .17em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: .55rem 0; color: rgba(255,255,255,.75); font-size: .82rem; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.48); font-size: .7rem; }
.footer-bottom p { margin: 0; }
.legal-line { margin-top: .6rem; color: rgba(255,255,255,.45); font-size: .69rem; }
@media (max-width: 900px) {
  .container { width: min(var(--max), calc(100% - 2.2rem)); }
  .primary-nav { gap: 1rem; }
  .primary-nav a { font-size: .73rem; }
  .hero-grid { gap: 2.5rem; }
  .hero-plate { min-height: 360px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1.2fr .8fr; }
  .footer-top .footer-col:last-child { grid-column: 2; }
}
@media (max-width: 700px) {
  .topline .container { justify-content: center; text-align: center; min-height: 31px; }
  .topline .topline-right { display: none; }
  .header-inner { min-height: 75px; gap: .7rem; }
  .brand { min-width: 0; gap: .55rem; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: .5rem; }
  .primary-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; cursor: pointer; padding: .65rem .85rem; border: 1px solid var(--navy); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] .mobile-links { position: absolute; top: calc(100% + .6rem); right: 0; z-index: 20; display: grid; min-width: 220px; padding: .5rem; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-links a { padding: .75rem .8rem; color: var(--navy); font-size: .84rem; text-decoration: none; }
  .mobile-links a:hover { background: var(--ivory); }
  .hero { padding: 3.7rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 600px; font-size: clamp(3.25rem,14vw,5rem); }
  .hero-plate { min-height: 315px; }
  .hero-plate img { width: min(56%,230px); max-height: 220px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .intro-grid,.content-grid,.contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 1.6rem; }
  .service-card h3 { margin-top: 1rem; }
  .principle-grid { grid-template-columns: 1fr; }
  .callout { align-items: flex-start; flex-direction: column; }
  .industry-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 42px minmax(0,1fr); gap: .7rem; padding: 1.5rem 0; }
  .service-item .arrow { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-top .footer-col:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
