/* Project-K — one stylesheet, no framework.
   Colours come from the logo: teal for the brand, rust for accents. */

:root {
  --teal: #23757d;
  --teal-dark: #1a5a60;
  --teal-soft: #e3f0f0;
  --rust: #8f3f24;
  --ink: #1c2a2e;
  --muted: #5a6a6e;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --line: #e8e1d6;
  --dark: #16302f;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }

/* Buttons and links */

.button {
  display: inline-block;
  padding: 0.85em 1.6em;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.button-small { padding: 0.55em 1.2em; font-size: 0.95rem; }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin 0.2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.button) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.button):hover { color: var(--teal); }

/* Hero */

.hero { padding: 96px 0 104px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; }
.actions { display: flex; align-items: center; gap: 28px; margin-top: 2rem; flex-wrap: wrap; }
.hero-image { width: 100%; max-width: 480px; justify-self: end; border-radius: 28px; }

/* Sections */

.section { padding: 96px 0; }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin-bottom: 2.5rem; }
.section-tinted { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--dark); color: #e9f1f0; }
.section-dark h2 { color: #fff; }
.section-dark .section-intro { color: #b9cbc9; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.split-center { align-items: center; }
.rounded { border-radius: 24px; width: 100%; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28, 42, 46, 0.08); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px 26px 28px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.points li {
  padding: 20px 0 20px 40px;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  position: relative;
}
.points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--teal);
}

.quote { margin: 0 auto; max-width: 760px; text-align: center; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35;
}
.quote blockquote::before { content: "“"; display: block; color: var(--rust); font-size: 4rem; line-height: 1; }
.quote figcaption { margin-top: 1.25rem; color: var(--muted); }

/* Contact */

.contact-line span { display: block; color: #b9cbc9; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 0.9rem; color: #b9cbc9; }
.form input, .form textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}
.form input:focus, .form textarea:focus { outline: 2px solid #7fc4c6; outline-offset: 1px; }
.form-note { margin: 0; font-size: 0.85rem; color: #b9cbc9; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note a { color: #9fd6d7; }
.form .button { justify-self: start; background: #3a9ea4; }
.form .button:hover { background: #2e868b; }

/* Footer */

.site-footer { padding: 40px 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 20px; }
.footer-inner > div { flex: 1; }
.footer-inner p { margin: 0; }
.footer-company { color: var(--ink); font-weight: 600; }
.footer-owl { width: 34px; }
.footer-link { color: var(--muted); }

/* Privacy and 404 */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.error-inner { display: flex; align-items: center; gap: 48px; min-height: 50vh; }
.error-inner img { width: 150px; }

/* Phones */

@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 64px; }
  .brand img { height: 36px; }
  .nav { gap: 16px; }
  .nav a:not(.button) { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { justify-self: center; max-width: 340px; order: -1; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
  .error-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}
