:root {
  --arch-white: #F4F5F4;
  --arch-concrete: #A8ADB3;
  --arch-cobalt: #5B7A9D;
  --arch-cobalt-deep: #3D5670;
  --arch-stone: #C4B8A8;
  --arch-stone-warm: #D9CFC2;
  --arch-black: #1A1C1E;
  --arch-ink: #2A2E32;
  --surface: #EEF0EF;
  --surface-raised: #F7F8F7;
  --line: rgba(26, 28, 30, 0.12);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1120px;
  --header-h: 4.25rem;
  --ease-liquid: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--arch-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(91, 122, 157, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 184, 168, 0.22), transparent 50%),
    linear-gradient(165deg, var(--arch-white) 0%, var(--surface) 45%, #E6E8E7 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--arch-cobalt-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--arch-black);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--arch-black);
  color: var(--arch-white);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.js-error-banner {
  background: #8B3A3A;
  color: #fff;
  padding: 0.75rem var(--space);
  text-align: center;
  font-size: 0.95rem;
}

/* Header — monolithic bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(244, 245, 244, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--arch-black);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  background: linear-gradient(135deg, var(--arch-cobalt) 0%, var(--arch-black) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 55% 100%, 0 100%);
  transition: clip-path 0.5s var(--ease-liquid);
}

.brand:hover .brand-mark {
  clip-path: polygon(8% 0, 100% 12%, 92% 100%, 0 88%);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--arch-ink);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--arch-black);
  margin-top: 0.35rem;
  box-shadow: 0 4px 0 var(--arch-black), 0 -4px 0 var(--arch-black);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--arch-ink);
  font-size: 0.92rem;
  font-weight: 450;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--arch-cobalt-deep);
}

.nav-cta {
  padding: 0.4rem 0.85rem;
  background: var(--arch-black);
  color: var(--arch-white) !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
  transition: clip-path 0.45s var(--ease-liquid), background 0.3s;
}

.nav-cta:hover {
  clip-path: polygon(0 8%, 92% 0, 100% 92%, 8% 100%);
  background: var(--arch-cobalt-deep);
}

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface-raised);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-liquid);
  }

  .site-nav.is-open {
    max-height: 24rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--space) 1.25rem;
    gap: 0.75rem;
  }
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arch-cobalt);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--arch-black);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
}

h3 {
  font-size: 1.35rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
  color: var(--arch-ink);
}

.muted {
  color: rgba(42, 46, 50, 0.72);
}

/* Buttons — liquid morph */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: clip-path 0.5s var(--ease-liquid), transform 0.35s var(--ease-liquid), background 0.3s;
}

.btn-primary,
.btn-liquid {
  background: var(--arch-black);
  color: var(--arch-white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.btn-primary:hover,
.btn-liquid:hover,
.btn-primary.is-morphing,
.btn-liquid.is-morphing {
  color: var(--arch-white);
  background: var(--arch-cobalt-deep);
  clip-path: polygon(4% 0, 100% 6%, 96% 100%, 0 94%);
  text-decoration: none;
}

.btn-primary.is-fold,
.btn-liquid.is-fold {
  clip-path: polygon(0 12%, 88% 0, 100% 78%, 18% 100%);
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--arch-black);
  border: 1px solid var(--arch-concrete);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.btn-ghost:hover {
  border-color: var(--arch-cobalt);
  color: var(--arch-cobalt-deep);
  clip-path: polygon(3% 0, 100% 4%, 97% 100%, 0 96%);
  text-decoration: none;
}

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

/* Hero — full bleed architectural plane */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(244, 245, 244, 0.94) 0%, rgba(244, 245, 244, 0.72) 42%, rgba(26, 28, 30, 0.35) 100%),
    linear-gradient(to top, rgba(26, 28, 30, 0.45) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 7rem) var(--space) clamp(3rem, 8vw, 5rem);
  animation: riseIn 0.9s var(--ease-liquid) both;
}

.hero-content h1 {
  max-width: 14ch;
}

.hero-content .lede {
  max-width: 32rem;
  margin-top: 1rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem) skewY(0.6deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(28vw, 220px);
  background: linear-gradient(90deg, rgba(91, 122, 157, 0.12), transparent);
  pointer-events: none;
}

.page-hero h1 {
  max-width: 18ch;
}

