@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --ink: #171512;
  --paper: #f4f0e8;
  --warm: #bfa07c;
  --stone: #8a8175;
  --olive: #4d5b43;
  --line: rgba(255, 255, 255, 0.22);
  --dark-line: rgba(23, 21, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}

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

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

button,
select,
textarea {
  font: inherit;
}

.sample-disclosure {
  position: absolute;
  right: 22px;
  top: calc(100svh - 74px);
  z-index: 40;
  max-width: 330px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(23, 21, 18, 0.72);
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  backdrop-filter: blur(14px);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 4.5vw, 64px);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.88);
}

.brand-mark::before {
  left: 10px;
  top: 50%;
  width: 28px;
  height: 1px;
}

.brand-mark::after {
  left: 12px;
  top: 15px;
  width: 23px;
  height: 1px;
  transform: rotate(44deg);
  transform-origin: left center;
}

.brand-mark i {
  right: 11px;
  bottom: 14px;
  width: 22px;
  height: 1px;
  transform: rotate(-52deg);
  transform-origin: right center;
}

.desktop-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 750;
}

.desktop-nav a {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 5px;
}

.menu-button span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: #fff;
}

.mobile-menu {
  position: absolute;
  inset: 76px 20px auto;
  z-index: 29;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(23, 21, 18, 0.88);
  color: #fff;
  padding: 16px;
  backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  display: grid;
  gap: 12px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.62) 0%, rgba(23, 21, 18, 0.2) 38%, rgba(23, 21, 18, 0.24) 100%),
    linear-gradient(0deg, rgba(23, 21, 18, 0.64) 0%, rgba(23, 21, 18, 0.04) 48%, rgba(23, 21, 18, 0.18) 100%);
}

.hero-panel {
  position: absolute;
  left: clamp(24px, 5vw, 72px);
  top: 50%;
  transform: translateY(-42%);
  display: grid;
  gap: 16px;
  width: min(620px, 48vw);
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-panel p,
.section-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.hero-panel h1 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-panel strong {
  max-width: 560px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.5;
}

.hero-panel span {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 700;
}

.hero-actions a:first-child {
  background: #FFFFFF;
  color: #0F172A;
}

.hero-actions a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #FFFFFF;
}

.slide-control {
  position: absolute;
  left: 15%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 330px;
}

.progress {
  position: relative;
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.34);
}

.progress span {
  position: absolute;
  left: 0;
  top: 0;
  width: 33%;
  height: 100%;
  background: #fff;
  transition: width 250ms linear;
}

.slide-control button {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slide-control button span {
  width: 5px;
  height: 18px;
  border-radius: 99px;
  background: #fff;
}

.slide-control button.is-paused span:first-child {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  border-radius: 0;
  background: transparent;
}

.slide-control button.is-paused span:last-child {
  display: none;
}

.studio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(24px, 5vw, 84px);
  padding: 118px clamp(24px, 6vw, 90px);
  background: var(--paper);
}

.studio-intro .section-label,
.project-head .section-label,
.process-copy .section-label,
.estimate-panel .section-label {
  color: var(--olive);
}

.studio-intro h2 {
  grid-column: 1;
  margin: 0;
  max-width: 900px;
  font-size: clamp(54px, 9vw, 134px);
  font-weight: 300;
  line-height: 0.92;
}

.intro-copy {
  align-self: end;
  display: grid;
  gap: 24px;
  border-left: 1px solid var(--dark-line);
  padding-left: 28px;
}

.intro-copy p {
  margin: 0;
  color: #514a41;
  font-size: 17px;
  line-height: 1.9;
}

.intro-copy a {
  width: max-content;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  font-weight: 900;
}

.project-wall {
  padding: 0 clamp(24px, 6vw, 90px) 120px;
  background: var(--paper);
}

.project-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.project-head h2,
.process-copy h2,
.estimate-panel h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.04;
}

