:root {
  --ink: #11130f;
  --paper: #fffaf0;
  --porcelain: #f4efe5;
  --soft: #ebe2d3;
  --line: #d7cbb7;
  --muted: #62685f;
  --green: #173326;
  --clay: #b85136;
  --acid: #dfff4b;
  --wine: #45251f;
  --sky: #dce9ea;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 100;
  width: min(1180px, calc(100% - 28px));
  min-height: 66px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 250, 240, .22);
  border-radius: 999px;
  background: rgba(17, 19, 15, .84);
  color: var(--paper);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(17, 19, 15, .18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 230px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 250, 240, .62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav,
.header-actions,
.hero-contact,
.trust-badges,
.contact-actions {
  display: flex;
  align-items: center;
}

.nav {
  justify-content: center;
  gap: 4px;
}

.nav a,
.header-cta,
.header-phone {
  border-radius: 999px;
  padding: 10px 13px;
  color: rgba(255, 250, 240, .74);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background .22s, color .22s, transform .22s;
}

.nav a:hover,
.header-phone:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--paper);
}

.header-actions {
  justify-content: flex-end;
  gap: 6px;
}

.header-cta {
  background: var(--paper);
  color: var(--ink);
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--acid);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 118px 0 58px;
  background: var(--ink);
  color: var(--paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: .18;
  filter: saturate(.9);
}

.hero-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 15, .96), rgba(17, 19, 15, .76) 46%, rgba(17, 19, 15, .9)),
    linear-gradient(180deg, rgba(17, 19, 15, .2), rgba(17, 19, 15, .92));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .58fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero .eyebrow,
.process .eyebrow {
  color: var(--acid);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 920px;
  margin: 20px 0 22px;
  font-size: clamp(52px, 6.5vw, 86px);
  line-height: .88;
}

.hero p {
  max-width: 710px;
  color: rgba(255, 250, 240, .74);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .22s, background .22s, border-color .22s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: var(--acid);
  color: var(--ink);
}

.btn.secondary {
  border: 1px solid rgba(17, 19, 15, .18);
  background: var(--paper);
  color: var(--ink);
}

.hero .btn.secondary,
.contact .btn.secondary {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: var(--paper);
}

.hero-contact {
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
}

.hero-contact a {
  color: var(--paper);
  font-weight: 900;
  text-decoration-color: rgba(223, 255, 75, .45);
  text-underline-offset: 4px;
}

.trust-badges {
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trust-badges li {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 250, 240, .86);
  font-size: 12px;
  font-weight: 900;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, .08);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .28);
}

.panel-main {
  padding: 30px;
  background: var(--paper);
  color: var(--ink);
}

.panel-main span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--green);
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.panel-main strong {
  display: block;
  margin-top: 18px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(66px, 7vw, 86px);
  font-weight: 400;
  line-height: .82;
}

.panel-main p {
  max-width: 310px;
  margin: 18px 0 0;
  color: var(--muted);
}

.panel-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .14);
}

.panel-previews a {
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 1 / 1;
}

.panel-previews img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s;
}

.panel-previews a:hover img {
  transform: scale(1.05);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.quick-item {
  padding: 24px 32px;
  border-right: 1px solid var(--line);
}

.quick-item:last-child {
  border-right: 0;
}

.quick-item strong {
  display: block;
  color: var(--green);
  font-family: "Instrument Serif", serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: .9;
}

.quick-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

.section-head,
.about-grid,
.official-card,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, .48fr);
  gap: 46px;
  align-items: start;
}

.section-head {
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.section-kicker h2,
.official h2,
.process-intro h2,
.contact h2 {
  margin: 16px 0 0;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: .95;
}

.section-head p,
.about-copy p,
.official-copy p,
.process-intro p,
.contact-copy p {
  color: var(--muted);
  margin-bottom: 0;
}

.about {
  background: var(--porcelain);
}

.about-copy {
  display: grid;
  gap: 16px;
  font-size: 16px;
}

.services {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #f8f1e7;
}

.service-card strong {
  display: block;
  color: var(--green);
  font-size: 16px;
}

.service-card span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.project-media {
  display: block;
  overflow: hidden;
  min-height: 260px;
  background: #d8d4ca;
  text-decoration: none;
}

.project-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: top center;
  transition: transform .55s;
}

