/* Lake Tapps Home Team
   Waterfront resort brochure: stacked full-bleed photographs, calm white copy, sand and deep water. */

:root {
  --water: #1D4E5F;
  --water-deep: #163E4C;
  --sand: #E8DFCF;
  --sand-soft: #F5F0E7;
  --dock: #8A6A4F;
  --sunset: #E0A26F;
  --white: #FFFFFF;
  --ink: #1B3A45;
  --muted: #4E6770;
  --rule: rgba(29, 78, 95, 0.18);
  --rule-strong: rgba(29, 78, 95, 0.36);
  --focus: var(--water);

  --display: "Marcellus", "Cormorant Garamond", "Trajan Pro", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --wrap: 1240px;
  --measure: 64ch;
}

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

html {
  background: var(--white);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  body { font-size: 1.125rem; }
}

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

a { color: var(--water); text-decoration-thickness: 1px; text-underline-offset: 0.24em; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover { color: var(--dock); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark { --focus: var(--sunset); }

p, li, dd { hanging-punctuation: first last; text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--water);
  line-height: 1.14;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.25; }

p { margin: 0 0 1.05em; }

.tnum, .tel { font-variant-numeric: tabular-nums lining-nums; }

.sc {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--water); color: var(--white); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Masthead ---------- */

.masthead { position: relative; z-index: 20; background: var(--white); }

.masthead__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 26px 20px;
}

.masthead__place {
  margin: 0;
  color: var(--dock);
  font-size: 0.95rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.masthead__tel {
  justify-self: end;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--water);
}
.masthead__tel:hover { color: var(--dock); }

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--water);
  line-height: 1;
}
.wordmark:hover { color: var(--water); }
.wordmark__lake {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-right: -0.24em;
}
.wordmark__team {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 9px;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.46em;
  color: var(--dock);
}
.wordmark__team::before, .wordmark__team::after {
  content: ""; flex: 1 1 auto; height: 1px; background: currentColor; opacity: .55;
}
.wordmark__team span { margin-right: -0.46em; }

.site-nav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap;
  column-gap: clamp(22px, 3vw, 44px);
}
.site-nav a {
  display: block;
  padding: 15px 0 13px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink);
  box-shadow: inset 0 -2px 0 transparent;
}
.site-nav a:hover { color: var(--dock); }
.site-nav a[aria-current="page"] { color: var(--water); box-shadow: inset 0 -2px 0 var(--sunset); }
.site-nav__tel { display: none; }

.menu-btn { display: none; }

@media (max-width: 860px) {
  .masthead { border-bottom: 1px solid var(--rule); }
  .masthead__bar { grid-template-columns: 1fr auto; padding-block: 16px; }
  .masthead__place, .masthead__tel { display: none; }
  .wordmark { align-items: flex-start; }
  .wordmark__lake { font-size: 1.2rem; letter-spacing: 0.2em; }
  .wordmark__team { font-size: 0.74rem; letter-spacing: 0.4em; margin-top: 7px; }
  .wordmark__team::before { display: none; }

  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1px solid var(--rule-strong); color: var(--water);
    font: 500 0.88rem/1 var(--body); letter-spacing: 0.08em;
    padding: 11px 14px; cursor: pointer; border-radius: 0;
  }
  .menu-btn__lines { position: relative; width: 16px; height: 9px; }
  .menu-btn__lines::before, .menu-btn__lines::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .25s ease, top .25s ease;
  }
  .menu-btn__lines::before { top: 0; }
  .menu-btn__lines::after { top: 8px; }
  .masthead.is-open .menu-btn__lines::before { top: 4px; transform: rotate(45deg); }
  .masthead.is-open .menu-btn__lines::after { top: 4px; transform: rotate(-45deg); }

  .js .site-nav { display: none; }
  .js .masthead.is-open .site-nav { display: block; }
  .site-nav { border-bottom: 0; background: var(--white); }
  .site-nav ul { display: block; padding: 8px var(--gutter) 24px; }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a {
    padding: 16px 0 14px; font-family: var(--display); font-size: 1.45rem; font-weight: 400; letter-spacing: 0.01em;
    box-shadow: none;
  }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--dock); }
  .site-nav a[aria-current="page"]::after { content: "  ·  you are here"; font-family: var(--body); font-size: 0.8rem; font-variant-caps: all-small-caps; letter-spacing: .14em; color: var(--dock); }
  .site-nav__tel { display: block; border-bottom: 0 !important; padding-top: 18px; }
  .site-nav__tel a { font-family: var(--body); font-size: 1.05rem; font-weight: 500; color: var(--water); }
}

