:root {
  color-scheme: light;
  --paper: #fffdf7;
  --paper-deep: #f8f2e7;
  --ink: #092552;
  --ink-soft: #3f4a5f;
  --teal: #53b7b5;
  --coral: #ee6c59;
  --coral-deep: #d85445;
  --butter: #f4c75d;
  --leaf: #5c8e64;
  --line: rgba(9, 37, 82, 0.14);
  --shadow: 0 18px 44px rgba(31, 47, 71, 0.11);
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-rounded, "Avenir Next", "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 16px clamp(20px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #f4efe3;
}

.brand-mark svg {
  width: 52px;
  height: 52px;
}

.brand-mark path:first-child {
  fill: currentColor;
  stroke: rgba(9, 37, 82, 0.14);
  stroke-width: 1.4;
}

.brand-mark path:not(:first-child),
.brand-mark circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 50px);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.nav-links a,
.header-cta,
.primary-button,
.story-card a {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-links a:hover,
.story-card a:hover {
  color: var(--coral-deep);
}

.header-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 850;
}

.header-cta {
  padding: 0 25px;
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(238, 108, 89, 0.18);
}

.header-cta svg,
.primary-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta:hover,
.primary-button:hover {
  transform: translateY(-1px);
  background: var(--coral-deep);
  box-shadow: 0 15px 30px rgba(238, 108, 89, 0.25);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(640px, calc(100svh - 82px), 840px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(255, 253, 247, 0.99) 40%, rgba(255, 253, 247, 0.55) 58%, rgba(255, 253, 247, 0) 100%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(255, 253, 247, 0.99) 36%,
    rgba(255, 253, 247, 0.78) 46%,
    rgba(255, 253, 247, 0.18) 61%,
    rgba(255, 253, 247, 0) 74%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 190px;
  background: linear-gradient(0deg, rgba(255, 253, 247, 0.86), rgba(255, 253, 247, 0));
  pointer-events: none;
}

.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 0;
  width: min(64%, 1050px);
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(590px, calc(100% - 40px));
  align-self: center;
  margin-left: clamp(20px, 6vw, 92px);
  padding: 52px 0 70px;
}

.domain {
  margin: 0 0 24px;
  color: var(--teal);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 850;
  line-height: 1.2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 590px;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(54px, 5.6vw, 80px);
  font-weight: 700;
  line-height: 1;
}

.hero-text {
  max-width: 550px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 560;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.primary-button {
  padding: 0 28px;
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(238, 108, 89, 0.22);
}

.story-band {
  padding: 36px clamp(20px, 5vw, 84px) 72px;
  background:
    radial-gradient(circle at 22% 0%, rgba(244, 199, 93, 0.18), transparent 32%),
    linear-gradient(180deg, #fffdf7 0%, #fffaf0 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(280px, 680px) minmax(0, 160px);
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading h2,
.family-copy h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
}

.section-heading p,
.family-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.55;
}

.sketch-line {
  display: block;
  height: 42px;
  background:
    radial-gradient(circle at 11px 19px, var(--butter) 0 6px, transparent 7px),
    radial-gradient(circle at 58px 18px, transparent 0 5px, var(--teal) 6px 7px, transparent 8px),
    linear-gradient(90deg, transparent, transparent);
  position: relative;
}

.sketch-line::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 28px;
  width: 118px;
  height: 18px;
  border-top: 2px dashed rgba(83, 183, 181, 0.68);
  border-radius: 50%;
}

.sketch-line-flip {
  transform: scaleX(-1);
}

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

.story-card {
  display: grid;
  grid-template-columns: minmax(150px, 43%) 1fr;
  gap: 20px;
  min-height: 188px;
  padding: 14px;
  border: 1px solid rgba(9, 37, 82, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 28px rgba(31, 47, 71, 0.08);
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.story-card:nth-child(1) img {
  object-position: 72% 8%;
}

.story-card:nth-child(2) img {
  object-position: 70% 8%;
}

.story-card:nth-child(3) img {
  object-position: 66% 7%;
}

.story-card h3 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.04;
}

.story-card p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.48;
}

.story-card a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 850;
}

.story-card a::after {
  content: "";
  width: 17px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(0 45%, 72% 45%, 54% 0, 100% 50%, 54% 100%, 72% 56%, 0 56%);
}

.family-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
  padding: 76px clamp(20px, 6vw, 96px);
  background: #ffffff;
}

.family-copy {
  max-width: 620px;
}

.reassurance-list {
  display: grid;
  gap: 14px;
}

.reassurance-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 84px;
  padding: 18px 20px;
  border: 1px solid rgba(9, 37, 82, 0.12);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(83, 183, 181, 0.11), rgba(244, 199, 93, 0.1));
}

.reassurance-list span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
}

.reassurance-list p {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 6vw, 96px);
  background: #061a3a;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 18px;
  }

  .nav-links {
    gap: 22px;
  }

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

  .story-card {
    grid-template-columns: minmax(180px, 34%) 1fr;
  }
}

@media (max-width: 840px) {
  .site-header {
    position: relative;
    flex-wrap: wrap;
    min-height: 0;
  }

  .brand {
    flex: 1 1 100%;
  }

  .brand-name {
    white-space: normal;
  }

  .nav-links {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-cta {
    order: 3;
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: var(--paper);
  }

  .hero::before {
    display: none;
  }

  .hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: 370px;
    order: 2;
    margin-top: -12px;
    object-position: 63% center;
  }

  .hero-copy {
    order: 1;
    align-self: start;
    margin: 0 auto;
    padding: 54px 0 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sketch-line {
    display: none;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .family-section {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .brand-mark,
  .brand-mark svg {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 28px;
  }

  .nav-links {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    min-height: 0;
  }

  h1 {
    font-size: clamp(43px, 12.4vw, 56px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .story-band,
  .family-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
