/* Laneway — material-named tokens */
:root {
  --ink: #1f2d45;
  --ink-soft: #2c3b57;
  --asphalt: #2f3747;
  --graphite: #596173;
  --linen: #fbf9f6;
  --paper: #ffffff;
  --sand: #f2ece4;
  --sand-deep: #e9e0d4;
  --sandstone: #f4e8d8;
  --copper: #a65c2f;
  --copper-deep: #8a4a22;
  --ochre: #c28a2e;
  --sage: #e3efe7;
  --fern: #2f6a4b;
  --line: #e6dfd6;
  --shadow: 0 1px 2px rgba(31, 45, 69, .05), 0 6px 18px rgba(31, 45, 69, .05);
  --shadow-lg: 0 24px 50px -18px rgba(31, 45, 69, .35);
  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--asphalt); background: var(--linen); }
a { color: var(--ink); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--graphite); }
.small { font-size: 14px; }
.center { text-align: center; margin-top: 28px; }
.stack > * + * { margin-top: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 14px/1 var(--sans); padding: 11px 16px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn--accent { background: var(--copper); color: #fff; }
.btn--accent:hover { background: var(--copper-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #111b2e; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { display: flex; width: 100%; }

/* Masthead */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.masthead__row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__dot { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #d9a57c 0 12%, #a65c2f 38%, #1f2d45 88%); box-shadow: inset 0 -2px 4px rgba(0,0,0,.25); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 700 21px/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.brand__tag { font: 500 10.5px/1.4 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--graphite); margin-top: 3px; }
.masthead__nav { display: flex; align-items: center; gap: 22px; }
.masthead__link { font-size: 15px; color: var(--asphalt); text-decoration: none; }
.masthead__link:hover, .masthead__link[aria-current] { color: var(--copper-deep); }
.masthead__nav { margin-left: auto; }
.masthead__cta { margin-left: 4px; }

/* Breadcrumbs */
.crumbs { background: var(--sand); border-bottom: 1px solid var(--line); }
.crumbs__list { list-style: none; margin: 0; padding: 11px 0; display: flex; flex-wrap: wrap; font-size: 13.5px; color: var(--graphite); }
.crumbs__list li + li::before { content: '/'; margin: 0 8px; color: #a39c92; }
.crumbs__list a { color: var(--asphalt); text-decoration: none; }
.crumbs__list a:hover { text-decoration: underline; }

/* Hero */
.hero { background: linear-gradient(180deg, #fdfcfa 0%, #f8f5f0 100%); border-bottom: 1px solid var(--line); padding: 64px 0 52px; }
.hero--plain { padding: 56px 0 40px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 415px; gap: 72px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 6px; font: 700 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin: 0 0 14px; }
.eyebrow__icon { display: inline-flex; }
.hero__title { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.08; font-weight: 700; margin-bottom: 22px; }
.hero__title--profile { font-size: clamp(30px, 3.8vw, 42px); margin-bottom: 14px; }
.hero__lede { font-size: 17.5px; line-height: 1.68; color: #3a4252; margin: 0 0 22px; }
.hero--profile .rating { margin-bottom: 18px; }
.hero__art { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 415 / 332; }
.hero__art svg, .hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__label { position: absolute; left: 20px; bottom: 18px; font: 500 21px/1.2 var(--serif); color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }

/* Find (home search) */
.find { position: relative; max-width: 520px; }
.find__label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.find__input { width: 100%; font: 16px var(--sans); padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--asphalt); box-shadow: var(--shadow); }
.find__results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 4; }
.find__results a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-size: 15px; }
.find__results a:hover { background: var(--sand); }
.find__results span { color: var(--graphite); font-size: 13.5px; }

/* Stat strip */
.strip { background: var(--ink); color: #dfe4ee; }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 20px; }
.strip strong { display: block; font: 700 28px/1.1 var(--serif); color: #fff; }
.strip span { font-size: 13.5px; }

/* Chips & pills */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.chips--hero { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--sand); color: #444b58; text-decoration: none; border: 1px solid transparent; }
a.chip:hover { border-color: var(--sand-deep); color: var(--ink); }
.chip--soft { background: #f1ebe3; }
.chip__n { font-weight: 700; color: var(--copper-deep); }
.pill { font-size: 12px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill--ok { background: var(--sage); color: var(--fern); }

/* Rating */
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14.5px; margin-bottom: 10px; }
.stars { color: var(--ochre); letter-spacing: 1.5px; font-size: 13px; }
.stars__off { color: #d9d2c7; }
.rating__num { color: var(--ink); font-weight: 700; }
.rating__count { color: var(--graphite); margin-right: 4px; }
.rating__none { color: var(--graphite); font-style: italic; margin-right: 4px; }

/* Sections */
.section { padding: 64px 0; }
.section--tint { background: #f5f1eb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--flush { padding-top: 40px; }
.h2 { font-size: 31px; line-height: 1.15; font-weight: 700; margin-bottom: 8px; }
.h3 { font-size: 21px; line-height: 1.25; font-weight: 700; margin-bottom: 12px; }
.listhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 26px; }
.listhead p { margin: 0; }
.more { font-weight: 600; color: var(--copper-deep); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.empty { padding: 28px; text-align: center; color: var(--graphite); }

/* Featured slot banner */
.slot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 22px; background: var(--sandstone); border: 1.5px dashed #d5b48c; border-radius: 10px; padding: 18px 20px; margin: 0 0 44px; }
.slot__kicker { margin: 0; font: 700 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--copper-deep); }
.slot__text p { margin: 0; font-size: 14.5px; }
.slot__text .slot__title { font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.slot__link { font-weight: 700; color: var(--copper-deep); text-decoration: none; white-space: nowrap; }

/* Filter */
.filter input { width: 250px; font: 15px var(--sans); padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--asphalt); }

/* Grids */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* School card */
.scard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.scard--featured { border-color: var(--copper); box-shadow: 0 0 0 2px rgba(166,92,47,.18), var(--shadow); }
.scard__art { position: relative; display: block; margin: 2px 2px 0; border-radius: 10px 10px 8px 8px; overflow: hidden; aspect-ratio: 3 / 2; }
.scard__art svg, .scard__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.scard:hover .scard__art svg { transform: scale(1.025); }
.scard__badge { position: absolute; top: 11px; left: 11px; z-index: 1; font: 700 11.5px/1 var(--sans); color: #fff; background: rgba(17, 25, 40, .82); padding: 6px 8px; border-radius: 999px; }
.scard__badge--featured { background: var(--copper); letter-spacing: .04em; }
.scard__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.scard__title { font-size: 18px; line-height: 1.25; font-weight: 700; margin-bottom: 8px; }
.scard__title a { text-decoration: none; color: var(--ink); }
.scard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.scard__addr { font-size: 14.5px; color: var(--graphite); margin: 0 0 10px; }
.scard__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }

/* Area tiles */
.regionlist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.regionlist .arealist { margin: 0; }
.region + .region { margin-top: 34px; }
.region__name { font: 700 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); margin-bottom: 12px; }
.atile { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.atile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.atile__art { display: block; aspect-ratio: 32 / 15; }
.atile__art svg { width: 100%; height: 100%; }
.atile__body { padding: 12px 14px 14px; display: flex; flex-direction: column; }
.atile__name { font: 700 19px/1.2 var(--serif); color: var(--ink); }
.atile__meta { font-size: 13.5px; color: var(--graphite); }

/* Course tiles */
.ctile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); height: 100%; }
.ctile:hover { border-color: var(--copper); }
.ctile__icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; background: var(--sand); color: var(--copper-deep); display: grid; place-items: center; }
.ctile__name { font: 700 17px/1.2 var(--serif); color: var(--ink); }
.ctile__meta { font-size: 13px; color: var(--graphite); }
.panel--course { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: center; }
.panel--course p { margin: 0; }

/* Owner strip */
.owner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px 36px; box-shadow: var(--shadow); margin-bottom: 64px; }
.owner p:last-child { margin: 0; }
.owner__actions { display: flex; gap: 10px; }

/* Split + lists */
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
.near { list-style: none; margin: 0; padding: 0; }
.near__item { display: flex; flex-direction: column; padding: 11px 0; border-bottom: 1px solid var(--line); }
.near__item:last-child { border-bottom: 0; }
.near__name { font-weight: 600; text-decoration: none; }
.near__name:hover { text-decoration: underline; }
.near__meta { font-size: 13.5px; color: var(--graphite); }
.arealist { list-style: none; margin: 0 0 14px; padding: 0; }
.arealist li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.arealist a { font-weight: 600; text-decoration: none; }
.arealist span { color: var(--graphite); font-size: 14px; }
.arealist--plain li { justify-content: flex-start; }
.arearows { list-style: none; margin: 0; padding: 0; }
.arearow { display: grid; grid-template-columns: 180px 110px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.arearow__name { font: 700 18px/1.2 var(--serif); text-decoration: none; }
.arearow__n { color: var(--graphite); }
.arearow__top { color: var(--graphite); }

/* Panels / profile */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; padding-bottom: 64px; }
.profile__main > * + * { margin-top: 20px; }
.profile__side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.hero__art--mark { aspect-ratio: 13 / 10; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.facts__item { padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { font: 700 11.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.facts dd { margin: 2px 0 0; color: var(--asphalt); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-top: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--ink); width: 40%; }
.hours .is-closed td { color: var(--graphite); }
.bars { display: grid; gap: 7px; margin-bottom: 12px; }
.bars__row { display: grid; grid-template-columns: 30px 1fr 60px; gap: 10px; align-items: center; font-size: 14px; }
.bars__label { color: var(--graphite); }
.bars__track { height: 9px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.bars__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--ochre), var(--copper)); border-radius: 999px; }
.bars__n { text-align: right; color: var(--graphite); font-variant-numeric: tabular-nums; }
.contact, .claimbox { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 9px; }
.contact .h3 { margin-bottom: 4px; }
.contact__addr { margin: 6px 0 0; font-size: 14.5px; color: var(--graphite); }
.claimbox { background: var(--sandstone); border-style: dashed; border-color: #d5b48c; box-shadow: none; }
.claimbox p { margin: 0; font-size: 14.5px; }
.claimbox__title { font: 700 18px/1.2 var(--serif) !important; color: var(--ink); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 860px; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tier--accent { border-color: var(--copper); box-shadow: 0 0 0 2px rgba(166,92,47,.15), var(--shadow); }
.tier__name { font-size: 22px; }
.tier__price { font: 700 40px/1.1 var(--serif); color: var(--ink); margin: 10px 0 16px; }
.tier__price span { font: 500 15px var(--sans); color: var(--graphite); }
.tier__list { margin: 0 0 22px; padding-left: 18px; flex: 1; }
.tier__list li { margin-bottom: 7px; }
.faq { margin: 0; }
.faq__item { padding: 16px 0; border-top: 1px solid var(--line); }
.faq dt { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.faq dd { margin: 0; }

/* Forms */
.form { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); margin-bottom: 64px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: grid; gap: 5px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: 400 15.5px var(--sans); padding: 11px 13px; border: 1px solid #d8d0c5; border-radius: 9px; background: #fff; color: var(--asphalt); width: 100%; }
.form__hint { margin: -4px 0 0; font-size: 13.5px; color: var(--fern); background: var(--sage); padding: 8px 12px; border-radius: 8px; }
.form .btn { justify-self: start; }

/* Prose */
.prose { padding-bottom: 64px; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.formula { font: 600 15px/1.5 ui-monospace, 'SFMono-Regular', Menlo, monospace; background: var(--sand); padding: 12px 16px; border-radius: 10px; color: var(--ink); }

/* Footer */
.foot { background: #182338; color: #c9d0dc; padding: 56px 0 28px; }
.foot a { color: #e9edf4; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot__about p { font-size: 14.5px; margin-top: 14px; max-width: 320px; }
.brand--foot .brand__name { color: #fff; }
.foot__h { font: 700 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8e99ad; margin: 0 0 10px; }
.foot__h + .foot__list + .foot__h, .foot__list + .foot__h { margin-top: 18px; }
.foot__list { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.foot__list li { margin-bottom: 7px; }
.foot__small { margin-top: 40px; padding-top: 22px; border-top: 1px solid #2b3852; font-size: 13px; color: #9ba6b8; }
.foot__small p { margin-bottom: 8px; max-width: 900px; }
.foot__small strong { color: #d7dce5; }

/* Responsive */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__art { max-width: 560px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile { grid-template-columns: 1fr; }
  .profile__side { position: static; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .regionlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masthead__row { flex-wrap: wrap; gap: 0 16px; padding-top: 10px; }
  .masthead__cta { order: 2; }
  .masthead__nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 20px; padding: 10px 0 12px; }
  .masthead__link { font-size: 14.5px; white-space: nowrap; }
  .masthead { position: static; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 36px; }
  .grid3, .tiers, .form__row, .facts, .regionlist { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ctile { grid-template-columns: 1fr; }
  .ctile__icon { grid-row: auto; margin-bottom: 8px; }
  .listhead { flex-direction: column; align-items: stretch; }
  .filter input { width: 100%; }
  .slot { grid-template-columns: 1fr; }
  .strip__row { grid-template-columns: 1fr 1fr; }
  .owner { grid-template-columns: 1fr; padding: 24px; }
  .panel--course { grid-template-columns: 1fr; }
  .arearow { grid-template-columns: 1fr auto; }
  .arearow__top { grid-column: 1 / -1; }
  .brand__tag { display: none; }
  .section { padding: 44px 0; }
}
