:root {
  color-scheme: light;
  --navy: #142923;
  --paper: #f5f4ee;
  --white: #fffefa;
  --ink: #182b25;
  --muted: #46564f;
  --line: #d8ddd3;
  --gold: #edcb70;
  --accent: #285745;
  --heading: "DM Serif Text", Georgia, serif;
  --body: "Instrument Sans", Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
}

h1, h2, p { margin: 0; }
a { color: inherit; }
img { max-inline-size: 100%; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.shell {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
}

.site-header { background: var(--white); }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.75rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font: 700 1.13rem/1.2 var(--body);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: .35rem;
  font: 700 .86rem/1 var(--heading);
  white-space: nowrap;
}

.primary-nav, .footer-nav { display: flex; flex-wrap: wrap; gap: .25rem; }

.primary-nav a, .footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .45rem .65rem;
  border-radius: .35rem;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.primary-nav a:hover, .primary-nav a[aria-current] {
  background: #e7eee6;
  color: #194633;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--navy) 20%, #142923ed 48%, #14292345 100%),
    repeating-linear-gradient(90deg, transparent 0 47px, #edcb702c 47px 48px),
    repeating-linear-gradient(0deg, transparent 0 47px, #edcb702c 47px 48px),
    linear-gradient(135deg, #193b30 40%, #366151);
}

.hero-inner { padding-block: clamp(3rem, 8vw, 7rem); }

.hero h1 {
  max-width: 13ch;
  font: 400 clamp(2.65rem, 6.5vw, 5.5rem)/1.02 var(--heading);
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 39ch;
  margin-top: 1.25rem;
  color: #e0e9df;
  font-size: clamp(1.08rem, 2vw, 1.43rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 48px;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary { background: var(--gold); color: var(--navy); }
.button-primary:hover { background: #ffe3a0; }
.button-secondary { border-color: #a4b9ac; }
.button-secondary:hover { background: #305547; }

.projects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
}

.project {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: .6rem;
  background: var(--white);
  box-shadow: 0 10px 25px #162b2309;
}

.project:first-child { border-top-color: #ac7e25; }

.project h2 {
  margin-bottom: .75rem;
  font: 400 1.55rem/1.14 var(--heading);
  letter-spacing: -.025em;
}

.project p { color: var(--muted); font-size: .94rem; }

.prices {
  display: grid;
  gap: .45rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.prices li {
  padding: .4rem .65rem;
  border-radius: .25rem;
  background: #f3ecda;
  font-size: .88rem;
  font-weight: 700;
}

.project-photo {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: .35rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer { background: var(--navy); color: #e0e9df; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1rem;
  padding-block: 1.5rem;
}

.footer-inner p { font-size: .88rem; }
.footer-nav a:hover, .footer-nav a[aria-current] { color: var(--gold); }

@media (max-width: 67rem) {
  .header-inner { flex-wrap: wrap; }
}

@media (max-width: 62rem) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 38rem) {
  .shell { width: calc(100% - 2rem); }
  .primary-nav, .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .primary-nav a, .footer-nav a { justify-content: flex-start; }
  .primary-nav { border-top: 1px solid var(--line); padding-top: .5rem; }
  .header-inner { gap: .75rem; padding-block: .75rem; }
  .projects, .about { grid-template-columns: minmax(0, 1fr); }
  .hero-actions { align-items: flex-start; }
}

@media (min-width: 62.001rem) {
  .hero::after {
    position: absolute;
    z-index: -1;
    right: max(calc((100vw - 76rem) / 2), 2.5rem);
    bottom: 0;
    width: min(34vw, 30rem);
    height: 85%;
    content: "";
    opacity: .72;
    background: linear-gradient(140deg, #edcb70, #c5dfcc 65%, #7aaa93);
    clip-path: polygon(
      0 100%, 0 55%, 20% 43%, 20% 99.5%, 20.4% 99.5%, 20.4% 43%, 34% 49%, 34% 100%,
      35% 100%, 35% 28%, 61% 8%, 61% 99.5%, 61.4% 99.5%, 61.4% 8%, 76% 19%, 76% 100%,
      77% 100%, 77% 47%, 91% 38%, 91% 99.5%, 91.4% 99.5%, 91.4% 38%, 100% 44%, 100% 100%
    );
    mask-image:
      repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 20px),
      repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 22px);
  }
}

.page-banner {
  padding-block: clamp(1.6rem, 5vw, 3.5rem);
  background: linear-gradient(120deg, var(--navy), #285745);
  color: var(--white);
}
.page-banner h1 {
  margin-top: .55rem;
  font: 400 clamp(2rem, 5vw, 4rem)/1.08 var(--heading);
  overflow-wrap: anywhere;
}
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; font-size: .88rem; }
.breadcrumbs a { color: var(--gold); }
.page-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2.25rem);
  padding-block: clamp(1.25rem, 4vw, 3.5rem);
}
.page-layout.single-column { grid-template-columns: minmax(0, 58rem); }
.page-content {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--white);
}
.page-content > * + * { margin-top: 1rem; }
.page-content h2, .home-links h2 { font: 400 clamp(1.35rem, 2.2vw, 1.85rem)/1.25 var(--heading); }
.page-content h2:not(:first-child) { margin-top: 1.8rem; }
.page-content ul { padding-inline-start: 1.3rem; }
.page-content li + li { margin-top: .45rem; }
.page-content p, .page-content li { color: var(--muted); }
.page-content figure { margin-inline: 0; }
.content-image {
  display: block;
  width: min(100%, 27rem);
  height: auto;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: white;
}
.image-button { display: inline-block; }
.image-button .content-image { border: 0; }
.page-actions { margin-top: 1.5rem; }
.section-links { display: grid; gap: .3rem; padding: .65rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--white); }
.section-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem .6rem;
  border-radius: .3rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.section-links a:hover, .section-links a[aria-current] { background: #e7eee6; }
.home-links { padding-bottom: clamp(2rem, 5vw, 4rem); }
.home-links h2 { margin-bottom: .8rem; }
.home-links .section-links { display: flex; flex-wrap: wrap; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: .45rem; }
.table-scroll table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: .92rem; text-align: left; }
.table-scroll td, .table-scroll th { padding: .65rem .8rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-scroll th { background: var(--navy); color: var(--white); }
.table-scroll tr:nth-child(even) { background: var(--paper); }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lead-form label { display: grid; align-content: start; gap: .35rem; font-weight: 700; }
.lead-form input, .lead-form select, .lead-form textarea {
  min-width: 0;
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid #84968a;
  border-radius: .35rem;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.lead-form textarea { resize: vertical; }
.lead-form button { font-family: inherit; cursor: pointer; }
.full-field { grid-column: 1 / -1; }
.form-status { padding: .8rem 1rem; border-left: 4px solid var(--accent); background: #e7eee6; }
@media (max-width: 48rem) {
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .page-layout > .section-links { display: flex; flex-wrap: wrap; }
}
@media (max-width: 38rem) {
  .lead-form { grid-template-columns: minmax(0, 1fr); }
}

/* Portfolio, interior pages and contact */
:root {
  --paper: #f3f3eb;
  --white: #fffef8;
  --navy: #122c25;
  --line: #d6ded3;
  --accent: #225340;
  --gold: #edcb70;
}

.site-header { border-bottom: 1px solid var(--line); }
.primary-nav a.nav-parent { box-shadow: inset 0 -2px var(--accent); }
.hero-inner { padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { max-width: 16ch; font-size: clamp(2.45rem, 5.6vw, 5.35rem); }
.hero .eyebrow { margin: 0 0 1.1rem; color: var(--gold); }
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: 1.35rem;
}
.section-heading h2, .answers h2, .about h2 {
  font: 400 clamp(1.8rem, 3.8vw, 3.15rem)/1.08 var(--heading);
  letter-spacing: -.025em;
}
.section-heading p { margin-top: .45rem; color: var(--muted); }
.text-link { color: var(--accent); font-weight: 700; text-underline-offset: .24em; }
.text-link:hover { text-decoration-thickness: .14em; }
.portfolio { padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.feature-card {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--white);
  box-shadow: 0 14px 35px #102b1d0b;
}
.feature-card:first-child { grid-column: span 7; }
.feature-card.feature-stat { grid-column: span 6; color: var(--white); background: var(--navy); border-color: var(--navy); }
.feature-card.feature-stat:last-child { background: #e5ecdf; color: var(--ink); border-color: #cddbc9; }
.feature-card > img { display: block; width: 100%; height: clamp(12rem, 23vw, 19rem); object-fit: cover; }
.feature-card:nth-child(2) > img { object-fit: contain; background: white; }
.feature-copy { display: grid; align-content: start; gap: .65rem; padding: clamp(1.1rem, 2.6vw, 2rem); }
.feature-copy .eyebrow { color: var(--accent); }
.feature-copy h3 { margin: 0; font: 400 clamp(1.5rem, 2.9vw, 2.55rem)/1.07 var(--heading); }
.feature-copy > .text-link { margin-top: .2rem; }
.feature-stat .feature-number { color: inherit; font-size: 1.05rem; }
.feature-number strong { margin-right: .2em; font: 400 clamp(2rem, 5vw, 3.8rem)/1 var(--heading); }
.feature-stat:nth-child(3) .eyebrow, .feature-stat:nth-child(3) .text-link { color: var(--gold); }
.archive-label { font-size: .86rem; font-weight: 700; color: var(--muted); }
.feature-copy .prices { display: flex; flex-wrap: wrap; margin: 0; }
.about h2 { grid-column: 1 / -1; color: var(--ink); }
.page-banner { background: linear-gradient(110deg, var(--navy) 35%, #305e4e); }
.page-deck { max-width: 61ch; margin-top: .8rem; color: #e0e9df; font-size: clamp(1rem, 2vw, 1.24rem); }
.page-content { box-shadow: 0 14px 36px #102b1d0a; }
.page-layout.single-column { grid-template-columns: minmax(0, 64rem); }
.answers {
  margin-bottom: clamp(1.6rem, 4vw, 3.5rem);
  padding: clamp(1.1rem, 3vw, 2rem);
  border-left: 4px solid var(--accent);
  border-radius: .4rem;
  background: #e6eee4;
}
.answers h2 { font-size: clamp(1.3rem, 3vw, 2rem); }
.answers p { max-width: 72ch; margin-top: .45rem; color: var(--muted); }
.contact-area { padding-block: clamp(1.3rem, 4vw, 3.5rem); }
.contact-cards { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.contact-cards section {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .8rem;
  box-shadow: 0 10px 28px #102b1d0a;
}
.contact-cards h2, .map-card h2 { font: 400 1.45rem/1.2 var(--heading); margin-bottom: .4rem; }
.contact-cards address { font-style: normal; }
.contact-cards a { display: block; overflow-wrap: anywhere; color: var(--accent); }
.contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.map-card {
  display: flex;
  flex-direction: column;
  min-height: 24rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .8rem;
}
.map-card iframe { display: block; flex: 1 0 19rem; width: 100%; border: 0; }
.map-card > div { padding: 1rem 1.4rem; }
.contact-form-card { border-top: 4px solid var(--gold); }
.contact-form-card button { width: 100%; }
.site-footer .footer-inner { align-items: start; padding-block: 2rem; }
.site-footer .footer-inner p a { color: var(--gold); text-underline-offset: .2em; }

@media (max-width: 51rem) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards section:first-child { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 38rem) {
  .project-grid, .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .project-grid .feature-card { grid-column: 1 / -1; }
}
