@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --green: #173a2c;
  --green-2: #254a3a;
  --gold: #c99a4a;
  --gold-2: #d8ad6a;
  --ivory: #fbf7f1;
  --ivory-2: #fffaf4;
  --white: #ffffff;
  --line: #eee4d8;
  --text: #1f2f28;
  --muted: #6f7a73;
  --soft: #f4efe8;
  --shadow: 0 18px 44px rgba(23, 58, 44, 0.08);
  --shadow-light: 0 10px 28px rgba(23, 58, 44, 0.055);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --container: 1120px;
  --font: "Pretendard", "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fffdf9 0%, var(--ivory) 46%, #f8f0e6 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.66;
  letter-spacing: -0.018em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

p, h1, h2, h3, a, span, strong, label, input, select, button {
  text-wrap: pretty;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(1040px, calc(100% - 40px));
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #ffffff;
  box-shadow: 0 8px 24px rgba(23, 58, 44, 0.035);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand img {
  display: block;
  width: 124px;
  max-width: 30vw;
  height: auto;
  border-radius: 6px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 15px;
  border-radius: 999px;
  color: var(--green);
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
}

.site-header nav a:not(.nav-cta):hover {
  background: var(--ivory-2);
}

.nav-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--green), var(--green-2)) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 22px rgba(23, 58, 44, 0.16);
}

/* Hero */

.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 7vw, 92px);
  background-image:
    linear-gradient(90deg, rgba(255, 253, 249, .98) 0%, rgba(255, 251, 245, .92) 40%, rgba(255, 251, 245, .44) 66%, rgba(255, 251, 245, .12) 100%),
    url("assets/hero-bakery.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-grid,
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.82fr);
  gap: clamp(34px, 5vw, 56px);
  align-items: center;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green);
  letter-spacing: -0.045em;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 5.9vw, 72px);
  line-height: 1.12;
  font-weight: 900;
}

h1 span {
  display: inline;
  color: var(--green);
  background: linear-gradient(180deg, transparent 58%, rgba(216, 173, 106, .32) 58%);
  border-radius: 8px;
}

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.22;
  font-weight: 850;
}

h3 {
  font-size: 21px;
  line-height: 1.32;
  font-weight: 850;
}

.lead,
.section-head p,
.apply-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.lead {
  margin: 22px 0 0;
}

.hero-actions,
.kakao-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button,
button[type="submit"] {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover,
button[type="submit"]:hover {
  transform: translateY(-1px);
}

.primary,
button[type="submit"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 14px 30px rgba(23, 58, 44, 0.18);
}

.secondary {
  color: var(--green);
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
}

/* Hero note cards */

.hero-note {
  display: grid;
  gap: 14px;
  align-content: center;
}

.note-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-light);
  backdrop-filter: blur(14px);
}

.note-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.note-card strong {
  display: block;
  color: var(--green);
  font-size: 22px;
  line-height: 1.34;
  font-weight: 850;
}

.note-card p {
  max-width: 430px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 550;
}

.note-card.main {
  background: linear-gradient(135deg, rgba(23, 58, 44, .96), rgba(37, 74, 58, .94));
  box-shadow: 0 18px 40px rgba(23, 58, 44, 0.16);
}

.note-card.main span {
  color: #f2d29d;
}

.note-card.main strong {
  color: #ffffff;
}

.note-card.main p {
  color: rgba(255, 255, 255, .76);
}

.note-card.small {
  border: 1px solid rgba(201, 154, 74, .22);
}

.note-card.small strong {
  font-size: 20px;
}

.note-card.small strong::after {
  content: " →";
  color: var(--gold);
}

/* Sections */

.section {
  padding-block: clamp(70px, 7vw, 92px);
}

.summary-section {
  background: rgba(255, 255, 255, .72);
}

.section-head {
  width: min(760px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.section-head p {
  margin: 16px auto 0;
}

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

.summary-grid article,
.kakao-box,
.lead-form {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-light);
}

.summary-grid article {
  min-height: 200px;
  padding: 26px;
}

.summary-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.summary-grid h3 {
  margin-bottom: 10px;
}

.summary-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
  font-weight: 550;
}

/* Apply */

.apply-section {
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(251,247,241,.92));
}

.apply-grid {
  align-items: start;
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
}

.apply-copy {
  position: sticky;
  top: 96px;
}

.apply-copy p {
  margin: 16px 0 0;
}

.kakao-box {
  margin-top: 24px;
  padding: 22px;
  box-shadow: none;
}

.kakao-box strong {
  display: block;
  color: var(--green);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 850;
}

.kakao-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: 28px;
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding-inline: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text);
  outline: none;
}

input::placeholder {
  color: #aaa198;
}

input:focus,
select:focus {
  border-color: rgba(23, 58, 44, .20);
  box-shadow: 0 0 0 4px rgba(23, 58, 44, .08);
}

input.invalid,
select.invalid {
  border-color: #b94a3d;
  box-shadow: 0 0 0 4px rgba(185,74,61,.10);
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.consent span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 550;
}

button[disabled] {
  opacity: .7;
  cursor: not-allowed;
}

.form-message {
  display: none;
  padding: 15px;
  border-radius: 16px;
  font-weight: 750;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #edf6f1;
  color: var(--green);
  border: 1px solid rgba(23, 58, 44, .10);
}

.form-message.error {
  background: #fff1ee;
  color: #8a352c;
  border: 1px solid #ffd3cb;
}

/* Footer */

.footer {
  padding: 32px 0;
  background: #ffffff;
  color: var(--green);
  border-top: 1px solid #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer span {
  color: var(--green);
  font-size: 20px;
  font-weight: 850;
}

/* Responsive */

@media (max-width: 950px) {
  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(255,253,249,.98) 0%, rgba(255,251,245,.92) 52%, rgba(255,251,245,.58) 100%),
      url("assets/hero-bakery.jpg");
  }

  .hero-grid,
  .apply-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .apply-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    height: 66px;
  }

  .brand img {
    width: 106px;
    max-width: 38vw;
  }

  .site-header nav a {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 13px;
  }

  .hero {
    padding: 52px 0 62px;
    background-position: 64% center;
  }

  h1 {
    font-size: 39px;
    line-height: 1.14;
  }

  h2 {
    font-size: 29px;
  }

  .lead,
  .section-head p,
  .apply-copy p {
    font-size: 15.5px;
  }

  .hero-actions,
  .kakao-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 22px;
    border-radius: 24px;
  }

  .summary-grid article {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}


/* Auto report MVP additions */
.form-message a {
  display: inline-flex;
  margin-top: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(23, 58, 44, .10);
  color: #173a2c;
  font-weight: 850;
}

.report-card .button,
.admin-actions .button,
.report-actions .button {
  text-decoration: none;
}
