/* ============================================================
   TALLY & PROOF: styles
   Edit colors and fonts in the :root block below.
   ============================================================ */

:root {
  /* --- Colors --- */
  --charcoal:   #23272F;  /* top bar, buttons, footer */
  --bg:         #E9E3DC;  /* page background (warm greige) */
  --ink:        #1F1D1B;  /* headlines */
  --body:       #5A5550;  /* body / summary text */
  --accent:     #7A1F35;  /* burgundy: labels and links */
  --accent-2:   #1E5E63;  /* teal: active nav, hovers */
  --rule:       #CFC6BC;  /* 1px dividers */
  --placeholder:#D8D0C6;  /* image placeholder blocks */
  --white:      #FFFFFF;

  /* --- Fonts --- */
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", Arial, sans-serif;

  /* --- Layout --- */
  --max-width: 1200px;
  --gutter: 32px;      /* side padding on desktop */
  --col-gap: 32px;     /* space either side of a vertical rule */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Small burgundy category label (sentence case) */
.label {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Square charcoal button */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--charcoal);
  border-radius: 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--white);
}

/* ------------------------------------------------------------
   1. Top bar
   ------------------------------------------------------------ */
.topbar {
  background: var(--charcoal);
  color: var(--white);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: var(--white); }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar__sep { margin: 0 10px; opacity: 0.4; }

/* ------------------------------------------------------------
   2. Header (masthead)
   ------------------------------------------------------------ */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.masthead__dateline {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.masthead__name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.masthead__name:hover { color: var(--ink); }
.masthead__right { justify-self: end; }

/* Hamburger (hidden on desktop) */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin-bottom: 5px;
  background: var(--ink);
}
.menu-toggle span:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   3. Nav
   ------------------------------------------------------------ */
.nav { border-bottom: 1px solid var(--rule); }
.nav__list {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  display: block;
  padding: 14px 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__list a:hover { color: var(--accent-2); }
.nav__list a.is-active { border-bottom-color: var(--accent-2); }

/* ------------------------------------------------------------
   4. Hero: three columns divided by vertical rules
   ------------------------------------------------------------ */
.hero { border-bottom: 1px solid var(--rule); }
.hero__grid {
  display: grid;
  grid-template-columns: 35fr 40fr 25fr;
}
.hero__col { padding: 40px var(--col-gap); }
.hero__col:first-child { padding-left: 0; }
.hero__col:last-child  { padding-right: 0; }
.hero__col + .hero__col { border-left: 1px solid var(--rule); }

.hero__headline {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.12;
}
.hero__sub {
  margin-bottom: 28px;
  font-size: 17px;
}

/* Smaller serif sub-links with a thin left border */
.sublinks { margin: 0; padding: 0; list-style: none; }
.sublinks li {
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}
.sublinks a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
}
.sublinks a:hover { color: var(--accent-2); }

/* Image placeholder (swap for a photo later) */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--placeholder);
  color: var(--body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__caption { margin-top: 12px; margin-bottom: 0; }

/* "Why owners switch" list */
.why-list { margin: 0; padding: 0; list-style: none; }
.why-list li { padding: 18px 0; border-top: 1px solid var(--rule); }
.why-list li:last-child { padding-bottom: 0; }
.why-list h2 {
  margin-bottom: 6px;
  font-size: 21px;
  line-height: 1.25;
}
.why-list p { font-size: 14px; }

/* ------------------------------------------------------------
   Shared section styles
   ------------------------------------------------------------ */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 8px;
}
.section__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);   /* heavier rule under section titles */
}
.section__title {
  font-size: 30px;
}
.section__dek { font-size: 15px; }

/* ------------------------------------------------------------
   5. Services / Who I serve: newspaper-style listings
   ------------------------------------------------------------ */
