:root {
  /* Rice paper and ink: warm neutrals, a deep 누룩-brown primary, craft gold accent. */
  --background: #f4efe6;
  --surface: #fbf8f2;
  --surface-alt: #e9e1d3;
  --foreground: #231b15;
  --muted: #5e5044;
  --border: #cfc3ae;
  --field-border: #8a7968;
  --primary: #7c2d12;
  --primary-hover: #5f220d;
  --on-primary: #ffffff;
  --accent: #8a5a0b;
  --danger: #b42318;
  --ink: #1c1612;
  --paper: #f6f1e8;
  --gold: #d9a441;
  --link: var(--paper);
  --font-display: "Noto Serif KR", "Nanum Myeongjo", serif;
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --font: var(--font-body);
  --ease: cubic-bezier(0, 0.55, 0.45, 1);
  --dur: 600ms;
  --max: 1320px;
  --pad: 40px;
  --header: 72px;
}

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

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, p { text-wrap: pretty; }

h1, h2, h3,
.h-lg, .h-md,
.p-hero__title,
.p-business__heading,
.p-globalNav a,
.contact-marquee,
.next-page strong,
.logo__name {
  font-family: var(--font-display);
}

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

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--ink); }

button, input, select, textarea { font-family: inherit; }

.u-skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: var(--primary);
  color: var(--on-primary);
  padding: 8px 12px;
  z-index: 100;
  border-radius: 9999px;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.u-skip:focus { transform: none; }

.l-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  color: var(--link);
}

.l-header.is-solid { color: var(--foreground); }

.l-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.l-header.is-solid .l-header__bar,
.l-header.is-scrolled .l-header__bar {
  background: var(--surface);
  color: var(--foreground);
  box-shadow: 0 1px 0 var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.logo svg { display: block; }

.logo { min-height: 44px; }

.logo__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.l-header__tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.p-desktopNav { display: none; }

.p-desktopNav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-desktopNav a {
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.p-desktopNav .sub { display: none; }

.p-desktopNav a { padding: 6px 0; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 250ms var(--ease); }

.p-desktopNav a:hover,
.p-desktopNav .is-current a { background-size: 100% 1px; }

.lang {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.lang a { opacity: 0.55; display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; }

.lang .is-current a,
.lang a:hover { opacity: 1; }

.header-contact {
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 1px solid currentColor;
  border-radius: 9999px;
  padding: 10px 18px;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.l-header .header-contact:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.p-hamburger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 0;
}

.p-hamburger__lineWrap {
  width: 20px;
  display: grid;
  gap: 6px;
}

.p-hamburger__line {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}

.p-hamburger__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.c-drawer {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-100%);
  transition: transform var(--dur) var(--ease);
  z-index: 50;
  overflow: auto;
}

/* Hidden when closed so Tab never lands on off-screen links. */
.c-drawer { visibility: hidden; transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur); }

.c-drawer.is-open { transform: none; visibility: visible; transition: transform var(--dur) var(--ease); }

.l-header.is-menu .l-header__bar {
  background: transparent;
  box-shadow: none;
  color: var(--paper);
}

.p-hamburger[aria-expanded="true"] .p-hamburger__line:first-child { transform: translateY(3.5px) rotate(45deg); }
.p-hamburger[aria-expanded="true"] .p-hamburger__line:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.p-globalNav [aria-current="page"] { color: var(--gold); }
.p-globalNav [aria-current="page"] span:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }

.c-drawer__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  max-width: 1320px;
  margin: 0 auto;
}

.p-globalNav {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.p-globalNav a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  color: var(--link);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 55px);
  line-height: 1.19;
  letter-spacing: 0.01em;
}

.p-globalNav .sub {
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--gold);
}

.drawer-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding-top: 40px;
}

.p-loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 80;
  display: grid;
  place-items: center;
  font-size: 30px;
  letter-spacing: 0.01em;
  font-weight: 700;
  transition: opacity var(--dur) var(--ease);
}

.p-loader.is-done {
  opacity: 0;
  pointer-events: none;
}

.p-hero {
  position: relative;
  height: 100dvh;
  min-height: 100svh;
  color: var(--link);
  overflow: hidden;
  background: var(--ink);
}

.p-hero__body {
  position: absolute;
  inset: -8% 0;
}

.p-hero__media,
.p-hero__media video,
.p-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-hero__shade {
  position: absolute;
  inset: 0;
  /* Darker at the bottom-left, where the copy sits. */
  background: linear-gradient(to top, rgba(28, 22, 18, 0.72), rgba(28, 22, 18, 0.12) 62%);
}

