:root {
  color-scheme: light;
  --ink: #202018;
  --sumi: #11150f;
  --muted: #625d52;
  --paper: #fffdf8;
  --warm: #f7f2e8;
  --rice: #eee5d3;
  --line: #d8cbb5;
  --green: #1d2c1b;
  --green-soft: #e9eee4;
  --gold: #a97d2e;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(31, 33, 29, 0.1);
  --display: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid rgba(169, 125, 46, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--sumi);
  font-family: var(--display);
  font-weight: 600;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: clamp(150px, 12vw, 174px);
  height: auto;
  aspect-ratio: 10 / 3;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.55vw, 22px);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav a {
  white-space: nowrap;
}

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

.cart-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.cart-button {
  gap: 8px;
  min-width: 64px;
  height: 44px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
}

.cart-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 5px 5px;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -8px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 7vw, 112px) 72px;
}

.hero picture,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 15, 10, 0.74), rgba(10, 15, 10, 0.36) 46%, rgba(10, 15, 10, 0.04)),
    linear-gradient(180deg, rgba(10, 15, 10, 0.08), rgba(10, 15, 10, 0.54));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100%, 940px);
  min-width: 0;
  max-width: 940px;
  margin: 0 auto;
  color: var(--white);
  text-align: center;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.7);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.55rem, 5.5vw, 5.2rem);
  font-weight: 500;
  line-height: 1.16;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

.hero h1.hero-buyback-title {
  max-width: 980px;
  font-size: clamp(3.15rem, 7.2vw, 7.6rem);
  font-weight: 650;
  line-height: 1.02;
}

.hero-buyback-title span:first-child {
  color: #f0d38b;
}

.hero h1 span {
  display: block;
}

.hero p:not(.hero-kicker) {
  width: min(100%, 690px);
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  line-height: 2;
  overflow-wrap: anywhere;
}

.hero-lead span {
  display: block;
}

.hero-buyback-note {
  display: block;
  width: min(100%, 560px);
  margin-top: 22px;
}

.hero-buyback-note span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 22px;
  border: 1px solid rgba(240, 211, 139, 0.62);
  background: rgba(17, 21, 15, 0.24);
  color: #f5e5bb;
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(29, 44, 27, 0.16);
}

