/* Arrowstone Partners — site styles
   Palette: ink navy, slate, stone, paper, brass.
   Type: Libre Caslon Text (headings), Public Sans (body). */

@font-face { font-family: "Libre Caslon Text"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #0F2340;
  --navy-2: #2A3B5A;
  --slate: #4A5563;
  --stone: #CFCAC1;
  --stone-light: #E7E4DE;
  --paper: #F7F8F9;
  --white: #FFFFFF;
  --brass: #A88A4E;
  --brass-dark: #8A6F3B;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --measure: 68ch;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass-dark); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white); padding: .6rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--stone); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1.1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 30px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--slate); letter-spacing: .02em; }

.nav { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--slate); font-size: .98rem; padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--brass); }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; text-decoration: none; border: 2px solid var(--navy);
  border-radius: 2px;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); }
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }

/* Hero */
.hero {
  padding-block: clamp(4rem, 9vw, 7.5rem);
  background:
    linear-gradient(90deg, rgba(10,27,54,.88) 0%, rgba(10,27,54,.55) 45%, rgba(10,27,54,0) 75%),
    #0A1B36 url("/img/hero-lines.svg") center / cover no-repeat;
  color: var(--white);
}
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.12; text-wrap: balance; }
.hero .lede { color: #C9D5E8; }
.hero .btn-primary { background: var(--brass); border-color: var(--brass); color: #0A1B36; }
.hero .btn-primary:hover { background: #C3A466; border-color: #C3A466; color: #0A1B36; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.75); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }
.hero .sheet { color: var(--navy); box-shadow: 0 24px 60px rgba(4,12,28,.55); border-color: var(--white); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero .lede { font-size: 1.2rem; }

/* Fixture schedule: drawing-sheet title block */
.sheet {
  background: var(--white);
  border: 2px solid var(--navy);
  font-size: .88rem;
  box-shadow: 10px 10px 0 var(--stone-light);
}
.sheet-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .7rem 1rem; border-bottom: 2px solid var(--navy);
}
.sheet-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.sheet-head span { color: var(--slate); font-size: .8rem; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--stone); vertical-align: top; }
.sheet th { font-weight: 600; color: var(--slate); font-size: .78rem; background: var(--paper); }
.sheet td:first-child { font-weight: 700; color: var(--brass-dark); white-space: nowrap; }
.sheet td.qty, .sheet th.qty { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-foot {
  display: grid; grid-template-columns: 1fr auto; border-top: 2px solid var(--navy);
}
.sheet-foot div { padding: .55rem 1rem; color: var(--slate); font-size: .8rem; }
.sheet-foot div + div { border-left: 1px solid var(--navy); color: var(--navy); }

/* Bands */
.band { padding-block: clamp(3rem, 6vw, 4.75rem); }
.band-white { background: var(--white); border-block: 1px solid var(--stone); }
.band-navy { background: var(--navy); color: var(--stone-light); }
.band-navy h2, .band-navy a { color: var(--white); }
.intro { margin-bottom: 2.5rem; }
.intro p { color: var(--slate); font-size: 1.08rem; }

/* Service rows (home) */
.rows { border-top: 1px solid var(--navy); }
.row {
  display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: 2rem;
  padding-block: 1.75rem; border-bottom: 1px solid var(--stone);
}
.row h3 { margin: 0; }
.row p { margin: 0; color: var(--slate); }
.row a { display: inline-block; margin-top: .6rem; font-weight: 600; }

/* Process: a real sequence, so numbers are earned */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { counter-increment: step; padding: 0 1.5rem 0 0; border-top: 2px solid var(--brass); padding-top: 1.1rem; margin-right: 1.25rem; }
.steps li::before {
  content: counter(step); display: block; font-family: var(--serif); font-size: 2rem; color: var(--brass); line-height: 1; margin-bottom: .6rem;
}
.steps h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { color: var(--stone); font-size: .97rem; margin: 0; }

/* CTA strip */
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { margin: 0; }
.cta p { margin: .4rem 0 0; color: var(--slate); }

/* Inner pages */
.page-head {
  padding-block: clamp(3.25rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.75rem);
  background:
    linear-gradient(90deg, rgba(10,27,54,.9) 0%, rgba(10,27,54,.6) 50%, rgba(10,27,54,.15) 100%),
    #0A1B36 url("/img/hero-lines.svg") center 30% / cover no-repeat;
  color: var(--white);
}
.page-head h1 { color: var(--white); font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.page-head p { color: #C9D5E8; font-size: 1.18rem; }

.service { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: 3rem; border-bottom: 1px solid var(--stone); }
.service:last-child { border-bottom: 0; }
.service .summary p { color: var(--slate); }
.service h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--slate); margin-bottom: .6rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.checklist li { padding: .55rem 0 .55rem 1.5rem; border-bottom: 1px solid var(--stone-light); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; background: var(--brass); transform: rotate(45deg); }
.cat-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.cat-list li { border: 1px solid var(--navy); padding: .3rem .8rem; font-size: .92rem; background: var(--white); }

.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: 3rem; }
.facts { border-top: 2px solid var(--navy); }
.facts dt { font-weight: 600; color: var(--slate); font-size: .9rem; padding-top: 1rem; }
.facts dd { margin: .15rem 0 0; padding-bottom: 1rem; border-bottom: 1px solid var(--stone); font-family: var(--serif); font-size: 1.1rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: 3rem; }
.contact-card { background: var(--white); border: 2px solid var(--navy); padding: 1.75rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-weight: 600; color: var(--slate); font-size: .9rem; margin-top: 1rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: .1rem 0 0; font-family: var(--serif); font-size: 1.3rem; }
.contact-card dd a { text-decoration: none; }

/* Footer */
.site-footer { background: var(--navy); color: var(--stone); padding-block: 2.5rem; font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer a { color: var(--white); text-decoration-color: var(--brass); }
.site-footer .fname { font-family: var(--serif); color: var(--white); font-size: 1.1rem; }
.site-footer p { margin: 0 0 .3rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .service, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .row { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .nav { gap: 1.2rem; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .sheet { font-size: .8rem; box-shadow: 6px 6px 0 var(--stone-light); }
  .sheet th, .sheet td { padding: .45rem .5rem; }
  .sheet .finish { display: none; }
  .sheet-head { flex-direction: column; gap: .15rem; }
  .sheet-foot { grid-template-columns: 1fr; }
  .sheet-foot div + div { border-left: 0; border-top: 1px solid var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
