/* Allison McElroy Design: public site. Palette "Evergreen + Slate" and the
   Lato 300/400/700 system from Allison's brand toolkit (Nov 9, 2026).
   view.html adds css/portal.css; musings.html and legacy-home.html keep css/styles.css.
   These faces are the latin woff2 files named by the preload links. The build
   refreshes the marked block from Google's stylesheet when it can. */
/* lato-faces:start */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/lato/v25/S6u_w4BMUTPHjxsI9w2_Gwft.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/lato/v25/S6u8w4BMUTPHjxsAXC-q.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/lato/v25/S6u_w4BMUTPHjxsI5wq_Gwft.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh7USSwiPGQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/lato/v25/S6uyw4BMUTPHjx4wXg.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh6UVSwiPGQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* lato-faces:end */
:root {
  --soft-white: #faf9f6;
  --ivory: #f3efe7;
  --mist: #dce7e7;
  --sea-glass: #afc9bf;
  --slate: #3e6377;
  --pine: #274c43;
  --ink: #26343a;
  --muted: #4d5c62;
  --font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 2px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft-white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

input,
button,
textarea,
select {
  font: inherit;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  color: var(--pine);
  font-family: var(--font);
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
}

h3,
.h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--slate);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--pine);
}

:focus-visible {
  outline: 3px solid var(--slate);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--pine);
  color: var(--soft-white);
  font-family: var(--font);
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  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: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 46rem;
}

.center {
  text-align: center;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--slate);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow a {
  color: inherit;
}

.lede {
  font-size: 1.1875rem;
  max-width: 40rem;
}

.center .lede,
.center p {
  margin-left: auto;
  margin-right: auto;
}

.small {
  font-size: 0.9375rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--pine);
  border-radius: var(--radius);
  background: var(--pine);
  color: var(--soft-white);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--soft-white);
}

.button-quiet {
  background: transparent;
  color: var(--pine);
}

.button-quiet:hover {
  background: var(--pine);
  color: var(--soft-white);
}

.button-light {
  background: var(--soft-white);
  border-color: var(--soft-white);
  color: var(--pine);
}

.button-light:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--pine);
}

.button[disabled] {
  background: var(--mist);
  border-color: var(--muted);
  color: var(--ink);
  cursor: not-allowed;
}

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

.text-link {
  font-weight: 700;
}

/* Visible placeholders for facts Allison has not confirmed yet. */
.todo {
  display: inline;
  padding: 0.05rem 0.35rem;
  border: 1px dashed var(--slate);
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.band-slate .todo,
.site-footer .todo {
  border-color: var(--sea-glass);
  background: transparent;
  color: var(--soft-white);
}

/* Header */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--soft-white);
  border-bottom: 1px solid var(--mist);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
}

