:root {
  --salt: #f7f5f1;
  --salt-deep: #ebe7df;
  --atlantic: #0c2f4a;
  --atlantic-mid: #16486b;
  --teal: #5f9ea0;
  --teal-soft: #d5e8e6;
  --coral: #d98972;
  --coral-hover: #c56f57;
  --brass: #b08d57;
  --brass-thin: rgba(176, 141, 87, 0.45);
  --ink: #1a2430;
  --muted: #5a6673;
  --paper: #fffcf7;
  --shadow: 0 14px 40px rgba(12, 47, 74, 0.08);
  --radius: 18px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --ease: 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-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(95, 158, 160, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(217, 137, 114, 0.12), transparent 50%),
    linear-gradient(180deg, var(--salt) 0%, var(--salt-deep) 100%);
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--atlantic);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.main {
  padding-top: var(--header-h);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(247, 245, 241, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brass-thin);
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  grid-column: 2;
  justify-self: center;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--atlantic);
  text-decoration: none;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 16rem;
}

.wordmark:hover { color: var(--atlantic-mid); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover { color: var(--coral); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--brass-thin);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--atlantic);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--primary {
  background: var(--atlantic);
  color: var(--salt);
}

.btn--primary:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--atlantic);
  border-color: var(--brass);
}

.btn--ghost:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.btn--small {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--brass-thin);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(12, 47, 74, 0.12);
}

.card__media {
  margin: -1.75rem -1.75rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.card h3 { margin-bottom: 0.4em; }

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover { color: var(--coral); }

.eyebrow,
.label-serif {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.75rem;
}

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

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section--narrow { max-width: 760px; }
.section--wide { max-width: 1280px; }

.section--paper {
  background: var(--paper);
  border-block: 1px solid var(--brass-thin);
  max-width: none;
  padding-inline: max(1.5rem, calc((100% - 1180px) / 2));
}

.section--teal {
  background: linear-gradient(135deg, var(--teal-soft), rgba(247, 245, 241, 0.4));
  max-width: none;
  padding-inline: max(1.5rem, calc((100% - 1180px) / 2));
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.split--reverse > :first-child { order: 2; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

/* Home hero — asymmetric magazine composition */
.hero-home {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem 3rem;
  align-items: end;
  min-height: calc(100vh - var(--header-h));
}

.hero-home__brand {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--atlantic);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.hero-home__aside {
  align-self: start;
  padding-top: 2rem;
}

.hero-home__aside p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 28rem;
}

.hero-home__media {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 62vh;
  border: 1px solid var(--brass-thin);
  box-shadow: var(--shadow);
}

.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s linear;
}

.hero-home__media.is-parallax img {
  transform: scale(1.12) translateY(var(--parallax-y, 0));
}

.hero-home__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.band-quote {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  text-align: left;
}

.band-quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-style: italic;
  color: var(--atlantic);
  line-height: 1.35;
}

.band-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.feature-row__stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.layered-media {
  position: relative;
  min-height: 420px;
}

.layered-media img {
  border-radius: var(--radius);
  border: 1px solid var(--brass-thin);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.layered-media__main {
  width: 78%;
  height: 360px;
}

.layered-media__offset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 220px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Service detail */
.service-detail__hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.service-detail__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brass-thin);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.service-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid rgba(176, 141, 87, 0.2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

.check-list--muted li::before { background: var(--coral); }

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.process-list__num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--brass);
  line-height: 1;
  min-width: 2rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

/* Page heroes */
.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1.5rem;
}

.page-hero--with-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.page-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brass-thin);
  min-height: 280px;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.form__field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--brass-thin);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}

.form__field textarea { min-height: 150px; resize: vertical; }

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.form__error {
  color: #9b3b2e;
  font-size: 0.88rem;
  margin-top: 0.35rem;
  display: none;
}

.form__field.is-invalid .form__error { display: block; }
.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea {
  border-color: #9b3b2e;
}

.form__status {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  display: none;
}

.form__status.is-success {
  display: block;
  background: var(--teal-soft);
  color: var(--atlantic);
  border: 1px solid var(--teal);
}

.form__status.is-error {
  display: block;
  background: #f8e6e1;
  color: #7a2e22;
  border: 1px solid var(--coral);
}

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

.contact-aside {
  background: var(--paper);
  border: 1px solid var(--brass-thin);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-aside address {
  font-style: normal;
}

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

.review {
  background: var(--paper);
  border: 1px solid var(--brass-thin);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
}

.review--wide { padding: 2.25rem; }

.review blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.review cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Article / blog */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.article__cover {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brass-thin);
}

.article__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__date {
  color: var(--muted);
  font-size: 0.92rem;
}

.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

/* Table */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--brass-thin);
  vertical-align: top;
}

th {
  font-family: var(--font-serif);
  color: var(--atlantic);
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--atlantic);
  color: rgba(247, 245, 241, 0.88);
  padding: 4rem 1.5rem 2rem;
}

.site-footer a { color: var(--teal-soft); }
.site-footer a:hover { color: #fff; }

.site-footer__inner { max-width: 1180px; margin: 0 auto; }

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--salt);
  margin: 0 0 0.5rem;
}

.site-footer .label-serif { color: var(--brass); }

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(176, 141, 87, 0.35);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.45rem; }

.site-footer__base {
  border-top: 1px solid rgba(176, 141, 87, 0.35);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(247, 245, 241, 0.65);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(12, 47, 74, 0.18);
  padding: 1.25rem 1.4rem;
}

.cookie-banner__inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__title {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.cookie-banner__copy { flex: 1; min-width: 220px; }
.cookie-banner__copy p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__error {
  color: #9b3b2e;
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

/* Pricing */
.fee-block {
  background: var(--paper);
  border: 1px solid var(--brass-thin);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.fee-block__price {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--atlantic);
  margin: 0.35rem 0 0.75rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.legal h2 { margin-top: 2rem; }

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

/* Approach timeline */
.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--brass-thin);
  margin-left: 0.75rem;
  padding-left: 1.75rem;
}

.timeline__item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--brass-thin);
}

/* Responsive */
@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
  }

  .wordmark {
    grid-column: 2;
    justify-self: end;
    text-align: right;
    max-width: 12rem;
    font-size: 1.1rem;
  }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 245, 241, 0.96);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    border-bottom: 1px solid var(--brass-thin);
  }

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

  .hero-home,
  .service-detail__hero,
  .page-hero--with-media,
  .split,
  .feature-row,
  .contact-panel,
  .card-grid,
  .card-grid--2,
  .site-footer__cols {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: auto;
    align-items: start;
  }

  .hero-home__media {
    grid-column: 1;
    grid-row: auto;
    min-height: 42vh;
    order: -1;
  }

  .split--reverse > :first-child { order: 0; }

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

  .layered-media { min-height: 320px; }
  .layered-media__main { width: 100%; height: 240px; }
  .layered-media__offset { width: 55%; height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger > *,
  .card,
  .btn,
  .hero-home__media img {
    transition: none !important;
  }

  .reveal,
  .stagger > * {
    opacity: 1;
    transform: none;
  }
}
