:root {
  --ink: #1d1b17;
  --muted: #625c50;
  --paper: #f3eadc;
  --paper-light: #fff8ec;
  --paper-deep: #e4d5c0;
  --line: rgba(51, 43, 31, 0.17);
  --line-strong: rgba(48, 39, 27, 0.31);
  --green: #122b22;
  --green-2: #1e3a2f;
  --orange: #ef5b1f;
  --orange-deep: #d94814;
  --shadow: 0 24px 54px rgba(35, 26, 14, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SF Mono", Consolas, "Liberation Mono", monospace;
  --hand: "Bradley Hand", "Segoe Print", "Marker Felt", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(rgba(83, 65, 37, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 65, 37, 0.032) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px, 38px 38px, auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
fieldset,
legend,
blockquote,
ol,
ul {
  margin: 0;
}

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

.site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(170px, 260px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(22px, 4vw, 64px);
  background: rgba(18, 43, 34, 0.98);
  color: #fff8e8;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}


.brand,
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img,
.footer-brand img {
  width: 188px;
  max-height: 42px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 2.8vw, 40px);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  justify-content: center;
  min-width: 44px;
  padding: 9px 0;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--orange);
}

.header-cta,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 19px;
  color: #fffaf0;
  background: var(--orange);
  border: 1px solid var(--orange-deep);
  box-shadow: 0 11px 24px rgba(239, 91, 31, 0.2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.header-cta::after,
.submit-button::after {
  content: "->";
  margin-left: 10px;
}

.nav a,
.header-cta,
.submit-button,
.map-open-link,
input,
select,
textarea {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav a:focus-visible,
.header-cta:focus-visible,
.submit-button:focus-visible,
.map-open-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(239, 91, 31, 0.72);
  outline-offset: 3px;
}

@media (hover: hover) {
  .nav a:hover {
    color: #ffd4bd;
  }

  .header-cta:hover,
  .submit-button:hover {
    transform: translateY(-1px);
    background: #ff6426;
    box-shadow: 0 14px 28px rgba(239, 91, 31, 0.28);
  }

  .map-open-link:hover {
    transform: translateY(-1px);
    background: #18362b;
    box-shadow: 0 16px 30px rgba(21, 35, 28, 0.28);
  }
}

.eyebrow {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.orange-note {
  color: var(--orange);
  font-family: var(--hand);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1;
}

.v3-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-hero {
  max-width: 1580px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.45fr) minmax(0, 0.55fr);
  height: clamp(420px, 35vw, 500px);
  min-height: 460px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  height: 100%;
  padding: clamp(48px, 5vw, 78px) clamp(28px, 5vw, 82px);
  background: rgba(255, 248, 236, 0.76);
  overflow: hidden;
}

.hero-copy h1 {
  width: fit-content;
  margin: 18px 0 20px;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.9;
}

.hero-copy h1::after,
.local-map h2::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 14px;
  background: var(--orange);
  transform: rotate(-1deg);
}

.hero-copy > p:not(.eyebrow):not(.orange-note) {
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 700;
}

.hero-note {
  position: relative;
  z-index: 2;
  width: 245px;
  margin-top: 34px;
  transform: rotate(-8deg);
}

.hero-sketch {
  position: absolute;
  left: clamp(28px, 5vw, 76px);
  bottom: 38px;
  width: min(440px, 76%);
  opacity: 0.24;
  mix-blend-mode: multiply;
}

.hero-photo {
  height: 100%;
  min-height: 0;
  background: #d7c4aa;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
}

.intake-contact {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: -42px auto 70px;
  padding: 0 clamp(18px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(520px, 0.6fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.intake-intro {
  position: relative;
  z-index: 3;
  padding: clamp(42px, 5vw, 68px);
  color: #fff8e8;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 58%),
    var(--green);
  background-size: 32px 32px, 32px 32px, auto, auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  box-shadow: 0 26px 58px rgba(19, 35, 27, 0.22);
  transform: rotate(-0.45deg);
}

.intake-intro::before,
.intake-intro::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4d7a4 0 18%, #a87131 42%, #5a3517 100%);
  box-shadow: 0 5px 9px rgba(4, 11, 8, 0.48);
}

.intake-intro::before {
  left: 18px;
}

.intake-intro::after {
  right: 18px;
}

.intake-intro .eyebrow {
  color: #ff8b53;
}

.intake-intro h2 {
  max-width: 470px;
  margin: 17px 0 22px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 0.96;
}

.intake-intro > p:not(.eyebrow):not(.orange-note) {
  max-width: 430px;
  color: rgba(255, 248, 232, 0.86);
  font-size: 16px;
  line-height: 1.65;
}

.intake-direct {
  margin-top: 30px;
  padding-top: 20px;
  display: grid;
  gap: 5px;
  border-top: 1px solid rgba(255,248,232,0.18);
}

.intake-direct span {
  margin-bottom: 5px;
  color: rgba(255,248,232,0.7);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intake-direct a {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: #fff8e8;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(239,91,31,0.72);
  text-underline-offset: 4px;
}

.intake-intro .orange-note {
  width: min(290px, 100%);
  margin: 28px 0 -12px auto;
  color: #ff7138;
  text-align: right;
  transform: rotate(-4deg);
}

.intake-form {
  max-width: 660px;
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 994 / 1370;
  min-height: 0;
  padding: clamp(166px, 13vw, 188px) clamp(70px, 5.8vw, 86px) clamp(72px, 6vw, 90px);
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  justify-self: end;
  filter: drop-shadow(0 30px 34px rgba(35, 26, 14, 0.17));
  transform: rotate(0.35deg);
}

.form-surface,
.contact-card-surface {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.form-surface img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intake-form > :not(.form-surface) {
  position: relative;
  z-index: 2;
}

.intake-form .eyebrow {
  padding: 8px 0 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.intake-form .eyebrow,
.project-type-group,
.form-grid,
.submit-button,
.form-status,
.privacy-note {
  width: min(100%, 412px);
  margin-left: auto;
  margin-right: auto;
}

.project-type-group {
  border: 0;
  padding: 0;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-type-group legend {
  width: 100%;
  margin-bottom: 8px;
  color: #2c281f;
  font-size: 13px;
  font-weight: 800;
}

.project-type-group label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.project-type-group input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.project-type-group span {
  min-height: 44px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fffaf0;
  border: 1px solid rgba(45, 37, 25, 0.22);
  border-radius: 5px;
  color: #2c281f;
  font-size: 12px;
  font-weight: 800;
}

.project-type-group input:checked + span {
  color: var(--orange-deep);
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(239,91,31,0.36);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: #2e2a22;
  font-size: 12px;
  font-weight: 800;
}

.span-2 {
  grid-column: span 2;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 11px 13px;
  color: var(--ink);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(45, 37, 25, 0.22);
  border-radius: 4px;
}

textarea {
  min-height: 132px;
  resize: none;
}

#project-intake {
  scroll-margin-top: 88px;
}

.submit-button {
  width: min(100%, 412px);
  margin-top: 18px;
  min-height: 54px;
  padding-left: 14px;
  padding-right: 14px;
  letter-spacing: 0.065em;
  display: block;
}

.map-fallback {
  display: none;
}

.form-status {
  margin-top: 12px;
  color: #635b4d;
  text-align: center;
  font-size: 12px;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.privacy-note {
  margin-top: 11px;
  color: #665e51;
  font-size: 10px;
  line-height: 1.42;
  text-align: center;
}

.privacy-note a {
  color: #2f2a22;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(239,91,31,0.62);
  text-underline-offset: 3px;
}

.local-map {
  max-width: 1420px;
  margin: 0 auto 54px;
  padding: 0 clamp(18px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(320px, 0.38fr) minmax(0, 0.62fr);
}

.local-map,
.map-copy,
.map-panel {
  min-width: 0;
}

.map-copy {
  padding: clamp(34px, 4vw, 54px);
  background: rgba(255,248,236,0.68);
  border: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
}

.map-copy h2 {
  margin: 14px 0 24px;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 0.96;
}

.map-copy ul {
  padding: 0;
  display: grid;
  gap: 8px;
}

.map-copy li {
  list-style: none;
  color: #453f35;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.map-copy li::before {
  content: "/";
  margin-right: 10px;
  color: var(--orange);
  font-weight: 900;
}

.map-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.map-copy a[href^="mailto:"] {
  font-size: clamp(13px, 3.8vw, 15px);
}

.map-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background:
    radial-gradient(circle at 48% 52%, rgba(239, 91, 31, 0.16) 0 7px, rgba(239, 91, 31, 0.02) 8px 28px, transparent 29px),
    linear-gradient(35deg, transparent 0 42%, rgba(78, 96, 78, 0.13) 43% 45%, transparent 46%),
    linear-gradient(142deg, transparent 0 52%, rgba(78, 96, 78, 0.11) 53% 55%, transparent 56%),
    linear-gradient(rgba(83, 65, 37, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 65, 37, 0.035) 1px, transparent 1px),
    rgba(255, 248, 236, 0.82);
  background-size: auto, auto, auto, 34px 34px, 34px 34px, auto;
}

.map-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

.map-fallback {
  position: absolute;
  left: clamp(18px, 4vw, 42px);
  top: clamp(18px, 4vw, 42px);
  z-index: 2;
  max-width: min(310px, calc(100% - 36px));
  padding: 18px 20px;
  color: var(--ink);
  background: rgba(255, 248, 236, 0.9);
  border: 1px solid rgba(48, 39, 27, 0.2);
  border-radius: 7px;
  box-shadow: 0 18px 32px rgba(35, 26, 14, 0.12);
  pointer-events: none;
}

.map-fallback span,
.map-fallback small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.map-fallback span {
  color: var(--orange);
}

.map-fallback strong {
  display: block;
  margin: 8px 0 5px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 0.96;
}

.map-open-link {
  position: absolute;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fffaf0;
  background: var(--green);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 14px 28px rgba(21, 35, 28, 0.22);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  max-width: 1580px;
  margin: 0 auto;
  padding: 32px clamp(22px, 5vw, 86px) 36px;
  display: grid;
  grid-template-columns: minmax(280px, 0.32fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(24px, 4vw, 68px);
  color: #f8efe0;
  background: #0f251d;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 20px;
  color: #d8cfbf;
  font-size: 14px;
  line-height: 1.55;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: #d8cfbf;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.site-footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .contact-hero,
  .intake-contact,
  .local-map {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    height: auto;
  }

  .hero-photo {
    height: 360px;
    min-height: 0;
  }

  .hero-photo img {
    object-position: 52% 30%;
  }

  .intake-contact {
    max-width: 760px;
    margin-top: 40px;
    gap: 20px;
  }

  .intake-intro,
  .intake-form {
    width: 100%;
    max-width: 660px;
    justify-self: center;
  }

  .intake-intro {
    transform: none;
  }

  .intake-form {
    transform: none;
  }

  .map-copy,
  .map-panel {
    border-radius: 8px;
    border: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
    min-height: 0;
    gap: 14px;
    padding: 15px 16px;
  }


  .brand,
  .nav a {
    min-height: 44px;
  }

  .brand,
  .nav a {
    display: inline-flex;
    align-items: center;
  }

  .brand img,
  .footer-brand img {
    width: 148px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 10px;
  }

  .nav {
    gap: 6px 16px;
    font-size: 10px;
    line-height: 1.2;
  }

  .hero-copy {
    padding: 44px 22px 60px;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 18vw, 76px);
  }

  .hero-photo {
    height: 320px;
    min-height: 0;
  }

  .intake-contact,
  .local-map {
    padding-left: 14px;
    padding-right: 14px;
  }

  .intake-contact {
    max-width: 620px;
  }

  .intake-form {
    aspect-ratio: 994 / 1370;
    min-height: 0;
    padding: clamp(146px, 22vw, 178px) clamp(66px, 10vw, 82px) clamp(68px, 9vw, 86px);
  }

  .intake-form .eyebrow,
  .project-type-group,
  .form-grid,
  .submit-button,
  .form-status,
  .privacy-note {
    width: min(100%, 412px);
  }

  .intake-form .eyebrow {
    opacity: 1;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .span-2 {
    grid-column: span 2;
  }

  .project-type-group span {
    min-height: 40px;
    padding: 0 8px;
    font-size: 10px;
  }

  textarea {
    min-height: 112px;
  }

  .map-panel {
    min-height: 300px;
  }

  .map-fallback {
    display: none;
  }

  .map-fallback span,
  .map-fallback small {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .map-fallback strong {
    margin: 6px 0 4px;
    font-size: 25px;
    line-height: 1;
  }

  .map-open-link {
    left: 14px;
    right: auto;
    bottom: 14px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 9px;
  }

  .form-status {
    padding: 7px 8px;
    color: #2e2a22;
    background: rgba(255, 250, 240, 0.88);
    border-radius: 4px;
    font-size: 10px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 8px;
    padding: 12px 14px;
  }

  .brand img {
    width: 132px;
  }

  .site-header .header-cta {
    width: auto;
    min-height: 40px;
    padding: 0 10px;
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .site-header .header-cta::after {
    margin-left: 6px;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 4px;
    font-size: 8.4px;
    letter-spacing: 0.055em;
  }

  .nav a {
    min-width: 40px;
    min-height: 40px;
    padding: 5px 0;
  }

  .contact-list li {
    grid-template-columns: 48px 1fr;
  }

  .contact-icon {
    transform: scale(0.82);
    transform-origin: left center;
  }

  .map-panel {
    min-height: 270px;
  }

  .map-copy {
    padding-left: 22px;
    padding-right: 22px;
  }

  .map-copy li::before {
    margin-right: 8px;
  }

  .map-fallback {
    max-width: min(214px, calc(100% - 28px));
    padding: 10px 12px;
  }

  .map-fallback span,
  .map-fallback small {
    font-size: 8px;
  }

  .map-fallback strong {
    font-size: 22px;
  }

  .map-open-link {
    min-height: 44px;
    padding: 0 10px;
    font-size: 8px;
  }
}

@media (max-width: 540px) {
  .intake-contact {
    max-width: 414px;
  }

  .intake-intro {
    padding: 36px 26px 40px;
  }

  .intake-intro h2 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .intake-intro .orange-note {
    margin-top: 22px;
    font-size: 25px;
  }

  .intake-form {
    aspect-ratio: 941 / 1672;
    padding: clamp(99px, 31vw, 122px) clamp(48px, 15vw, 58px) clamp(38px, 11vw, 44px);
  }

  .intake-form .eyebrow,
  .project-type-group,
  .form-grid,
  .submit-button,
  .form-status,
  .privacy-note {
    width: 100%;
  }

  .intake-form .eyebrow {
    display: none;
  }

  .project-type-group {
    flex-wrap: nowrap;
    gap: 4px;
    margin-bottom: 8px;
  }

  .project-type-group legend {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .project-type-group label {
    flex: 1 1 0;
    min-width: 0;
  }

  .project-type-group span {
    width: 100%;
    min-height: 44px;
    padding: 0 4px;
    white-space: nowrap;
    font-size: clamp(8px, 2.25vw, 9px);
    line-height: 1.05;
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .span-2 {
    grid-column: span 1;
  }

  .form-grid label {
    gap: 4px;
    font-size: 11px;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 16px;
  }

  textarea {
    min-height: 70px;
  }

  .submit-button {
    margin-top: 10px;
    min-height: 44px;
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }

  .form-status {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.3;
  }

  .privacy-note {
    margin-top: 7px;
    font-size: 8.5px;
    line-height: 1.3;
  }
}

@media (max-width: 350px) {
  .intake-contact {
    padding-left: 8px;
    padding-right: 8px;
  }

  .intake-form {
    padding: 99px 48px 34px;
  }

  .intake-form .eyebrow,
  .project-type-group,
  .form-grid,
  .submit-button,
  .form-status,
  .privacy-note {
    width: 100%;
  }

  .project-type-group {
    gap: 3px;
    margin-bottom: 7px;
  }

  .form-grid {
    gap: 6px;
  }

  .project-type-group legend,
  .form-grid label {
    font-size: 10px;
  }

  .project-type-group span {
    min-height: 44px;
    padding: 0 3px;
    font-size: 7.5px;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    padding: 8px 9px;
    font-size: 16px;
  }

  textarea {
    min-height: 66px;
  }

  .submit-button {
    margin-top: 8px;
    min-height: 44px;
    font-size: 8.5px;
    letter-spacing: 0.04em;
  }
}

/* Production privacy and WordPress fallback pages */
.privacy-main,
.generic-page-main,
.not-found-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 82px) clamp(18px, 4vw, 54px) clamp(64px, 8vw, 106px);
}

.privacy-hero {
  position: relative;
  min-height: 330px;
  padding: clamp(42px, 7vw, 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,0.07), transparent 58%),
    var(--green);
  background-size: 34px 34px, 34px 34px, auto, auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  box-shadow: 0 26px 58px rgba(19, 35, 27, 0.22);
}

.privacy-hero > div {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.privacy-hero .eyebrow,
.not-found-paper .eyebrow {
  color: #ff8b53;
}

.privacy-hero h1 {
  width: fit-content;
  margin: 18px 0 24px;
  color: #fff8e8;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.92;
}

.privacy-hero h1::after {
  content: "";
  display: block;
  width: 72%;
  height: 3px;
  margin-top: 16px;
  background: var(--orange);
  transform: rotate(-1deg);
}

.privacy-hero > div > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,248,232,0.84);
  font-size: 17px;
  line-height: 1.65;
}

.privacy-review-note {
  position: absolute;
  right: clamp(28px, 5vw, 70px);
  bottom: 30px;
  color: #ff7138;
  font-family: var(--hand);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  transform: rotate(-5deg);
}

.privacy-paper,
.generic-page-paper,
.not-found-paper {
  position: relative;
  width: min(920px, calc(100% - 42px));
  margin: -24px auto 0;
  padding: clamp(40px, 6vw, 74px);
  background:
    linear-gradient(rgba(83, 65, 37, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 65, 37, 0.03) 1px, transparent 1px),
    var(--paper-light);
  background-size: 34px 34px, 34px 34px, auto;
  border: 1px solid rgba(43,36,25,0.15);
  box-shadow: 0 24px 54px rgba(35,26,14,0.15);
}

.generic-page-paper,
.not-found-paper {
  margin-top: 0;
}

.privacy-paper::before,
.generic-page-paper::before,
.not-found-paper::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 74px;
  height: 32px;
  border-radius: 4px 4px 12px 12px;
  background: linear-gradient(180deg, #a87536, #5c3518);
  border: 1px solid rgba(53,31,14,0.55);
  box-shadow: 0 8px 12px rgba(35,26,14,0.2);
  transform: translateX(-50%);
}

.privacy-updated,
.generic-entry-date {
  margin-bottom: 34px;
  color: var(--orange-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-paper section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.privacy-paper h2,
.generic-page-content h2,
.generic-entry-card h2 {
  margin-bottom: 13px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1;
}

.privacy-paper p,
.privacy-paper address,
.generic-page-content,
.generic-entry-card,
.generic-empty-state {
  color: #4f483e;
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
}

.privacy-paper a,
.generic-page-content a,
.generic-entry-card a:not(.generic-entry-link) {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(239,91,31,0.65);
  text-underline-offset: 4px;
}

.privacy-paper address {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.privacy-paper address a {
  width: fit-content;
}

.generic-page-heading {
  margin-bottom: clamp(30px, 5vw, 54px);
  padding-bottom: 24px;
  border-bottom: 2px solid var(--orange);
}

.generic-page-heading h1,
.not-found-paper h1 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 400;
  line-height: 0.94;
}

.generic-post-meta {
  margin-top: 18px;
  color: var(--orange-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.generic-page-content > * + *,
.generic-entry-card > * + * {
  margin-top: 18px;
}

.generic-page-content h2,
.generic-page-content h3 {
  margin-top: 42px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
}

.generic-page-content h3 {
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.1;
}

.generic-page-content ul,
.generic-page-content ol {
  padding-left: 24px;
}

.generic-page-content li + li {
  margin-top: 8px;
}

.generic-page-content img {
  height: auto;
  margin: 28px auto;
  border: 10px solid #fff8ec;
  box-shadow: var(--shadow);
}

.generic-page-content blockquote {
  margin: 30px 0;
  padding: 24px 28px;
  color: var(--green);
  background: rgba(239,91,31,0.08);
  border-left: 4px solid var(--orange);
}

.generic-page-content table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.generic-page-content th,
.generic-page-content td {
  padding: 12px;
  text-align: left;
  border: 1px solid var(--line);
}

.generic-entry-list {
  display: grid;
  gap: 20px;
}

.generic-entry-card {
  padding: 28px;
  background: rgba(255,255,255,0.48);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(35,26,14,0.08);
}

.generic-entry-card h2 {
  margin-top: 0;
}

.generic-entry-date {
  margin: 0 0 10px;
}

.generic-entry-link,
.outline-button {
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255,248,236,0.78);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.generic-entry-link:hover,
.generic-entry-link:focus-visible,
.outline-button:hover,
.outline-button:focus-visible {
  color: var(--paper-light);
  background: var(--green);
}

.navigation.pagination {
  margin-top: 32px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-numbers {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.page-numbers.current {
  color: #fff8e8;
  background: var(--green);
}

.generic-empty-state h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
}

.generic-empty-state .outline-button {
  margin-top: 22px;
}

.not-found-main {
  min-height: 64vh;
  display: grid;
  align-items: center;
}

.not-found-paper {
  width: min(860px, 100%);
  color: #fff8e8;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px),
    var(--green);
  background-size: 34px 34px, 34px 34px, auto;
  border-color: rgba(255,255,255,0.12);
}

.not-found-paper h1 {
  max-width: 740px;
}

.not-found-paper > p:not(.eyebrow) {
  max-width: 670px;
  margin-top: 24px;
  color: rgba(255,248,232,0.82);
  font-size: 17px;
  line-height: 1.7;
}

.not-found-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.not-found-actions .outline-button {
  color: #fff8e8;
  background: transparent;
  border-color: rgba(255,248,232,0.45);
}

.not-found-actions .outline-button:hover,
.not-found-actions .outline-button:focus-visible {
  color: var(--green);
  background: #fff8e8;
}

@media (max-width: 780px) {
  .privacy-main,
  .generic-page-main,
  .not-found-main {
    padding: 18px 14px 62px;
  }

  .privacy-hero {
    min-height: 360px;
    padding: 42px 24px 92px;
  }

  .privacy-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .privacy-review-note {
    right: 24px;
    bottom: 28px;
  }

  .privacy-paper,
  .generic-page-paper {
    width: calc(100% - 20px);
    padding: 46px 24px 38px;
  }

  .privacy-paper {
    margin-top: -18px;
  }

  .privacy-paper p,
  .privacy-paper address,
  .generic-page-content,
  .generic-entry-card {
    font-size: 15px;
  }

  .generic-page-content table {
    display: block;
    overflow-x: auto;
  }

  .not-found-main {
    min-height: 58vh;
  }

  .not-found-paper {
    padding: 48px 24px 40px;
  }

  .not-found-actions {
    display: grid;
  }

  .not-found-actions .header-cta,
  .not-found-actions .outline-button {
    width: 100%;
  }
}
