/* Arc Putt — lake-effect putting atelier. System stacks only. */
:root {
  --ap-slate: #152028;
  --ap-slate-mid: #24323c;
  --ap-ice: #d7e6ec;
  --ap-ice-bright: #eef5f8;
  --ap-paper: #f3efe4;
  --ap-snow: #fbf8f2;
  --ap-maple: #b88945;
  --ap-maple-deep: #7a5524;
  --ap-copper: #c45c2a;
  --ap-copper-deep: #8d3512;
  --ap-ink: #152028;
  --ap-mute: #53616b;
  --ap-line: rgba(21, 32, 40, 0.12);
  --ap-display: Didot, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  --ap-body: "Avenir Next", Avenir, "Century Gothic", Calibri, sans-serif;
  --ap-mark: "Courier New", Courier, ui-monospace, monospace;
  --ap-max: 1120px;
  --ap-gutter: 1.2rem;
  --ap-spine: 3.6rem;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body.ap-body {
  background:
    radial-gradient(900px 420px at 92% -8%, rgba(215, 230, 236, 0.7), transparent 60%),
    linear-gradient(180deg, #eef3f4 0, var(--ap-paper) 18rem);
  color: var(--ap-ink);
  font-family: var(--ap-body);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}

body.ap-frozen { overflow: hidden; }

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

a {
  color: var(--ap-copper-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--ap-maple-deep); }

h1, h2, h3, h4 {
  font-family: var(--ap-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ap-ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; font-style: italic; }

p { margin: 0 0 1em; }

.ap-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ap-copper);
  color: var(--ap-snow);
  padding: 0.6rem 1rem;
  z-index: 40;
}

.ap-skip:focus { left: 0.6rem; top: 0.6rem; }

.ap-spine {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--ap-spine);
  color: var(--ap-maple);
  pointer-events: none;
  z-index: 2;
  border-right: 1px solid var(--ap-line);
  background: linear-gradient(180deg, var(--ap-ice-bright), var(--ap-paper));
}

.ap-spine__arc {
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.ap-lake {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem var(--ap-gutter);
  background: var(--ap-slate);
  color: var(--ap-ice);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--ap-mark);
}

.ap-tick {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ap-copper);
  display: inline-block;
}

.ap-frame {
  width: min(var(--ap-max), calc(100% - 2 * var(--ap-gutter)));
  margin-inline: auto;
}

.ap-mast {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 228, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.ap-mast.is-stuck { border-bottom-color: var(--ap-line); }

.ap-mast__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  min-height: 4.2rem;
}

.ap-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ap-ink);
  text-decoration: none;
}

.ap-mark:hover { color: var(--ap-copper-deep); }

.ap-mark__glyph { color: var(--ap-copper); display: flex; }

.ap-mark__type { display: flex; flex-direction: column; line-height: 1.1; }

.ap-mark__name {
  font-family: var(--ap-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.ap-mark__place {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-mute);
}

.ap-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ap-line);
  background: var(--ap-snow);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.ap-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ap-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ap-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ap-toggle.is-open span:nth-child(2) { opacity: 0; }
.ap-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.ap-panel { display: none; }

.ap-panel.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--ap-slate);
  color: var(--ap-ice);
  padding: 1.2rem var(--ap-gutter) 1.8rem;
}

.ap-panel__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.ap-panel__list a {
  color: var(--ap-ice-bright);
  text-decoration: none;
  display: block;
  padding: 0.45rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(215, 230, 236, 0.12);
}

.ap-panel__list .is-here a { color: var(--ap-maple); }

.ap-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ap-copper);
  color: var(--ap-snow);
  text-decoration: none;
  padding: 0.72rem 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--ap-copper);
}

.ap-cta:hover {
  background: var(--ap-copper-deep);
  color: var(--ap-snow);
  border-color: var(--ap-copper-deep);
}

.ap-cta--ghost {
  background: transparent;
  color: var(--ap-ink);
  border-color: var(--ap-ink);
}

.ap-cta--ghost:hover {
  background: var(--ap-ink);
  color: var(--ap-ice-bright);
}

.ap-cta--ice {
  background: var(--ap-ice);
  color: var(--ap-slate);
  border-color: var(--ap-ice);
}

.ap-cta--ice:hover {
  background: var(--ap-snow);
  color: var(--ap-slate);
}

