/* Superdough — one stylesheet for the whole site. Brand colours come from the old Wix site. */

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #004620;
  --green-ink: #12321f;
  --green-veil: rgb(0 70 32 / 0.82);
  --orange: #f47b20;
  --orange-deep: #e2600c;
  --orange-text: #c2470a;
  --yellow: #ffbd14;
  --cream: #fcf8ed;
  --white: #fff;
  --line: rgb(0 70 32 / 0.14);
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 4px;
  --shadow: 0 1px 2px rgb(0 40 18 / 0.08), 0 12px 32px rgb(0 40 18 / 0.14);
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--green-ink);
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--green);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--green); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--yellow); color: var(--green); padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.label {
  margin: 0 0 10px;
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  color: var(--white);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px;
  max-width: none; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; fill: currentColor; }
.brand-name { font-size: 11.5px; font-weight: 750; letter-spacing: 0.16em; line-height: 1; }
.nav { display: flex; gap: clamp(20px, 4vw, 56px); }
.nav a {
  position: relative;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--yellow); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 600px) {
  .site-header .wrap { flex-direction: column; align-items: stretch; padding-top: 14px; gap: 12px; }
  .brand { flex-direction: row; gap: 10px; align-self: center; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 13px; }
  .nav { justify-content: space-between; gap: 8px; border-top: 1px solid rgb(255 255 255 / 0.25); padding-top: 6px; }
  .nav a { font-size: 12.5px; letter-spacing: 0.06em; }
}

/* ---------- Photo heroes ---------- */
.photo-section { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--green); }
.photo-section > .bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.photo-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-veil); }
.photo-section h1, .photo-section h2 { color: var(--white); }

.hero {
  min-height: min(100svh, 980px);
  display: grid; align-items: center;
  padding: 150px 0 72px;
}
.hero-logo { display: grid; justify-items: center; gap: 10px; margin: 0 auto 36px; }
.hero-logo img { width: clamp(200px, 22vw, 290px); }
.hero-logo span { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.statement {
  max-width: 30ch; margin: 0 auto;
  font-size: clamp(24px, 3.1vw, 40px); font-weight: 450; line-height: 1.32; letter-spacing: -0.01em;
  text-wrap: balance;
}
.statement em { font-style: normal; font-weight: 650; color: var(--yellow); white-space: nowrap; }

.trusted { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 44px; margin-top: clamp(48px, 7vw, 88px); }
.trusted .label { color: rgb(255 255 255 / 0.85); margin: 0; font-size: 11.5px; }
.clients { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px 40px; margin: 0; padding: 0; list-style: none; }
.clients img { height: 56px; width: auto; }
.clients .wide img { height: 38px; }
@media (max-width: 600px) {
  .hero { min-height: 0; padding: 150px 0 64px; }
  .trusted { flex-direction: column; gap: 18px; }
  .clients { flex-wrap: nowrap; gap: 16px; }
  .clients img { height: 36px; }
  .clients .wide img { height: 24px; }
}

/* ---------- Bands and cards ---------- */
.band { padding: var(--section) 0; }
.band--orange { background: var(--orange); }
.band--yellow { background: var(--yellow); }
.band--green { background: var(--green); color: var(--white); }
.band--cream { background: var(--cream); }

.card {
  background: var(--white); color: var(--green-ink);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.card h1, .card h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 22px; }
.card--narrow { max-width: 640px; margin: 0 auto; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  color: var(--green); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--yellow); padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--green); }

/* Quality in Quantity: photo with a white frame, card overlapping it */
.feature { display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
.feature-photo { margin: 0; grid-column: 1 / 2; grid-row: 1; border: 8px solid var(--white); box-shadow: var(--shadow); }
.feature-photo img { width: 100%; aspect-ratio: 3025 / 4000; object-fit: cover; }
.feature-card { grid-column: 1 / 3; grid-row: 1; margin-left: 30%; max-width: 640px; text-align: center; position: relative; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature-photo { width: 78%; justify-self: start; }
  .feature-photo img { aspect-ratio: 4 / 3; }
  .feature-card { grid-column: 1; grid-row: 2; margin: -64px 0 0 12%; }
}

/* ---------- Products ---------- */
.products { padding: var(--section) 0; }
.section-title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 24px; text-align: center; }
.intro { max-width: 760px; margin: 0 auto; text-align: center; }
.product-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 20px;
  margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; list-style: none;
}
.product-grid li { display: grid; gap: 14px; align-content: start; text-align: center; }
.product-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.product-grid span { color: var(--green); font-weight: 700; font-size: 15.5px; line-height: 1.3; text-wrap: balance; }
@media (max-width: 860px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }

