/* Sketchloft — creative hub, soft pastel system */
:root {
  --pink: #f5e6ea;
  --pink-deep: #e8c9d4;
  --lavender: #e8e4f2;
  --lavender-mid: #d4cce8;
  --cream: #faf8f5;
  --off-white: #f7f4f0;
  --teal: #7eb8b3;
  --teal-muted: #a8ccc8;
  --teal-dark: #5a9a94;
  --ink: #2d2a32;
  --ink-soft: #5c5763;
  --accent: #c49bb0;
  --radius-lg: 1.25rem;
  --radius-sm: 0.5rem;
  --shadow-soft: 0 8px 32px rgba(45, 42, 50, 0.08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
}

body.cookie-banner-open {
  padding-bottom: 5rem;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--cream);
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 45%, var(--off-white) 100%);
  border-bottom: 1px solid rgba(90, 154, 148, 0.15);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--ink-soft);
  max-width: 14rem;
}

.nav-toggle {
  display: none;
  background: var(--off-white);
  border: 1px solid var(--lavender-mid);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(126, 184, 179, 0.2);
  color: var(--ink);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero.hero-split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--ink);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-badge {
  position: absolute;
  bottom: -0.5rem;
  right: 1rem;
  background: var(--off-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
  max-width: 12rem;
  border: 1px solid var(--lavender-mid);
}

.section {
  margin-bottom: 3.5rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  margin: 0 0 0.35rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
  color: var(--ink);
}

/* Asymmetric layouts — not uniform grids */
.layout-ribbon {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .layout-ribbon {
    flex-direction: row;
    align-items: stretch;
  }
  .layout-ribbon .ribbon-main {
    flex: 1.4;
  }
  .layout-ribbon .ribbon-aside {
    flex: 1;
    min-width: 220px;
  }
}

.card-soft {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(212, 204, 232, 0.6);
  box-shadow: var(--shadow-soft);
}

.card-soft p:last-child {
  margin-bottom: 0;
}

.story-columns {
  columns: 1;
  gap: 2rem;
}

@media (min-width: 640px) {
  .story-columns {
    columns: 2;
  }
}

.story-columns p {
  break-inside: avoid;
  margin-top: 0;
}

.feature-strip {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-strip.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  background: linear-gradient(160deg, var(--lavender) 0%, var(--pink) 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.diagonal-pair {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .diagonal-pair {
    grid-template-columns: 1fr 1fr;
  }
  .diagonal-pair .offset-up {
    margin-top: -1.5rem;
  }
}

.gallery-editorial {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .gallery-editorial {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
  }
  .gallery-editorial .g-large {
    grid-row: span 2;
  }
}

.gallery-editorial figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--lavender);
}

.gallery-editorial figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--off-white);
}

.step-guide {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-guide li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
  counter-increment: step;
}

.step-guide li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--teal-muted);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  font-family: var(--font-display);
  margin-top: 2rem;
}

.page-intro {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.meta-line {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.project-detail {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--lavender-mid);
}

.project-detail:last-child {
  border-bottom: none;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0;
}

.icon-row img {
  width: 28px;
  height: 28px;
}

.site-footer {
  background: var(--lavender);
  border-top: 1px solid var(--lavender-mid);
  padding: 2.5rem 1.25rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  display: block;
  padding: 0.25rem 0;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-legal {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--teal-muted);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--teal);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--ink-soft);
}

.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--lavender-mid);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--off-white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    width: 100%;
    display: none;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }
}

blockquote.pull {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--teal-dark);
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
  padding: 0 0 0 1.25rem;
}
