:root {
  --paper: #efe8d8;
  --paper-light: #faf7ef;
  --ink: #102b35;
  --ink-dark: #08191f;
  --blue: #275c6e;
  --brass: #d19839;
  --brass-light: #e7b75f;
  --red: #b9492f;
  --green: #2e6a50;
  --line: rgba(16, 43, 53, 0.28);
  --muted: #59666a;
  --wide: 1440px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 10px 14px; color: white; background: var(--ink-dark); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-shell { opacity: 0; visibility: hidden; transition: opacity 300ms ease; }
body.is-unlocked .site-shell { opacity: 1; visibility: visible; }

.lock-screen { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 24px; background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 32px 32px; transition: opacity 280ms ease, visibility 280ms ease; }
body.is-unlocked .lock-screen { opacity: 0; visibility: hidden; pointer-events: none; }
.lock-sheet { width: min(620px, 100%); color: var(--ink); background: var(--paper-light); border: 2px solid var(--ink-dark); box-shadow: 14px 14px 0 var(--ink-dark); }
.lock-sheet-head, .lock-sheet-foot { display: flex; justify-content: space-between; gap: 20px; padding: 10px 18px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.lock-sheet-head { color: white; background: var(--ink); }
.lock-sheet-foot { border-top: 1px dashed var(--ink); }
.lock-brand { padding: 32px 42px 28px; border-bottom: 1px dashed var(--ink); }
.lock-logo { width: 100%; }
.lock-copy { padding: 34px 42px 38px; }

.kicker, .section-label > span, .pricing-title span, .boundary-statement > span, .process-title > span, .contact-kicker { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lock-copy h1 { margin: 8px 0 4px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.8rem, 9vw, 4.6rem); font-weight: 900; letter-spacing: -.035em; line-height: .95; text-transform: uppercase; }
.lock-copy > p:not(.kicker) { margin: 12px 0 24px; color: var(--muted); }
.password-form label { display: block; margin-bottom: 7px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.password-field { display: flex; border: 2px solid var(--ink); background: white; }
.password-field:focus-within { outline: 3px solid var(--brass-light); outline-offset: 2px; }
.password-field input { width: 100%; min-width: 0; padding: 13px 14px; border: 0; outline: 0; background: transparent; }
.show-password { padding: 0 14px; border: 0; border-left: 1px solid var(--ink); color: var(--ink); background: var(--paper); font-family: ui-monospace, monospace; font-size: .74rem; font-weight: 800; cursor: pointer; }
.form-error { min-height: 25px; margin: 5px 0; color: #9d2f23; font-size: .88rem; }

.utility-button, .header-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 13px 18px; border: 2px solid var(--ink-dark); color: white; background: var(--ink); box-shadow: 5px 5px 0 var(--brass); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.utility-button:hover, .header-cta:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--brass); background: var(--blue); }
.utility-button:focus-visible, .header-cta:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.utility-button.full { width: 100%; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(250,247,239,.96); border-bottom: 2px solid var(--ink); backdrop-filter: blur(10px); }
.header-inner { width: min(100%, var(--wide)); min-height: 92px; margin: 0 auto; padding: 12px var(--pad); display: grid; grid-template-columns: minmax(250px, 360px) 1fr auto; align-items: center; gap: clamp(24px, 4vw, 64px); }
.brand img { width: min(100%, 340px); }
.primary-nav { display: flex; justify-content: flex-end; gap: clamp(18px, 3vw, 42px); }
.primary-nav a { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.primary-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-cta { min-height: 44px; padding: 9px 14px; box-shadow: 4px 4px 0 var(--brass); }

.hero { padding: clamp(54px, 8vw, 118px) var(--pad) clamp(66px, 9vw, 132px); background-color: var(--paper); background-image: linear-gradient(rgba(16,43,53,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(16,43,53,.075) 1px, transparent 1px); background-size: 36px 36px; border-bottom: 2px solid var(--ink); }
.hero-grid { width: min(100%, var(--wide)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(360px, .72fr); gap: clamp(50px, 8vw, 120px); align-items: end; }
.location-line { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.location-line span { width: 30px; height: 8px; background: var(--brass); border: 1px solid var(--ink); }
.hero h1 { max-width: 940px; margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(4.5rem, 10.5vw, 10.5rem); font-weight: 900; letter-spacing: -.055em; line-height: .79; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--blue); -webkit-text-stroke: 1px var(--ink-dark); }
.hero-summary { max-width: 680px; margin: 38px 0 0; font-size: clamp(1.08rem, 1.7vw, 1.38rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.underlined-link { font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.service-ticket { position: relative; background: var(--paper-light); border: 2px solid var(--ink-dark); box-shadow: 12px 12px 0 var(--brass); transform: rotate(1deg); }
.service-ticket::before { content: ""; position: absolute; top: 50px; left: -10px; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.ticket-head, .ticket-status { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 18px; font-family: ui-monospace, monospace; font-size: .75rem; font-weight: 800; letter-spacing: .07em; }
.ticket-head { color: white; background: var(--ink); }
.ticket-title { padding: 28px 20px 24px; border-bottom: 2px solid var(--ink); }
.ticket-title p { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -.03em; line-height: .82; }
.ticket-title p:last-child { color: var(--red); }
.service-ticket ul { list-style: none; margin: 0; padding: 0; }
.service-ticket li { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 12px 18px; border-bottom: 1px dashed var(--ink); font-weight: 700; }
.service-ticket li span { font-family: ui-monospace, monospace; font-size: .75rem; }
.ticket-status { justify-content: flex-start; background: var(--brass-light); text-transform: uppercase; }
.ticket-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(46,106,80,.16); }

.running-line { overflow: hidden; padding: 12px 0; color: white; background: var(--ink-dark); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.running-line div { width: max-content; font-family: ui-monospace, monospace; font-size: .78rem; font-weight: 800; letter-spacing: .12em; animation: ticker 28s linear infinite; }
.running-line span { margin: 0 22px; color: var(--brass-light); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section, .pricing-section, .boundary-section, .process-section, .contact-section, .community-strip, .site-footer { padding-inline: var(--pad); }
.section-label, .pricing-title, .boundary-grid, .process-title, .process-list, .contact-grid, .contact-kicker, .site-footer { width: min(100%, var(--wide)); margin-inline: auto; }
.section-label { display: flex; justify-content: space-between; gap: 30px; padding: 54px 0 22px; border-bottom: 2px solid var(--ink); }
.section-label p { margin: 0; color: var(--muted); font-weight: 700; }
.ledger { width: min(100%, var(--wide)); margin: 0 auto; }
.ledger-row { display: grid; grid-template-columns: 70px minmax(260px, .9fr) minmax(320px, 1.1fr) 42px; align-items: center; gap: clamp(20px, 4vw, 64px); min-height: 190px; padding: 30px 0; border-bottom: 1px solid var(--ink); transition: color 170ms ease, background 170ms ease, padding 170ms ease; }
.ledger-row:hover { padding-inline: 18px; color: white; background: var(--blue); }
.ledger-number { align-self: start; padding-top: 12px; font-family: ui-monospace, monospace; font-size: .78rem; font-weight: 800; }
.ledger-row h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.8rem, 5vw, 5.6rem); font-weight: 900; letter-spacing: -.035em; line-height: .84; text-transform: uppercase; }
.ledger-row p { margin: 0; max-width: 570px; font-size: 1.05rem; }
.ledger-mark { font-family: ui-monospace, monospace; font-size: 2rem; font-weight: 400; }

.pricing-section { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); color: white; background: var(--blue); }
.pricing-title { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.pricing-title h2 { max-width: 820px; margin: 10px 0 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3.5rem, 7vw, 7.8rem); letter-spacing: -.045em; line-height: .85; text-transform: uppercase; }
.pricing-title > p { max-width: 360px; margin: 0 0 5px; font-size: 1.08rem; }
.rate-sheet { width: min(100%, var(--wide)); margin-inline: auto; border: 2px solid var(--paper-light); }
.rate-row { display: grid; grid-template-columns: 1.35fr .75fr .6fr; align-items: center; min-height: 90px; border-bottom: 1px solid rgba(255,255,255,.5); }
.rate-row > * { height: 100%; display: flex; align-items: center; padding: 18px 24px; }
.rate-row > * + * { border-left: 1px solid rgba(255,255,255,.5); }
.rate-row strong { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.rate-row b { color: var(--ink-dark); background: var(--brass-light); font-family: ui-monospace, monospace; font-size: clamp(1.05rem, 2vw, 1.5rem); }
.rate-head { min-height: 42px; color: var(--ink-dark); background: var(--paper-light); font-family: ui-monospace, monospace; font-size: .73rem; font-weight: 800; letter-spacing: .1em; }
.rate-head > * { padding-block: 9px; }
.rate-note { margin: 0; padding: 16px 24px; color: var(--paper-light); font-size: .9rem; }

.boundary-section { color: white; background: var(--ink-dark); }
.boundary-grid { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 680px; }
.boundary-statement { padding: clamp(70px, 9vw, 130px) clamp(30px, 6vw, 90px) clamp(70px, 9vw, 130px) 0; border-right: 2px solid rgba(255,255,255,.28); }
.boundary-statement h2 { margin: 90px 0 18px; color: var(--brass-light); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(4.5rem, 9vw, 9.8rem); letter-spacing: -.05em; line-height: .8; text-transform: uppercase; }
.boundary-statement p { max-width: 390px; margin: 0; font-size: 1.2rem; }
.boundary-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 130px) 0 clamp(70px, 9vw, 130px) clamp(30px, 7vw, 110px); }
.boundary-lede { max-width: 700px; margin: 0 0 42px; font-size: clamp(1.45rem, 2.6vw, 2.35rem); line-height: 1.32; }
.boundary-copy ul { list-style: none; margin: 0 0 34px; padding: 0; border-top: 1px solid rgba(255,255,255,.35); }
.boundary-copy li { position: relative; padding: 15px 0 15px 28px; border-bottom: 1px solid rgba(255,255,255,.35); }
.boundary-copy li::before { content: "×"; position: absolute; left: 0; color: var(--brass-light); font-weight: 900; }
.boundary-copy > p:last-child { margin: 0; color: var(--brass-light); font-family: ui-monospace, monospace; font-size: .85rem; font-weight: 800; text-transform: uppercase; }

.process-section { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); background: var(--paper-light); }
.process-title { display: grid; grid-template-columns: .35fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.process-title h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(4rem, 8vw, 8.8rem); letter-spacing: -.045em; line-height: .84; text-transform: uppercase; }
.process-list { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.process-list li { display: grid; grid-template-columns: .35fr 1fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--ink); }
.process-list li > span { font-family: ui-monospace, monospace; font-size: .8rem; font-weight: 800; }
.process-list h3 { margin: 0 0 5px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.process-list p { max-width: 680px; margin: 0; color: var(--muted); }

.community-strip { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(26px, 5vw, 72px); padding-top: 44px; padding-bottom: 44px; color: var(--ink-dark); background: var(--brass-light); border-block: 2px solid var(--ink-dark); }
.community-strip > *:not(.stamp) { max-width: 980px; }
.stamp { display: grid; place-items: center; width: 96px; height: 96px; border: 3px solid var(--red); border-radius: 50%; color: var(--red); font-family: ui-monospace, monospace; font-size: .75rem; font-weight: 900; letter-spacing: .08em; line-height: 1.2; text-align: center; transform: rotate(-9deg); }
.community-strip p { margin: 0 0 2px; font-family: ui-monospace, monospace; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.community-strip h2 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 2.35rem); line-height: 1.15; }
.community-strip a { font-family: ui-monospace, monospace; font-size: .85rem; font-weight: 900; white-space: nowrap; text-underline-offset: 5px; }

.contact-section { padding-top: clamp(80px, 11vw, 170px); padding-bottom: clamp(80px, 11vw, 170px); color: white; background: var(--blue); }
.contact-kicker { margin-bottom: 42px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 9vw, 140px); align-items: end; }
.contact-grid h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(5rem, 10vw, 11rem); letter-spacing: -.055em; line-height: .78; text-transform: uppercase; }
.contact-grid p { max-width: 520px; margin: 0 0 32px; font-size: 1.15rem; }
.contact-email { display: inline-flex; gap: 20px; padding-bottom: 8px; border-bottom: 3px solid var(--brass-light); font-size: clamp(1.05rem, 2vw, 1.55rem); font-weight: 900; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--brass-light); }

.site-footer { display: grid; grid-template-columns: minmax(220px, 340px) 1fr auto; gap: 40px; align-items: center; padding-top: 34px; padding-bottom: 34px; background: var(--paper-light); border-top: 2px solid var(--ink); }
.footer-logo { width: min(100%, 320px); }
.site-footer p { margin: 3px 0; font-family: ui-monospace, monospace; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { font-family: ui-monospace, monospace; font-size: .75rem; font-weight: 800; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 540ms ease, transform 540ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .header-inner { grid-template-columns: minmax(220px, 300px) 1fr auto; }
  .primary-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .service-ticket { width: min(100%, 580px); transform: none; }
  .ledger-row { grid-template-columns: 50px minmax(220px, .8fr) 1fr 30px; gap: 24px; }
  .pricing-title, .contact-grid { grid-template-columns: 1fr; }
  .pricing-title > p { max-width: 600px; }
  .contact-grid > div { max-width: 680px; }
  .site-footer { grid-template-columns: minmax(220px, 320px) 1fr; }
  .site-footer > a { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .lock-sheet { box-shadow: 8px 8px 0 var(--ink-dark); }
  .lock-brand, .lock-copy { padding-left: 24px; padding-right: 24px; }
  .lock-sheet-foot { font-size: .65rem; }
  .header-inner { min-height: 78px; grid-template-columns: 1fr auto; gap: 14px; }
  .brand img { width: 230px; }
  .header-cta { min-height: 40px; padding: 8px 10px; font-size: .7rem; box-shadow: 3px 3px 0 var(--brass); }
  .header-cta span { display: none; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(4rem, 21vw, 6.8rem); }
  .hero-summary { margin-top: 28px; }
  .service-ticket { box-shadow: 8px 8px 0 var(--brass); }
  .section-label { flex-direction: column; gap: 8px; }
  .ledger-row { grid-template-columns: 34px 1fr 24px; min-height: 0; padding: 28px 0; gap: 14px; }
  .ledger-number { padding-top: 6px; }
  .ledger-row h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .ledger-row p { grid-column: 2 / 4; font-size: 1rem; }
  .ledger-row:hover { padding-inline: 10px; }
  .rate-row { grid-template-columns: 1fr; min-height: 0; }
  .rate-row > * { min-height: 54px; padding: 12px 16px; border-left: 0 !important; }
  .rate-row > * + * { border-top: 1px solid rgba(255,255,255,.45); }
  .rate-head { display: none; }
  .rate-row span::before { content: "Time: "; margin-right: 5px; font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
  .rate-note { padding-inline: 16px; }
  .boundary-grid { grid-template-columns: 1fr; min-height: 0; }
  .boundary-statement { padding-right: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .boundary-statement h2 { margin-top: 50px; }
  .boundary-copy { padding-left: 0; }
  .process-title, .process-list li { grid-template-columns: 1fr; gap: 14px; }
  .process-title { align-items: start; }
  .community-strip { grid-template-columns: auto 1fr; }
  .community-strip .stamp { width: 78px; height: 78px; }
  .community-strip a { grid-column: 2; }
  .contact-grid h2 { font-size: clamp(4.6rem, 22vw, 8rem); }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > a { grid-column: auto; }
}

@media (max-width: 460px) {
  .brand img { width: 190px; }
  .header-cta { padding-inline: 8px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .utility-button { width: 100%; }
  .ticket-title p { font-size: 3.1rem; }
  .community-strip { grid-template-columns: 1fr; }
  .community-strip a { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