/* ---------- About: story ---------- */
.story { padding: 150px 0 var(--section); }
.story-stage { position: relative; padding: 60px 0 200px; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; object-fit: cover; }
.story-photo--a { position: absolute; left: 0; top: 0; width: 38%; }
.story-photo--a img { aspect-ratio: 4500 / 3675; }
.story-photo--b { position: absolute; right: 2%; bottom: 0; width: 33%; border: 8px solid var(--white); box-shadow: var(--shadow); }
.story-photo--b img { aspect-ratio: 3751 / 2843; }
.story-mark { position: absolute; right: 6%; top: 24px; width: clamp(64px, 8vw, 96px); fill: #b9cc1f; }
.story-card { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.story-card h1 { color: var(--orange-text); text-align: center; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 0; padding: 28px 0 0; list-style: none; border-top: 1px solid var(--line); }
.pillars li { display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--orange-text); font-size: 12.5px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; }
.pillars svg { width: 34px; height: 30px; fill: var(--orange); }
@media (max-width: 860px) {
  .story { padding-top: 140px; }
  .story-stage { padding: 0 var(--gutter); display: grid; }
  .story-photo--a, .story-photo--b, .story-mark { position: static; }
  .story-photo--a { width: 82%; }
  .story-card { margin: -56px 0 0 6%; }
  .story-photo--b { width: 74%; justify-self: end; margin-top: -24px; position: relative; z-index: 2; }
  .story-mark { display: none; }
}
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; gap: 18px; }
  .pillars li { grid-template-columns: 34px 1fr; justify-items: start; text-align: left; align-items: center; gap: 14px; }
}

/* ---------- About: awards ---------- */
.awards h2 { color: var(--white); text-align: center; font-size: clamp(26px, 3vw, 36px); margin-bottom: clamp(32px, 5vw, 56px); }
.award-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.award {
  display: grid; justify-items: center; align-content: start; gap: 22px;
  padding: 40px 20px 36px; background: var(--green); color: var(--white); text-align: center; border-radius: var(--radius);
}
.award .logo { height: 72px; display: grid; place-items: center; }
.award img { max-height: 72px; width: auto; }
.award img.wide { max-height: 44px; }
.award .rule { width: 36px; height: 2px; background: var(--yellow); }
.award p { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5; text-wrap: balance; }
.award p span { display: block; color: var(--yellow); letter-spacing: 0.06em; margin-top: 4px; }
@media (max-width: 900px) { .award-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .award { padding: 28px 12px; } .award p { font-size: 12px; letter-spacing: 0.06em; } }

/* ---------- About: giving back ---------- */
.giving { padding: var(--section) 0; text-align: center; }
.giving-title { display: grid; gap: 4px; margin-bottom: 28px; }
.giving-title .script { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(26px, 3vw, 36px); letter-spacing: 0; }
.giving-title .big { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.giving .copy { max-width: 760px; margin: 0 auto; }
.charities { margin-top: 24px; color: rgb(255 255 255 / 0.85); font-size: 15.5px; }

/* ---------- Join us ---------- */
.hero--join { min-height: min(78svh, 760px); text-align: center; }
.hero--join h1 { color: var(--yellow); font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 28px; }
.hero--join .label { color: var(--yellow); opacity: 0.9; }
.positions { margin: 0 0 32px; padding: 0; list-style: none; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.45; letter-spacing: 0.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  background: var(--orange); color: var(--white);
  border-radius: 999px; font-weight: 750; font-size: 16px; text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
.btn:hover { background: var(--orange-deep); }
.btn:active { transform: scale(0.98); }
.btn--green { background: var(--green); }
.btn--green:hover { background: #00361a; }

.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.split figure { margin: 0; min-height: 100%; }
.split figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-text { display: grid; align-content: center; padding: clamp(40px, 7vw, 96px) var(--gutter); }
.split-inner { max-width: 460px; width: 100%; margin: 0 auto; }
.split-text h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 22px; }
.split-text ol { margin: 0; padding-left: 1.4em; }
.split-text ol li { padding-left: 4px; margin-bottom: 6px; }
.split-text ol li::marker { color: var(--orange-text); font-weight: 750; }
.checklist { margin: 4px 0 20px; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 6px; font-weight: 700; color: var(--green); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }
.split-text .btn { margin-top: 8px; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse figure { order: -1; }
}

/* ---------- Contact ---------- */
.hero--contact { min-height: auto; padding: 150px 0 clamp(64px, 9vw, 120px); }
.contact-card { max-width: 800px; margin: 0 auto; }
.contact-card h1 { color: var(--orange-text); margin-bottom: 12px; }
.contact-card .lede { color: var(--orange-text); font-size: 18px; margin-bottom: 36px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin: 0; }
.contact-list div { padding-top: 18px; border-top: 1px solid var(--line); }
.contact-list dt { margin-bottom: 8px; }
.contact-list dd { margin: 0; }
.contact-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.contact-list .wide { grid-column: 1 / -1; }
.contact-card .btn { margin-bottom: 40px; }
@media (max-width: 640px) { .contact-list { grid-template-columns: 1fr; } }
.map-link { display: inline-block; font-size: 14px; color: var(--green); font-weight: 650; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--white); font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 36px 48px; align-items: start; }
.footer-logo img { width: 224px; }
.site-footer h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 10px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration-color: rgb(0 70 32 / 0.35); }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgb(18 50 31 / 0.7); }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-logo { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; }
.notfound h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 16px; }
.notfound p { margin-bottom: 28px; }
