/* Harborview Advisors: the rehearsal room. Paper, cue tape, script pages. */
:root {
  --primary: #2F8FC2;
  --deep: #1B5E85;
  --ink: #14212B;
  --paper: #F7F5EF;
  --sheet: #FFFFFF;
  --tint: #E6F1F8;
  --tape: #8CC6E6;
  --muted: #4A5866;
  --line: #CDD6DC;
  --on-ink: #D9E8F2;
  --head: "Brygada 1918", Georgia, serif;
  --body: "Encode Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(18px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* spike tape: a dashed strip like the marks taped on a rehearsal floor */
.tape-edge { height: 6px; background: repeating-linear-gradient(90deg, var(--primary) 0 34px, transparent 34px 48px); }

/* masthead */
.mast { background: var(--sheet); border-bottom: 1px solid var(--ink); }
.mast .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.32rem; letter-spacing: .01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--primary); }
.mast-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.btn { display: inline-block; background: var(--deep); color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 12px 22px; border-radius: 2px; border: 2px solid var(--deep); line-height: 1.3; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--tint); border-color: var(--tint); color: var(--ink); }
.textlink { font-weight: 600; color: var(--deep); }

.kicker { display: inline-block; font-family: var(--body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); margin-bottom: 14px; }

/* hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero .lead { font-size: 1.14rem; max-width: 36em; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 26px; }

/* the running-order slip, held on with two pieces of tape */
.slip { position: relative; background: var(--sheet); border: 1px solid var(--ink); padding: 34px 28px 18px; transform: rotate(-1.2deg); }
.slip::before, .slip::after { content: ""; position: absolute; top: -12px; width: 78px; height: 24px; background: var(--tape); opacity: .9; }
.slip::before { left: 18px; transform: rotate(-6deg); }
.slip::after { right: 18px; transform: rotate(5deg); }
.slip-title { font-family: var(--head); font-style: italic; font-size: 1.15rem; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.slip ul { list-style: none; margin: 0; padding: 0; }
.slip li { padding: 14px 0 14px 34px; border-bottom: 1px dotted var(--muted); position: relative; }
.slip li:last-child { border-bottom: 0; }
.slip li strong { display: block; font-weight: 600; }
.slip li span { color: var(--muted); font-size: .95rem; }

/* spike mark: a small taped cross */
.spike, .slip li::before { position: absolute; left: 4px; top: 20px; width: 16px; height: 16px; }
.slip li::before { content: ""; background:
  linear-gradient(45deg, transparent 42%, var(--primary) 42% 58%, transparent 58%),
  linear-gradient(-45deg, transparent 42%, var(--primary) 42% 58%, transparent 58%); }

/* overview */
.overview { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(52px, 7vw, 90px) 0; }
.overview .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); }
.overview .note { font-family: var(--head); font-style: italic; font-size: 1.32rem; line-height: 1.5; }

/* services: cue cards */
.services { background: var(--tint); padding: clamp(56px, 8vw, 100px) 0; }
.section-intro { max-width: 40em; margin-bottom: 44px; }
.cues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 26px; }
.cue { position: relative; background: var(--sheet); border: 1px solid #B9CAD6; border-radius: 2px; padding: 40px 24px 22px; }
.cue-tag { position: absolute; top: -14px; left: 20px; background: var(--tape); color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; transform: rotate(-2deg); }
.cue p { margin: 0; color: var(--muted); }
.cue.lead-cue { border-color: var(--deep); border-width: 2px; }

/* reasons */
.reasons { background: var(--ink); color: var(--on-ink); padding: clamp(56px, 8vw, 100px) 0; }
.reasons h2, .reasons h3 { color: #fff; }
.reasons .kicker { color: var(--tape); }
.reason-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.reason-list li { position: relative; padding: 26px 0 22px 40px; border-top: 1px solid rgba(217, 232, 242, .28); }
.reason-list li::before { content: ""; position: absolute; left: 2px; top: 32px; width: 20px; height: 20px; background:
  linear-gradient(45deg, transparent 42%, var(--tape) 42% 58%, transparent 58%),
  linear-gradient(-45deg, transparent 42%, var(--tape) 42% 58%, transparent 58%); }
.reason-list p { margin: 0; }

/* process: set like a script */
.process { padding: clamp(56px, 8vw, 104px) 0; }
.process .head { text-align: center; max-width: 36em; margin: 0 auto 30px; }
.script { list-style: none; margin: 0 auto; padding: 0; max-width: 640px; text-align: center; }
.script li { padding: 34px 0; }
.script li + li { background: linear-gradient(var(--primary), var(--primary)) center top / 60px 4px no-repeat; }
.scene { font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--deep); margin: 0 0 6px; }
.script h3 { font-size: 1.55rem; text-transform: none; margin-bottom: 8px; }
.direction { font-family: var(--head); font-style: italic; color: var(--muted); margin-bottom: 10px; }
.script p:last-child { margin-bottom: 0; }

/* call to action */
.cta { background: var(--deep); color: #fff; }
.cta .tape-edge { background: repeating-linear-gradient(90deg, var(--tape) 0 34px, transparent 34px 48px); }
.cta .wrap { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 56px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin: 0; font-size: 1.08rem; }
.cta .actions { margin-top: 0; justify-content: flex-start; }
.cta a.textlink { color: #fff; }

/* footer */
.foot { background: var(--ink); color: var(--on-ink); padding: 56px 0 30px; font-size: .95rem; }
.foot a { color: var(--tape); }
.foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 32px 40px; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot h2 { font-family: var(--body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(217, 232, 242, .25); font-size: .88rem; }
.legal p { max-width: 62em; }

/* inner pages */
.page-head { padding: clamp(44px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); background: var(--sheet); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-head p { max-width: 40em; font-size: 1.1rem; margin: 0; }
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.doc .wrap { max-width: 820px; }
.doc h2 { font-size: 1.5rem; margin-top: 1.8em; padding-top: 18px; border-top: 1px dotted var(--muted); }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.effective { font-family: var(--head); font-style: italic; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.mailbox { border-top: 4px solid var(--primary); padding-top: 18px; }
.mailbox a { font-family: var(--head); font-size: 1.35rem; font-weight: 700; word-break: break-word; }
.form-slip { margin-top: 12px; transform: none; }
.form-slip label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form-slip label .opt { font-weight: 400; color: var(--muted); }
.form-slip input { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--muted); border-radius: 2px; padding: 11px 12px; }
.form-slip input:focus { outline: 3px solid var(--primary); outline-offset: 1px; border-color: var(--ink); }
.form-slip button { margin-top: 22px; cursor: pointer; font-family: var(--body); }
#gt-done { margin: 8px 0 0; padding: 14px 0 0; border-top: 2px solid var(--ink); }
.faq { margin-top: clamp(48px, 7vw, 80px); }
.faq h2 { font-size: 1.3rem; }

.notfound { padding: clamp(70px, 12vw, 150px) 0; text-align: center; }
.notfound p { max-width: 32em; margin-left: auto; margin-right: auto; }

@media (max-width: 960px) {
  .cues { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero .wrap, .overview .wrap, .cta .wrap, .contact-grid { grid-template-columns: 1fr; }
  .slip { transform: none; }
  .cues, .reason-list { grid-template-columns: 1fr; }
  .mast-right { width: 100%; justify-content: space-between; gap: 14px; }
  .nav { gap: 4px 16px; }
}
@media (max-width: 440px) {
  .foot-grid { grid-template-columns: 1fr; }
  .mast-right { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
