/* TDY Place — site stylesheet
   Design tokens lifted from the WordPress theme `tdyplace` (2026-07-30).
   Palette and type reproduce the original; layout is rebuilt clean. */

:root {
  --navy:        #0B2949;   /* headings, logo shield */
  --navy-deep:   #011E3B;   /* header band, footer */
  --maroon:      #880927;   /* primary CTA */
  --maroon-dark: #6d0720;
  --ink:         #333333;   /* body text */
  --ink-soft:    #444444;
  --muted:       #767676;   /* dividers, meta */
  --muted-light: #AAAAAA;   /* section eyebrow labels */
  --rule:        #dcdcdc;
  --bg:          #ffffff;
  --bg-alt:      #f6f7f9;

  --serif: Georgia, "Times New Roman", serif;
  --sans:  "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gap: 1.5rem;
}

*, *::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.6;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 { font-family: var(--serif); color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.5rem; font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 400; }

h4, h5, h6 { font-family: var(--sans); margin: 0 0 .6em; }
h4 { font-size: 1rem; font-weight: 700; color: var(--navy); }
h5 { font-size: 1rem; font-weight: 700; color: var(--muted-light); }
h6 { font-size: .875rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .04em; }

p { margin: 0 0 1.1em; }
a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
  color: #fff;
  background: var(--maroon);
  border: 0;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--maroon-dark); color: #fff; }