.ap-folio { padding-bottom: 3.5rem; }

.ap-hero {
  padding: 2.2rem 0 2.6rem;
  position: relative;
}

.ap-hero__grid {
  display: grid;
  gap: 1.6rem;
}

.ap-eyebrow {
  font-family: var(--ap-mark);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ap-copper-deep);
  margin: 0 0 0.7rem;
}

.ap-standfirst {
  font-size: 1.12rem;
  color: var(--ap-mute);
  max-width: 38rem;
}

.ap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.ap-diagram {
  background:
    linear-gradient(180deg, var(--ap-ice-bright), var(--ap-ice));
  border: 1px solid var(--ap-line);
  padding: 1.1rem 1.1rem 0.8rem;
  position: relative;
}

.ap-diagram svg { width: 100%; height: auto; color: var(--ap-slate); }

.ap-diagram figcaption {
  font-family: var(--ap-mark);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-mute);
  margin-top: 0.4rem;
}

.ap-stations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.ap-station {
  border-top: 1px solid var(--ap-line);
  padding-top: 0.55rem;
}

.ap-station b {
  font-family: var(--ap-display);
  font-size: 1.35rem;
  display: block;
  color: var(--ap-copper);
}

.ap-station span {
  font-size: 0.88rem;
  color: var(--ap-mute);
}

.ap-band {
  padding: 2.4rem 0;
}

.ap-band--ice {
  background: var(--ap-ice);
  border-block: 1px solid rgba(21, 32, 40, 0.08);
}

.ap-band--slate {
  background: var(--ap-slate);
  color: var(--ap-ice-bright);
}

.ap-band--slate h2,
.ap-band--slate h3 { color: var(--ap-snow); }

.ap-band--slate .ap-eyebrow { color: var(--ap-maple); }

.ap-band--slate p,
.ap-band--slate li { color: var(--ap-ice); }

.ap-offset {
  display: grid;
  gap: 1.2rem;
}

.ap-prose { max-width: 42rem; }

.ap-prose--wide { max-width: 46rem; }

.ap-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ap-ticks li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid var(--ap-line);
}

.ap-ticks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ap-copper);
  position: absolute;
  left: 0;
  top: 0.85rem;
}

.ap-split {
  display: grid;
  gap: 1.5rem;
}

.ap-card {
  background: var(--ap-snow);
  border: 1px solid var(--ap-line);
  padding: 1.15rem 1.2rem 1.05rem;
  box-shadow: 8px 12px 0 -8px rgba(184, 137, 69, 0.35);
}

.ap-card--dark {
  background: var(--ap-slate-mid);
  color: var(--ap-ice);
  box-shadow: none;
}

.ap-card h3 { margin-bottom: 0.35em; }

.ap-trio {
  display: grid;
  gap: 1rem;
}

.ap-quote {
  margin: 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--ap-copper);
}

.ap-quote p {
  font-family: var(--ap-display);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.35;
}

.ap-quote footer {
  font-family: var(--ap-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ap-mute);
}

.ap-tariff {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ap-tariff th,
.ap-tariff td {
  text-align: left;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--ap-line);
  vertical-align: top;
}

.ap-tariff th {
  font-family: var(--ap-mark);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ap-mute);
  font-weight: 500;
}

.ap-tariff td:last-child,
.ap-tariff th:last-child { text-align: right; white-space: nowrap; }

.ap-taper {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--ap-line);
}

.ap-taper h3 { margin: 0; }

.ap-taper .ap-role {
  font-family: var(--ap-mark);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ap-copper-deep);
}

.ap-faq {
  margin: 0;
}

.ap-faq dt {
  font-family: var(--ap-display);
  font-size: 1.25rem;
  margin-top: 1.3rem;
}

.ap-faq dd {
  margin: 0.45rem 0 0;
  color: var(--ap-mute);
}

.ap-form {
  background: var(--ap-snow);
  border: 1px solid var(--ap-line);
  padding: 1.2rem;
}

.ap-fields {
  display: grid;
  gap: 0.85rem;
}

.ap-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.ap-field input,
.ap-field select,
.ap-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ap-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ap-ink);
  padding: 0.45rem 0;
  border-radius: 0;
}

.ap-field textarea { border: 1px solid var(--ap-line); padding: 0.55rem; min-height: 7rem; }

