:root {
  color-scheme: light;
  --ink: #172e29;
  --muted: #405852;
  --paper: #f8f6ee;
  --white: #fffdf6;
  --accent: #f1d5ad;
  --line: #cec8ba;
  font: 100%/1.55 "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #ad5b1b; outline-offset: 5px; }
::selection { background: var(--accent); color: var(--ink); }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.top, .bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.25rem; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -.035em; text-decoration: none; }
.brand span { font-weight: 500; }
nav, .actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover { text-decoration: underline; }
.skip { position: absolute; top: .5rem; left: 1rem; padding: .5rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.hero { background: var(--ink); color: var(--white); padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.4vw, 5.4rem); line-height: 1.01; margin: 0; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.08; margin: 0 0 1.75rem; }
h3, h4 { line-height: 1.3; margin: 0 0 .5rem; }
h3 { font-size: 1.22rem; }
p { margin: 0; max-width: 70ch; }
.hero p { font-size: 1.15rem; margin-block: 1.5rem; color: #d9e7d8; max-width: 50ch; }
.actions { gap: .75rem; }
.actions a, button { background: var(--accent); color: var(--ink); padding: .75rem 1.05rem; font: inherit; font-weight: 700; border: 0; border-radius: .3rem; text-decoration: none; cursor: pointer; }
.actions a:hover { background: var(--white); }
.hero-photo, .editorial-photo { display: block; width: 100%; height: auto; border-radius: .75rem; }
.editorial-photo { max-width: 46rem; margin-bottom: 2rem; }
.blog-nav, nav [aria-current="page"] { text-decoration: underline; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.services, .project-grid { display: grid; gap: 1.75rem 2.75rem; }
.services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services article, .project-grid article, .answers article { border-top: 1px solid var(--line); padding-block: 1rem; }
.section p, .bottom p { color: var(--muted); }
.projects { background: #eee8dc; }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid h3 { margin-bottom: 1.15rem; }
.note { margin-top: .5rem; font-size: .95rem; }
.questions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 1rem 3rem; }
.answers article { padding-block: 1.2rem; }
.contact { border-top: 1px solid var(--line); }
.contact .actions { margin-top: 1.25rem; }
.contact .actions a:hover { background: var(--ink); color: var(--white); }
footer { border-top: 1px solid var(--line); }
.site-footer { background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 3rem; }
.footer-grid p { margin-top: .75rem; color: #d9e7d8; max-width: 31ch; }
.footer-grid h2 { font: inherit; font-weight: 750; margin: 0 0 .6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: .4rem; }
.footer-end { border-top: 1px solid #70857b; padding-block: 1rem; font-size: .9rem; }
.footer-end a { color: var(--accent); }
[id] { scroll-margin-top: 1rem; }
.page-hero { background: var(--ink); color: var(--white); padding-block: clamp(3rem, 7vw, 6rem); }
.page-hero p { margin-top: 1.25rem; font-size: 1.15rem; }
.crumb { margin-bottom: 1rem; }
.crumb a { color: var(--accent); }
.entries { display: grid; gap: 2.5rem; }
.entries article { border-top: 1px solid var(--line); padding-top: 1rem; }
.entries article + article { margin-top: 1rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 2rem 0 .65rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: .8rem; }
.prose .actions { margin-top: 2rem; }
.contact-form { display: grid; gap: 1rem; max-width: 42rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 650; }
.contact-form input, .contact-form textarea { width: 100%; padding: .7rem; border: 1px solid #827d6e; border-radius: .25rem; color: var(--ink); background: var(--white); font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.contact-form button:hover { background: var(--ink); color: var(--white); }
.contact-form button:disabled { cursor: wait; opacity: .7; }
.form-status:empty { display: none; }

@media (max-width: 48rem) {
  .hero-grid, .services, .questions { grid-template-columns: 1fr; }
}

@media (max-width: 34rem) {
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 2rem); }
  .project-grid { grid-template-columns: 1fr; }
}