.hero .button.primary {
  background: var(--white);
  color: var(--green);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button.secondary {
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.wide {
  width: 100%;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: clamp(22px, 4vw, 58px);
  bottom: 36px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  margin: 12px auto 0;
  background: rgba(255, 255, 255, 0.5);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--green);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.summary-strip div {
  padding: 34px clamp(18px, 3vw, 38px);
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.summary-strip strong,
.summary-strip span {
  display: block;
}

.summary-strip strong {
  color: #ecd08d;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
}

.summary-strip span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.top-news-strip {
  padding: 24px clamp(18px, 5vw, 70px);
  background: var(--white);
  border-bottom: 1px solid rgba(216, 203, 181, 0.78);
}

.top-news-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
  max-width: 1080px;
  margin: 0 auto;
}

.top-news-inner h2 {
  margin: 0;
  padding-right: 22px;
  border-right: 2px solid var(--gold);
  color: var(--green);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.top-news-inner a {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
}

.top-news-inner time {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.top-news-inner span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audience-section {
  background: var(--paper);
  padding-top: clamp(62px, 7vw, 102px);
}

.four-pillars-section {
  background: var(--paper);
  padding-top: clamp(62px, 7vw, 102px);
}

.four-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.four-pillar-link {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 154px;
  padding: 26px;
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: background-color 180ms ease, color 180ms ease;
}

.four-pillar-link:first-child {
  border-left: 1px solid var(--line);
}

.four-pillar-link span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.four-pillar-link strong {
  color: var(--sumi);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
}

.four-pillar-link:hover,
.four-pillar-link.is-primary {
  background: var(--green);
}

.four-pillar-link:hover strong,
.four-pillar-link.is-primary strong {
  color: var(--white);
}

.four-pillar-link.is-primary span {
  color: #ead197;
}

.business-chapter {
  scroll-margin-top: 78px;
}

.company-chapter,
.white-rice-chapter {
  background: var(--white);
}

.purchase-chapter {
  background: var(--warm);
}

.rice-sales-chapter {
  background: var(--paper);
}

.chapter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.chapter-copy {
  max-width: 640px;
}

.chapter-number {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chapter-copy h2 {
  margin: 0 0 24px;
  color: var(--sumi);
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.25;
}

.chapter-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.chapter-copy .chapter-lead {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  font-weight: 700;
  line-height: 1.8;
}

.chapter-copy .representative {
  margin-top: 28px;
  color: var(--ink);
}

.chapter-photo {
  min-height: 470px;
  overflow: hidden;
  background: var(--rice);
}

.chapter-photo picture,
.chapter-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.chapter-photo img {
  min-height: 470px;
  object-fit: cover;
}

.chapter-list {
  display: grid;
  gap: 0;
  margin: 26px 0 6px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.chapter-list li {
  position: relative;
  padding: 12px 10px 12px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.chapter-list li::before {
  content: "";
  position: absolute;
  top: 1.35em;
  left: 4px;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.chapter-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: clamp(48px, 7vw, 78px) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chapter-principles article {
  padding: 28px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.chapter-principles article:first-child {
  border-left: 1px solid var(--line);
}

.chapter-principles span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
}

.chapter-principles h3,
.inspection-summary h3 {
  margin: 8px 0 10px;
  color: var(--sumi);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0;
}

.chapter-principles p,
.inspection-summary p {
  margin: 0;
  color: var(--muted);
}

.chapter-profile {
  max-width: 980px;
  margin: clamp(48px, 7vw, 78px) auto 0;
  padding-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--line);
}

.chapter-profile h3 {
  margin: 8px 0 24px;
  color: var(--sumi);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
}

.chapter-profile .text-link {
  margin-top: 28px;
}

.inspection-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1200px;
  margin: clamp(48px, 7vw, 78px) auto 0;
  padding-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--line);
}

.inspection-summary-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.inspection-summary-photos figure {
  display: grid;
  grid-template-rows: 180px auto;
  margin: 0;
  background: var(--white);
}

.inspection-summary-photos img {
  width: 100%;
  height: 180px;
  padding: 12px;
  object-fit: contain;
}

.inspection-summary-photos figcaption {
  position: static;
  padding: 12px 10px 14px;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.audience-grid,
.entrance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.entrance-grid {
  align-items: stretch;
}

.entrance-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 28px;
  min-height: 330px;
  padding: clamp(28px, 4vw, 44px) clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  box-shadow: 0 18px 50px rgba(31, 33, 29, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.entrance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 125, 46, 0.54);
  box-shadow: 0 24px 62px rgba(31, 33, 29, 0.1);
}

.entrance-card.is-primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.entrance-number {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
}

.entrance-card.is-primary .entrance-number {
  background: rgba(255, 255, 255, 0.1);
  color: #ead197;
  border: 1px solid rgba(234, 209, 151, 0.42);
}

.entrance-card .audience-label {
  margin-bottom: 10px;
}

.entrance-card h3 {
  margin: 0;
  color: var(--sumi);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.45;
}

.entrance-card p:not(.audience-label) {
  margin: 14px 0 0;
  color: var(--muted);
}

.entrance-card.is-primary h3,
.entrance-card.is-primary p:not(.audience-label) {
  color: var(--white);
}

.entrance-card.is-primary .audience-label {
  color: #ead197;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 24px;
  color: var(--gold);
  font-weight: 800;
}

.btn-arrow::after {
  content: ">";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.entrance-card:hover .btn-arrow::after {
  transform: translateX(4px);
}

.entrance-card.is-primary .btn-arrow {
  color: #ead197;
}

.audience-card,
.value-card,
.profile-table,
.flow-card,
.subpage-card,
.contact-route {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(31, 33, 29, 0.045);
}

.audience-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.audience-card figure {
  min-height: 260px;
  overflow: hidden;
  background: var(--rice);
}

.audience-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-card > div {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
}

.audience-label,
.value-card span,
.flow-card span {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.audience-card h3,
.value-card h3,
.flow-card h3,
.subpage-card h3,
.contact-route h3 {
  margin: 0;
  color: var(--sumi);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.35;
}

.audience-card p:not(.audience-label),
.value-card p,
.flow-card p,
.subpage-card p,
.contact-route p {
  margin: 0;
  color: var(--muted);
}

.inspection-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.inspection-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(31, 33, 29, 0.045);
}

.inspection-card figure {
  height: 260px;
  min-height: 0;
  overflow: hidden;
  background: var(--rice);
}

.inspection-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-photo {
  background: #f7f5ef;
}

.machine-photo img,
.process-card figure img[src*="grain-judge-rn700-clean"] {
  object-fit: contain;
  object-position: center;
  padding: clamp(14px, 2vw, 24px);
}

.inspection-card > div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.inspection-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.inspection-card h3 {
  margin: 0;
  color: var(--sumi);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.58rem);
  font-weight: 600;
  line-height: 1.35;
}

.inspection-card p {
  margin: 0;
  color: var(--muted);
}

.audience-card .button {
  align-self: end;
  justify-self: start;
  margin-top: 8px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-weight: 700;
}

.service-overview {
  background: var(--white);
}

#brown-rice,
#white-rice,
#about,
#purchase-service,
#brown-rice-service,
#white-rice-service,
#sales-overview,
#services {
  scroll-margin-top: 110px;
}

.service-blocks {
  display: grid;
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
}

.service-block-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.service-block-card:nth-child(even) {
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.95fr);
}

.service-block-card:nth-child(even) figure {
  order: 2;
}

.service-block-card figure {
  min-height: 320px;
  overflow: hidden;
  background: var(--rice);
}

.service-block-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-block-card h3 {
  margin: 8px 0 12px;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1.35;
}

.service-block-card p {
  max-width: 38em;
  margin: 0;
  color: var(--muted);
}

.values-section {
  background: linear-gradient(180deg, var(--warm), var(--paper));
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px);
}

.value-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(169, 125, 46, 0.42);
}

.section {
  padding: clamp(82px, 9vw, 132px) clamp(20px, 6vw, 88px);
}

.section-heading,
.split-section,
.quality-layout,
.wholesale-section {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr);
  grid-template-areas:
    "label title"
    ". text";
  column-gap: clamp(24px, 5vw, 76px);
  row-gap: 18px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.section-heading > .eyebrow {
  grid-area: label;
  margin-bottom: 0;
  padding-top: 0.7em;
}

.section-heading > h2 {
  grid-area: title;
}

.section-heading > p:not(.eyebrow) {
  grid-area: text;
  max-width: 48em;
  margin: 0;
}

.section-heading h2,
.section-copy h2,
.land-heading h2,
.wholesale-copy h2,
.diagnosis-panel h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.45vw, 3.35rem);
  font-weight: 500;
  line-height: 1.26;
}

