:root {
  color-scheme: light;
  --bg: #f7f7fa;
  --surface: #fcfcfe;
  --surface-strong: #ffffff;
  --text: #171825;
  --muted: #616376;
  --line: #dadbe5;
  --accent: #242660;
  --accent-strong: #191b4f;
  --accent-soft: #e9e9f3;
  --on-accent: #f8f8fc;
  --shadow: 0 24px 70px rgba(36, 38, 96, 0.13);
  --radius: 16px;
  --radius-small: 10px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-small);
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement {
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.announcement__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.announcement a {
  border-bottom: 1px solid currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 238px;
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.site-nav li:not(.site-nav__cta) a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav li:not(.site-nav__cta) a:hover::after,
.site-nav li:not(.site-nav__cta) a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__cta a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
}

.menu-toggle {
  display: none;
  min-width: 74px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
}

.hero {
  overflow: hidden;
  padding: clamp(28px, 4vh, 54px) 0;
}

.hero__grid {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 5.2vw, 74px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero__lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease,
    border-color 160ms ease;
}

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

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button--primary:hover {
  background: var(--accent-strong);
}

.button--secondary {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.button--secondary:hover {
  border-color: var(--accent);
}

.button--light {
  background: #f5f5fa;
  color: #18194a;
}

.hero-gallery {
  position: relative;
  display: grid;
  height: min(540px, 54vw, calc(100dvh - 180px));
  max-height: 540px;
  grid-template-columns: 1.4fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.hero-gallery::before {
  position: absolute;
  inset: 12% -10% -8% 24%;
  z-index: -1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-soft) 76%, transparent);
  content: "";
  filter: blur(8px);
}

.hero-gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-gallery__item:first-child {
  grid-row: 1 / span 2;
}

.hero-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-gallery__item:hover img {
  transform: scale(1.035);
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-strip__grid > div {
  display: grid;
  min-height: 128px;
  align-content: center;
  gap: 3px;
  padding: 24px 34px;
}

.proof-strip__grid > div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  font-size: 18px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(76px, 10vw, 140px) 0;
}

.section-heading {
  display: grid;
  max-width: 860px;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-heading h2,
.contact-band h2,
.order-flow h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-wrap: balance;
}

.section-heading p,
.order-flow__intro > p,
.contact-band p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading--compact {
  max-width: 760px;
}

.about-preview {
  background: var(--surface);
}

.about-preview__media {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 18px;
}

.about-preview__media > img {
  width: 100%;
  height: clamp(430px, 54vw, 720px);
  border-radius: var(--radius);
  object-fit: cover;
}

.about-preview__note {
  display: grid;
  min-height: 280px;
  align-content: end;
  gap: 28px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.about-preview__note p {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-weight: 750;
}

.business-preview__list {
  display: grid;
  gap: clamp(44px, 7vw, 88px);
}

.business-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}

.business-card:nth-child(even) {
  grid-template-columns: minmax(320px, 0.65fr) minmax(0, 1.35fr);
}

.business-card:nth-child(even) .business-card__media {
  order: 2;
}

.business-card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.business-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.business-card__media:hover img {
  transform: scale(1.025);
}

.business-card__body {
  display: grid;
  gap: 20px;
}

.business-card__body h2,
.business-card__body h3 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 50px);
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.business-card__body p {
  margin: 0;
  color: var(--muted);
}

.product-preview {
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}

.product-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__body {
  padding: 14px 4px 0;
}

.product-card__body p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 12px;
}

.product-card__body h2,
.product-card__body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.product-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--featured .product-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.product-grid--featured .product-card:first-child h3 {
  font-size: clamp(20px, 2vw, 28px);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.order-flow {
  overflow: hidden;
}

.order-flow__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 9vw, 124px);
}

.order-flow__intro {
  position: sticky;
  top: calc(var(--header-height) + 60px);
  align-self: start;
}

.order-flow__intro > p {
  margin-top: 24px;
}

.order-flow__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.order-flow__steps li {
  position: relative;
  display: grid;
  min-height: 190px;
  align-content: center;
  gap: 10px;
  padding: 34px 20px 34px 82px;
  border-bottom: 1px solid var(--line);
  counter-increment: flow;
}

.order-flow__steps li:first-child {
  border-top: 1px solid var(--line);
}

.order-flow__steps li::before {
  position: absolute;
  top: 45px;
  left: 8px;
  color: var(--accent);
  content: counter(flow, decimal-leading-zero);
  font-size: 14px;
  font-weight: 800;
}

