/* Toe Hanger — Lowcountry putter atelier. System faces only. */
:root {
  --th-tide: #163a5f;
  --th-tide-deep: #0c243c;
  --th-tide-bright: #2a5f8c;
  --th-oyster: #f3ece0;
  --th-oyster-warm: #e8decc;
  --th-pearl: #faf6ee;
  --th-brass: #c4a15a;
  --th-brass-deep: #8a6e32;
  --th-dock: #1c1a18;
  --th-dock-soft: #3a3530;
  --th-ink: #1e1c18;
  --th-ink-mute: #5c554a;
  --th-salt: #8a8376;
  --th-foam: #fffdf8;
  --th-display: Didot, Bodoni, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --th-body: "Avenir Next", "Gill Sans", "Gill Sans MT", system-ui, sans-serif;
  --th-max: 1180px;
  --th-gutter: 22px;
  --th-shadow: 0 22px 48px -28px rgba(12, 36, 60, 0.55);
}

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

html { scroll-behavior: smooth; }

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

body.th-body {
  background:
    radial-gradient(900px 420px at 92% -8%, rgba(22, 58, 95, 0.14), transparent 58%),
    radial-gradient(700px 380px at 0% 18%, rgba(196, 161, 90, 0.10), transparent 50%),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 41px,
      rgba(22, 58, 95, 0.035) 41px,
      rgba(22, 58, 95, 0.035) 42px
    ),
    var(--th-oyster);
  color: var(--th-ink);
  font-family: var(--th-body);
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0.005em;
}

body.th-locked { overflow: hidden; }

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

a {
  color: var(--th-tide-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--th-brass-deep); }

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

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

p { margin: 0 0 1em; }

.th-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--th-brass);
  color: var(--th-dock);
  padding: 0.5rem 0.9rem;
  z-index: 80;
}

.th-skip:focus { left: 12px; }

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

.th-tide {
  background: var(--th-tide-deep);
  color: var(--th-oyster);
  overflow: hidden;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--th-brass);
}

.th-tide__drift {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  white-space: nowrap;
  padding: 0.45rem 1.2rem;
  animation: th-drift 36s linear infinite;
}

.th-tide__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--th-brass);
  display: inline-block;
}

@keyframes th-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-42%); }
}

@media (prefers-reduced-motion: reduce) {
  .th-tide__drift { animation: none; }
}

.th-mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 236, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(22, 58, 95, 0.12);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.th-mast.is-stuck {
  background: rgba(250, 246, 238, 0.97);
  box-shadow: var(--th-shadow);
}

.th-mast__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.55rem;
}

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

.th-mark__glyph {
  color: var(--th-tide);
  display: grid;
  place-items: center;
  width: 58px;
  height: 42px;
  border: 1px solid var(--th-brass);
  background: var(--th-pearl);
}

.th-mark__name {
  display: block;
  font-family: var(--th-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.th-mark__place {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--th-ink-mute);
  margin-top: 0.22rem;
}

.th-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--th-tide);
  background: transparent;
  padding: 10px 11px;
  cursor: pointer;
}

.th-toggle span {
  display: block;
  height: 2px;
  background: var(--th-tide);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.th-slate {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.th-slate__list {
  display: flex;
  gap: 0.15rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.th-slate__list a {
  color: var(--th-dock-soft);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.th-slate__list a:hover,
.th-slate__list li.is-here a {
  color: var(--th-tide);
  text-decoration: underline;
  text-decoration-color: var(--th-brass);
}

.th-hold,
.th-push {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--th-tide);
  color: var(--th-pearl);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--th-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.78rem 1.2rem;
  box-shadow: inset 0 -3px 0 var(--th-brass);
}

.th-hold:hover,
.th-push:hover {
  background: var(--th-tide-deep);
  color: var(--th-pearl);
}

.th-push--ghost {
  background: transparent;
  color: var(--th-tide);
  box-shadow: inset 0 0 0 1px var(--th-tide);
}

.th-push--ghost:hover {
  background: var(--th-tide);
  color: var(--th-pearl);
}

.th-push--block { width: 100%; }

.th-deck { min-height: 52vh; }

.th-hero {
  position: relative;
  background:
    linear-gradient(115deg, var(--th-tide-deep) 0%, var(--th-tide) 58%, #1f4a72 100%);
  color: var(--th-pearl);
  overflow: hidden;
  padding: 3.2rem 0 4.2rem;
}

.th-hero::before {
  content: "";
  position: absolute;
  left: 7%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--th-brass), transparent);
}

.th-hero h1 { color: var(--th-pearl); }

.th-hero__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.25fr;
  gap: 2.2rem;
  align-items: center;
}

.th-hero__copy { order: 2; }

.th-hero__gauge { order: 1; }

.th-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--th-brass);
  margin: 0 0 0.7rem;
}