.listings {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.listing {
  padding: 28px var(--col-gap);
  border-bottom: 1px solid var(--rule);
}
.listing h3 {
  margin-bottom: 8px;
  font-size: 24px;
}
.listing p:not(.label) { font-size: 15px; max-width: 46ch; }

/* Two-column version: rule between columns */
.listings .listing:nth-child(odd)  { padding-left: 0; }
.listings .listing:nth-child(even) { padding-right: 0; border-left: 1px solid var(--rule); }

/* Three-column version */
.listings--three { grid-template-columns: repeat(3, 1fr); }
.listings--three .listing { padding-left: var(--col-gap); padding-right: var(--col-gap); border-left: 1px solid var(--rule); border-bottom: 0; }
.listings--three .listing:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.listings--three .listing:nth-child(3n)   { padding-right: 0; }

/* ------------------------------------------------------------
   6. Pricing: ruled columns
   ------------------------------------------------------------ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tier { padding: 32px var(--col-gap); }
.tier:first-child { padding-left: 0; }
.tier:last-child  { padding-right: 0; }
.tier + .tier { border-left: 1px solid var(--rule); }

.tier__flag {
  margin-left: 8px;
  color: var(--accent-2);
  font-weight: 500;
}
.tier__price {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
}
.tier__price span {
  margin-left: 4px;
  color: var(--body);
  font-family: var(--sans);
  font-size: 14px;
}
.tier__fit { margin-bottom: 20px; font-size: 15px; }
.tier__list { margin: 0; padding: 0; list-style: none; }
.tier__list li {
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-size: 15px;
}
.fineprint {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

/* ------------------------------------------------------------
   7. About
   ------------------------------------------------------------ */
.about {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--col-gap);
  padding-top: 32px;
}
/* Round headshot: the one intentional exception to "no rounded corners" */
.headshot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--placeholder);
  color: var(--body);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  object-fit: cover;
}
.about__text { max-width: 680px; }
.about__text h3 { margin-bottom: 14px; font-size: 28px; }
.about__text p { margin-bottom: 14px; font-size: 17px; }

/* ------------------------------------------------------------
   8. Contact
   ------------------------------------------------------------ */
.contact {
  display: grid;
  grid-template-columns: 2fr 3fr;
  padding-top: 32px;
}
.contact__intro { padding-right: var(--col-gap); }
.contact__intro h3 { margin-bottom: 12px; font-size: 26px; }
.contact__intro p { margin-bottom: 24px; }
.contact__direct { margin-top: 28px; font-size: 15px; }

.form {
  padding-left: var(--col-gap);
  border-left: 1px solid var(--rule);
}
.form__row { margin-bottom: 18px; }
.form label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #F4F0EB;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;   /* 16px prevents zoom on iPhone */
  -webkit-appearance: none;
  appearance: none;
}
.form select {
  /* simple arrow for the dropdown */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A5550' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}
.form textarea { resize: vertical; }
.form__status { margin-top: 12px; color: var(--accent); font-size: 14px; }

/* ------------------------------------------------------------
   9. Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer__name {
  color: var(--white);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer a { color: var(--white); }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__contact span { margin: 0 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: shrink the headline sizes */
@media (max-width: 1024px) {
  .masthead__name { font-size: 36px; }
  .hero__headline { font-size: 32px; }
  .nav__list { gap: 24px; }
}

/* Mobile: one column, vertical rules become horizontal, hamburger menu */
@media (max-width: 800px) {
  :root {
    --gutter: 16px;
    --col-gap: 0px;
  }

  /* Top bar stacks */
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .topbar__sep { margin: 0 6px; }

  /* Header: hamburger | name | button */
  .masthead__inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .menu-toggle { display: block; }
  .masthead__dateline { display: none; }
  .masthead__name {
    min-width: 0;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0.04em;
    white-space: normal;   /* lets the name wrap to two lines on narrow phones */
  }
  .masthead .btn { padding: 9px 10px; font-size: 11px; }

  /* Nav becomes a drop-down list */
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--rule); }
  .nav__list a { padding: 14px 0; border-bottom: 0; }
  .nav__list a.is-active {
    border-bottom: 0;
    padding-left: 10px;
    border-left: 2px solid var(--accent-2);
  }

  /* Hero stacks */
  .hero__grid { grid-template-columns: 1fr; }
  .hero__col { padding: 28px 0; }
  .hero__col + .hero__col { border-left: 0; border-top: 1px solid var(--rule); }
  .hero__headline { font-size: 30px; }

  /* Sections */
  .section { padding: 44px 0; }
  .section__title { font-size: 26px; }

  /* Listings stack */
  .listings,
  .listings--three { grid-template-columns: 1fr; }
  /* :nth-child(n) matches every item; it outranks the desktop
     :nth-child(even) rule so no stray vertical line remains on phones */
  .listings .listing:nth-child(n) {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--rule);
  }
  .listing h3 { font-size: 21px; }

  /* Pricing stacks */
  .tiers { grid-template-columns: 1fr; }
  .tier { padding: 28px 0; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--rule); }

  /* About stacks */
  .about { grid-template-columns: 1fr; gap: 20px; }
  .headshot { width: 120px; height: 120px; }

  /* Contact stacks */
  .contact { grid-template-columns: 1fr; }
  .contact__intro { padding-right: 0; padding-bottom: 32px; }
  .form {
    padding-left: 0;
    padding-top: 32px;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .footer__inner { flex-direction: column; }
}

/* Very small phones: keep the header from crowding */
@media (max-width: 380px) {
  .masthead__name { font-size: 18px; }
  .masthead .btn { padding: 8px; font-size: 10px; letter-spacing: 0.02em; }
}