.p-hero__copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 28px 72px;
  max-width: 1440px;
}

.p-hero__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(36px, 6.2vw, 79px);
  line-height: 1.19;
  letter-spacing: 0.01em;
  max-width: 16ch;
}

.p-hero__title .line { display: block; overflow: hidden; }

.p-hero__title .line.-right { padding-left: 12%; }

.p-hero__title .char { display: inline-block; }

.p-hero__bottom {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  max-width: 46ch;
}

.p-hero__bottom span { display: block; }

.scroll__wrapper {
  margin: 36px 0 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.scroll__down {
  display: inline-grid;
  overflow: hidden;
  height: 1.2em;
}

.scroll-first,
.scroll-second {
  white-space: nowrap;
  animation: scroll-float 2.4s var(--ease) infinite;
}

.scroll-second { animation-delay: -1.2s; }

@keyframes scroll-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.l-container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

.h-lg {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.h-md {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.lead {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.75;
  letter-spacing: 0;
  max-width: 42rem;
}

.c-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  background: var(--primary);
  color: var(--on-primary);
  border: 1px solid var(--primary);
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}

.c-button:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.c-button:disabled { opacity: 0.45; cursor: not-allowed; }

.c-button svg { transition: transform var(--dur) var(--ease); }

.c-button:hover svg { transform: translateX(4px); }

.c-button.-white {
  background: transparent;
  color: var(--link);
  border-color: var(--link);
}

.c-button.-white:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.c-button.-line {
  background: transparent;
  color: var(--foreground);
  border-color: var(--foreground);
}

.c-button.-line:hover { background: var(--foreground); border-color: var(--foreground); color: var(--surface); }

.about-grid {
  display: flex;
  gap: 48px;
  align-items: flex-end;
  margin-top: 60px;
}

.about-grid figure {
  flex: 1.2;
  margin: 0;
  overflow: hidden;
}

.about-grid img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1000ms var(--ease);
}

.about-grid figure.is-in img { transform: none; }

.about-grid .copy { flex: 0.8; }

.p-business {
  position: relative;
  color: var(--link);
  background: var(--foreground);
  min-height: 100dvh;
}

.p-business__pin {
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.sectionBackground_image {
  position: absolute;
  inset: 0;
}

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

.sectionBackground_image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 22, 18, 0.7), rgba(28, 22, 18, 0.2) 70%);
}

#slide-2 { opacity: 0; }

.p-business__label {
  position: absolute;
  top: 100px;
  left: 28px;
  z-index: 2;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.p-business__inner {
  position: absolute;
  z-index: 2;
  left: 8vw;
  right: 8vw;
  bottom: 18vh;
  max-width: 640px;
}

#item02 { opacity: 0; visibility: hidden; }
#small-2 { opacity: 0.45; }

.p-business__heading {
  margin: 0 0 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.19;
}

.p-business__heading .-sm {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.p-business__heading .-lg {
  font-size: clamp(36px, 5vw, 55px);
}

.p-business__word {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  max-width: 42ch;
}

.smallslides {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.smallslides img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border: 1px solid transparent;
}

.smallslides .is-on img { border-color: var(--gold); }

.news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.news-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-right: 1px solid var(--border);
  color: var(--foreground);
}

.news-card:last-child { border-right: 0; }

.news-card .thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-alt);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform var(--dur) var(--ease);
}

.news-card:hover img { transform: scale(1.04); }

.news-card h3 { transition: color 200ms var(--ease); }

.news-card:hover h3 { color: var(--primary); }

.news-card .body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.news-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--muted);
}

.badge {
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--accent);
  background: transparent;
  border-color: currentColor;
}

.factory-home {
  background: var(--surface);
}

.factory-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.factory-photos {
  position: relative;
  height: 560px;
}

.factory-photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-photos img:nth-child(2),
.factory-photos img:nth-child(3) { opacity: 0; }

.address-list {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.address-list dt {
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.address-list dd { margin: 8px 0 0; font-size: 16px; letter-spacing: 0.01em; line-height: 1.8; }

.contact-marquee {
  background: var(--primary);
  color: var(--link);
  overflow: hidden;
  padding: 28px 0;
}

.contact-marquee a {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--link);
  font-weight: 500;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.l-footer {
  --foreground: var(--paper);
  --muted: #b9ad9c;
  --border: rgba(246, 241, 232, 0.18);
  --primary: var(--gold);
  background: var(--ink);
  color: var(--foreground);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }

.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; letter-spacing: 0.01em; line-height: 1.2; }

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

.footer-base a, .pager a, .drawer-foot a { display: inline-flex; align-items: center; min-height: 44px; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--muted);
}

