:root {
  --bg: #fff7ec;
  --bg-2: #fff0e5;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #fffdf8;
  --ink: #201b17;
  --ink-soft: #5e5149;
  --muted: #837267;
  --line: rgba(32, 27, 23, 0.12);
  --primary: #eb6f4a;
  --primary-2: #ff916f;
  --sand: #f8dfc7;
  --cream: #fffaf3;
  --shadow: 0 28px 80px rgba(70, 42, 24, 0.13);
  --shadow-soft: 0 18px 54px rgba(70, 42, 24, 0.09);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 82px;
  --font: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  --font-latin: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 145, 111, 0.20), transparent 27rem),
    radial-gradient(circle at 92% 5%, rgba(248, 223, 199, 0.72), transparent 25rem),
    linear-gradient(180deg, var(--bg), #fffaf4 44%, #fff4eb);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

::selection {
  color: #fffaf3;
  background: var(--primary);
}

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

.section {
  padding: 110px 0;
}

.section-xl {
  padding: 150px 0 90px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: transform 0.2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(255, 247, 236, 0.72);
  backdrop-filter: blur(22px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 250, 243, 0.91);
  box-shadow: 0 14px 42px rgba(54, 34, 22, 0.07);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
}

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

.brand:focus-visible,
.site-nav a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.privacy-row a:focus-visible {
  outline: 3px solid rgba(235, 111, 74, 0.30);
  outline-offset: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(32, 27, 23, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 32px rgba(70, 42, 24, 0.06);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(32, 27, 23, 0.74);
  font-size: 14px;
  font-weight: 860;
  letter-spacing: -0.02em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(235, 111, 74, 0.10);
}

.site-nav .nav-cta {
  color: #fffaf3;
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(32, 27, 23, 0.14);
}

.site-nav .nav-cta:hover {
  color: #fffaf3;
  background: var(--primary);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.80);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 0;
  background: var(--ink);
  transition: transform 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 390px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--primary);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(50px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 950;
}

h1 span {
  color: var(--primary);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  font-weight: 950;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.26;
  letter-spacing: -0.04em;
  font-weight: 930;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
  letter-spacing: -0.025em;
}

.hero-actions,
.hero-tags,
.contact-meta,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 930;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

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

.btn:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.btn-primary {
  color: #fffaf3;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 18px 38px rgba(235, 111, 74, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 24px 46px rgba(235, 111, 74, 0.32);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(70, 42, 24, 0.08);
}

.btn-light {
  color: var(--ink);
  background: #fffaf3;
  box-shadow: 0 18px 36px rgba(32, 27, 23, 0.16);
}

.btn.full {
  width: 100%;
}

.hero-tags {
  margin-top: 34px;
}

.hero-tags span {
  padding: 11px 14px;
  border: 1px solid rgba(32, 27, 23, 0.09);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 930;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px rgba(70, 42, 24, 0.05);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual > img {
  width: 100%;
  filter: drop-shadow(0 34px 60px rgba(70, 42, 24, 0.12));
}

.floating-note {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.floating-note span {
  color: var(--primary);
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.floating-note strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.note-top {
  top: 12%;
  right: -8px;
}

.note-bottom {
  left: 2%;
  bottom: 12%;
}

.intro-section {
  padding-top: 56px;
}

.intro-panel {
  position: relative;
  overflow: hidden;
  padding: 52px;
  border: 1px solid rgba(32, 27, 23, 0.10);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 244, 233, 0.78)),
    radial-gradient(circle at 100% 0, rgba(235, 111, 74, 0.16), transparent 20rem);
  box-shadow: var(--shadow-soft);
}

.intro-panel::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 42px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(32, 27, 23, 0.10);
  transform: rotate(45deg);
}

.intro-panel h2,
.intro-panel p {
  max-width: 850px;
}

.intro-panel p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 18px;
}

.system-section {
  position: relative;
}

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

