:root {
  color-scheme: dark;
  --ink: #171d17;
  --deep: #111811;
  --panel: #202a21;
  --light: #f8f4ea;
  --muted: #d5d8ca;
  --paper: #f3efe4;
  --line: #526054;
  --gold: #f3ad64;
  --dark-gold: #74441e;
  --wrap: min(100% - 3rem, 74rem);
  font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--light); line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, fieldset { margin: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.045em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 5.1rem); font-weight: 760; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #dd883d; outline-offset: 4px; }
section[id], article[id] { scroll-margin-top: 6rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: fixed; left: .75rem; top: .75rem; transform: translateY(-180%); z-index: 9; padding: .5rem 1rem; background: var(--paper); color: var(--ink); }
.skip:focus { transform: none; }

.header { position: sticky; inset-block-start: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: clamp(.75rem, 2vw, 2.5rem); min-height: 4.5rem; padding: .75rem max(1.5rem, calc((100% - 84rem) / 2)); border-bottom: 1px solid #364138; background: var(--deep); }
.logo { display: inline-flex; flex: none; }
.logo img { width: clamp(5.5rem, 9vw, 7.25rem); height: auto; filter: brightness(0) invert(.94); }
.primary, .header-actions { display: flex; align-items: center; gap: clamp(.65rem, 1.8vw, 1.8rem); }
.header-actions { gap: .75rem; }
.primary a, .header a, .footer nav a { text-decoration: none; }
.primary a[aria-current] { color: var(--gold); }
.header details { position: relative; }
.header summary, .faq summary { cursor: pointer; }
.header summary { min-height: 44px; padding: .4rem .65rem; display: flex; align-items: center; gap: .4rem; white-space: nowrap; border: 1px solid var(--line); border-radius: 3px; font-size: .9rem; }
.header summary::-webkit-details-marker { display: none; }
.header summary::after { content: ''; inline-size: .43rem; block-size: .43rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); margin: 0 .15rem .2rem .15rem; }
.header details[open] summary::after { transform: rotate(225deg); margin-bottom: -.2rem; }
.header details nav { position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); display: grid; min-width: 10.5rem; padding: .35rem; border: 1px solid var(--line); background: var(--deep); border-radius: 3px; box-shadow: 0 .75rem 1.5rem #0a110b70; }
.header details nav a { padding: .4rem .65rem; min-height: 44px; white-space: nowrap; }
.header details nav a[aria-current] { color: var(--gold); }
.mobile-menu { display: none; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .5rem; padding: .55rem 1.15rem; border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: #22160e; font-weight: 720; text-decoration: none; text-align: center; cursor: pointer; }
.button:hover { color: #22160e; border-color: #ffd0a0; background: #ffd0a0; }
.button:disabled { cursor: wait; opacity: .68; }
.button-outline { background: transparent; color: var(--light); border-color: #979f91; }
.button-outline:hover { color: var(--light); background: #ffffff14; border-color: var(--light); }
.button-small { font-size: .9rem; padding-inline: .8rem; min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.55rem; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(31rem, 63vw, 43rem); background: #273026; }
.hero-photo { position: absolute; inset: 0; z-index: -1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-photo::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg,#111810 2%,#131b11f5 18%,#131b11db 33%,#161c137d 55%,transparent 82%); }
.hero-copy { padding: 4rem 0; }
.brand-line { color: var(--gold); font-weight: 760; letter-spacing: .22em; font-size: .83rem; margin-bottom: 1.15rem; }
.lead { font-size: clamp(1.05rem, 1.85vw, 1.32rem); max-width: 31rem; margin-top: 1.35rem; color: var(--muted); }
.hero .lead { color: #f1eee5; }
.intro { padding: clamp(3.2rem, 6vw, 6rem) 0; background: var(--panel); }
.intro-grid { display: grid; align-items: center; gap: clamp(1.6rem, 4vw, 4.5rem); }
.with-photo .intro-grid { grid-template-columns: 1.15fr 1fr; }
.intro figure img, .feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }

.section { padding: clamp(3.2rem, 6vw, 5.8rem) 0; }
.section h2 { margin-bottom: 1.65rem; }
.section p + p, .section div + p, .section ol + p { margin-top: .9rem; }
.section p, .prose { max-width: 48rem; }
.paper { color-scheme: light; color: var(--ink); background: var(--paper); }
.paper a:hover { color: var(--dark-gold); }
.paper .button:hover { color: #22160e; }
.paper .button-outline { color: var(--ink); border-color: #7b8277; }
.paper .button-outline:hover { color: var(--ink); background: #e7e0d1; border-color: var(--ink); }
.feature { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(1.45rem, 4vw, 4rem); }
.tiles, .recipes, .simple-grid, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.65rem); }
.tiles a, .recipe { overflow: hidden; border: 1px solid #b4b9a9; background: #f9f6ee; border-radius: 4px; }
.tiles a { display: block; text-decoration: none; }
.tiles a:hover { border-color: var(--dark-gold); }
.tiles img, .recipe img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tiles h3 { margin: 1rem 1.15rem .45rem; }
.tiles p { margin: 0 1.15rem 1.2rem; }
.recipe div { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.15rem; }
.recipe { display: flex; flex-direction: column; }
.recipe h3 { margin-bottom: .55rem; }
.recipe a { font-weight: 700; color: var(--dark-gold); margin-top: auto; padding-top: .75rem; }
.detail, .annotation { font-size: .94rem; }
.paper .annotation, .detail { color: #4f594a; }
.simple-grid article, .steps li { border-top: 1px solid currentColor; padding-top: .8rem; }
.simple-grid p, .steps p { margin-top: .65rem; }
.steps { list-style: decimal inside; padding: 0; }
.steps li::marker { font-weight: 760; }
.steps h3 { display: inline; }
.video { width: min(100%, 48rem); aspect-ratio: 16 / 9; }
.video iframe, .video button { width: 100%; height: 100%; border: 0; }
.video-poster { position: relative; display: grid; place-items: center; background: var(--panel); color: var(--light); padding: 0; cursor: pointer; }
.video-poster img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.video-poster span { position: relative; border-radius: 3px; background: var(--deep); padding: .65rem 1rem; }
.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 720; }
.faq p { margin-top: .65rem; }
.policy h3 { margin-top: 1.75rem; margin-bottom: .6rem; }

.enquiry-form { margin-top: 1.6rem; display: grid; max-width: 48rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { display: grid; align-content: start; gap: .25rem; }
.field label, .sample-choice legend { font-weight: 720; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { background: #faf8f0; color: var(--ink); border: 1px solid #798474; border-radius: 3px; min-width: 0; min-height: 46px; padding: .5rem .65rem; }
.field textarea { resize: vertical; }
.sample-choice { border: 1px solid #798474; padding: .6rem 1rem .8rem; display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; }
.sample-choice legend { padding-inline: .25rem; }
.sample-details { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sample-terms, .sample-feedback { background: #e7e0d1; padding: 1rem; border-radius: 3px; }
.sample-consent label { display: block; }
.sample-choice input, .sample-consent input { margin-inline: 0 .2rem; accent-color: #715232; }
.sample-honeypot { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.form-foot p, .sample-feedback p { font-size: .94rem; }
.sample-feedback { margin-top: 1.2rem; max-width: 48rem; }
.resource-items { list-style: none; padding-inline: 0; max-width: 48rem; }
.resource-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; border-block-start: 1px solid #a4ae9e; padding: 1rem 0; }
.resource-item > span { display: none; }
.resource-item p { margin-top: .45rem; }
.resource-item small { color: #4f594a; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; padding: 2.4rem max(1.5rem, calc((100% - 74rem) / 2)); color: var(--muted); background: var(--deep); font-size: .9rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }

@media (max-width: 830px) {
  .primary, .header-enquiry { display: none; }
  .mobile-menu { display: block; }
  .header { min-height: 4rem; }
  .recipes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  :root { --wrap: calc(100% - 2.25rem); }
  .header { padding: .5rem 1.125rem; }
  .header-actions { gap: .45rem; }
  .header summary { padding-inline: .5rem; }
  .hero { display: block; min-height: auto; }
  .hero-copy { padding: 2.45rem 0 0; }
  .hero-photo { inset: auto 0 0; height: 16.5rem; }
  .hero-photo::after { background: linear-gradient(#273026 1%,#273026ab 20%,transparent 58%); }
  .hero-photo img { object-position: 64% 57%; }
  .hero::after { display: block; height: clamp(10.5rem, 38vw, 15rem); content: ''; }
  .feature, .with-photo .intro-grid, .tiles, .simple-grid, .steps { grid-template-columns: 1fr; }
  .tiles img { aspect-ratio: 16 / 9; }
  .enquiry-form, .sample-details { grid-template-columns: 1fr; }
  .form-foot { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 440px) {
  .recipes { grid-template-columns: 1fr; }
  .resource-item { grid-template-columns: 1fr; gap: .3rem; }
}