/* ---------- Stages: full-bleed photographs, each with one line on a sand band ---------- */

.stage {
  position: relative;
  overflow: hidden;
  height: clamp(520px, 88vh, 940px);
  background: var(--water-deep);
  isolation: isolate;
}
.stage img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  z-index: -1;
}

/* The band: a strip of sand laid across the photograph, with a hairline inset top and bottom.
   The photograph continues below it, so it reads as part of the page, not a caption. */
.stage__line, .stage__title {
  --band-rule: rgba(138, 106, 79, 0.42);
  position: absolute; left: 0; right: 0;
  bottom: clamp(64px, 13vh, 150px);
  margin: 0;
  text-align: center;
  color: var(--water);
  background:
    linear-gradient(var(--band-rule), var(--band-rule)) left 0 top 9px / 100% 1px no-repeat,
    linear-gradient(var(--band-rule), var(--band-rule)) left 0 bottom 9px / 100% 1px no-repeat,
    rgba(232, 223, 207, 0.94);
}
.stage__line {
  padding: clamp(30px, 3.2vw, 46px) max(var(--gutter), calc(50% - 16em));
  font-family: var(--display);
  font-size: clamp(1.3rem, 0.95rem + 1.3vw, 2.15rem);
  line-height: 1.3;
  text-wrap: balance;
}

.stage__title { padding: clamp(34px, 3.8vw, 58px) var(--gutter); }
.stage__title h1 {
  max-width: 18ch; margin: 0 auto;
  color: var(--water);
  font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
}
.stage__title p {
  margin: 16px auto 0;
  max-width: 54ch;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  line-height: 1.55;
  color: var(--ink);
}

.stage--hero { height: clamp(560px, calc(100svh - 132px), 980px); }
/* Page titles ride high, across the calm sky or ceiling, so the shore stays in view below. */
.stage__title { top: clamp(36px, 6.5vh, 72px); bottom: auto; padding-block: clamp(26px, 2.6vw, 38px) clamp(28px, 2.8vw, 40px); }
.stage__title h1 { max-width: none; font-size: clamp(2.1rem, 1.1rem + 3vw, 3.9rem); }
.stage__title p { margin-top: 12px; }
.stage--page { height: clamp(460px, 74vh, 800px); }
.stage--short { height: clamp(340px, 50vh, 520px); }
.stage--tall { height: clamp(560px, 96vh, 1020px); }

@media (prefers-reduced-motion: no-preference) {
  .stage--hero .stage__title { animation: settle 1.2s cubic-bezier(.2, .7, .2, 1) both .2s; }
  @keyframes settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .stage img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .stage { height: clamp(460px, 78svh, 660px); }
  .stage--hero { height: clamp(560px, 86svh, 760px); }
  .stage--page { height: clamp(460px, 72svh, 600px); }
  .stage--short { height: 340px; }
  .stage__line, .stage__title { bottom: 40px; }
  .stage__title { top: 28px; bottom: auto; }
  .stage__line { padding-block: 28px 27px; }
  .stage__title { padding-block: 30px 28px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 16px 30px 15px;
  background: var(--water); color: var(--white);
  border: 1px solid var(--water);
  font: 500 0.95rem/1.2 var(--body);
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}
.btn:hover { background: var(--dock); border-color: var(--dock); color: var(--white); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.78); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); color: var(--white); }
.stage .btn:focus-visible { outline-color: var(--sunset); }