.section-heading p,
.section-copy p,
.land-notes p,
.wholesale-copy p,
.diagnosis-panel p,
.contact-panel p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.section-copy {
  max-width: 42em;
}

.large-photo,
.land-main,
.quality-photos figure,
.process-card figure {
  overflow: hidden;
  background: var(--rice);
}

.large-photo {
  min-height: 560px;
}

.text-only-section .section-copy {
  max-width: 800px;
  margin: 0 auto;
}

figure {
  margin: 0;
}

figure img,
figure picture {
  display: block;
  width: 100%;
  height: 100%;
}

figure img {
  object-fit: cover;
}

.land-section {
  background: var(--warm);
}

.land-heading {
  max-width: 1040px;
  margin: 0 auto clamp(38px, 6vw, 76px);
  text-align: center;
}

.land-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 68px);
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.land-main {
  min-height: 650px;
}

.land-notes {
  display: grid;
  align-content: center;
  gap: 20px;
}

.land-notes article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.land-notes span,
.process-number,
.feature-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.land-notes h3 {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
}

.climate-stat {
  display: grid;
  gap: 4px;
  margin: 14px 0 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.climate-stat strong {
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
}

.climate-stat span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.source-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.source-note a {
  color: var(--green);
  border-bottom: 1px solid rgba(29, 44, 27, 0.28);
}

.process-section {
  background: var(--paper);
}

.process-timeline {
  display: grid;
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--line);
}

.process-card {
  display: grid;
  grid-template-columns: 96px minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  background: var(--paper);
}

.process-card figure {
  min-height: 250px;
}

.process-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
}

.process-card p {
  margin: 0;
  color: var(--muted);
}

