/* =========================================================
   The Curated Table — Phase 1 Scaffolding Styles
   ---------------------------------------------------------
   Structural layout only. No Coastal Noir brand styling yet.
   Placeholders are intentionally loud and ugly so the client
   cannot mistake this for a finished site.
   ========================================================= */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Lora", Georgia, serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Typography (Phase 1: just the fonts called out in spec) ---------- */
.wordmark,
.footer-wordmark {
  font-family: "Gloock", Georgia, serif;
  font-weight: 400;
}
.subtitle,
.footer-subtitle {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-variant: small-caps;
  letter-spacing: 0.15em;
}
.tagline {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #ddd;
  padding: 1rem 1.5rem;
}
.nav-toggle { display: none; }
.nav-hamburger { display: none; }
.nav-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Mobile nav (hamburger via checkbox hack) */
@media (max-width: 700px) {
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 20px;
    cursor: pointer;
    margin-left: auto;
  }
  .nav-hamburger span {
    display: block;
    height: 3px;
    background: #222;
    border-radius: 2px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }
  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }
}

/* ---------- Section shared ---------- */
section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
section h2 {
  font-family: "Gloock", Georgia, serif;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
}

/* ---------- Hero ----------
   Single full-width section. Placeholder fills the background; the
   wordmark/subtitle/tagline sits centered (H + V) on top. The dark
   overlay used for real photography is deferred to Phase 2, so text
   colour here is dark to stay readable against the yellow placeholder.
*/
.hero {
  position: relative;
  height: 75vh;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #111;
}
/* Use descendant selectors so these overrides outrank the generic
   .placeholder-image rule at the bottom of the file (which otherwise
   forces position:relative and flex flow, producing a two-column hero). */
.hero .hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
}
/* Keep the placeholder label visible but out of the way of the centered
   hero text — pin it to the bottom-right corner. Phase 2 deletes this. */
.hero .hero-placeholder-label {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  max-width: calc(100% - 2rem);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
}
.wordmark {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin: 0;
  line-height: 1.1;
}
.hairline {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  width: 120px;
  margin: 1.5rem auto;
}
.subtitle {
  font-size: 0.9rem;
  margin: 0 0 1.5rem 0;
}
.tagline {
  font-size: 1.25rem;
  margin: 0;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-photo {
  aspect-ratio: 3 / 4;
  width: 100%;
}
.about-text p {
  font-size: 1.1rem;
}
@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.services-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ---------- Signature Experience ---------- */
.experience {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 6rem 1.5rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.experience-bg {
  position: absolute;
  inset: 0;
}
.experience-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.experience-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.experience-content h2 {
  color: #fff;
}
.experience .lorem {
  font-size: 1.05rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-tile {
  aspect-ratio: 1 / 1;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid #eee;
  background: #fafafa;
}
.testimonial blockquote {
  margin: 0 0 1rem 0;
  font-style: italic;
}
.testimonial figcaption {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
@media (max-width: 800px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-content {
  text-align: center;
}
.contact-email {
  font-size: 1.25rem;
  font-family: "Instrument Sans", Arial, sans-serif;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #111;
  color: #eee;
  padding: 3rem 1.5rem;
  text-align: center;
}
.footer-wordmark {
  font-size: 1.5rem;
  margin: 0;
}
.footer-subtitle {
  font-size: 0.8rem;
  margin: 0.5rem 0 1.5rem 0;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  text-decoration: none;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.copyright {
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 0;
}

/* =========================================================
   LOUD PLACEHOLDER STYLES
   Remove or override in Phase 2 once real assets arrive.
   ========================================================= */

/* Missing photo — yellow dashed box */
.placeholder-image {
  background:
    repeating-linear-gradient(
      45deg,
      #fff4a3,
      #fff4a3 12px,
      #ffe14a 12px,
      #ffe14a 24px
    );
  border: 3px dashed #d4a017;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 200px;
}
.placeholder-label {
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  font-weight: bold;
  color: #000;
  background: #ffeb3b;
  border: 2px solid #000;
  padding: 0.4rem 0.75rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 90%;
}

/* Draft copy flag (copy we have but still needs review) */
.draft-flag {
  display: inline-block;
  background: #ffa726;
  color: #000;
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.35rem 0.6rem;
  margin-bottom: 0.75rem;
  border: 2px solid #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Missing copy flag — red */
.placeholder-flag {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.75rem;
  border: 2px solid #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lorem ipsum text — styled so it cannot be mistaken for real copy */
.lorem {
  background: rgba(229, 57, 53, 0.15);
  border-left: 4px solid #e53935;
  padding: 0.75rem 1rem;
  font-style: italic;
  text-align: left;
}