.wordmark {
  display: block;
  flex: 0 0 auto;
  width: 19rem;
  margin-left: -2.1rem;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:not(.button):hover,
.nav a[aria-current="page"] {
  color: var(--slate);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
  text-decoration-color: var(--pine);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
}

.nav label {
  display: none;
}

/* Hero */
.hero {
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* Sections */
.band {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.band-ivory {
  background: var(--ivory);
}

.band-mist {
  background: var(--mist);
}

.band-slate {
  background: var(--slate);
  color: var(--soft-white);
}

.band-slate h2 {
  color: var(--soft-white);
}

.band-slate :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--soft-white);
}

.band-slate .button-light {
  color: var(--pine);
}

.page-head {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
}

.points li {
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-left: 3px solid var(--sea-glass);
  background: var(--soft-white);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-reverse > :first-child {
  order: 2;
}

.descriptor {
  padding-left: 1rem;
  border-left: 3px solid var(--sea-glass);
  font-style: italic;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 22rem));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.card .ph {
  margin-bottom: 1rem;
}

.card h2,
.card h3 {
  margin-bottom: 0.25rem;
}

.card h2 a,
.card h3 a {
  color: var(--ink);
}

.card-plain {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  padding: 1.5rem;
  background: var(--ivory);
}

.meta {
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.status {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--slate);
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Photo placeholders: labeled frames, never stock or AI images. */
.ph {
  margin: 0;
}

.ph-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem;
  border: 1px dashed var(--slate);
  background:
    linear-gradient(135deg, rgba(175, 201, 191, 0.35), rgba(220, 231, 231, 0.2)),
    var(--mist);
  color: var(--ink);
  text-align: center;
}

.r16x10 .ph-frame { aspect-ratio: 16 / 10; }
.r3x2 .ph-frame { aspect-ratio: 3 / 2; }
.r4x3 .ph-frame { aspect-ratio: 4 / 3; }
.r4x5 .ph-frame { aspect-ratio: 4 / 5; }

.ph-quiet {
  background: var(--ivory);
  border-style: solid;
  border-color: var(--slate);
}

.ph-id {
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ph-title {
  color: var(--pine);
  font-size: 1.0625rem;
  font-weight: 700;
}

.ph-label {
  align-self: center;
  margin-top: 0.25rem;
  padding: 0.1rem 0.6rem;
  background: var(--soft-white);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Project photos: real images in the same slot ratios as the placeholders. */
.photo {
  margin: 0;
}

.photo picture,
.photo img {
  display: block;
  width: 100%;
}

.photo img {
  height: auto;
  object-fit: cover;
  background: var(--mist);
}

.r16x10.photo img { aspect-ratio: 16 / 10; }
.r3x2.photo img { aspect-ratio: 3 / 2; }
.r4x3.photo img { aspect-ratio: 4 / 3; }
.r4x5.photo img { aspect-ratio: 4 / 5; }

.photo figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.card .photo {
  margin-bottom: 1rem;
}

.ph figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.card .ph figcaption {
  display: none;
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 1.5rem;
  background: var(--soft-white);
  border-top: 3px solid var(--slate);
}

.service-list h3 a {
  color: var(--ink);
}

.tag {
  margin-bottom: 0.5rem;
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.delivery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 1.5rem;
}

.services {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
}

.service {
  max-width: 46rem;
  scroll-margin-top: 1rem;
}

.service + .service {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--mist);
}

.purpose {
  font-size: 1.1875rem;
}

.pull {
  color: var(--pine);
  font-size: 1.375rem;
  font-weight: 300;
}

.service ul,
.story-section ul {
  padding-left: 1.2rem;
}

.service li {
  margin-bottom: 0.35rem;
}

.callout {
  padding: 1rem 1.25rem;
  background: var(--ivory);
  border-left: 3px solid var(--pine);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 1.5rem;
  background: var(--soft-white);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.5rem;
  color: var(--slate);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Projects and stories */
.project-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.facts {
  margin: 0;
  padding: 1.5rem;
  background: var(--ivory);
}

.facts div + div {
  margin-top: 1rem;
}

.facts dt {
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.15rem 0 0;
}

.story-section + .story-section {
  margin-top: 2.5rem;
}

.story-section .ph {
  margin-top: 1.5rem;
}

.gallery + .gallery {
  margin-top: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.5rem 1rem;
  border: 1px solid var(--slate);
  background: var(--soft-white);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
}

.byline {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Inquiry form */
.inquiry {
  display: grid;
  gap: 1.25rem;
}

.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.field label:not(.choice),
.field legend,
.field .label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-weight: 700;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--soft-white);
  color: var(--ink);
  font: inherit;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
}

.choice input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--pine);
}

.form-note {
  font-size: 0.9375rem;
}

/* Footer */
.site-footer {
  padding: clamp(3rem, 7vw, 4.5rem) 0 2.5rem;
  background: var(--pine);
  color: var(--soft-white);
}

.site-footer a {
  color: var(--soft-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem;
}

.footer-brand img {
  width: 15rem;
  margin: -1.5rem 0 0 -2.1rem;
}

.footer-lines,
.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-lines li {
  font-size: 0.9375rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-meta p {
  font-size: 0.9375rem;
}

.copyright {
  margin-top: 1.5rem;
  color: var(--mist);
}

/* Small screens */
@media (max-width: 899px) {
  .header-row {
    min-height: 4.5rem;
  }

  .wordmark {
    width: 13.5rem;
    margin-left: -1.4rem;
  }

  .nav ul {
    display: none;
  }

  .nav label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 1rem;
    border: 1px solid var(--pine);
    color: var(--pine);
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .nav-label-close,
  .nav-toggle:checked ~ label .nav-label-open {
    display: none;
  }

  .nav-toggle:checked ~ label .nav-label-close {
    display: inline;
  }

  .nav-toggle:focus-visible ~ label {
    outline: 3px solid var(--slate);
    outline-offset: 3px;
  }

  .nav-toggle:checked ~ ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--soft-white);
    border-bottom: 1px solid var(--sea-glass);
  }

  .nav-toggle:checked ~ ul li {
    width: 100%;
  }

  .nav-toggle:checked ~ ul a:not(.button) {
    display: flex;
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid var(--mist);
  }

  .nav-cta {
    margin-top: 1rem;
  }

  .nav-cta .button {
    width: 100%;
  }

  .hero-grid,
  .split,
  .project-top,
  .delivery {
    grid-template-columns: 1fr;
  }

  .split-reverse > :first-child {
    order: 0;
  }

  .cards,
  .points,
  .steps {
    grid-template-columns: 1fr;
  }

  .points {
    padding: 0 var(--gutter);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .cards,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .service-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .actions .button {
    flex: 1 1 100%;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

#inquiry-submit:disabled,
#inquiry-panel[hidden],
#inquiry:not([data-inquiry-email]),
#inquiry[data-inquiry-email=""] {
  display: none;
}
