/* Liquid Architecture — Node Orchard Hub */
:root {
  --white: #f7f6f3;
  --concrete: #b8b5ae;
  --stone: #c4b5a0;
  --cobalt: #5b7a9a;
  --cobalt-deep: #3d5570;
  --black: #141414;
  --ink: #1a1a1a;
  --muted: #6a6760;
  --surface: rgba(247, 246, 243, 0.92);
  --surface-solid: #ebe9e3;
  --line: rgba(20, 20, 20, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Space Grotesk", "Helvetica Neue", sans-serif;
  --space: clamp(1rem, 2vw, 1.75rem);
  --wide: min(1120px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(91, 122, 154, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 181, 160, 0.18), transparent 50%),
    linear-gradient(165deg, var(--white) 0%, var(--surface-solid) 48%, #d9d6cf 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--ink);
}

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

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

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

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

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

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

.site-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--black);
  padding: 0.55rem 0.95rem;
  display: inline-block;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%);
  transition: clip-path 0.45s var(--ease), background 0.3s;
}

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

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

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

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

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

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

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

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

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

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

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
}

/* Buttons — liquid morph */
.btn {
  appearance: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.95rem 1.45rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: clip-path 0.5s var(--ease), background 0.35s, color 0.35s, transform 0.35s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover,
.btn.is-morph {
  background: var(--cobalt-deep);
  color: var(--white);
  clip-path: polygon(0 12%, 8% 0, 100% 0, 100% 78%, 92% 100%, 0 100%);
  transform: translateY(-1px);
  text-decoration: none;
}

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

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  text-decoration: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 20, 20, 0.78) 0%, rgba(20, 20, 20, 0.35) 48%, rgba(91, 122, 154, 0.25) 100%),
    linear-gradient(to top, rgba(20, 20, 20, 0.55), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--wide);
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(3.5rem, 8vw, 5rem);
  color: var(--white);
  animation: rise-in 0.9s var(--ease) both;
}

.hero-content .eyebrow {
  color: var(--stone);
}

.hero-content h1 {
  color: var(--white);
  max-width: 14ch;
}

.hero-content .lede {
  color: rgba(247, 246, 243, 0.82);
  max-width: 32rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  line-height: 0.95;
  color: var(--white);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes surface-fold {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  40% {
    clip-path: polygon(0 8%, 6% 0, 100% 4%, 98% 92%, 90% 100%, 0 96%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.liquid-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  transition: clip-path 0.55s var(--ease), transform 0.55s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.liquid-panel:hover {
  clip-path: polygon(0 4%, 3% 0, 100% 0, 100% 96%, 97% 100%, 0 100%);
  animation: surface-fold 0.7s var(--ease);
}

/* Service list */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

.offer-item {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: clip-path 0.5s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.offer-item:hover {
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 4% 100%, 0 94%);
  text-decoration: none;
  color: inherit;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-body {
  padding: 1.35rem 1.4rem 1.6rem;
}

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

.offer-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.offer-meta {
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--cobalt);
  text-transform: uppercase;
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

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

  .split.reverse .split-copy {
    order: 0;
  }
}

.split-media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 96% 100%, 0 100%);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Quote / evidence */
.quote-block {
  border-left: 2px solid var(--cobalt);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.quote-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 120%;
  right: -8%;
  top: -10%;
  background: linear-gradient(135deg, rgba(91, 122, 154, 0.12), rgba(196, 181, 160, 0.2));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

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

/* Prose */
.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Pricing table-like */
.rate-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.rate-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

@media (max-width: 700px) {
  .rate-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.rate-row h3 {
  margin: 0;
  font-size: 1.35rem;
}

.rate-row .rate-desc {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.rate-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  white-space: nowrap;
}

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

.review-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 0.45s var(--ease);
}

.review-item:hover {
  clip-path: polygon(0 0, 100% 2%, 98% 100%, 0 100%);
}

.review-item p {
  margin: 0 0 1rem;
}

.review-item .reservation {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
}

.review-who {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.review-who strong {
  color: var(--ink);
  font-weight: 500;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.blog-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.85rem;
}

.blog-card:hover {
  text-decoration: none;
  color: inherit;
}

.blog-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 0.5s var(--ease);
}

.blog-card:hover img {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 94% 100%, 0 100%);
}

.blog-card time {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.blog-card h3 {
  margin: 0.2rem 0;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

/* Forms */
.form-grid {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s, clip-path 0.4s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: #8b3a2f;
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
  display: none;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #8b3a2f;
}

.form-field.has-error .field-error {
  display: block;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: none;
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  background: rgba(91, 122, 154, 0.15);
  border: 1px solid var(--cobalt);
}

.form-status.is-error {
  display: block;
  background: rgba(139, 58, 47, 0.1);
  border: 1px solid #8b3a2f;
}

.contact-aside {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-aside p {
  margin: 0 0 0.5rem;
}

/* Detail lists */
.detail-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.detail-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
}

.detail-list strong {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
}

@media (max-width: 560px) {
  .detail-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--black);
  color: var(--white);
  padding: 1.25rem;
  border-top: 1px solid rgba(196, 181, 160, 0.3);
}

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

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

.cookie-inner p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.92rem;
  color: rgba(247, 246, 243, 0.88);
}

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

.cookie-actions {
  display: flex;
  gap: 0.65rem;
}

.cookie-banner .btn-ghost {
  border-color: rgba(247, 246, 243, 0.45);
  color: var(--white);
}

.cookie-banner .btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
}

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

/* Footer */
.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 3rem 0 2rem;
  background: var(--black);
  color: rgba(247, 246, 243, 0.78);
}

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

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

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

.footer-tag {
  margin: 0;
  font-size: 0.9rem;
  color: var(--concrete);
}

.footer-contact a,
.footer-nav a {
  color: rgba(247, 246, 243, 0.78);
  text-decoration: none;
}

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

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

.footer-copy {
  width: var(--wide);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 246, 243, 0.12);
  font-size: 0.8rem;
  color: var(--concrete);
}

/* Tables (cookies) */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}

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

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

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  margin-bottom: 0.25rem;
  color: var(--cobalt);
}

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

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cobalt);
  line-height: 1;
}

/* Case story */
.case-story {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(91, 122, 154, 0.1), rgba(196, 181, 160, 0.15));
  border: 1px solid var(--line);
}

.case-story h3 {
  margin-top: 0;
}

/* Utility */
.mt-2 {
  margin-top: 2rem;
}

.text-muted {
  color: var(--muted);
}

.mono-surface {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}
