@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --bg: #f5f1ea;
  --ink: #171512;
  --muted: #6a625a;
  --accent: #3a6f6c;
  --accent-dark: #2c5654;
  --surface: #fff8ee;
  --line: rgba(23, 21, 18, 0.12);
  --shadow: 0 20px 60px rgba(23, 21, 18, 0.15);
  --header-h: 88px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 7vw;
}

.bg-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: normal;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: relative;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 241, 234, 0.85);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo__mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid var(--accent);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(23, 21, 18, 0.14);
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
  cursor: pointer;
}

.logo__text {
  font-size: 28px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav__link {
  color: var(--muted);
  font-weight: 500;
}

.nav__link:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 36px 7vw 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 24px rgba(58, 111, 108, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(58, 111, 108, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
}

.meta-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.hero-avatar {
  display: grid;
  place-items: center;
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: spin 12s linear infinite;
}

.avatar-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(140deg, #e3f0ee, #b9d6d1);
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--accent-dark);
}

.card-content {
  text-align: center;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
}

.card-subtitle {
  color: var(--muted);
  margin-bottom: 12px;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.card-list span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(58, 111, 108, 0.1);
  color: var(--accent-dark);
  font-size: 13px;
}

.section {
  padding: 70px 7vw;
  position: relative;
  z-index: 1;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 680px;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3vw, 36px);
}

.section p {
  color: var(--muted);
}

.about-grid,
.services-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.about-card,
.service-card,
.work-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(23, 21, 18, 0.08);
}

.service-card .tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.08);
  font-size: 13px;
}

.work-thumb {
  height: 160px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.gradient-a {
  background: linear-gradient(135deg, #dbe9e7, #a9c9c4);
}

.gradient-b {
  background: linear-gradient(135deg, #e7f0db, #c0d3ac);
}

.gradient-c {
  background: linear-gradient(135deg, #dde7f0, #a8bfd2);
}

.contact-card {
  background: linear-gradient(135deg, #f2f7f6, #dfecea);
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  padding: 30px 7vw 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.reveal {
  transform: translateY(18px);
  transition: transform 0.6s ease;
}

.reveal.is-visible {
  transform: translateY(0);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (max-width: 860px) {
  :root {
    --header-h: 76px;
  }

  .logo__mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .logo__text {
    font-size: 22px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    background: rgba(245, 241, 234, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(23, 21, 18, 0.08);
    padding: 18px 7vw 24px;
  }

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

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  
  .cookie-banner{
    position:fixed; left:16px; right:16px; bottom:60px;
    display:none; gap:12px; align-items:center; justify-content:space-between;
    padding:14px; background:#111; color:#fff; border-radius:14px;
    box-shadow:0 12px 40px rgba(0,0,0,.35); z-index:9999;
  }
  .cookie-text{ margin:0; font-size:14px; line-height:1.35; }
  .cookie-link{ color:#5bd1b7; text-decoration:underline; }
  .cookie-actions{ display:flex; gap:10px; flex-shrink:0; }
  .cookie-btn{
    border:0; border-radius:10px; padding:9px 12px; cursor:pointer;
    font-weight:600; background:#5bd1b7; color:#07110f;
  }
  .cookie-btn--ghost{
    background:transparent; color:#fff;
    border:1px solid rgba(255,255,255,.25);
  }
  @media (max-width:520px){
    .cookie-banner{ flex-direction:column; align-items:stretch; }
    .cookie-actions{ justify-content:flex-end; }
  }