/* Surface panels — monolithic */
.panel {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: clip-path 0.55s var(--ease-liquid), transform 0.4s var(--ease-liquid);
}

.panel:hover {
  clip-path: polygon(0 8px, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.panel-flat {
  clip-path: none;
}

.panel-flat:hover {
  clip-path: none;
}

/* Offer grid */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.offer-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: grayscale(0.15);
}

.offer-card h3 {
  margin-bottom: 0.4rem;
}

.offer-card .meta {
  font-size: 0.85rem;
  color: var(--arch-cobalt);
  margin-top: 0.75rem;
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 4%, 96% 100%, 0 96%);
}

/* Steps / process */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3.5rem;
  background: rgba(247, 248, 247, 0.7);
  border-left: 2px solid var(--arch-cobalt);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0.9rem;
  top: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--arch-cobalt);
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.98rem;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--arch-cobalt);
}

.rate-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(91, 122, 157, 0.08);
  border-left: 3px solid var(--arch-cobalt);
}

/* Reviews */
.quote-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.4;
  color: var(--arch-black);
}

.quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(42, 46, 50, 0.75);
}

.quote .service-ref {
  display: block;
  margin-top: 0.25rem;
  color: var(--arch-cobalt);
  font-size: 0.85rem;
}

/* Blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 0.85rem;
}

.post-card h3 {
  font-size: 1.2rem;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--arch-cobalt);
  margin-bottom: 0.4rem;
}

.article-body {
  max-width: 42rem;
}

.article-body p {
  margin: 0 0 1.15rem;
}

.article-cover {
  margin: 1.5rem 0 2rem;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--arch-cobalt-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--arch-concrete);
  background: var(--surface-raised);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--arch-ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: border-color 0.25s, clip-path 0.4s var(--ease-liquid);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--arch-cobalt);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #8B3A3A;
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #8B3A3A;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-status.is-success {
  color: #2F5D3A;
}

.form-status.is-error {
  color: #8B3A3A;
}

.address-block {
  padding: 1.5rem;
  background: var(--arch-black);
  color: var(--arch-stone-warm);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.address-block a {
  color: var(--arch-stone-warm);
}

.address-block h2 {
  color: var(--arch-white);
  font-size: 1.4rem;
}

/* Legal */
.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: 1.5rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: rgba(91, 122, 157, 0.08);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(26, 28, 30, 0.96);
  color: var(--arch-stone-warm);
  padding: 1.1rem var(--space);
  border-top: 1px solid rgba(196, 184, 168, 0.25);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner a {
  color: var(--arch-stone);
}

.cookie-banner .btn-ghost {
  color: var(--arch-stone-warm);
  border-color: rgba(196, 184, 168, 0.45);
}

.cookie-banner .btn-primary {
  background: var(--arch-cobalt);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding: 2.5rem var(--space) 2rem;
  background: var(--arch-black);
  color: var(--arch-stone-warm);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--arch-white);
  margin: 0 0 0.35rem;
}

.footer-tag {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-contact p {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.footer-contact a,
.footer-nav a {
  color: var(--arch-stone-warm);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--arch-white);
}

.footer-copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(196, 184, 168, 0.2);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Detail extras */
.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.detail-meta dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--arch-cobalt);
  margin: 0 0 0.25rem;
}

.detail-meta dd {
  margin: 0;
  font-weight: 500;
}

.check-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 1px;
  background: var(--arch-cobalt);
}

.cta-band {
  margin: clamp(2.5rem, 6vw, 4rem) 0;
  padding: clamp(2rem, 5vw, 3rem);
  background:
    linear-gradient(125deg, rgba(91, 122, 157, 0.18), transparent 55%),
    var(--surface-raised);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 96% 100%, 0 100%);
  animation: panelSettle 1.1s var(--ease-liquid) both;
}

@keyframes panelSettle {
  from {
    opacity: 0;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
  }
  to {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 96% 100%, 0 100%);
  }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  color: var(--arch-cobalt-deep);
}

.flagship-banner {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--arch-cobalt);
  margin-bottom: 0.5rem;
}

.home-evidence {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.home-evidence blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  max-width: 36rem;
  line-height: 1.35;
}

.home-evidence cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(42, 46, 50, 0.7);
}

.mono-rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 2rem 0;
}

.not-found {
  text-align: center;
  padding: 6rem var(--space);
}

.not-found h1 {
  font-size: 4rem;
}