.project-feature {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: var(--ink);
}

.project-feature img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
}

.project-feature div {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(470px, 48%);
  background: rgba(244, 240, 232, 0.9);
  padding: 28px;
}

.project-feature span,
.project-grid span {
  color: var(--olive);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.03em;
}

.project-feature h3 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 300;
  line-height: 1;
}

.project-feature p {
  margin: 0;
  color: #504940;
  line-height: 1.72;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: 18px;
  margin-top: 18px;
}

.project-grid article {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: var(--ink);
}

.project-grid img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.project-grid span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(244, 240, 232, 0.86);
  padding: 12px 14px;
}

.process-map {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: 46px;
  background: #1b1915;
  color: #fff;
  padding: 112px clamp(24px, 6vw, 90px);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-list li {
  min-height: 360px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.process-list span {
  color: var(--warm);
  font-weight: 1000;
}

.process-list strong {
  display: block;
  margin-top: 160px;
  font-size: 30px;
  font-weight: 400;
}

.process-list p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.72;
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(360px, 0.46fr);
  min-height: 760px;
  background: var(--paper);
}

.estimate-visual {
  overflow: hidden;
}

.estimate-visual img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
}

.estimate-panel {
  display: grid;
  align-content: center;
  gap: 28px;
  padding: clamp(30px, 5vw, 80px);
}

.estimate-form {
  display: grid;
  gap: 11px;
}

.estimate-form label {
  color: #4c463d;
  font-size: 13px;
  font-weight: 900;
}

.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  padding: 14px 15px;
}

.estimate-form textarea {
  resize: vertical;
}

.estimate-form button {
  min-height: 52px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.form-note {
  min-height: 22px;
  margin: 2px 0 0;
  color: #6a6258;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.26fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  padding: 34px clamp(24px, 6vw, 90px);
}

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

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .brand {
    font-size: 13px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark::before {
    left: 8px;
    width: 22px;
  }

  .brand-mark::after {
    left: 10px;
    top: 11px;
    width: 18px;
  }

  .brand-mark i {
    right: 9px;
    bottom: 10px;
    width: 16px;
  }

  .hero-panel {
    left: 20px;
    right: 64px;
    top: 52%;
    width: auto;
    min-height: 0;
    padding: 0;
  }

  .hero-panel h1 {
    font-size: 42px;
  }

  .hero-panel strong {
    font-size: 20px;
  }

  .slide-control {
    left: 84px;
    bottom: 7%;
    width: 230px;
  }

  .studio-intro,
  .project-head,
  .process-map,
  .estimate,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .studio-intro h2 {
    font-size: 58px;
  }

  .intro-copy {
    border-left: 0;
    border-top: 1px solid var(--dark-line);
    padding: 22px 0 0;
  }

  .project-feature,
  .project-feature img {
    min-height: 560px;
  }

  .project-feature div {
    width: calc(100% - 40px);
  }

  .project-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 210px;
  }

  .process-list strong {
    margin-top: 70px;
  }

  .estimate-visual img {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .sample-disclosure {
    display: none;
  }

  .site-header {
    padding: 22px 20px;
  }

  .hero-panel {
    top: 52%;
    right: 20px;
  }

  .hero-panel h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-panel span {
    font-size: 14px;
  }

  .hero-slide {
    object-position: center;
  }

  .studio-intro,
  .project-wall,
  .process-map {
    padding-right: 20px;
    padding-left: 20px;
  }

  .studio-intro {
    padding-top: 82px;
    padding-bottom: 86px;
  }

  .studio-intro h2 {
    font-size: 44px;
  }

  .project-feature,
  .project-feature img,
  .project-grid article,
  .project-grid img {
    min-height: 390px;
  }

  .project-feature div {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 20px;
  }

  .process-map {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .estimate-panel {
    padding: 54px 20px;
  }

  .site-footer {
    padding: 28px 20px;
  }
}