.text-link { font-weight: 500; letter-spacing: 0.02em; }
.text-link::after { content: " \2192"; }

/* ---------- Section rhythm ---------- */

.band { padding-block: clamp(72px, 9vw, 128px); }
.band--xl { padding-block: clamp(96px, 13vw, 184px); }
.band--s { padding-block: clamp(48px, 6vw, 80px); }
.band--sand { background: var(--sand); }
.band--soft { background: var(--sand-soft); }
.band--water { background: var(--water); color: var(--sand); }
.band--water h2, .band--water h3 { color: var(--white); }
.band--water a { color: var(--white); }
.band--water a:hover { color: var(--sunset); }

.statement {
  max-width: 30ch; margin: 0 auto;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.05rem + 2vw, 2.6rem);
  line-height: 1.3;
  color: var(--water);
  text-wrap: balance;
}

.rule-ornament { display: block; width: 1px; height: 64px; margin: 0 auto; background: var(--rule-strong); }

.cols-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1040px; margin: clamp(48px, 6vw, 80px) auto 0;
}
.cols-2 p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.15rem, 1rem + 0.45vw, 1.35rem); line-height: 1.6; color: var(--ink); }

/* Chapters: heading column plus text column */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 96px);
  padding-block: clamp(52px, 6vw, 88px);
  border-top: 1px solid var(--rule);
}
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter__head h2 { font-size: clamp(1.7rem, 1.15rem + 1.6vw, 2.5rem); }
.chapter__head .sc { display: block; margin-bottom: 14px; color: var(--dock); font-size: 1rem; }
@media (min-width: 1024px) { .chapter__head { position: sticky; top: 32px; align-self: start; } }
.chapter__body { max-width: var(--measure); }
.chapter__body h3 { margin: 1.7em 0 0.55em; }
.chapter__body > :first-child { margin-top: 0; }
.chapter__body p:last-child { margin-bottom: 0; }

.prose { max-width: var(--measure); margin-inline: auto; }
.prose h2 { margin: 1.6em 0 0.55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5em 0 0.5em; }

.answer {
  font-size: clamp(1.12rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.62;
  color: var(--ink);
}

/* Ledger: ruled definition lists */
.ledger { margin: 0; border-top: 1px solid var(--rule-strong); }
.ledger__row {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
  gap: 12px clamp(24px, 4vw, 64px);
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.ledger dt { font-family: var(--display); font-size: 1.28rem; line-height: 1.3; color: var(--water); }
.ledger dd { margin: 0; }
.ledger--wide .ledger__row { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }

/* Photo with text beside it */
.pairing {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 104px); align-items: start;
}
.pairing--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.pairing--flip .pairing__photo { order: 2; }
.pairing__photo img { width: 100%; height: auto; }
.pairing__photo.pairing__photo--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 1024px) { .pairing__photo { position: sticky; top: 32px; } }

.plate { margin: 0; }
.plate img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.plate--wide img { aspect-ratio: 21 / 9; }

/* ---------- Home: overture ---------- */
.overture .prose { margin-top: clamp(44px, 5vw, 72px); max-width: 60ch; }
.overture .prose p:last-child { margin-bottom: 0; }

