@font-face {
  font-family: "Caveat";
  src: url("Fonts Arimo,EB_Garamond/Caveat/caveat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  src: url("Fonts Arimo,EB_Garamond/Caveat/caveat-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fbfbf8;
  --bg-soft: #f4f3ee;
  --ink: #1a1a1a;
  --ink-soft: #5a5854;
  --rule: #e6e4dd;
  --container: 1100px;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Gilda Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  border-bottom: none;
}
.site-header .container {
  max-width: none;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}
.logo img { width: 140px; height: auto; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-size: 0.95rem;
}
.primary-nav a:not(.btn) { padding: 0.5rem 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  transition:
    transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    box-shadow 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    background 0.2s ease,
    color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn::after {
  content: "→";
  font-size: 1.3em;
  line-height: 1;
  transition: transform 0.3s ease;
}
.btn:hover {
  text-decoration: none;
  transform: scale(1.15);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}
.btn:hover::after { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-header { padding: 0.7rem 1.6rem; }

/* Typography utilities */
.eyebrow {
  text-align: center;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}
.caption {
  font-family: "Caveat", "Comic Sans MS", cursive;
  font-size: 1.4rem;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 400; letter-spacing: -0.01em; }
h1 {
  font-size: clamp(2.25rem, 9vw, 8rem);
  line-height: 1.05;
  font-weight: 400;
  overflow-wrap: anywhere;
  hyphens: auto;
}
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 0;
}
.hero { overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("Designum background.webp");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  transform-origin: center bottom;
  animation: hero-zoom linear both;
  animation-timeline: scroll(root);
  animation-range: 0 100vh;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.3); }
}
@media (max-width: 860px) {
  .hero::before {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: min(1400px, 95vw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.hero-inner .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #fff;
  margin: 1.5rem auto 2.25rem;
  max-width: 36ch;
}
.hero-inner .btn { margin-top: 2.25rem; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.lead {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* About */
.about-copy { max-width: 56ch; }
.about-copy p { color: var(--ink-soft); }
.about-copy .lead { color: var(--ink); }
.about-copy-centered {
  margin: 0 auto;
  text-align: center;
}
.about-signature {
  margin-top: 2rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink) !important;
}

/* Services */
.service-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
.service-list li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-num {
  font-family: "Caveat", cursive;
  font-size: 1.3rem;
  color: var(--ink-soft);
}
.service-list h3 { margin-bottom: 0.35rem; }
.service-list p { color: var(--ink-soft); margin: 0; }

/* Contact section */
.contact-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}
.contact-inner .lead { color: var(--ink-soft); font-weight: 400; }
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero { position: relative; }

/* Footer */
.site-footer {
  padding: 4rem 0 3rem;
  background: #0a0a0a;
  color: #fff;
}
.site-footer .container {
  max-width: none;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  width: 140px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-contact {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: #fff; }
.copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin: 0;
}

/* Tablet */
@media (max-width: 860px) {
  .service-list { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Mobile */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-row { min-height: 64px; }
  .logo img { width: 120px; }
  .footer-row { gap: 1.25rem; }
  h1 { font-size: clamp(1.75rem, 9vw, 2.75rem); }
  .hero {
    background-size: cover;
    background-position: center bottom;
  }
}
