/* Bloom Capital.
 *
 * Cream paper, near-black text, one green. The green is used almost nowhere --
 * a kicker, a rule, the buttons -- and then all at once as a full-bleed field
 * behind the application, so the single thing you are meant to do is the only
 * saturated surface on the site.
 *
 * Its signature is the photography: every picture is a 3:4 portrait crop, in a
 * column beside the text. Every other theme in this repository is landscape, so
 * in greyscale this is tall images against everyone else's wide ones -- which
 * is the ADR-0006 test, and the one thing colour cannot fake.
 *
 * Zilla Slab over Work Sans. Nothing else here is set in a slab.
 */

@font-face {
  font-family: "ZillaSlab";
  src: url("display.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "WorkSans";
  src: url("text.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --green: #70a81c;
  --green-deep: #4f7a10;
  --green-ink: #2b3f0c;
  --cream: #faf7ef;
  --cream-deep: #f1ecdf;
  --paper: #ffffff;
  --ink: #23261d;
  --text: #3d4236;
  --muted: #666d5c;
  --faint: #8c9280;
  --rule: #e2ddce;
  --shell: 1140px;
  --display: "ZillaSlab", Georgia, "Times New Roman", serif;
  --body: "WorkSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.68 var(--body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 8px;
  top: 8px;
  z-index: 50;
  background: var(--green-ink);
  color: #fff;
  padding: 10px 14px;
}

:where(a, button, iframe):focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

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

.mast {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.mast__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  flex-wrap: wrap;
  padding: 10px 24px;
}

.mast__logo img {
  height: var(--logo-h, 32px);
  width: auto;
}

.mast__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex-wrap: wrap;
}

.mast__nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.mast__nav a:hover {
  color: var(--green-deep);
}

.mast__tel {
  font-family: var(--display);
  color: var(--ink) !important;
  white-space: nowrap;
}

.mast__cta {
  background: var(--green);
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 22px;
  border-radius: 999px;
  white-space: nowrap;
}

.mast__cta:hover {
  background: var(--green-deep);
}

/* ---------- the opening ---------- */

.open {
  padding: 66px 0 70px;
}

.open__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.open__grid--flip {
  align-items: start;
}

.open h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
  max-width: 15ch;
}

.open__sub {
  margin: 22px 0 0;
  max-width: 50ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.open__acts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 0;
}

/* The tall crop, and the reason this design looks like nothing else here. */
.open__fig {
  margin: 0;
}

.open__fig img {
  width: 100%;
  border-radius: 200px 200px 14px 14px;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid var(--green);
}

.btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.btn--plain {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
  font-family: var(--display);
}

.btn--plain:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- figures ---------- */

.figures {
  list-style: none;
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.figures strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}

.figures span {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--faint);
  line-height: 1.35;
}

/* ---------- sections ---------- */

.section {
  padding: 70px 0;
}

.section--cream {
  background: var(--cream-deep);
}

.kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 12px;
}

.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
  max-width: 22ch;
}

.h2--sm {
  font-size: 1.3rem;
  margin-top: 30px;
}

.sub {
  margin: 0 0 40px;
  max-width: 62ch;
  color: var(--muted);
}

.prose {
  max-width: 68ch;
  color: var(--muted);
  margin: 0 0 18px;
}

.head {
  padding: 60px 0 44px;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--rule);
}

.head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
  max-width: 20ch;
}

.head .lede {
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---------- the six seasons ---------- */

.seasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
}

.season {
  text-decoration: none;
  color: inherit;
  display: block;
}

.season__fig {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 140px 140px 10px 10px;
}

.season__fig img {
  width: 100%;
  transition: transform 0.5s ease;
}

.season:hover .season__fig img {
  transform: scale(1.04);
}

.season__when {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.season h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.018em;
  margin: 0 0 7px;
  color: var(--ink);
}

.season:hover h3 {
  color: var(--green-deep);
}

.season p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.season__fig2 {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* ---------- the application field ---------- */

.sow {
  background: var(--green-ink);
  color: #e8eddd;
  padding: 72px 0;
}

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

.sow h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
  max-width: 16ch;
}

.sow__say > p {
  margin: 0 0 24px;
  color: #c3cdb0;
  max-width: 44ch;
}

.sow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 22px;
}

.sow__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: #d5ddc7;
}

.sow__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.sow__tel {
  margin-top: 24px !important;
  font-size: 0.95rem;
}

.sow__tel a {
  font-family: var(--display);
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--green);
}

.sow__frame {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.sow__frame iframe {
  display: block;
  width: 100%;
  border: 0;
  /* No min-height: it outranks the height the form posts. See tools/forms. */
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps li {
  counter-increment: s;
}

.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--green);
  color: var(--green-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.steps h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.018em;
  margin: 0 0 8px;
  color: var(--ink);
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- product bits ---------- */

.specs {
  margin: 28px 0 0;
  border-top: 1px solid var(--rule);
}

.specs > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}

.specs dt {
  color: var(--faint);
  font-size: 0.9rem;
}

.specs dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.ticks li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 12px;
  height: 6px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

.terms {
  max-width: 74ch;
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 4px solid var(--green);
  padding-left: 22px;
}

.terms a {
  color: var(--green-deep);
}

/* ---------- footer ---------- */

.foot {
  background: var(--green-ink);
  color: #b9c4a4;
  padding: 56px 0 24px;
  font-size: 0.94rem;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}

.foot__logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.foot p {
  margin: 0 0 9px;
  max-width: 34ch;
}

.foot h4 {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  margin: 0 0 13px;
}

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

.foot li {
  padding: 4px 0;
}

.foot a {
  color: #b9c4a4;
  text-decoration: none;
}

.foot a:hover {
  color: #fff;
}

.foot__rule {
  border-top: 1px solid #3c5331;
  margin-top: 38px;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #8a9676;
}

/* ---------- narrow ---------- */

@media (max-width: 980px) {
  .open__grid,
  .sow__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  /* The portrait crop stops being a column and becomes a band, so it does not
     run the page to three screens on a tablet. */
  .open__fig img {
    border-radius: 14px;
    max-height: 60vh;
    object-fit: cover;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .open {
    padding: 48px 0 52px;
  }

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

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

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

  .foot__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mast__nav {
    gap: 16px;
    width: 100%;
    margin-left: 0;
  }

  .mast__cta {
    margin-left: auto;
  }
}