.next-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 48px 0 72px;
  border-top: 1px solid var(--border);
  color: var(--foreground);
}

.next-page svg {
  width: clamp(44px, 5vw, 72px);
  height: auto;
  flex: none;
}

.next-page small {
  display: block;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.next-page strong {
  font-size: clamp(36px, 5vw, 55px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.19;
}

.page-hero { padding: 140px 0 40px; }

.crumbs {
  margin-top: 28px;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--muted);
}

.crumbs a { color: var(--foreground); }

.prose { max-width: 760px; }

.prose p { margin: 0 0 20px; }

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.panel {
  background: var(--surface);
  padding: 28px;
  border: 1px solid var(--border);
}

.kv { width: 100%; border-collapse: collapse; }

.kv th, .kv td {
  text-align: left;
  vertical-align: top;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.8;
  font-weight: 500;
}

.kv th { width: 28%; color: var(--muted); font-size: 15px; line-height: 1.2; padding-top: 20px; }

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

.timeline li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.timeline strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--primary); }

/* Each cell draws its own lines, so a short last row leaves no filled gap. */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1px 0 0 1px;
}

.stat {
  background: var(--surface);
  padding: 24px 20px;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: clamp(36px, 4vw, 55px);
  font-weight: 500;
  line-height: 1.19;
  letter-spacing: 0.01em;
}

.stat small { white-space: nowrap; }

.stat span { font-size: 15px; letter-spacing: 0.01em; line-height: 1.2; }

.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.material {
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--border);
  min-height: 280px;
}

.material ul { margin: 12px 0 0; padding-left: 18px; font-size: 16px; letter-spacing: 0.01em; }

.spirit-groups { margin-top: 28px; }

.spirit-group + .spirit-group { margin-top: 64px; }

.spirit-group h3 { margin: 0 0 20px; }

.spirit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 36px 24px;
}

.spirit-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: var(--surface-alt);
}

.spec { margin-top: 16px; }

.steps { display: grid; gap: 72px; }

.step {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.step .num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: clamp(36px, 4vw, 55px);
  line-height: 1.19;
  letter-spacing: 0.01em;
}

.step img { width: 100%; height: 280px; object-fit: cover; }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

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

.gallery .tall { height: 460px; }

.gallery .short { height: 224px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.contact-aside .lead { margin: 0 0 28px; }

.contact-places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.contact-places article {
  background: var(--surface);
  padding: 28px;
  border: 1px solid var(--border);
  min-height: 220px;
}

.contact-places p { margin: 8px 0 0; }

.contact-places a,
.contact-tel { color: var(--primary); }

.contact-flow { max-width: 860px; }

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-fields .field-wide { grid-column: 1 / -1; }

.form a { color: var(--primary); }

.form {
  display: grid;
  gap: 20px;
  max-width: 760px;
}

.field label {
  display: block;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.req::after { content: " *"; color: var(--danger); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  color: var(--foreground);
  border: 1px solid var(--field-border);
  border-radius: 4px;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 45, 18, 0.18);
}

.field:has(.err) input,
.field:has(.err) select,
.field:has(.err) textarea { border-color: var(--danger); }

.field textarea { min-height: 160px; resize: vertical; }

.hint { margin: 8px 0 0; font-size: 15px; letter-spacing: 0.01em; line-height: 1.2; color: var(--muted); }

.err { color: var(--danger); font-size: 15px; letter-spacing: 0.01em; margin: 8px 0 0; }

.steps-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.steps-form li {
  margin: 0;
  padding-top: 12px;
  border-top: 2px solid var(--border);
  color: var(--muted);
}

.steps-form .is-on {
  border-top-color: var(--primary);
  color: var(--foreground);
}

.check,
.field .check { display: flex; gap: 12px; align-items: center; margin: 12px 0 0; min-height: 44px; font-size: 16px; letter-spacing: 0.01em; cursor: pointer; }

.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--primary); cursor: pointer; }

.confirm-table { width: 100%; }

.article { max-width: 760px; }

