/* Docformers — light, editorial tile layout */
:root {
  --ink: #111214;
  --muted: #6b7075;
  --line: #e7e9ec;
  --white: #fff;
  --t-blue: #eff3f9;
  --t-sage: #f1f4f2;
  --t-grey: #f7f7f7;
  --t-peach: #f8ece3;
  --t-cream: #fff8e0;
  --t-lilac: #f2eefa;
  --gap: 12px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background:
    radial-gradient(60% 40% at 0% 0%, #dff5e6 0%, transparent 70%),
    radial-gradient(50% 50% at 100% 20%, #dbe7f7 0%, transparent 70%),
    radial-gradient(60% 45% at 0% 85%, #f7d7de 0%, transparent 70%),
    radial-gradient(50% 40% at 100% 100%, #d5def5 0%, transparent 70%),
    #eef2f8;
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* page frame */
.preview { text-align: center; padding: 44px 16px 36px; }
.preview small { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.preview strong { display: block; font-size: 1.7rem; font-weight: 500; letter-spacing: -.02em; margin-top: 6px; }

.panel {
  max-width: 1040px;
  margin: 0 auto 64px;
  background: var(--white);
  padding: 28px 34px 40px;
  box-shadow: 0 30px 80px -40px rgba(30, 40, 80, .25);
}

.label { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 500; }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.logo-mark { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: .78rem; }
.nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink); transition: background .2s, color .2s, transform .2s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); background: #2b2e33; }
.btn-line { background: transparent; color: var(--ink); border-color: #b9bdc3; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* hero */
.hero { padding: 56px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.hero .label { grid-column: 1 / -1; margin-bottom: 20px; }
.hero h1 { grid-column: 2 / 5; font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.hero p { grid-column: 2 / 4; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.hero-cta { grid-column: 2 / 5; margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }

/* sections */
.section { padding: 56px 0 8px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.sec-head .label { position: relative; top: -28px; background: #fff; padding-right: 10px; margin-bottom: -28px; }
.sec-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; letter-spacing: -.03em; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.tile {
  position: relative; aspect-ratio: 1 / 1; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--t-grey); transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(20, 30, 60, .35); }
.tile .label { font-size: .55rem; line-height: 1.4; color: #3a3d42; max-width: 70%; }
.tile h3 { font-size: 1rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.3; }
.tile p { font-size: .72rem; color: var(--muted); margin-top: 8px; }
.tile .pill { align-self: flex-start; }
.t-blue { background: var(--t-blue); } .t-sage { background: var(--t-sage); } .t-grey { background: var(--t-grey); }
.t-peach { background: var(--t-peach); } .t-cream { background: var(--t-cream); } .t-lilac { background: var(--t-lilac); }
.tile.intro h3 { font-size: 1.1rem; }
.tile.intro { justify-content: flex-start; gap: 14px; }
.tile.intro .btn { margin-top: auto; }
.c2 { grid-column-start: 2; } .c3 { grid-column-start: 3; } .c4 { grid-column-start: 4; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pill { font-size: .55rem; padding: 3px 9px; border: 1px solid #b9bdc3; border-radius: 999px; background: rgba(255,255,255,.6); white-space: nowrap; }

.tile .ico { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.tile .ico svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* statement */
.statement { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding: 70px 0 30px; }
.statement h2 { grid-column: 2 / 5; font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.2; max-width: 520px; }
.statement .cols { grid-column: 2 / 5; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; max-width: 540px; font-size: .68rem; color: #2a2d31; }
.statement .cols p + p { margin-top: 14px; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding: 60px 0 10px; }
.contact .logo-line { display: flex; align-items: center; gap: 8px; grid-column: 2; font-size: .75rem; font-weight: 600; letter-spacing: -.01em; padding-top: 6px; }
.contact blockquote { grid-column: 3 / 5; font-size: 1.15rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.35; }
.contact p { grid-column: 3 / 5; font-size: .72rem; color: var(--muted); margin: 10px 0 20px; max-width: 420px; }
.contact .btn { grid-column: 3; justify-self: start; }

/* footer */
.footer { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .68rem; color: var(--muted); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 860px) {
  .panel { padding: 22px 18px 32px; }
  .tiles, .hero, .statement, .contact { grid-template-columns: repeat(2, 1fr); }
  .c2, .c3, .c4 { grid-column-start: auto; }
  .hero h1, .hero p, .hero-cta, .statement h2, .statement .cols,
  .contact .logo-line, .contact blockquote, .contact p, .contact .btn { grid-column: 1 / -1; }
  .nav-links a:not(.btn) { display: none; }
  .tile { aspect-ratio: auto; min-height: 190px; gap: 24px; }
  .spacer { display: none; }
}
@media (max-width: 480px) {
  .tiles { grid-template-columns: 1fr; }
  .statement .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