.ap-form-note {
  font-size: 0.88rem;
  color: var(--ap-mute);
  margin-top: 0.9rem;
}

.ap-pin {
  min-height: 180px;
  background:
    radial-gradient(circle at 62% 42%, var(--ap-copper) 0 6px, transparent 7px),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(184, 137, 69, 0.18) 18px 19px),
    linear-gradient(160deg, #c5d5dc, #8aa3ae);
  border: 1px solid var(--ap-line);
  position: relative;
}

.ap-pin span {
  position: absolute;
  left: 1rem;
  bottom: 0.8rem;
  background: var(--ap-slate);
  color: var(--ap-ice);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}

.ap-ledger a {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--ap-line);
  text-decoration: none;
  color: inherit;
}

.ap-ledger a:hover .ap-ledger__title { color: var(--ap-copper-deep); }

.ap-ledger time {
  font-family: var(--ap-mark);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ap-mute);
}

.ap-ledger__title {
  font-family: var(--ap-display);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.25rem;
}

.ap-article {
  max-width: 40rem;
}

.ap-article p { font-size: 1.02rem; }

.ap-lost {
  padding: 4rem 0 5rem;
  text-align: left;
}

.ap-lost__code {
  font-family: var(--ap-mark);
  letter-spacing: 0.2em;
  color: var(--ap-copper);
}

.ap-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.ap-rise {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ap-rise.is-seen {
  opacity: 1;
  transform: none;
}

.ap-chapter {
  padding: 2.1rem 0 0.6rem;
}

.ap-clock {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ap-clock li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(215, 230, 236, 0.15);
  font-size: 0.9rem;
}

.ap-chips {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.ap-chips li {
  font-size: 0.88rem;
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
}

.ap-chips li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--ap-copper);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.ap-shore {
  background: var(--ap-slate);
  color: var(--ap-ice);
  padding-top: 2.6rem;
}

.ap-shore h2 {
  color: var(--ap-snow);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--ap-body);
  font-weight: 600;
}

.ap-shore a { color: var(--ap-ice-bright); }

.ap-shore a:hover { color: var(--ap-maple); }

.ap-shore__name {
  font-family: var(--ap-display);
  font-size: 2rem;
  color: var(--ap-snow);
  margin: 0 0 0.5rem;
}

.ap-shore__grid {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 2rem;
}

.ap-shore address { font-style: normal; line-height: 1.55; }

.ap-shore__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ap-shore__links li { margin: 0.28rem 0; }

.ap-shore__ice {
  border-top: 1px solid rgba(215, 230, 236, 0.12);
  padding: 0.9rem 0 1.1rem;
  font-size: 0.8rem;
  color: var(--ap-ice-deep, #c5d8e0);
}

.ap-shore__ice-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
}

.ap-shore__ice p { margin: 0; }

@media (min-width: 720px) {
  .ap-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }

  .ap-stations { grid-template-columns: 1fr 1fr; }

  .ap-split { grid-template-columns: 1.1fr 0.9fr; align-items: start; }

  .ap-trio { grid-template-columns: repeat(3, 1fr); }

  .ap-fields { grid-template-columns: 1fr 1fr; }

  .ap-field--full { grid-column: 1 / -1; }

  .ap-offset {
    grid-template-columns: 0.38fr 0.62fr;
    gap: 2rem;
  }

  .ap-taper {
    grid-template-columns: 10rem 1fr;
    gap: 1.2rem;
    align-items: start;
  }
}

@media (min-width: 1040px) {
  body.ap-body { padding-left: var(--ap-spine); }

  .ap-spine { display: block; }

  .ap-toggle { display: none; }

  .ap-panel {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    position: static;
    background: transparent;
    padding: 0;
    color: inherit;
  }

  .ap-panel__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.95rem;
    margin: 0;
  }

  .ap-panel__list a {
    color: var(--ap-ink);
    border: 0;
    padding: 0.2rem 0;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
  }

  .ap-panel__list a:hover { color: var(--ap-copper-deep); }

  .ap-panel__list .is-here a {
    color: var(--ap-copper-deep);
    box-shadow: inset 0 -1px 0 var(--ap-copper);
  }

  .ap-shore__grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  }

  .ap-hero { padding-top: 3.2rem; }
}

@media (max-width: 719px) {
  .ap-ledger a { grid-template-columns: 1fr; gap: 0.25rem; }

  h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
}