.th-hero .th-lede { color: rgba(243, 236, 224, 0.88); max-width: 38rem; }

.th-lede {
  font-size: 1.08rem;
  color: var(--th-ink-mute);
  max-width: 40rem;
}

.th-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.th-hero .th-push { background: var(--th-brass); color: var(--th-dock); box-shadow: none; }
.th-hero .th-push:hover { background: #d4b56a; color: var(--th-dock); }
.th-hero .th-push--ghost { background: transparent; color: var(--th-pearl); box-shadow: inset 0 0 0 1px rgba(243, 236, 224, 0.55); }
.th-hero .th-push--ghost:hover { background: var(--th-pearl); color: var(--th-tide); }

.th-gauge {
  width: min(100%, 340px);
  margin: 0 auto;
}

.th-degrees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.th-degrees article {
  border-top: 2px solid var(--th-brass);
  padding-top: 0.55rem;
}

.th-degrees b {
  display: block;
  font-family: var(--th-display);
  font-size: 1.55rem;
  color: var(--th-pearl);
}

.th-degrees span {
  font-size: 0.78rem;
  color: rgba(243, 236, 224, 0.75);
}

.th-dock {
  padding: 3.4rem 0;
}

.th-dock--tide {
  background: var(--th-tide);
  color: var(--th-pearl);
}

.th-dock--tide h2,
.th-dock--tide h3 { color: var(--th-pearl); }

.th-dock--tide .th-kicker { color: var(--th-brass); }

.th-dock--warm {
  background: var(--th-oyster-warm);
}

.th-dock--pearl {
  background: var(--th-pearl);
}

.th-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.4rem;
  align-items: start;
}

.th-split--flip { grid-template-columns: 1.15fr 0.85fr; }

.th-split--three {
  grid-template-columns: repeat(3, 1fr);
}

.th-offset {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 2rem;
}

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

.th-rise.is-up {
  opacity: 1;
  transform: none;
}

.th-card {
  background: var(--th-pearl);
  border: 1px solid rgba(22, 58, 95, 0.12);
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: var(--th-shadow);
}

.th-card--brass {
  background: var(--th-tide-deep);
  color: var(--th-pearl);
  border-color: var(--th-brass);
}

.th-card--brass h2,
.th-card--brass h3 { color: var(--th-pearl); }

.th-price {
  font-family: var(--th-display);
  font-size: 2rem;
  color: var(--th-tide);
  margin: 0.2rem 0 0.6rem;
}

.th-card--brass .th-price { color: var(--th-brass); }

.th-check,
.th-clock,
.th-foot__links,
.th-foot__chips {
  list-style: none;
  margin: 0;
  padding: 0;
}

.th-check li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
}

.th-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 10px;
  height: 2px;
  background: var(--th-brass);
}

.th-faq {
  border-top: 1px solid rgba(22, 58, 95, 0.14);
}

.th-faq details {
  border-bottom: 1px solid rgba(22, 58, 95, 0.14);
  padding: 0.9rem 0;
}

.th-faq summary {
  cursor: pointer;
  font-family: var(--th-display);
  font-size: 1.18rem;
  color: var(--th-tide-deep);
  list-style: none;
}

.th-faq summary::-webkit-details-marker { display: none; }

.th-faq summary::after {
  content: "hang";
  float: right;
  font-family: var(--th-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--th-brass-deep);
  margin-top: 0.45rem;
}

.th-faq p { margin-top: 0.7rem; color: var(--th-ink-mute); }

.th-quote {
  margin: 0;
  padding: 1.4rem 1.3rem 1.1rem;
  background: var(--th-pearl);
  border-left: 4px solid var(--th-brass);
}

.th-quote p {
  font-family: var(--th-display);
  font-size: 1.22rem;
  line-height: 1.4;
  color: var(--th-tide-deep);
}

.th-quote footer {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--th-ink-mute);
}

.th-form {
  background: var(--th-pearl);
  padding: 1.5rem;
  border: 1px solid rgba(22, 58, 95, 0.12);
}

.th-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

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

.th-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
  color: var(--th-tide);
}