.project-card:hover .project-media img {
  transform: scale(1.035);
}

.project-copy {
  padding: 22px;
}

.category {
  color: var(--clay);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 12px 0 12px;
  color: var(--green);
  font-size: clamp(36px, 4vw, 52px);
  line-height: .92;
}

.project-copy p {
  min-height: 76px;
  color: var(--muted);
}

.official {
  background: var(--sky);
}

.official-card {
  align-items: center;
  border: 1px solid rgba(17, 19, 15, .14);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--paper);
}

.official-copy ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.official-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--green);
  font-weight: 800;
}

.official-copy li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

.process {
  background: var(--green);
  color: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(300px, .62fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 128px;
}

.process-intro p {
  color: rgba(255, 250, 240, .68);
}

.process-steps {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.step {
  display: grid;
  grid-template-columns: 58px 150px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.step span {
  color: var(--acid);
  font-weight: 900;
}

.step strong {
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  font-weight: 400;
}

.step p {
  margin: 0;
  color: rgba(255, 250, 240, .68);
}

.contact {
  background: var(--wine);
  color: var(--paper);
}

.contact .eyebrow {
  color: var(--acid);
}

.contact-copy p {
  color: rgba(255, 250, 240, .72);
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, .08);
}

.contact-card > span {
  display: block;
  margin-bottom: 16px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 250, 240, .78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(17, 19, 15, .36);
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  outline: none;
  padding: 13px 14px;
  text-transform: none;
  transition: border-color .2s, background .2s;
}

.contact-form textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--acid);
  background: rgba(17, 19, 15, .52);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 250, 240, .45);
}

.contact-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

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

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 250, 240, .76);
  font-weight: 800;
}

.form-status[data-type="success"] {
  color: var(--acid);
}

.form-status[data-type="error"] {
  color: #ffd8cd;
}

.form-fallback {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 250, 240, .08);
}

.form-fallback[hidden] {
  display: none;
}

.form-fallback strong,
.direct-contact {
  color: rgba(255, 250, 240, .74);
  font-size: 14px;
}

.form-fallback a,
.direct-contact a {
  color: var(--paper);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.direct-contact {
  margin: 0;
}

.contact-line {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 8px;
  color: var(--paper);
  font-size: clamp(22px, 3vw, 34px);
  font-family: "Instrument Serif", serif;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-card p {
  margin: 18px 0 0;
  color: rgba(255, 250, 240, .72);
}

.contact-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer {
  padding: 40px 0;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.footer strong {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  font-weight: 400;
}

.footer p {
  max-width: 430px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, .62);
}

.footer a,
.footer span {
  display: block;
  margin: 7px 0;
  color: rgba(255, 250, 240, .72);
  text-decoration: none;
}

.footer a:hover {
  color: var(--paper);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .35s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-head,
  .about-grid,
  .official-card,
  .contact-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

  .quick-info,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-item:nth-child(2) {
    border-right: 0;
  }

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

  .project-media,
  .project-media img {
    min-height: 360px;
  }

  .project-copy p {
    min-height: 0;
  }

  .process-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    position: absolute;
    top: 8px;
    width: calc(100% - 16px);
    min-height: 60px;
    border-radius: 20px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 9px;
    letter-spacing: .07em;
  }

  .hero {
    min-height: auto;
    padding: 102px 0 30px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 42px);
    line-height: .96;
    margin: 14px 0 16px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 20px;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-contact {
    display: grid;
    gap: 6px;
    margin-top: 18px;
  }

  .trust-badges {
    gap: 7px;
  }

  .trust-badges li {
    font-size: 11px;
  }

  .panel-main {
    padding: 22px;
  }

  .panel-main strong {
    font-size: 68px;
  }

  .hero-panel {
    display: none;
  }

  .quick-info,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .quick-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
  }

  .quick-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 24px;
  }

  .section-head h2,
  .section-kicker h2,
  .official h2,
  .process-intro h2,
  .contact h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1;
  }

  .service-card {
    min-height: auto;
  }

  .project-grid {
    gap: 12px;
  }

  .project-media,
  .project-media img {
    min-height: 238px;
  }

  .project-copy {
    padding: 20px;
  }

  .project-copy h3 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .official-card,
  .contact-card {
    padding: 22px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