.article .cover {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 78vh;
  margin: 24px auto 32px;
  object-fit: contain;
  object-position: center;
  background: var(--surface-alt);
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.js-reveal { opacity: 0; transform: translateY(20px); }

.js-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

@media (min-width: 1080px) {
  body { font-size: 18px; }
  .l-header__bar { gap: 24px; padding: 18px 32px; }
  .p-desktopNav { display: block; flex: 1; min-width: 0; }
  .p-hamburger { display: none; }
  /* Edge-anchored pieces line up with the centered content column on wide screens. */
  .l-header__bar { padding-inline: max(28px, calc((100% - var(--max)) / 2)); }
  .p-hero__copy { max-width: none; padding-inline: max(28px, calc((100% - var(--max)) / 2)); }
  .p-business__label { left: max(28px, calc((100% - var(--max)) / 2)); }
  .p-business__inner { left: max(8vw, calc((100% - var(--max)) / 2)); }
  .smallslides { right: max(28px, calc((100% - var(--max)) / 2)); }
}

@media (max-width: 1079px) {
  :root { --pad: 20px; --header: 64px; }
  .l-container { width: min(var(--max), calc(100% - 32px)); }
  .l-header__bar { padding: 10px 12px 10px 16px; }
  .header-contact { display: none; }
  .lang { gap: 8px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 104px 0 28px; }
  .h-lg, .p-hero__title { font-size: clamp(32px, 9vw, 48px); letter-spacing: 0; }
  .p-hero__copy { padding: 0 16px 32px; }
  .p-hero__title .line.-right { padding-left: 0; }
  .p-hero__bottom { margin-top: 16px; }
  .scroll__wrapper { margin-top: 20px; }
  .about-grid, .factory-stage, .split, .step, .materials, .news-list, .contact-layout, .contact-places, .contact-fields, .steps-form, .gallery, .stats {
    display: grid;
    grid-template-columns: 1fr;
  }
  .about-grid { gap: 24px; margin-top: 28px; }
  .about-grid img { height: 240px; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .news-list { margin-top: 24px; }
  .news-card { border-right: 0; border-bottom: 1px solid var(--border); }
  .p-business { min-height: 0; }
  .p-business__pin {
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .p-business__label { position: static; order: 0; padding: 88px 16px 12px; }
  .sectionBackground_image,
  #slide-2 {
    position: relative;
    inset: auto;
    height: 220px;
    opacity: 1;
  }
  #slide-1 { order: 1; }
  #item01 { order: 2; }
  #slide-2 { order: 3; }
  #item02 { order: 4; opacity: 1; visibility: visible; }
  .sectionBackground_image img { height: 220px; }
  .p-business__inner {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    padding: 20px 16px 8px;
  }
  .smallslides { display: none; }
  .factory-photos { height: auto; display: grid; gap: 12px; }
  .factory-photos img {
    position: static;
    width: 100%;
    height: 200px;
    opacity: 1;
  }
  .step { gap: 12px; }
  .step img { height: 200px; }
  .gallery .tall, .gallery .short, .gallery img { height: 220px; }
  .spirit-group + .spirit-group { margin-top: 40px; }
  .kv, .kv tbody, .kv tr, .kv th, .kv td { display: block; width: 100%; }
  .kv th { padding-bottom: 0; border-bottom: 0; }
  .kv td { padding-top: 4px; }
  .pager, .next-page { flex-direction: column; align-items: flex-start; }
  .next-page { padding: 28px 0 48px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
  .footer-base { margin-top: 28px; padding-top: 8px; }
  .lang { gap: 0; }
  .p-globalNav { margin-top: 88px; }
  .p-globalNav a { font-size: clamp(28px, 8vw, 40px); }
}

/* Tablet: still the phone header, but use the width. */
@media (min-width: 700px) and (max-width: 1079px) {
  .stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .contact-places, .materials, .news-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .news-card { border-bottom: 0; border-right: 1px solid var(--border); }
  .news-card:last-child { border-right: 0; }
  .step { grid-template-columns: 72px 1fr 1fr; gap: 24px; }
  /* Photos keep their shape instead of turning into thin strips. */
  .sectionBackground_image, #slide-2,
  .sectionBackground_image img,
  .step img, .factory-photos img, .gallery img, .gallery .tall, .gallery .short, .about-grid img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .step img { aspect-ratio: 4 / 3; }
  .about-grid img { max-height: 420px; }
}

@media (prefers-reduced-motion: no-preference) {
  .next-page svg { transition: transform var(--dur) var(--ease); }
  .next-page:hover svg { transform: translateX(16px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js-reveal { opacity: 1; transform: none; }
}

.u-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