/* ---------- Home: the seasons band (a sideways strip with a water line through it) ---------- */
.tide {
  --pw: clamp(300px, 30vw, 450px);
  --ph: calc(var(--pw) * 1.08);
  --lead: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  background: var(--sand);
  padding-block: clamp(72px, 8vw, 120px) clamp(40px, 5vw, 72px);
}
.tide__strip {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--lead);
  scrollbar-width: thin;
  scrollbar-color: rgba(29, 78, 95, 0.5) transparent;
  padding-bottom: 30px;
}
.tide__strip:focus-visible { outline-offset: -4px; }
.tide__strip::-webkit-scrollbar { height: 3px; }
.tide__strip::-webkit-scrollbar-thumb { background: rgba(29, 78, 95, 0.5); }
.tide__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; }
.tide__panel { flex: 0 0 auto; width: var(--pw); scroll-snap-align: start; display: flex; flex-direction: column; }
.tide__panel--lead { width: calc(var(--pw) + var(--lead) - 14px); }
.tide__panel--lead .tide__intro, .tide__panel--lead .tide__text { margin-left: var(--lead); }
.tide__panel--end { width: calc(var(--pw) + var(--lead) - 14px); }
.tide__panel--end .tide__intro, .tide__panel--end .tide__text { margin-right: var(--lead); }

.tide__media, .tide__intro { height: var(--ph); margin: 0 14px; }
.tide__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.tide__intro { display: flex; flex-direction: column; justify-content: flex-end; padding-right: clamp(0px, 2vw, 28px); }
.tide__intro h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.06; }
.tide__intro p { margin: 22px 0 0; }
.tide__hint { color: var(--dock); font-size: 0.98rem; font-variant-caps: all-small-caps; letter-spacing: 0.16em; font-weight: 500; }
.tide__hint::after { content: "  \2192"; letter-spacing: 0; }