.btn--grey { background: linear-gradient(#8f8f8f, #6f6f6f); }
.btn--grey:hover { background: linear-gradient(#7f7f7f, #5f5f5f); }
.btn--block { display: block; width: 100%; text-align: center; margin-bottom: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 0 var(--gap);
}
/* The logo PNG already is the shield: navy panel, crest, wordmark and the
   notched base. It needs no wrapper, no background and no repeated text --
   drawing a second shield around it produced a shield inside a shield. */
.shield { width: 124px; flex: 0 0 124px; display: block; line-height: 0; }
.shield img { width: 100%; height: auto; display: block; }

.site-nav { display: flex; align-items: stretch; gap: 1.4rem; padding-top: 1.9rem; }
.site-nav a {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; color: #fff; text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  align-self: center;
}
.site-nav a:hover { color: #fff; opacity: .8; }
.site-nav .btn { align-self: stretch; display: flex; align-items: center; text-shadow: none; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 480px; display: flex; align-items: center; background: var(--navy-deep) center/cover no-repeat; }
.hero--tall { min-height: 620px; }
.hero__panel { background: rgba(255,255,255,.78); padding: 2rem 2.25rem; max-width: 640px; margin-left: 6%; }
.hero__panel h1, .hero__panel h2 { margin-bottom: .5rem; }
.hero__panel p { color: var(--ink); }

/* ---------- Section divider (eyebrow with rules) ---------- */
.divider { display: flex; align-items: center; gap: 1.5rem; margin: 3rem 0 2rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.divider h5 { margin: 0; white-space: nowrap; font-style: italic; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding: 3.5rem 0 1rem; }
.step { text-align: center; }
.step__num {
  width: 58px; height: 58px; margin: 0 auto 1.25rem;
  border: 3px solid var(--navy); border-radius: 50%;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 1rem; }

/* ---------- Cards / property grid ---------- */
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { border: 1px solid var(--rule); background: #fff; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 1.25rem; }
.card__body h3 { margin-bottom: .35rem; }
.card__meta { font-size: .875rem; color: var(--muted); margin-bottom: .9rem; }

/* ---------- Property page ---------- */
.prop-facts { text-align: center; max-width: 900px; margin: 0 auto; }
.prop-facts h3 { margin-bottom: .75rem; }
.prop-facts .fact { font-style: italic; font-weight: 700; margin-bottom: .5rem; }
.prop-facts .desc { font-style: italic; color: var(--ink-soft); margin: 1.5rem 0 2rem; }
.amenities { list-style: disc; columns: 4; column-gap: 2rem; padding-left: 1.25rem; margin: 0 0 1rem; }
.amenities li { font-size: .95rem; margin-bottom: .4rem; break-inside: avoid; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 2.5rem; }
.gallery img { aspect-ratio: 1; object-fit: cover; }

/* ---------- Prose (page sections from ACF) ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h1 { margin-top: 2rem; }
.prose h5 { color: var(--navy); font-size: 1.1rem; margin-top: 2.5rem; }
.prose .toc { background: var(--bg-alt); padding: 1.25rem 1.5rem; border-left: 3px solid var(--navy); }
.prose .toc h6 { color: var(--navy); text-transform: none; font-size: 1rem; margin-bottom: .5rem; }
.prose .question { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
.prose .answer { color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form { max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .8rem; font: inherit; font-size: .95rem;
  border: 1px solid #c9ced6; background: #fff; border-radius: 2px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field--inline { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.field--inline label { font-weight: 400; }
.required { color: var(--maroon); }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-alt); text-align: center; padding: 3.5rem var(--gap); margin-top: 4rem; }
.cta-band h2 { margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #cfd6e0; padding: 3rem var(--gap) 2rem; }
.site-footer a { color: #cfd6e0; text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: var(--wrap); margin: 0 auto; }
.footer-legal { max-width: var(--wrap); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps, .grid--3, .grid--4, .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .amenities { columns: 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero__panel { margin: 0 var(--gap); }
}
@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  .steps, .grid--2, .grid--3, .grid--4, .footer-cols { grid-template-columns: 1fr; }
  .amenities { columns: 1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; right: var(--gap); background: var(--navy-deep); padding: 1rem 1.5rem; gap: .9rem; }
  .nav-toggle { display: block; margin: 1.9rem 0 0 auto; }
  .hero { min-height: 380px; }
}

/* ---------- Homepage feature strip ----------
   The WordPress theme rotated these five panels in a carousel. Stacked
   instead: nothing is hidden behind a control, and every message is
   crawlable. Alternating sides keeps the rhythm the carousel gave. */
.features { padding: 1rem 0 2rem; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
}
.feature:nth-child(even) .feature__img { order: 2; }
.feature__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature__body h2 { margin-bottom: .75rem; }

@media (max-width: 780px) {
  .feature { grid-template-columns: 1fr; gap: 1.25rem; }
  .feature:nth-child(even) .feature__img { order: 0; }
}

/* ---------- Regulatory pages ---------- */
.reviewed {
  font-size: .82rem; color: var(--muted); font-style: italic;
  border-left: 3px solid var(--rule); padding-left: .9rem; margin-bottom: 2rem;
}
.callout {
  background: var(--bg-alt); border-left: 4px solid var(--navy);
  padding: 1.25rem 1.5rem; margin: 2rem 0;
}
.callout h4 { margin-bottom: .5rem; }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: var(--maroon); background: #fdf4f6; }
.callout--warn h4 { color: var(--maroon); }
.doclist { list-style: none; padding: 0; }
.doclist li { border-bottom: 1px solid var(--rule); padding: .7rem 0; }
.doc-meta {
  font-size: .7rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; margin-left: .5rem;
}
.disclaimer {
  font-size: .85rem; color: var(--muted); border-top: 1px solid var(--rule);
  padding-top: 1.25rem; margin-top: 2.5rem;
}
.prose ol { padding-left: 1.3rem; }
.prose ol li, .prose ul li { margin-bottom: .55rem; }

/* ---------- Blog index ---------- */
.post-item { border-top: 1px solid var(--rule); padding: 1.5rem 0; }
.post-item h3 { margin-bottom: .25rem; }
.post-item h3 a { color: var(--navy); text-decoration: none; }
.post-item h3 a:hover { color: var(--maroon); }
.post-item .card__meta { margin-bottom: .5rem; }