.quality-section {
  background: var(--green);
  color: var(--white);
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(380px, 1.12fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.section-copy.light p,
.section-copy.light h2 {
  color: var(--white);
}

.quality-photos {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 14px;
}

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

.quality-photos figure {
  position: relative;
  min-height: 420px;
}

.quality-photos figure:last-child {
  min-height: 320px;
  align-self: end;
}

.quality-photos.inspection-photos figure,
.quality-photos.inspection-photos figure:last-child {
  min-height: 390px;
  align-self: stretch;
}

figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 10, 0.78));
  color: var(--white);
  font-weight: 700;
}

.quality-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
  margin: 42px auto 0;
}

.quality-points span,
.taste-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  font-weight: 700;
}

.product-grid,
.comparison-grid,
.article-grid,
.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  min-width: 0;
}

.product-card,
.compare-card,
.article-card,
.guide-steps article,
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(31, 33, 29, 0.045);
}

.article-card,
.guide-steps article {
  padding: 24px;
}

.article-card h3,
.guide-steps h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
}

.article-card p,
.guide-steps p,
.compare-card p {
  color: var(--muted);
}

.products-section {
  background: linear-gradient(180deg, var(--warm), var(--paper));
}

.recipe-inline-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  max-width: 1200px;
  margin: 26px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.recipe-inline-link span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.recipe-inline-link a {
  color: var(--green);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.subpage-main {
  padding-top: 78px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  min-height: 74vh;
  padding: clamp(80px, 10vw, 132px) clamp(20px, 6vw, 88px) clamp(48px, 8vw, 92px);
  background: var(--paper);
}

.subpage-hero h1 {
  margin: 0;
  color: var(--sumi);
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.18;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 35em;
  color: var(--muted);
}

.subpage-hero figure {
  min-height: min(56vw, 560px);
  margin: 0;
  overflow: hidden;
}

.subpage-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subpage-card-grid,
.flow-grid,
.contact-grid {
  display: grid;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.subpage-card {
  display: grid;
}

.subpage-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.subpage-card > div,
.contact-route {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
}

.flow-section {
  background: var(--warm);
}

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

.flow-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 26px;
}

.profile-section {
  background: var(--paper);
}

.profile-table {
  max-width: 980px;
  margin: 0 auto;
}

.profile-table div {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) 1fr;
  border-bottom: 1px solid var(--line);
}

.profile-table div:last-child {
  border-bottom: 0;
}

.profile-table dt,
.profile-table dd {
  margin: 0;
  padding: 18px 22px;
}

.profile-table dt {
  background: var(--warm);
  color: var(--green);
  font-weight: 700;
}

.profile-table dd {
  color: var(--muted);
}

.legal-hero {
  min-height: 58vh;
}

.legal-hero figure {
  min-height: min(38vw, 390px);
}

.legal-section {
  background: var(--paper);
}

.legal-notice {
  max-width: 980px;
  margin: 0 auto clamp(32px, 5vw, 58px);
  padding: clamp(24px, 4vw, 42px) 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--line);
}

.legal-notice h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
}

.legal-notice p:last-child {
  max-width: 52em;
  margin-bottom: 0;
  color: var(--muted);
}

.legal-table dd {
  line-height: 1.85;
}

.privacy-content {
  max-width: 980px;
  margin: 0 auto;
}

.privacy-content article {
  padding: clamp(26px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}

.privacy-content h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 600;
}

.privacy-content h2 span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
  line-height: 1.95;
}

.privacy-content ul {
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.policy-date {
  margin-top: 22px;
  font-size: 0.9rem;
}

.cta-band {
  display: grid;
  justify-items: center;
  gap: 16px;
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.45vw, 3.35rem);
  font-weight: 500;
  line-height: 1.26;
}

.cta-band p:not(.eyebrow) {
  max-width: 44em;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .button.primary {
  background: var(--white);
  color: var(--green);
}

.contact-page-section {
  background: var(--warm);
}

.company-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: center;
  max-width: 1200px;
  margin: clamp(24px, 4vw, 44px) auto 0;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
}

.company-contact-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
}

.company-contact-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.company-phone {
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.2;
}