/* The gauge: one continuous line across all panels. Each panel draws its own stretch of it. */
.tide__gauge { position: relative; height: 92px; margin: 0; }
.tide__gauge svg { position: absolute; inset: 0; width: calc(100% + 1px); height: 100%; overflow: visible; }
.tide__gauge .water { fill: url(#tide-fill); }
.tide__gauge .line { fill: none; stroke: var(--water); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tide__mark {
  position: absolute; left: 50%; top: var(--y);
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: var(--sunset); box-shadow: 0 0 0 3px var(--sand);
}
.tide__mark span {
  position: absolute; left: 14px; top: 9px; white-space: nowrap;
  font-size: 0.95rem; color: var(--dock); font-variant-caps: all-small-caps; letter-spacing: 0.16em; font-weight: 500;
}

.tide__text { margin: 0 14px; padding: 8px clamp(0px, 1.2vw, 14px) 0 0; }
.tide__text h3 { font-size: clamp(1.7rem, 1.3rem + 0.9vw, 2.2rem); margin-bottom: 12px; }
.tide__text > p { font-size: 1rem; line-height: 1.62; }
.tide__advice { margin: 20px 0 0; border-top: 1px solid var(--rule-strong); }
.tide__advice div { padding: 14px 0 12px; border-bottom: 1px solid var(--rule); }
.tide__advice dt { color: var(--dock); font-size: 0.98rem; font-variant-caps: all-small-caps; letter-spacing: 0.16em; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.tide__advice dd { margin: 0; font-size: 0.98rem; line-height: 1.58; }
.tide__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.tide__links li { border-bottom: 1px solid var(--rule); }
.tide__links a { display: block; padding: 18px 0 16px; font-family: var(--display); font-size: 1.35rem; line-height: 1.3; text-decoration: none; }
.tide__links a::after { content: " \2192"; font-family: var(--body); color: var(--dock); }
.tide__note { font-size: 0.95rem; color: var(--muted); }

@media (max-width: 860px) {
  .tide { --pw: min(82vw, 400px); --ph: calc(var(--pw) * 1.12); }
  .tide__panel--lead, .tide__panel--end { width: calc(var(--pw) + var(--lead) - 14px); }
  .tide__gauge { height: 80px; }
}

/* ---------- Home: around the lake ---------- */
.shores { text-align: center; }
.shores__intro { max-width: 54ch; margin: 24px auto 0; }
.shores__list { list-style: none; margin: clamp(40px, 5vw, 72px) auto 0; padding: 0; max-width: 700px; }
.shores__list li { padding: 0; }
.shores__list li + li::before {
  content: ""; display: block; width: 1px; height: clamp(40px, 5vw, 56px); margin: 30px auto; background: var(--rule-strong);
}
.shores__list h3 { font-size: clamp(1.55rem, 1.2rem + 1vw, 2.05rem); }
.shores__list p { margin: 12px auto 0; max-width: 52ch; }

/* ---------- The desk: a quiet centered way to reach Austin ---------- */
.desk { text-align: center; padding-block: clamp(96px, 11vw, 168px); background: var(--sand-soft); }
.desk .rule-ornament { height: 64px; margin-bottom: 40px; background: var(--dock); opacity: 0.5; }
.desk__line { max-width: 60ch; margin: 0 auto; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.28rem); line-height: 1.55; color: var(--ink); text-wrap: balance; }
.desk__tel {
  display: inline-block; margin-top: 22px;
  font-family: var(--display); font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); line-height: 1.08;
  letter-spacing: 0.04em; color: var(--water); text-decoration: none;
  font-variant-numeric: lining-nums tabular-nums;
}
.desk__tel:hover { color: var(--dock); }
.desk__meta { margin: 26px auto 0; font-size: 1rem; color: var(--muted); font-variant-caps: all-small-caps; letter-spacing: 0.14em; line-height: 1.8; }
.desk__meta a { font-variant-caps: normal; letter-spacing: 0.01em; }
.desk__meta .sep { color: var(--dock); padding-inline: 0.6em; }

/* ---------- Contact blocks and forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-grid h2 { margin-bottom: 22px; }
.direct { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.direct li { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0 14px; border-bottom: 1px solid var(--rule); }
.direct .sc { color: var(--dock); font-size: 1rem; }
.direct a { text-decoration: none; font-weight: 500; }
.direct a:hover { text-decoration: underline; }
.big-tel { display: inline-block; margin-top: 8px; font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--water); text-decoration: none; letter-spacing: 0.02em; font-variant-numeric: lining-nums tabular-nums; }
.big-tel:hover { color: var(--dock); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em; color: var(--water); margin-bottom: 8px; padding: 0;
}
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  font: 400 1.05rem/1.4 var(--body);
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 10px 0 11px;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; border: 1px solid var(--rule-strong); padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 1px 0 0 var(--water); }
.field textarea:focus { box-shadow: 0 0 0 1px var(--water); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #A2482C; box-shadow: 0 1px 0 0 #A2482C; }

fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block; padding: 10px 16px 9px; border: 1px solid var(--rule-strong);
  font-size: 0.95rem; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.choice span:hover { border-color: var(--water); }
.choice input:checked + span { background: var(--water); border-color: var(--water); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--water); outline-offset: 3px; }

.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 6px; }
.form__foot p { margin: 0; font-size: 0.95rem; color: var(--muted); max-width: 40ch; }
.form__error { grid-column: 1 / -1; margin: 0; color: #A2482C; font-size: 0.95rem; min-height: 0; }
.form__error:empty { display: none; }

.thanks { padding: 36px 0 8px; border-top: 1px solid var(--rule-strong); }
.thanks h3 { font-size: 2rem; margin-bottom: 14px; }
.thanks:focus { outline: none; }

/* ---------- FAQ ---------- */
.faq { margin: 0; border-top: 1px solid var(--rule-strong); }
.faq__item { padding: 30px 0 26px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 5vw, 80px); }
.faq__item h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.faq__item p { margin: 0; }

/* ---------- About ---------- */
.portrait-panel { background: var(--white); padding: clamp(18px, 2vw, 28px); }
.portrait-panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.portrait-panel figcaption { margin-top: 16px; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.portrait-panel figcaption strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--water); }
.about-open { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 112px); align-items: start; }
.about-open h1 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); margin-bottom: 28px; line-height: 1.04; }
.dropcap::first-letter {
  float: left; font-family: var(--display); color: var(--dock);
  font-size: 4.6em; line-height: 0.82; padding: 0.06em 0.1em 0 0;
}
.signoff { font-family: var(--display); font-size: 1.5rem; color: var(--water); margin-top: 1.4em; }

