/* Life Stages Nutritions — holding page
   Colours sampled from the brand logo lockup. */

:root {
  /* the logo's left-to-right life-stage progression */
  --amber:  #eda01c;
  --lime:   #7ab52e;
  --green:  #33902f;
  --teal:   #109089;
  --blue:   #1b5fa8;
  --navy:   #1b2f7a;

  --ink:      #14203a;
  --ink-soft: #5d6a80;
  --paper:    #f4f1ea;
  --rule:     #d8d2c6;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
           "Times New Roman", serif;
  --sans:  ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
           Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------- sheet */

.sheet {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 40px 30px;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------- masthead */

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.mark,
.status {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mark  { color: var(--ink); }
.status {
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(51, 144, 47, .5);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0%        { box-shadow: 0 0 0 0   rgba(51, 144, 47, .45); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(51, 144, 47, 0); }
}

/* ---------------------------------------------------- body grid */

.body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: 56px;
  padding: 54px 0;
}

/* type column ---------------------------------------- */

h1 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ink);
}

h1 em {
  font-style: italic;
  color: var(--green);
}

.lede {
  margin: 0 0 40px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
}

/* links ---------------------------------------------- */

.links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s ease, color .2s ease;
}

.link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 2px;
}

.link--lead {
  font-weight: 600;
  border-bottom-width: 2px;
  border-bottom-color: var(--ink);
}

.link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: none;
}

.arrow {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
  transition: transform .2s ease;
}

.link:hover .arrow { transform: translate(2px, -2px); }

/* logo column ---------------------------------------- */

.col--logo img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-left: auto;
  /* logo file is on white — multiply drops it onto the paper */
  mix-blend-mode: multiply;
}

/* ---------------------------------------------------- spectrum */

.spectrum { padding-bottom: 30px; }

.band {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--amber) 0%,
    var(--lime)  20%,
    var(--green) 38%,
    var(--teal)  56%,
    var(--blue)  78%,
    var(--navy)  100%
  );
}

.stages {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.stages li {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
}

.stages .age {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------- colophon */

.colophon {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.colophon p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.colophon strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------------------------------------------------- responsive */

@media (max-width: 900px) {
  .sheet { padding: 26px 24px 24px; }

  .body {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 40px 0;
  }

  .col--logo { order: -1; }

  .col--logo img {
    margin: 0;
    max-width: 330px;
  }

  .lede { margin-bottom: 32px; }
}

@media (max-width: 620px) {
  .masthead { flex-wrap: wrap; gap: 8px 16px; }

  .stages {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }
}

@media (max-width: 380px) {
  .mark { font-size: 10.5px; letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