.company-map {
  display: grid;
  grid-template-columns: minmax(250px, 0.45fr) minmax(0, 1.55fr);
  max-width: 1200px;
  margin: clamp(28px, 5vw, 58px) auto 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.company-map-copy {
  align-self: center;
  padding: clamp(24px, 4vw, 44px);
}

.company-map-copy h2,
.company-map-copy h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
}

.profile-map {
  margin-top: clamp(28px, 4vw, 46px);
}

.company-map-copy p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
}

.company-map iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
}

.contact-form {
  max-width: 820px;
  margin: clamp(28px, 5vw, 58px) auto 0;
}

.back-button {
  min-width: 86px;
  border-radius: 0;
  background: var(--green);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.subpage-article-section {
  background: var(--warm);
}

.product-card {
  position: relative;
  display: grid;
  padding: 22px;
  min-width: 0;
  width: 100%;
}

.product-card > * {
  min-width: 0;
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 5px 10px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1.28;
  margin-bottom: 20px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 32%),
    linear-gradient(135deg, #eee5d2, #fffdf7 52%, #dce8d8);
  border: 1px solid #e7dcc7;
}

.rice-bag {
  display: grid;
  place-items: center;
  width: min(58%, 174px);
  aspect-ratio: 0.78;
  padding: 18px;
  background: #fffaf0;
  border: 2px solid #d4c398;
  box-shadow: 0 20px 34px rgba(82, 76, 58, 0.16);
  color: var(--green);
  text-align: center;
}

.rice-bag span,
.rice-bag small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.rice-bag strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.product-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
}

.taste-tag {
  width: fit-content;
  margin-top: 10px;
  border-color: var(--line);
  background: var(--green-soft);
  color: var(--green);
}

.product-card p {
  color: var(--muted);
}

.capacity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.capacity-list span,
.milling-list span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.milling-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.milling-list span {
  background: var(--green-soft);
  color: var(--green);
}

.product-options {
  display: grid;
  gap: 12px;
  margin: 16px 0 4px;
}

.product-options fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  border: 0;
}

.product-options legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

.product-options label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: #fffefa;
  color: var(--ink);
  font-weight: 700;
}

.product-options input[type="radio"] {
  width: auto;
  min-height: auto;
  accent-color: var(--green);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price {
  color: var(--green);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}

.quantity {
  width: 78px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.comparison-section {
  background: var(--paper);
}

.compare-card {
  padding: 24px;
}

.compare-card h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
}

.score-row {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
  color: var(--muted);
}

.score-bar {
  height: 8px;
  background: var(--warm);
}

.score-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.diagnosis-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--green-soft) 100%);
}

.diagnosis-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(360px, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(32, 51, 31, 0.18);
  box-shadow: 0 26px 70px rgba(32, 51, 31, 0.1);
}

.diagnosis-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: clamp(30px, 4vw, 54px);
  background: var(--green);
  color: var(--white);
}

.diagnosis-copy .eyebrow {
  color: #d7b56b;
}

.diagnosis-copy h2 {
  margin-bottom: 18px;
}

.diagnosis-copy p:not(.eyebrow) {
  max-width: 25em;
  color: rgba(255, 255, 255, 0.82);
}