/* ---------- Footer ---------- */
.site-foot { background: var(--water); color: var(--sand); padding-top: clamp(64px, 7vw, 104px); font-size: 0.98rem; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { color: var(--sunset); text-decoration: underline; }
.site-foot .wordmark { color: var(--white); align-items: flex-start; }
.site-foot .wordmark__team { color: var(--sunset); }
.site-foot .wordmark__team::before { display: none; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.foot-grid h2 { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--sunset); font-variant-caps: all-small-caps; letter-spacing: 0.16em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-brand p { margin: 20px 0 0; max-width: 34ch; color: rgba(232, 223, 207, 0.86); }
.foot-legal { border-top: 1px solid rgba(232, 223, 207, 0.24); padding-block: 28px 36px; font-size: 0.86rem; line-height: 1.6; color: rgba(232, 223, 207, 0.84); }
.foot-legal p { margin: 0 0 6px; max-width: 110ch; }
.foot-legal a { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .chapter { grid-template-columns: 1fr; }
  .pairing, .pairing--flip { grid-template-columns: 1fr; }
  .pairing--flip .pairing__photo { order: 0; }
  .pairing__photo.pairing__photo--tall img { aspect-ratio: 4 / 3; }
  .about-open { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .faq__item { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .cols-2 { grid-template-columns: 1fr; gap: 0; }
  .cols-2 p:last-child { margin-bottom: 1.05em; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-open { grid-template-columns: 1fr; }
  .about-open .portrait-panel { max-width: 420px; }
  .ledger__row, .ledger--wide .ledger__row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .direct li { grid-template-columns: 1fr; gap: 2px; }
  .pairing__photo.pairing__photo--tall img { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Art direction pass ---------- */
.band--cta { padding-block: clamp(80px, 9vw, 136px); }
.band--cta .rule-ornament { height: 56px; margin-bottom: 36px; background: var(--dock); opacity: .55; }

/* Breathing room between a subhead and the copy it introduces */
.pairing h3 + p, .prose h3 + p { margin-top: 0.45em; }

/* Q&A ledger: give the question enough measure to sit on one or two even lines */
.ledger--wide .ledger__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); }
.ledger--wide dt { font-size: 1.22rem; text-wrap: balance; }


@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .foot-brand, .foot-grid > div:nth-child(2) { grid-column: 1 / -1; }
}

/* ---------- Contact: the note ---------- */
.note__wrap { max-width: calc(700px + var(--gutter) * 2); }
.note h2 { text-align: center; }
.note__intro { text-align: center; max-width: 46ch; margin: 18px auto clamp(40px, 5vw, 64px); }
.note .form__foot { justify-content: center; text-align: center; flex-direction: column; margin-top: 18px; }
.note .form__foot p { max-width: none; }
.note .thanks { text-align: center; }

@media (max-width: 560px) {
  .desk__meta > * { display: block; }
  .desk__meta .sep { display: none; }
  .desk__meta a { display: block; width: fit-content; margin: 6px auto 0; }
}

/* Blog */

/* Navigation: Lake Notes marks itself on article pages, and seven items stay on one line down to the tablet break. */
.site-nav a[aria-current="true"] { color: var(--water); box-shadow: inset 0 -2px 0 var(--sunset); }
@media (min-width: 861px) and (max-width: 1000px) {
  .site-nav ul { column-gap: 20px; }
  .site-nav a { font-size: 0.86rem; letter-spacing: 0.03em; }
}
@media (max-width: 860px) {
  .site-nav a[aria-current="true"] { box-shadow: none; color: var(--dock); }
}

/* Shared blog details */
.note-meta {
  margin: 0;
  color: var(--dock);
  font-size: 0.98rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-variant-numeric: lining-nums;
}
.note-meta .sep { padding-inline: 0.55em; }

/* Blog index: the opener */
.notes-open { text-align: center; padding-block: clamp(72px, 9vw, 136px) clamp(64px, 8vw, 120px); }
.notes-open .rule-ornament { height: 56px; margin-bottom: 34px; background: var(--dock); opacity: 0.5; }
.notes-open h1 {
  font-size: clamp(3rem, 1.6rem + 5vw, 6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-right: -0.04em;
}
.notes-open__sub {
  max-width: 50ch; margin: 28px auto 0;
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.28rem); line-height: 1.6;
  text-wrap: balance;
}

/* Blog index: the featured note, a full-bleed stage with its title on the sand band */
.stage--note { height: clamp(520px, 84vh, 900px); }
.stage--note .stage__line { bottom: clamp(56px, 11vh, 132px); }
.stage__line a { color: var(--water); text-decoration: none; }
.stage__line a:hover { color: var(--dock); }
.stage__line a:focus-visible { outline-offset: 6px; }
.stage__line .note-meta { display: block; margin-top: 12px; font-family: var(--body); font-size: 1rem; }

.feature-note { padding-block: clamp(56px, 7vw, 104px) clamp(80px, 10vw, 152px); }
.feature-note__text { max-width: 62ch; margin: 0 auto; text-align: center; }
.feature-note__text p { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.28rem); line-height: 1.62; }
.feature-note__text .text-link { display: inline-block; margin-top: 10px; font-size: 1.02rem; }

/* Blog index: the rest, a ruled log with photographs */
.notes-log { background: var(--sand-soft); padding-block: clamp(80px, 10vw, 152px); }
.notes-log__title { text-align: center; margin-bottom: clamp(44px, 6vw, 88px); }
.notes-log__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.log-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.log-row__photo { display: block; overflow: hidden; }
.log-row__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.log-row__photo:hover img { transform: scale(1.025); }
.log-row h3 { font-size: clamp(1.55rem, 1.15rem + 1.2vw, 2.3rem); line-height: 1.16; }
.log-row h3 a { color: var(--water); text-decoration: none; }
.log-row h3 a:hover { color: var(--dock); }
.log-row p { margin: 16px 0 0; max-width: 52ch; }
.log-row .note-meta { margin-top: 18px; }

/* Article: the head */
.article-head { padding-block: clamp(36px, 4.5vw, 64px) clamp(48px, 6vw, 88px); text-align: center; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.crumbs li {
  font-size: 0.98rem; font-weight: 500; color: var(--muted);
  font-variant-caps: all-small-caps; letter-spacing: 0.14em;
}
.crumbs li + li::before { content: "\00B7"; color: var(--dock); padding-inline: 0.7em; }
.crumbs a { color: var(--dock); text-decoration: none; }
.crumbs a:hover { color: var(--water); text-decoration: underline; }
.article-head h1 {
  max-width: 20ch; margin: clamp(26px, 3vw, 40px) auto 0;
  font-size: clamp(2.3rem, 1.25rem + 3.6vw, 4.3rem);
  line-height: 1.06;
}

/* The answer, set on the same sand band the photographs carry */
.article-lead {
  --band-rule: rgba(138, 106, 79, 0.42);
  max-width: 820px; margin: clamp(36px, 4vw, 56px) auto 0;
  padding: clamp(30px, 3.4vw, 46px) clamp(22px, 4.4vw, 60px);
  background:
    linear-gradient(var(--band-rule), var(--band-rule)) left 0 top 9px / 100% 1px no-repeat,
    linear-gradient(var(--band-rule), var(--band-rule)) left 0 bottom 9px / 100% 1px no-repeat,
    var(--sand);
  text-align: left;
}
.article-lead p {
  margin: 0;
  font-size: clamp(1.14rem, 1rem + 0.5vw, 1.36rem);
  line-height: 1.6;
  color: var(--ink);
}

.byline {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: clamp(28px, 3vw, 40px); text-align: left;
}
.byline img {
  flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%;
  object-fit: cover; object-position: 50% 20%;
  background: var(--white); box-shadow: 0 0 0 1px var(--rule);
}
.byline p { margin: 0; font-size: 1rem; line-height: 1.45; }
.byline__name { color: var(--water); font-weight: 500; }
.byline .note-meta { margin-top: 3px; font-size: 0.95rem; }

/* Article: the photograph */
.article-photo { margin: 0 auto; max-width: calc(var(--wrap) + var(--gutter) * 2); padding-inline: var(--gutter); }
.article-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Article: the body */
.article-body { padding-block: clamp(64px, 8vw, 120px) clamp(72px, 9vw, 128px); }
.article-body .prose { max-width: 66ch; }
.article-body h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.25vw, 2.25rem);
  margin: 1.9em 0 0.6em;
  line-height: 1.18;
}
.article-body h2:first-child { margin-top: 0; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.5em; padding-left: 0.2em; }
.article-body ul li::marker { color: var(--dock); }
.article-body ol li::marker { color: var(--dock); font-family: var(--display); }
.article-body strong { font-weight: 600; color: var(--water); }

.table-scroll { overflow-x: auto; margin: 1.6em 0 1.8em; border-top: 1px solid var(--rule-strong); }
.table-scroll:focus-visible { outline-offset: 2px; }
.table-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.96rem; line-height: 1.5; }
.table-scroll th {
  text-align: left; vertical-align: bottom;
  padding: 14px 18px 10px 0;
  color: var(--dock); font-weight: 600;
  font-variant-caps: all-small-caps; letter-spacing: 0.12em; font-size: 1rem;
  border-bottom: 1px solid var(--rule-strong);
}
.table-scroll td { vertical-align: top; padding: 14px 18px 13px 0; border-bottom: 1px solid var(--rule); }
.table-scroll td:first-child { font-family: var(--display); color: var(--water); font-size: 1.08rem; width: 24%; }

/* Article: questions */
.article-faq { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--rule); }
.article-faq h2 { margin-bottom: clamp(28px, 3.5vw, 48px); font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem); }

