:root {
  --ivory: #f7f1e6;
  --ivory-deep: #efe6d4;
  --champagne: #d4b483;
  --champagne-deep: #c9a86a;
  --coral: #e8a88a;
  --coral-deep: #d9896a;
  --pale-blue: #c9d9e8;
  --pale-blue-deep: #a8c0d6;
  --sunlight: #ffe9b8;
  --ink: #3a342c;
  --ink-soft: #5c5348;
  --foam: #fffcf5;
  --nacre: rgba(255, 252, 245, 0.72);
  --line: rgba(58, 52, 44, 0.12);
  --shadow: 0 18px 50px rgba(88, 70, 40, 0.08);
  --radius: 18px;
  --font-display: "Sora", "Avenir Next Condensed", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--sunlight), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, var(--pale-blue), transparent 50%),
    linear-gradient(180deg, #fff9ef 0%, var(--ivory) 38%, #f3ebe0 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(247, 241, 230, 0.78));
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #fffdf8 0%, #f0d7a8 42%, #e8a88a 100%);
  box-shadow:
    0 0 0 1px rgba(201, 168, 106, 0.45),
    0 8px 20px rgba(201, 168, 106, 0.25);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 14rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--foam);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  color: var(--ink);
  background: linear-gradient(145deg, #fff9ef, var(--champagne) 55%, var(--coral));
  box-shadow:
    0 0 0 1px rgba(201, 168, 106, 0.35),
    0 10px 28px rgba(216, 137, 106, 0.22);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 245, 0.7);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(201, 168, 106, 0.45),
    0 16px 36px rgba(216, 137, 106, 0.28);
  color: var(--ink);
}

.btn:hover::before {
  animation: pearl-ripple 1.1s ease-out;
}

.btn:hover::after {
  animation: pearl-ripple 1.1s ease-out 0.18s;
}

.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(58, 52, 44, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 252, 245, 0.7);
}

@keyframes pearl-ripple {
  0% {
    opacity: 0.7;
    width: 8px;
    height: 8px;
  }
  100% {
    opacity: 0;
    width: 120px;
    height: 120px;
  }
}

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

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-copy {
  animation: rise-in 0.8s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.05em;
  margin-bottom: 0.35em;
  background: linear-gradient(120deg, var(--ink) 20%, #8a6540 55%, var(--coral-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 28ch;
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 38ch;
}

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

.hero-visual {
  position: relative;
  min-height: 360px;
  border-radius: 28px 28px 80px 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: rise-in 1s ease 0.15s both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.pearl {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fffdf8 0%, #f0d7a8 40%, rgba(232, 168, 138, 0.85) 100%);
  box-shadow: 0 12px 30px rgba(201, 168, 106, 0.28);
  animation: drift 6s ease-in-out infinite;
  pointer-events: none;
}

.pearl-a {
  width: 70px;
  height: 70px;
  top: 12%;
  left: 8%;
}

.pearl-b {
  width: 42px;
  height: 42px;
  bottom: 18%;
  right: 10%;
  animation-delay: -2s;
}

.section {
  padding: 4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
  animation: rise-in 0.7s ease both;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.surface {
  background: var(--nacre);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.service-preview,
.card-grid,
.blog-grid,
.portfolio-grid,
.team-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  transition: transform 0.25s ease;
}

.card-link:hover {
  transform: translateY(-4px);
}

.card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-link:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.card-body p {
  flex: 1;
  margin-bottom: 0.8em;
  font-size: 0.98rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--champagne-deep);
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.quote {
  padding: 1.4rem;
}

.quote p {
  font-size: 1.02rem;
  color: var(--ink);
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
}

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

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 1.8em;
  font-size: 1.45rem;
}

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

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

.price-note {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 168, 106, 0.18);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.form {
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: var(--foam);
  color: var(--ink);
}

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

.field-error {
  color: #9b3d2e;
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(169, 196, 170, 0.35);
  color: #2f4a34;
}

.form-status.is-error {
  display: block;
  background: rgba(232, 168, 138, 0.35);
  color: #7a3424;
}

.contact-panel {
  padding: 1.5rem;
}

.contact-panel dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-panel dt {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--champagne-deep);
}

.contact-panel dd {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(201, 217, 232, 0.28));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h2,
.footer-grid h3 {
  font-size: 1rem;
}

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

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

.footer-grid a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #fffaf0, #f3e4cf 60%, #e8d2c2);
  border: 1px solid rgba(201, 168, 106, 0.45);
  box-shadow: 0 18px 40px rgba(88, 70, 40, 0.18);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise-in 0.45s ease both;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(232, 168, 138, 0.35);
  color: #7a3424;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.25rem 1.35rem;
  position: relative;
  padding-left: 4rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff9ef, var(--champagne));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

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

.tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(169, 192, 214, 0.35);
  color: var(--ink-soft);
}

.team-card {
  text-align: center;
  padding: 1.25rem;
}

.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow:
    0 0 0 4px rgba(255, 252, 245, 0.9),
    0 0 0 5px rgba(201, 168, 106, 0.4);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .service-preview,
  .card-grid,
  .blog-grid,
  .portfolio-grid,
  .team-grid,
  .evidence,
  .footer-grid,
  .form-row.two {
    grid-template-columns: 1fr;
  }

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

  .nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1.25rem;
    right: 1.25rem;
    background: var(--foam);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: var(--shadow);
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    position: relative;
  }
}