.diagnosis-note {
  display: grid;
  gap: 12px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.diagnosis-workspace {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: clamp(24px, 4vw, 48px);
}

.diagnosis-form {
  display: grid;
  gap: 22px;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

legend {
  width: 100%;
  color: var(--green);
  font-weight: 700;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.diagnosis-result,
.checkout-result {
  color: var(--green);
  font-weight: 700;
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 0 20px;
}

.choice-group:nth-of-type(2),
.choice-group:nth-of-type(3) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-group legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.choice-group legend span {
  color: var(--gold);
  font-size: 0.82rem;
}

.choice-card {
  position: relative;
  display: block;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.choice-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 15px 16px;
  background: #fffefa;
  border: 1px solid var(--line);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.choice-body::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
}

.choice-card input:focus-visible + .choice-body {
  outline: 3px solid rgba(188, 139, 54, 0.28);
  outline-offset: 2px;
}

.choice-card input:checked + .choice-body {
  background: #fff8e8;
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(188, 139, 54, 0.65);
}

.choice-card input:checked + .choice-body::after {
  opacity: 1;
}

.choice-card:hover .choice-body {
  border-color: rgba(188, 139, 54, 0.72);
  transform: translateY(-1px);
}

.choice-title {
  padding-right: 18px;
  color: var(--sumi);
  font-weight: 700;
  line-height: 1.45;
}

.choice-text {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.diagnosis-submit {
  justify-self: start;
  min-width: 180px;
}

.diagnosis-result:empty {
  display: none;
}

.result-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #fffefa;
  border: 1px solid rgba(188, 139, 54, 0.45);
}

.result-card .result-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.result-card h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.45;
}

.result-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.guide-section {
  background: var(--paper);
}

.guide-steps span {
  color: var(--gold);
  font-weight: 700;
}

.article-card time,
.article-card span {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}

.wholesale-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.wholesale-copy ul {
  margin: 24px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.business-form,
.checkout-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 11px 13px;
  background: #fffefa;
  color: var(--ink);
}

select {
  border-radius: 0;
  appearance: auto;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-section {
  background: var(--warm);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--green);
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.contact-section {
  padding-top: 0;
}

.contact-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  background: var(--sumi);
  color: var(--white);
}

.contact-panel p,
.contact-panel h2 {
  color: var(--white);
}

.contact-panel .button.secondary,
.cta-band .button.secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
}

.cart-panel,
.checkout-panel,
.product-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cart-panel.is-open,
.checkout-panel.is-open,
.product-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.cart-backdrop,
.checkout-backdrop,
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 23, 17, 0.44);
}

.cart-drawer,
.checkout-form,
.modal-card {
  position: absolute;
  background: var(--paper);
}

.cart-drawer {
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  gap: 18px;
  width: min(440px, 100%);
  height: 100%;
  padding: 24px;
  box-shadow: -18px 0 44px rgba(20, 25, 18, 0.18);
}

.checkout-form,
.modal-card {
  top: 50%;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto;
  transform: translate(-50%, -50%);
}

