:root {
  --bg: #fff5da;
  --bg-soft: #fffdf6;
  --surface: rgba(255, 252, 246, 0.92);
  --surface-strong: #fffefb;
  --ink: #1f3553;
  --ink-soft: #5c6785;
  --line: rgba(31, 53, 83, 0.12);
  --sun: #ffbd2e;
  --sun-soft: #ffe588;
  --clay: #ff7a58;
  --sage: #7ecdb4;
  --berry: #f27596;
  --navy: #335ea8;
  --shadow: 0 24px 60px rgba(120, 92, 38, 0.18);
  --shadow-soft: 0 16px 36px rgba(120, 92, 38, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 189, 46, 0.3), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(242, 117, 150, 0.18), transparent 24%),
    radial-gradient(circle at 80% 90%, rgba(126, 205, 180, 0.2), transparent 26%),
    var(--bg);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(24px);
}

body::before {
  top: 90px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: rgba(255, 189, 46, 0.22);
}

body::after {
  left: -60px;
  bottom: 80px;
  width: 220px;
  height: 220px;
  background: rgba(126, 205, 180, 0.18);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  z-index: 50;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 247, 225, 0.8);
  border-bottom: 1px solid rgba(33, 49, 79, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 35%, #fff7ec 0, #fff7ec 18%, transparent 19%),
    linear-gradient(135deg, #ffbf2c, #ff7a58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.brand__mark::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px 999px 999px 2px;
  transform: rotate(44deg);
  background: rgba(255, 250, 243, 0.92);
}

.brand__text {
  min-width: 0;
}

.brand__name {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand__tag {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links {
  display: flex;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.nav__links a:hover,
.nav__links a:focus-visible,
.lang-switch a:hover,
.lang-switch a:focus-visible,
.footer a:hover,
.footer a:focus-visible,
.link-inline:hover,
.link-inline:focus-visible {
  color: var(--clay);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(33, 49, 79, 0.08);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.75);
}

.lang-switch a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.lang-switch a.is-active {
  background: linear-gradient(135deg, var(--sun), var(--clay));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero {
  padding: 72px 0 52px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink-soft);
  border: 1px solid rgba(33, 49, 79, 0.08);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sun), var(--clay));
}

.hero h1,
.section-heading h2,
.manifesto__quote,
.contact-panel__title,
.story-card__title {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 22px 0 18px;
  max-width: 12ch;
  font-size: clamp(3.4rem, 7.2vw, 5.6rem);
}

.hero__lead {
  max-width: 60ch;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button--primary {
  background: linear-gradient(135deg, var(--sun), var(--clay));
  box-shadow: 0 16px 30px rgba(255, 122, 88, 0.24);
  color: #fff;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-color: rgba(255, 122, 88, 0.2);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.metrics li,
.glass-card,
.story-card,
.detail-card,
.process-step,
.faq-grid details,
.contact-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(33, 49, 79, 0.08);
  box-shadow: var(--shadow-soft);
}

.metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.06rem;
}

.metrics span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
}

.visual-stack {
  display: grid;
  gap: 18px;
}

.visual-stack__main {
  padding: 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 247, 0.98), rgba(255, 238, 194, 0.96));
  border: 1px solid rgba(33, 49, 79, 0.08);
  box-shadow: var(--shadow);
}

.visual-stack__main img {
  border-radius: calc(var(--radius-xl) - 10px);
}

.visual-stack__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.visual-note {
  position: relative;
  padding: 22px;
  min-height: 158px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.visual-note::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  bottom: -36px;
  border-radius: 999px;
  background: rgba(255, 189, 46, 0.18);
}

.visual-note strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.visual-note p {
  margin: 0;
  color: var(--ink-soft);
}

.section {
  padding: 54px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
}

.section-heading p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-soft);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.manifesto__quote,
.manifesto__body {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.manifesto__quote {
  background: linear-gradient(135deg, rgba(255, 252, 239, 0.98), rgba(255, 228, 136, 0.7));
  border: 1px solid rgba(33, 49, 79, 0.06);
  box-shadow: var(--shadow-soft);
  font-size: clamp(2rem, 4vw, 3rem);
}

.manifesto__body {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(33, 49, 79, 0.08);
}

.manifesto__body p {
  margin: 0 0 16px;
}

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

.detail-grid,
.story-grid,
.process-grid,
.faq-grid,
.contact-layout {
  display: grid;
  gap: 18px;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card,
.story-card,
.process-step,
.contact-panel,
.contact-form {
  border-radius: var(--radius-lg);
}

.detail-card {
  padding: 24px;
}

.detail-card__accent {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255, 189, 46, 0.25), rgba(255, 122, 88, 0.22));
  display: grid;
  place-items: center;
}

.detail-card__accent::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 7px;
  border: 2px solid var(--ink);
}

.detail-card:nth-child(2) .detail-card__accent::before {
  border-radius: 999px 999px 999px 2px;
  transform: rotate(45deg);
}

.detail-card:nth-child(3) .detail-card__accent::before {
  width: 24px;
  height: 14px;
  border-radius: 999px;
}

.detail-card h3,
.process-step h3,
.faq-grid summary,
.contact-form h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.detail-card p,
.process-step p,
.contact-panel p,
.faq-grid p,
.story-card__text,
.microcopy,
.list-clean li {
  margin: 0;
  color: var(--ink-soft);
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  overflow: hidden;
}

.story-card img {
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  background: linear-gradient(135deg, #fff7da, #ffe3b1);
}

.story-card__body {
  padding: 22px;
}

.story-card__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-card__title {
  margin: 0 0 12px;
  font-size: 2rem;
}

.story-card__text {
  margin-bottom: 16px;
}

.story-card__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-card__meta span,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 189, 46, 0.14);
  color: var(--ink);
  font-size: 0.88rem;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sun);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 24px;
  min-height: 210px;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 189, 46, 0.22);
  color: var(--ink);
  font-weight: 700;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid details {
  padding: 20px 22px;
  border-radius: var(--radius-md);
}

.faq-grid summary {
  cursor: pointer;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid p {
  margin-top: 12px;
}

.seo-copy {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 252, 244, 0.95), rgba(255, 239, 197, 0.9));
  border: 1px solid rgba(33, 49, 79, 0.08);
  box-shadow: var(--shadow-soft);
}

.seo-copy p {
  margin: 0 0 16px;
}

.seo-copy p:last-child {
  margin-bottom: 0;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-panel__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.list-clean {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.list-clean strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.link-inline {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 122, 88, 0.45);
  text-underline-offset: 0.18em;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(33, 49, 79, 0.14);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 164px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.button:focus-visible,
.nav a:focus-visible,
.lang-switch a:focus-visible {
  outline: none;
  border-color: rgba(255, 122, 88, 0.52);
  box-shadow: 0 0 0 4px rgba(255, 189, 46, 0.2);
}

.microcopy {
  font-size: 0.92rem;
}

.footer {
  padding: 26px 0 48px;
  color: var(--ink-soft);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(33, 49, 79, 0.08);
}

@media (max-width: 1120px) {
  .hero__grid,
  .manifesto,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header__inner,
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    gap: 14px;
  }

  .nav__links {
    flex-wrap: wrap;
  }

  .metrics,
  .detail-grid,
  .story-grid,
  .faq-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .visual-stack__sub,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 100vw - 28px);
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .section {
    padding: 42px 0;
  }

  .visual-stack__main,
  .manifesto__quote,
  .manifesto__body,
  .contact-panel,
  .contact-form,
  .seo-copy {
    padding: 22px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}