.system-card {
  position: relative;
  min-height: 332px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 16px 46px rgba(70, 42, 24, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.system-card::before {
  content: "";
  position: absolute;
  right: -52px;
  top: -60px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(32, 27, 23, 0.08);
  transform: rotate(45deg);
  background: rgba(255, 145, 111, 0.12);
}

.system-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.system-card.strong {
  color: #fffaf3;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.18), transparent 17rem),
    linear-gradient(135deg, #201b17, #3a2b23 64%, #eb6f4a);
  border-color: rgba(255, 255, 255, 0.12);
}

.system-card span {
  display: inline-flex;
  margin-bottom: 86px;
  color: var(--primary);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.system-card.strong span,
.system-card.strong p {
  color: rgba(255, 250, 243, 0.76);
}

.system-card p {
  margin: 0;
  color: var(--ink-soft);
  letter-spacing: -0.015em;
}

.services-section {
  background:
    radial-gradient(circle at top left, rgba(255, 145, 111, 0.12), transparent 26rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 240, 229, 0.62));
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.service-intro {
  position: sticky;
  top: calc(var(--header-height) + 38px);
  padding: 36px;
  border: 1px solid rgba(32, 27, 23, 0.09);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: var(--shadow-soft);
}

.service-intro p:last-child {
  color: var(--ink-soft);
  font-size: 18px;
}

.service-stack {
  display: grid;
  gap: 16px;
}

.service-line {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(190px, 0.52fr);
  gap: 26px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 40px rgba(70, 42, 24, 0.06);
}

.line-no {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #fffaf3;
  background: var(--ink);
  font-family: var(--font-latin);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.service-line p {
  margin: 0;
  color: var(--ink-soft);
}

.service-line ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-line li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 820;
}

.service-line li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 7px;
  height: 7px;
  background: var(--primary);
  transform: rotate(45deg);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.fit-copy {
  padding-top: 16px;
}

.fit-list {
  display: grid;
  gap: 14px;
}

.fit-list article {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 12px 34px rgba(70, 42, 24, 0.05);
}

.fit-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 930;
  letter-spacing: -0.03em;
}

.fit-list p {
  margin: 0;
  color: var(--ink-soft);
}

.portfolio-section {
  position: relative;
  padding-top: 96px;
}

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

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 52px rgba(70, 42, 24, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.portfolio-card a,
.portfolio-card-inner {
  display: block;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.portfolio-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.02);
}

.portfolio-body {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 26px;
}

.portfolio-body span {
  color: var(--primary);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-body h3 {
  margin: 0;
  font-size: 28px;
}

.process-section {
  background:
    radial-gradient(circle at top right, rgba(235, 111, 74, 0.10), transparent 26rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 240, 229, 0.58));
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 294px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(70, 42, 24, 0.05);
}

.process-list span {
  display: inline-flex;
  margin-bottom: 70px;
  color: var(--primary);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.process-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.quote-section {
  padding: 0;
}

.quote-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 54px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fffaf3;
  background:
    radial-gradient(circle at 92% 0, rgba(255, 255, 255, 0.18), transparent 20rem),
    linear-gradient(135deg, #201b17, #392b24 62%, #eb6f4a);
  box-shadow: var(--shadow);
}

.quote-card p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.24;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.contact-section {
  padding-top: 104px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(480px, 0.94fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 6% 8%, rgba(235, 111, 74, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.60);
  box-shadow: var(--shadow);
}

.contact-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 680px;
  padding: clamp(38px, 5vw, 64px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(235, 111, 74, 0.13), transparent 19rem),
    linear-gradient(135deg, #fffaf3, #fff1e6);
}

.contact-copy::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(32, 27, 23, 0.08);
  transform: rotate(45deg);
}

.contact-copy .eyebrow,
.contact-copy h2,
.contact-copy p {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 620px;
  font-size: clamp(34px, 4.2vw, 56px);
}

.contact-copy p {
  color: var(--ink-soft);
  font-size: 18px;
}

.contact-copy .contact-lead {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.76;
  letter-spacing: -0.025em;
}

.contact-direct {
  display: grid;
  gap: 7px;
  width: fit-content;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(32, 27, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.contact-direct span,
.contact-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 930;
  letter-spacing: 0.04em;
}

.contact-direct a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 930;
}

.contact-direct a:hover {
  color: var(--primary);
}

.contact-meta {
  margin-top: 28px;
}

.contact-meta div {
  display: grid;
  gap: 6px;
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid rgba(32, 27, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.contact-meta strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.intake-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid rgba(32, 27, 23, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
}

.form-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(32, 27, 23, 0.10);
}

.form-head span {
  color: var(--primary);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-head strong {
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.form-row {
  display: grid;
  gap: 9px;
}

.two-inputs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row label,
.checkbox-group legend,
.privacy-row {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.form-row em,
.checkbox-group em {
  color: var(--primary);
  font-style: normal;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(32, 27, 23, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.86);
  color: var(--ink);
  padding: 15px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(235, 111, 74, 0.58);
  background: #fffdf8;
  box-shadow: 0 0 0 5px rgba(235, 111, 74, 0.10);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkbox-group {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(32, 27, 23, 0.10);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.70);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 820;
}

.checkbox-group input,
.privacy-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--primary);
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.privacy-row a {
  color: var(--ink);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.form-note.is-success {
  color: #156b3a;
}

.form-note.is-error {
  color: #a33a26;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 74px;
  align-items: start;
}

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

.accordion {
  display: grid;
  gap: 14px;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(70, 42, 24, 0.04);
}

.accordion summary {
  position: relative;
  padding: 24px 58px 24px 24px;
  list-style: none;
  cursor: pointer;
  font-weight: 930;
  letter-spacing: -0.02em;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fffaf3;
  background: var(--ink);
  font-family: var(--font-latin);
  line-height: 1;
}

.accordion details[open] summary::after {
  content: "−";
  background: var(--primary);
}

.accordion details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 56px 0 34px;
  color: rgba(255, 250, 243, 0.76);
  background: #201b17;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.9fr) auto;
  gap: 40px;
  align-items: start;
}

.footer-grid img {
  width: 286px;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.site-footer p,
.site-footer address {
  color: rgba(255, 250, 243, 0.66);
  font-style: normal;
}

.site-footer strong {
  color: #fffaf3;
}

.site-footer address a {
  color: rgba(255, 250, 243, 0.88);
  font-weight: 900;
}

.site-footer address a:hover {
  color: #fffaf3;
}

.footer-links {
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a {
  color: rgba(255, 250, 243, 0.72);
  font-weight: 900;
}

.footer-links a:hover {
  color: #fffaf3;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 250, 243, 0.46);
  font-size: 13px;
}

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

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

@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;
  }

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

@media (max-width: 1120px) {
  .hero-grid,
  .services-layout,
  .fit-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 760px;
    margin-inline: auto;
  }

  .service-intro {
    position: static;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    height: var(--header-height);
  }

  .brand img {
    width: 232px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 250, 243, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .site-nav a {
    justify-content: center;
    min-height: 52px;
    font-size: 16px;
  }

  .section-xl {
    padding: 126px 0 66px;
  }

  .section {
    padding: 80px 0;
  }

  h1 {
    font-size: clamp(42px, 13vw, 66px);
  }

  h2 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-tags,
  .contact-meta {
    justify-content: center;
  }

  .system-grid,
  .portfolio-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-line {
    grid-template-columns: 1fr;
  }

  .system-card span {
    margin-bottom: 48px;
  }

  .process-list span {
    margin-bottom: 44px;
  }

  .quote-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .intro-panel,
  .contact-grid {
    padding: 24px;
    border-radius: 28px;
  }

  .contact-copy,
  .intake-form {
    padding: 26px;
    border-radius: 24px;
  }

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

  .floating-note {
    display: none;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 15px;
    word-break: normal;
  }

  .brand img {
    width: 208px;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .hero-tags span {
    flex: 1 1 100%;
    text-align: center;
  }

  .intro-panel::after {
    display: none;
  }

  .intro-panel,
  .system-card,
  .fit-list article,
  .service-line,
  .process-list li,
  .portfolio-body {
    padding: 24px;
  }

  .portfolio-body {
    display: grid;
  }

  .portfolio-body h3 {
    font-size: 25px;
  }

  .form-head {
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }
}
