/* Aeolian Digital — site styles */

:root {
  --bg: #eef1f4;
  --bg-deep: #e2e7ec;
  --ink: #1b2430;
  --ink-soft: #4a5663;
  --line: #c9d2da;
  --wind: #2f6786;
  --wind-light: #9fb9c9;
  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 64px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141a21;
    --bg-deep: #0f141a;
    --ink: #e6ebef;
    --ink-soft: #a6b1bc;
    --line: #2b353f;
    --wind: #7fb1cf;
    --wind-light: #3b5566;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

a { color: var(--wind); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--wind);
  outline-offset: 3px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
}
.brand {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}
.brand span { color: var(--ink-soft); font-weight: 400; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
}
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--ink); }

/* Wind figure: the one memorable thing */
.wind {
  display: block;
  width: 100%;
  height: clamp(110px, 14vw, 160px);
  margin: 40px 0 8px;
  overflow: visible;
}
.wind path {
  fill: none;
  stroke: var(--wind-light);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.wind path:nth-child(odd) { stroke: var(--wind); opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .wind path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: draw 2.4s cubic-bezier(.3,.7,.2,1) forwards;
  }
  .wind path:nth-child(2) { animation-delay: .12s; }
  .wind path:nth-child(3) { animation-delay: .22s; }
  .wind path:nth-child(4) { animation-delay: .3s; }
  .wind path:nth-child(5) { animation-delay: .36s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Hero */
.hero { padding: 8px 0 72px; }
.hero h1 {
  font-size: clamp(2.3rem, 6.2vw, 4.4rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 32px;
}
.cta {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 600;
}
.cta:hover { background: var(--wind); color: #fff; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
section p { max-width: var(--measure); color: var(--ink-soft); }
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px 48px;
}
.cols h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; }
.cols p { margin: 0; font-size: 0.98rem; }

/* Pages */
.page { padding-top: 40px; padding-bottom: 72px; }
.page h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.page .lede { color: var(--ink-soft); font-size: 1.1rem; max-width: var(--measure); margin: 0 0 36px; }
.page h2 { font-size: 1.25rem; font-weight: 600; margin: 36px 0 10px; }
.page p, .page li { max-width: var(--measure); color: var(--ink-soft); }
.page ul { padding-left: 22px; }
.meta { font-size: 0.9rem; color: var(--ink-soft); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 64px;
  align-items: start;
}
.contact-grid .big {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 500;
  word-break: break-word;
}
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
input, textarea {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-deep);
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
button.cta { border: 0; cursor: pointer; font: inherit; justify-self: start; }
.hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.site-foot a { color: var(--ink-soft); }