.order-flow__steps span {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 780;
  letter-spacing: -0.025em;
}

.order-flow__steps p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

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

.contact-band__inner {
  display: flex;
  min-height: 330px;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(42px, 7vw, 86px);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
}

.contact-band h2 {
  font-size: clamp(36px, 4.5vw, 60px);
}

.contact-band p {
  margin-top: 18px;
  color: color-mix(in srgb, var(--on-accent) 78%, transparent);
}

.site-footer {
  padding: 72px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 0.7fr 1fr;
  gap: 48px;
}

.brand--footer img {
  width: min(100%, 270px);
}

.site-footer__statement {
  max-width: 380px;
  margin: 24px 0 0;
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 14px;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.site-footer__contact {
  color: var(--muted);
  font-size: 14px;
}

.site-footer__contact a {
  color: var(--accent);
  font-weight: 700;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer__bottom p {
  margin: 0;
}

.page-hero {
  padding: clamp(62px, 8vw, 108px) 0;
  background: var(--surface);
}

.page-hero__grid {
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 810;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.page-hero__grid > div:first-child > p:last-child {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.page-hero__mark {
  color: var(--accent-soft);
  font-size: clamp(82px, 14vw, 190px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.76;
  user-select: none;
}

.page-hero__visual {
  position: relative;
  width: min(38vw, 520px);
  aspect-ratio: 3 / 2;
  justify-self: end;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.page-hero__visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--line) 64%, transparent);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.page-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-hero__visual:hover img {
  transform: scale(1.025);
}

.breadcrumb {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 12px;
}

.article-layout {
  max-width: 900px;
}

.article-content {
  font-size: 17px;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content .lead,
.product-detail__description {
  color: var(--text);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 650;
  line-height: 1.7;
}

.article-content p {
  margin: 0 0 1.35em;
  color: var(--muted);
}

.article-content h2 {
  margin: 2.4em 0 0.7em;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.article-content h3 {
  margin: 2em 0 0.6em;
  font-size: clamp(21px, 2.5vw, 28px);
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-table {
  margin: 54px 0 0;
  border-top: 1px solid var(--line);
}

.company-table > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  font-weight: 760;
}

.company-table dd {
  margin: 0;
  color: var(--muted);
}

.business-preview__list--page {
  margin-top: 22px;
}

.detail-hero {
  padding: clamp(54px, 8vw, 104px) 0;
}

.detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.detail-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.detail-hero__copy > p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.detail-hero__grid > img {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  object-fit: cover;
}

.category-nav {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin-bottom: 44px;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.category-nav a {
  flex: 0 0 auto;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  font-size: 13px;
  font-weight: 700;
}

.category-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 56px;
}

.pagination > a,
.pagination span a,
.pagination span span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  font-size: 13px;
}

.empty-state {
  display: grid;
  min-height: 320px;
  justify-items: start;
  align-content: center;
  gap: 14px;
  padding: 44px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-preview {
  background: var(--surface);
}

.news-preview__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.news-preview__heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.news-preview__list {
  border-top: 1px solid var(--line);
}

.news-preview__list article {
  border-bottom: 1px solid var(--line);
}

.news-preview__list article > a {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(260px, 0.75fr) minmax(300px, 1.2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 30px 4px;
}

.news-preview__meta {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

.news-preview__meta span {
  color: var(--accent);
  font-weight: 750;
}

.news-preview__list h3,
.news-preview__list p {
  margin: 0;
}

.news-preview__list h3 {
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.news-preview__list p {
  color: var(--muted);
  font-size: 14px;
}

.news-list article {
  display: grid;
  gap: 8px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--muted);
  font-size: 12px;
}

.news-list h2 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.45;
}

.news-list p {
  margin: 0;
  color: var(--muted);
}

.product-detail {
  padding-top: clamp(48px, 7vw, 90px);
}

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
}

.product-detail__media {
  position: sticky;
  top: calc(var(--header-height) + 46px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.product-detail__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -0.04em;
  line-height: 1.18;
  text-wrap: balance;
}

.product-detail__description {
  margin: 26px 0 40px;
  font-size: 19px;
}

.product-detail__copy .article-content {
  margin-bottom: 36px;
  font-size: 15px;
}

.product-detail__copy .article-content h2 {
  font-size: 24px;
}

.product-facts {
  margin: 0 0 36px;
  border-top: 1px solid var(--line);
}

.product-facts > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts dt {
  font-size: 13px;
  font-weight: 760;
}

.product-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.adjacent-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.adjacent-links:empty {
  display: none;
}

.adjacent-links a:last-child {
  text-align: right;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(48px, 9vw, 128px);
}

.contact-page__intro h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.contact-page__intro p {
  color: var(--muted);
}

.contact-page__privacy-note {
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 760;
}

.form-field label span {
  margin-left: 7px;
  color: var(--accent);
  font-size: 11px;
}

.form-field label .optional {
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--bg);
  color: var(--text);
}

.form-field input {
  min-height: 52px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 168px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.field-help,
.field-error,
.form-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 12px;
}

.field-help {
  color: var(--muted);
}

.field-error {
  color: #b52d3a;
}

.captcha-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 204px;
  gap: 12px;
}

.captcha-refresh {
  display: grid;
  min-height: 52px;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 9px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.captcha-refresh img {
  width: 120px;
  height: auto;
  max-height: 52px;
  border-radius: calc(var(--radius-small) - 1px) 0 0 calc(var(--radius-small) - 1px);
  object-fit: contain;
}

.form-field--consent label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

.form-field--consent input {
  width: 20px;
  min-height: 20px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--accent);
}

.form-field--consent label > span {
  margin: 0;
  color: var(--muted);
  font-size: inherit;
}

.form-field--consent a {
  color: var(--accent);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form .button {
  width: fit-content;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .brand img {
    width: 205px;
  }

  .site-nav ul {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }

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

  .site-footer__grid {
    grid-template-columns: 1.5fr 0.8fr 0.8fr;
  }

  .site-footer__contact {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--mobile-nav-top, 108px);
    right: 0;
    left: 0;
    height: calc(100dvh - var(--mobile-nav-top, 108px));
    max-height: calc(100dvh - var(--mobile-nav-top, 108px));
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    display: grid;
    gap: 0;
    width: min(100% - 48px, 1280px);
    margin: 0 auto;
    padding: 18px 0 28px;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav a,
  .site-nav__cta a {
    display: flex;
    min-height: 54px;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 16px;
  }

  .hero__grid,
  .detail-hero__grid,
  .product-detail__grid,
  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: auto;
  }

  .hero-gallery {
    height: min(680px, 92vw);
  }

  .product-detail__media,
  .order-flow__intro {
    position: static;
  }

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

  .business-card:nth-child(even) .business-card__media {
    order: 0;
  }

  .about-preview__media,
  .order-flow__grid {
    grid-template-columns: 1fr;
  }

  .about-preview__note {
    min-height: auto;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 260px;
  }

  .page-hero__mark {
    display: none;
  }

  .page-hero__visual {
    width: min(100%, 680px);
    justify-self: start;
  }

  .news-preview__list article > a {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .news-preview__list p {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .announcement__inner {
    justify-content: center;
  }

  .announcement a {
    display: none;
  }

  .brand img {
    width: 190px;
  }

  .hero {
    padding: 38px 0 44px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-gallery {
    height: 118vw;
    max-height: 570px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 0.75fr;
  }

  .hero-gallery__item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .proof-strip__grid {
    grid-template-columns: 1fr;
  }

  .proof-strip__grid > div {
    min-height: 98px;
    padding: 20px 4px;
  }

  .proof-strip__grid > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-preview__media > img {
    height: 82vw;
  }

  .product-grid,
  .product-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }

  .product-grid--featured .product-card:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .product-card__body h2,
  .product-card__body h3 {
    font-size: 14px;
  }

  .contact-band__inner {
    min-height: 360px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid > div:first-child {
    grid-column: 1 / span 2;
  }

  .site-footer__contact {
    grid-column: 1 / span 2;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 54px 0 68px;
  }

  .page-hero h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .page-hero__visual {
    width: 100%;
  }

  .news-preview__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-preview__list article > a {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 2px;
  }

  .news-preview__list p {
    grid-column: auto;
  }

  .company-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-hero__grid > img {
    aspect-ratio: 4 / 3;
  }

  .product-detail {
    padding-top: 40px;
  }

  .product-detail__copy .eyebrow {
    margin-top: 8px;
  }

  .adjacent-links {
    grid-template-columns: 1fr;
  }

  .adjacent-links a:last-child {
    text-align: left;
  }

  .product-facts > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-page__grid {
    gap: 40px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .captcha-control {
    grid-template-columns: 1fr;
  }

  .captcha-refresh {
    width: 204px;
  }

  .order-flow__steps li {
    min-height: 170px;
    padding-left: 64px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