/* Article: the closing note to Austin */
.desk--note .desk__line { max-width: 58ch; text-wrap: balance; font-size: clamp(1.12rem, 1rem + 0.4vw, 1.32rem); line-height: 1.62; }

/* Article: related notes */
.related { background: var(--sand); padding-block: clamp(72px, 9vw, 128px); }
.related__title { text-align: center; margin-bottom: clamp(40px, 5vw, 72px); font-size: clamp(1.8rem, 1.25rem + 1.8vw, 2.7rem); }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); }
.related__list a.related__photo { display: block; overflow: hidden; }
.related__list img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.related__list a.related__photo:hover img { transform: scale(1.025); }
.related__list h3 { margin-top: 24px; font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.9rem); }
.related__list h3 a { color: var(--water); text-decoration: none; }
.related__list h3 a:hover { color: var(--dock); }
.related__list p { margin: 12px 0 0; }
.related__list .note-meta { margin-top: 14px; }

@media (max-width: 860px) {
  .log-row { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .related__list { grid-template-columns: 1fr; }
  .article-photo img { aspect-ratio: 3 / 2; }
  .stage--note { height: clamp(480px, 76svh, 640px); }
  .stage--note .stage__line { bottom: 40px; }
}
@media (max-width: 560px) {
  .article-head h1 { text-align: left; margin-inline: 0; }
  .crumbs ol { justify-content: flex-start; }
  .article-head { text-align: left; }
  .byline { justify-content: flex-start; }
  .article-photo { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .log-row__photo:hover img, .related__list a.related__photo:hover img { transform: none; }
}
.article-faq .wrap { max-width: calc(1080px + var(--gutter) * 2); }
@media (max-width: 560px) {
  .crumbs li[aria-current="page"] { display: none; }
}

/* Blog pass 2: the closing desk follows the log on the same sand, so it doesn’t need its own top margin. */
.notes-log + .desk { padding-top: 0; }