.th-field input,
.th-field select,
.th-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(22, 58, 95, 0.28);
  background: var(--th-foam);
  color: var(--th-ink);
}

.th-field input:focus,
.th-field select:focus,
.th-field textarea:focus {
  outline: 2px solid var(--th-brass);
  border-color: var(--th-tide);
}

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

.th-locate {
  position: relative;
  height: 180px;
  background:
    radial-gradient(circle at 62% 48%, var(--th-brass) 0 7px, transparent 8px),
    linear-gradient(135deg, #c9d6c4 0%, #9eb6b0 45%, #6e8aa0 100%);
  border: 1px solid rgba(22, 58, 95, 0.18);
}

.th-locate__label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  background: var(--th-pearl);
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
}

.th-folio {
  padding: 2.6rem 0 1.4rem;
}

.th-folio h1 { max-width: 18ch; }

.th-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.th-smiths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.th-smith {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--th-pearl);
  padding: 1.1rem;
  border: 1px solid rgba(22, 58, 95, 0.1);
}

.th-smith__face {
  width: 92px;
  height: 108px;
  background: var(--th-tide);
  color: var(--th-brass);
  display: grid;
  place-items: center;
}

.th-notes {
  display: grid;
  gap: 1rem;
}

.th-note {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(22, 58, 95, 0.12);
}

.th-note time {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--th-brass-deep);
}

.th-lost {
  padding: 5rem 0 6rem;
  text-align: left;
}

.th-lost__code {
  font-family: var(--th-display);
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--th-brass-deep);
}

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

.th-clock li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.22rem 0;
  border-bottom: 1px dotted rgba(243, 236, 224, 0.18);
}

.th-foot {
  background: var(--th-dock);
  color: var(--th-oyster);
  padding-top: 0;
}

.th-foot a { color: var(--th-brass); }
.th-foot a:hover { color: var(--th-pearl); }

.th-foot h2 {
  color: var(--th-pearl);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--th-body);
  font-weight: 600;
}

.th-foot__rail {
  height: 6px;
  background: linear-gradient(90deg, var(--th-brass-deep), var(--th-brass), var(--th-brass-deep));
}

.th-foot__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr;
  gap: 2rem;
  padding: 2.6rem 0 2.2rem;
}

.th-foot__name {
  font-family: var(--th-display);
  font-size: 1.8rem;
  color: var(--th-pearl);
  margin: 0 0 0.6rem;
}

.th-foot__chips li {
  display: inline-block;
  margin: 0 0.4rem 0.4rem 0;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(196, 161, 90, 0.45);
  font-size: 0.75rem;
}

.th-foot address { font-style: normal; margin-bottom: 0.7rem; }

.th-foot__links li { margin-bottom: 0.35rem; }
.th-foot__links a { text-decoration: none; font-size: 0.92rem; }

.th-foot__keel {
  border-top: 1px solid rgba(243, 236, 224, 0.12);
  padding: 0.9rem 0 1.2rem;
  font-size: 0.8rem;
  color: var(--th-salt);
}

.th-foot__keel-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.th-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.th-table th,
.th-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(22, 58, 95, 0.12);
}

.th-table th {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--th-tide);
}

@media (max-width: 1120px) {
  .th-toggle { display: block; }

  .th-slate {
    position: fixed;
    inset: 118px 0 0 0;
    background: var(--th-pearl);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1.4rem 2rem;
    transform: translateX(110%);
    transition: transform 0.28s ease;
    overflow: auto;
    z-index: 35;
  }

  .th-slate.is-open { transform: none; }

  .th-slate__list {
    flex-direction: column;
    gap: 0.85rem;
  }

  .th-slate__list a { font-size: 1.05rem; }
}

@media (max-width: 860px) {
  .th-hero__grid,
  .th-split,
  .th-split--flip,
  .th-split--three,
  .th-offset,
  .th-fields,
  .th-menu,
  .th-smiths,
  .th-note,
  .th-foot__grid {
    grid-template-columns: 1fr;
  }

  .th-hero__copy { order: 1; }
  .th-hero__gauge { order: 2; }

  .th-degrees { grid-template-columns: 1fr 1fr; }

  .th-smith { grid-template-columns: 72px 1fr; }

  .th-hero::before { display: none; }

  h1 { font-size: clamp(2rem, 9vw, 3rem); }
}

@media (max-width: 520px) {
  .th-degrees { grid-template-columns: 1fr; }
  .th-mark__place { display: none; }
}