.modal-card {
  padding: clamp(24px, 4vw, 42px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.cart-header,
.cart-row,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
  font-family: var(--display);
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.35rem;
}

.cart-items {
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
}

.cart-row {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.cart-total {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) 1fr;
  gap: 28px;
  padding: 42px clamp(20px, 6vw, 88px);
  background: var(--green);
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.mobile-cta {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.pdf-mode [data-reveal] {
  opacity: 1;
  transform: none;
}

html.pdf-mode .mobile-cta,
html.pdf-mode .cart-panel,
html.pdf-mode .checkout-panel,
html.pdf-mode .product-modal {
  display: none;
}

html.pdf-mode .site-header {
  position: absolute;
}

html.pdf-mode .cart-button {
  display: none;
}

html.pdf-mode .hero {
  min-height: 900px;
  padding-top: 126px;
  padding-bottom: 86px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  html,
  body {
    width: auto;
    background: var(--paper);
  }

  body {
    font-size: 10pt;
    line-height: 1.75;
  }

  .site-header {
    position: static;
    min-height: 54px;
    padding: 8px 0 12px;
    background: var(--paper);
    backdrop-filter: none;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-logo {
    width: 124px;
  }

  .nav {
    gap: 14px;
    font-size: 8pt;
  }

  .cart-button,
  .mobile-cta,
  .cart-panel,
  .checkout-panel,
  .product-modal,
  .scroll-cue {
    display: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero {
    min-height: 220mm;
    padding: 34mm 14mm 24mm;
    page-break-after: always;
  }

  .hero h1 {
    font-size: 32pt;
  }

  .hero p:not(.hero-kicker) {
    font-size: 10pt;
  }

  .summary-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .summary-strip div {
    padding: 12mm 6mm;
  }

  .summary-strip strong {
    font-size: 20pt;
  }

  .section {
    padding: 18mm 0;
  }

  .section-heading,
  .split-section,
  .land-grid,
  .quality-layout,
  .inspection-card-grid,
  .entrance-grid,
  .service-block-card,
  .service-block-card:nth-child(even),
  .audience-grid,
  .value-grid,
  .subpage-card-grid,
  .flow-grid,
  .contact-grid,
  .wholesale-section {
    max-width: none;
  }

  .section-heading h2,
  .section-copy h2,
  .land-heading h2,
  .wholesale-copy h2,
  .diagnosis-panel h2,
  .contact-panel h2 {
    font-size: 22pt;
  }

  .large-photo,
  .land-main,
  .quality-photos figure,
  .quality-photos figure:last-child,
  .process-card figure {
    min-height: 70mm;
  }

  .process-card,
  .audience-card,
  .value-card,
  .inspection-card,
  .subpage-card,
  .flow-card,
  .contact-route,
  .profile-table,
  .product-card,
  .compare-card,
  .article-card,
  .guide-steps article,
  .business-form,
  .faq-item,
  .contact-panel {
    break-inside: avoid;
  }

  .process-card {
    grid-template-columns: 18mm minmax(0, 0.85fr) minmax(0, 1fr);
  }

  .product-grid,
  .audience-grid,
  .value-grid,
  .inspection-card-grid,
  .subpage-card-grid,
  .contact-grid,
  .comparison-grid,
  .article-grid,
  .guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .diagnosis-panel {
    box-shadow: none;
  }

  .diagnosis-copy {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 6mm;
    margin-top: 14mm;
    padding: 10mm 8mm;
  }

  .site-footer p {
    font-size: 8pt;
  }

  .footer-links {
    display: none;
  }
}

@media (max-width: 1020px) {
  .nav {
    display: none;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
  }

  .cart-button {
    justify-self: end;
  }

  .summary-strip,
  .audience-grid,
  .entrance-grid,
  .value-grid,
  .inspection-card-grid,
  .subpage-card-grid,
  .flow-grid,
  .contact-grid,
  .section-heading,
  .split-section,
  .land-grid,
  .quality-layout,
  .diagnosis-panel,
  .subpage-hero,
  .company-map,
  .wholesale-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-block-card,
  .service-block-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-block-card:nth-child(even) figure {
    order: 0;
  }

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

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

  .four-pillar-link:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .four-pillar-link:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .chapter-layout,
  .inspection-summary {
    grid-template-columns: 1fr;
  }

  .chapter-layout-reverse .chapter-photo {
    order: 2;
  }

  .chapter-copy {
    max-width: 760px;
  }

  .section-heading {
    grid-template-areas:
      "label"
      "title"
      "text";
    gap: 12px;
  }

  .section-heading > .eyebrow {
    padding-top: 0;
  }

  .section-heading > p:not(.eyebrow) {
    margin: 0;
  }

  .product-grid,
  .comparison-grid,
  .article-grid,
  .guide-steps {
    grid-template-columns: 1fr;
  }

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

  .process-card figure {
    grid-column: 1 / -1;
    order: -1;
  }

  .quality-photos,
  .quality-photos.inspection-photos {
    grid-template-columns: 1fr;
  }

  .diagnosis-copy {
    min-height: 360px;
  }

  .subpage-hero {
    min-height: auto;
  }

  .profile-table div {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    min-height: 64px;
    padding: 11px 14px;
  }

  .top-news-strip {
    padding: 20px 18px;
  }

  .top-news-inner,
  .top-news-inner a {
    display: grid;
    gap: 8px;
  }

  .top-news-inner h2 {
    width: fit-content;
    padding-right: 0;
    padding-bottom: 6px;
    border-right: 0;
    border-bottom: 2px solid var(--gold);
  }

  .top-news-inner span {
    white-space: normal;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    max-width: calc(100vw - 150px);
  }

  .brand-logo {
    width: 132px;
  }

  .hero {
    min-height: 76svh;
    padding: 94px 18px 58px;
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 15, 10, 0.32), rgba(10, 15, 10, 0.76)),
      linear-gradient(90deg, rgba(10, 15, 10, 0.54), rgba(10, 15, 10, 0.12));
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.8vw, 2.55rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .hero p:not(.hero-kicker) {
    max-width: min(19.5em, calc(100vw - 56px));
    font-size: 0.96rem;
    line-height: 1.85;
  }

  .hero h1.hero-buyback-title {
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 1.05;
  }

  .hero-buyback-note {
    width: 100%;
    max-width: min(18em, calc(100vw - 56px));
    margin-top: 18px;
  }

  .hero-buyback-note span {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .hero-kicker,
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .hero-image {
    transform: none;
  }

  .hero-actions,
  .contact-actions,
  .product-actions {
    width: 100%;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: min(18em, calc(100vw - 56px));
    min-width: 0;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions-simple {
    grid-template-columns: 1fr;
  }

  .hero-actions-simple .button {
    grid-column: 1;
  }

  .hero-actions .primary {
    grid-column: 1 / -1;
  }

  .hero-actions .button {
    min-height: 48px;
    padding: 9px 8px;
    font-size: 0.9rem;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .back-button {
    width: auto;
    min-width: 72px;
    height: 38px;
    font-size: 0.78rem;
  }

  .scroll-cue {
    display: none;
  }

  .summary-strip div {
    padding: 24px 18px;
  }

  .entrance-card {
    min-height: auto;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 18px;
  }

  .entrance-number {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .entrance-card h3 {
    font-size: 1.24rem;
    line-height: 1.45;
  }

  .entrance-card p:not(.audience-label) {
    display: none;
  }

  .entrance-card .btn-arrow {
    margin-top: 12px;
    font-size: 0.82rem;
  }

  .four-pillars-section {
    padding-top: 58px;
  }

  .four-pillars-grid {
    gap: 10px;
    border: 0;
  }

  .four-pillar-link,
  .four-pillar-link:first-child,
  .four-pillar-link:nth-child(odd),
  .four-pillar-link:nth-child(-n + 2) {
    min-height: 112px;
    padding: 16px;
    border: 1px solid var(--line);
  }

  .four-pillar-link strong {
    font-size: 1.05rem;
  }

  .chapter-copy h2 {
    margin-bottom: 18px;
    font-size: 2rem;
  }

  .chapter-copy .chapter-lead {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  .chapter-photo,
  .chapter-photo img {
    min-height: 260px;
  }

  .chapter-principles {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .chapter-principles article,
  .chapter-principles article:first-child {
    padding: 22px 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .chapter-principles article:last-child {
    border-bottom: 0;
  }

  .inspection-summary {
    margin-top: 44px;
    padding-top: 34px;
  }

  .inspection-summary-photos {
    gap: 8px;
  }

  .inspection-summary-photos figure {
    grid-template-rows: 130px auto;
  }

  .inspection-summary-photos img {
    height: 130px;
    padding: 8px;
  }

  .inspection-summary-photos figcaption {
    padding: 9px 5px 11px;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .service-blocks {
    gap: 28px;
  }

  .service-block-card {
    gap: 20px;
    padding-bottom: 28px;
  }

  .service-block-card figure {
    min-height: 250px;
  }

  .section {
    padding: 70px 18px;
  }

  .section-heading h2,
  .section-copy h2,
  .land-heading h2,
  .wholesale-copy h2,
  .diagnosis-panel h2,
  .contact-panel h2 {
    font-size: 2rem;
  }

  .large-photo,
  .land-main,
  .quality-photos figure,
  .quality-photos figure:last-child,
  .process-card figure {
    min-height: 260px;
  }

  .process-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .process-number {
    font-size: 0.95rem;
  }

  .contact-panel,
  .diagnosis-panel,
  .business-form,
  .checkout-form {
    padding: 24px 18px;
  }

  .company-contact-panel {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .company-map iframe {
    min-height: 340px;
  }

  .diagnosis-panel {
    padding: 0;
  }

  .diagnosis-copy {
    min-height: auto;
  }

  .diagnosis-workspace {
    padding: 24px 18px;
  }

  .choice-group,
  .choice-group:nth-of-type(2),
  .choice-group:nth-of-type(3) {
    grid-template-columns: 1fr;
  }

  .recipe-inline-link {
    display: grid;
    justify-content: start;
    gap: 8px;
  }

  .subpage-main {
    padding-top: 64px;
  }

  .subpage-hero {
    padding: 82px 18px 52px;
  }

  .subpage-hero figure {
    min-height: 280px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100vw;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 247, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .mobile-cta a {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 48px;
    overflow: hidden;
    font-size: 0.94rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-cta a:first-child {
    background: var(--green);
    color: var(--white);
  }

  .mobile-cta a:last-child {
    border: 1px solid var(--green);
    color: var(--green);
  }

  .mobile-cta.mobile-cta-single {
    grid-template-columns: 1fr;
  }

  .mobile-cta.mobile-cta-single a,
  .mobile-cta.mobile-cta-single a:last-child {
    border: 0;
    background: var(--green);
    color: var(--white);
  }
}
