/* Exhibition-only sections and image framing.
   Shared sections are styled by common.css, copied from the public/B2B merged page. */

.hero-media img {
  object-position: 50% 44%;
}

@media (min-width: 921px) {
  .hero-content {
    width: min(1120px, calc(100% - var(--gutter) * 2));
    margin-bottom: clamp(144px, 16vh, 184px);
  }

  .hero h1 {
    max-width: 1120px;
    font-size: clamp(54px, 4.35vw, 82px);
    line-height: 1.04;
    letter-spacing: -0.055em;
  }

  .hero-description {
    max-width: 560px;
    margin-top: 24px;
    font-size: clamp(16px, 1.2vw, 20px);
  }

  .hero-actions {
    margin-top: 28px;
  }
}

.principles {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(56px, 6vw, 110px);
  color: var(--ink);
  background: var(--paper-bright);
}

.principles-heading {
  position: sticky;
  top: 118px;
  align-self: start;
}

.principles-heading h2,
.solutions-heading h2 {
  margin-top: 20px;
  font-size: clamp(42px, 3.4vw, 60px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.principles-heading h2 .heading-line,
.section-heading h2 .heading-line,
.solutions-heading h2 .heading-line {
  display: inline;
}

.principles-heading h2 .heading-line + .heading-line::before,
.section-heading h2 .heading-line + .heading-line::before,
.solutions-heading h2 .heading-line + .heading-line::before {
  content: " ";
}

.principles-heading > p:last-child {
  max-width: 470px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 19px);
}

.principle-list,
.solution-list {
  border-top: 1px solid var(--line);
}

.principle-list li {
  display: grid;
  grid-template-columns: 44px minmax(170px, 0.58fr) 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list li > span,
.solution-number {
  padding-top: 4px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.principle-list strong {
  font-size: clamp(19px, 1.45vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.principle-list p {
  color: var(--muted);
  font-size: 15px;
}

.solutions {
  color: var(--ink);
  background: var(--paper);
}

.solutions-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(40px, 4vw, 72px);
  align-items: start;
  margin-bottom: clamp(64px, 8vw, 118px);
}

.section-heading .section-index,
.solutions-heading .section-index {
  grid-column: 1;
  grid-row: 1;
}

.section-heading .eyebrow,
.solutions-heading .eyebrow {
  grid-column: 1;
  grid-row: 2;
  margin-top: 34px;
}

.section-heading h2,
.solutions-heading h2 {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.solutions-heading .eyebrow {
  margin-top: 17px;
}

.solutions-heading h2 {
  margin-top: 0;
}

.solution-list li {
  display: grid;
  grid-template-columns: 54px minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.solution-list small {
  display: block;
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.solution-list h3 {
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.solution-list p {
  max-width: 720px;
  color: var(--muted);
}

.product-route-single {
  grid-template-columns: 1fr;
}

.product-route-single .product-route {
  min-height: 188px;
}

.product-route-exhibition {
  color: var(--white);
  border-color: var(--night);
  background: var(--night);
}

.product-route-exhibition p {
  color: rgba(255, 255, 255, 0.62);
}

.product-route-exhibition .product-route-cta {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: inline-flex;
  min-width: 184px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--cyan);
  color: var(--night);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.product-route-exhibition .product-route-cta i {
  font-size: 19px;
  font-style: normal;
}

.product-route-exhibition:hover .product-route-cta {
  background: var(--white);
  transform: translateX(3px);
}

.project-interview-note {
  max-width: 34rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  line-height: 1.75;
}

@media (max-width: 1180px) {
  .principles {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .principles-heading {
    position: static;
    max-width: 680px;
  }

  .solutions-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .solutions-heading .section-index,
  .solutions-heading .eyebrow,
  .solutions-heading h2 {
    grid-column: 1;
    grid-row: auto;
  }

  .solutions-heading .eyebrow {
    display: none;
    margin-top: 0;
  }

  .solutions-heading h2 {
    max-width: 920px;
    margin-top: 12px;
  }
}

@media (max-width: 1180px) {
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .section-index,
  .section-heading .eyebrow,
  .section-heading h2 {
    grid-column: 1;
    grid-row: auto;
  }

  .section-heading .eyebrow {
    display: none;
  }

  .section-heading h2 {
    max-width: min(900px, 15em);
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .hero-media img {
    object-position: 52% 42%;
  }

  .principles-heading h2,
  .solutions-heading h2 {
    font-size: clamp(35px, 10.5vw, 48px);
  }

  .principles-heading > p:last-child {
    margin-top: 18px;
    font-size: 15px;
  }

  .principle-list li {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 23px 0;
  }

  .principle-list p {
    grid-column: 2;
    font-size: 13px;
  }

  .solution-list li {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 25px 0;
  }

  .solution-list li > p {
    grid-column: 2;
    font-size: 13px;
  }

  .solution-list h3 {
    font-size: 21px;
  }

  .product-route-single .product-route {
    min-height: 150px;
  }
}

@media (max-width: 720px) {
  .product-route-exhibition .product-route-cta {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    margin-top: 12px;
  }
}

/* Mobile optimization: preserve the image-led exhibition look while reducing
   reading distance, preventing fixed controls from covering content, and
   keeping comparisons usable on narrow screens. */
@media (max-width: 920px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-inline: var(--gutter);
  }

  .footer-contact {
    grid-column: 1;
    justify-self: start;
    flex-wrap: wrap;
  }

  .site-footer > p {
    width: 100%;
    grid-column: 1;
  }
}

@media (max-width: 820px) {
  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calculator-controls {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 720px) {
  .application-layout,
  .product-layout {
    display: block;
    margin-top: 38px;
  }

  .application-options,
  .product-options {
    grid-template-columns: 1fr;
  }

  .application-options button,
  .application-options button:nth-child(even),
  .product-options button,
  .product-options button:nth-child(even) {
    min-height: 104px;
    padding: 18px 0;
    border-right: 0;
  }

  .application-options > .application-visual,
  .product-options > .product-visual {
    width: 100%;
    margin: 0;
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
  }

  .application-options > .application-visual {
    aspect-ratio: 4 / 3;
  }

  .product-options > .product-visual {
    aspect-ratio: 5 / 4;
  }
}

@media (max-width: 640px) {
  :root {
    --section-space: clamp(62px, 16vw, 72px);
  }

  .heading-line {
    display: inline;
  }

  .heading-line + .heading-line::before {
    content: " ";
  }

  .hero {
    min-height: 0;
    grid-template-rows: clamp(300px, 42svh, 390px) auto;
  }

  .hero-media,
  .hero-shade {
    height: clamp(300px, 42svh, 390px);
  }

  .hero-content {
    padding: 26px 20px 38px;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    max-width: 12em;
    font-size: clamp(36px, 10vw, 42px);
    line-height: 1.06;
    text-wrap: balance;
  }

  .hero-description {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-actions .button {
    min-height: 48px;
    min-width: 0;
    padding-inline: 10px;
    font-size: 12px;
  }

  .statement-copy,
  .section-heading h2,
  .products-heading h2,
  .faq-heading h2,
  .scope-heading h2,
  .projects-heading h2,
  .contact h2,
  .principles-heading h2,
  .solutions-heading h2,
  .why-us-heading h2,
  .trusted-clients-heading h2 {
    font-size: clamp(32px, 9.2vw, 38px);
    line-height: 1.13;
    text-wrap: balance;
  }

  .statement-copy,
  .section-heading h2,
  .products-heading h2,
  .faq-heading h2 {
    margin-top: 22px;
  }

  .principles {
    gap: 38px;
  }

  .principle-list li,
  .solution-list li {
    padding-block: 20px;
  }

  .application-layout,
  .product-layout {
    margin-top: 32px;
  }

  .application-options button,
  .application-options button:nth-child(even) {
    min-height: 96px;
    padding-block: 16px;
  }

  .product-options button,
  .product-options button:nth-child(even) {
    min-height: 102px;
    padding-block: 16px;
  }

  .option-copy strong {
    font-size: 19px;
  }

  .application-options .option-arrow,
  .product-options button > i {
    font-size: 0;
  }

  .application-options .option-arrow::before,
  .product-options button > i::before {
    display: block;
    content: "↓";
    font-size: 17px;
    font-style: normal;
  }

  .application-options button.is-active .option-arrow::before,
  .product-options button.is-active > i::before {
    content: "✓";
  }

  .application-visual figcaption {
    min-height: 46px;
    align-items: center;
  }

  .product-route-split {
    margin-top: 24px;
  }

  .product-route,
  .product-route-single .product-route {
    min-height: 0;
    padding: 22px 18px;
  }

  .product-route-exhibition .product-route-cta {
    min-height: 50px;
  }

  .budget-highlight {
    gap: 28px;
    margin-top: 48px;
    padding: 28px 16px;
  }

  .budget-title h3 {
    font-size: 29px;
  }

  .budget-options {
    display: flex;
    width: calc(100% + 32px);
    max-width: none;
    gap: 12px;
    margin-inline: -16px;
    padding: 16px 16px 10px;
    overflow-x: auto;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-color: rgba(0, 191, 255, 0.65) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }

  .budget-option,
  .budget-option:nth-child(3) {
    min-height: 0;
    flex: 0 0 min(82vw, 292px);
    padding: 23px 18px 21px;
    border: 1px solid var(--line-light);
    scroll-snap-align: start;
  }

  .budget-option:first-child {
    border: 1px solid var(--line-light);
  }

  .budget-option > em {
    top: -13px;
  }

  .budget-blueprint {
    margin-top: 8px;
  }

  .budget-note,
  .budget-blueprint figcaption {
    font-size: 11px;
  }

  .estimate-guide {
    gap: 26px;
    margin-top: 46px;
    padding: 24px 14px;
  }

  .estimate-guide-intro h3 {
    margin-top: 14px;
    font-size: 28px;
    line-height: 1.18;
    text-wrap: balance;
  }

  .calculator-controls,
  .calculator-result {
    padding: 20px 14px;
  }

  .calculator-field select,
  .calculator-input-wrap input {
    font-size: 16px;
  }

  .calculator-field select {
    padding-right: 34px;
    padding-left: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calculator-selected-spec dl > div {
    gap: 12px;
  }

  .calculator-screen-stage {
    min-height: 184px;
  }

  .calculator-result-grid > div {
    min-height: 68px;
    padding-inline: 11px;
  }

  .calculator-kakao-cta {
    min-height: 66px;
  }

  .solutions-heading {
    margin-bottom: 42px;
  }

  .solution-list h3 {
    font-size: 20px;
  }

  .why-us-heading h2 {
    margin-top: 22px;
  }

  .why-us-list {
    margin-top: 34px;
  }

  .why-us-list li {
    padding-block: 20px 22px;
  }

  .why-us-assurance a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .trusted-client-grid {
    margin-top: 30px;
  }

  .project-case-grid {
    gap: 36px;
    margin-top: 40px;
  }

  .project-case figure {
    margin-top: 12px;
  }

  .project-comparison-frame > span {
    right: 7px;
    bottom: 7px;
    left: 7px;
    padding: 4px 5px;
    background: rgba(3, 10, 15, 0.7);
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: 0.025em;
  }

  .project-case-content {
    padding-top: 17px;
  }

  .project-case-content h3 {
    font-size: 24px;
  }

  .project-case-content dl {
    margin-top: 17px;
  }

  .project-case-content dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .project-case-content dt {
    font-size: 11px;
  }

  .project-case-content dd {
    font-size: 13px;
    line-height: 1.62;
  }

  .project-interview {
    gap: 22px;
    margin-top: 46px;
    padding: 26px 0;
  }

  .project-interview-heading h3 {
    font-size: 25px;
  }

  .project-interview-note {
    margin-top: 12px;
  }

  .project-interview-quotes {
    display: flex;
    gap: 12px;
    margin-right: -20px;
    padding: 2px 20px 14px 0;
    overflow-x: auto;
    scroll-padding-right: 20px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-color: rgba(0, 191, 255, 0.65) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }

  .project-interview blockquote {
    min-height: 286px;
    flex: 0 0 min(80vw, 286px);
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-top: 2px solid var(--cyan);
    background: rgba(255, 255, 255, 0.035);
    scroll-snap-align: start;
  }

  .project-interview blockquote p {
    margin-top: 13px;
    font-size: 18px;
    line-height: 1.55;
  }

  .project-interview blockquote footer {
    margin-top: 16px;
  }

  .faq-list {
    margin-top: 36px;
  }

  .faq-list summary {
    min-height: 76px;
  }

  .faq-list summary strong {
    font-size: 16px;
  }

  .faq-list details > p {
    margin: 0 0 0 38px;
    padding-top: 14px;
    padding-bottom: 26px;
    font-size: 14px;
    line-height: 1.7;
  }

  .faq-tech-list {
    display: grid;
    gap: 7px;
    margin-top: 14px;
  }

  .faq-tech-list > span {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    padding-top: 7px;
    border-top: 1px solid var(--line);
  }

  .faq-tech-list strong {
    color: #007dac;
    font-size: 12px;
  }

  .faq-case-example {
    font-size: 12px;
  }

  .contact-content {
    padding: 70px 0 82px;
  }

  .contact-body > p:last-of-type {
    margin-top: 20px;
  }

  .contact-actions {
    margin-top: 32px;
  }

  .contact-option {
    min-height: 92px;
    padding: 18px;
  }

  .footer-contact {
    gap: 0;
  }

  .footer-contact a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .mobile-contact-bar {
    grid-template-columns: 0.86fr 1.06fr 0.94fr;
  }

  .mobile-contact-bar a {
    min-width: 0;
    padding-inline: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12px;
    white-space: nowrap;
  }

  .mobile-contact-bar a:nth-child(2) {
    color: #00141d;
    background: var(--cyan);
  }

  .mobile-contact-bar a:last-child {
    color: #191919;
    border-right: 0;
    background: #fee500;
  }

  .kakao-talk-fab {
    display: none;
  }
}

@media (max-width: 360px) {
  .hero {
    grid-template-rows: clamp(270px, 40svh, 320px) auto;
  }

  .hero-media,
  .hero-shade {
    height: clamp(270px, 40svh, 320px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions .button {
    font-size: 11px;
  }

  .project-comparison-frame > span {
    font-size: 8.5px;
  }
}

@media (orientation: landscape) and (max-width: 920px) and (max-height: 500px) {
  .consultation-modal {
    max-height: calc(100dvh - 16px);
  }

  .consultation-modal-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: calc(100dvh - 72px);
  }

  .consultation-modal-intro,
  .consultation-modal-contact {
    padding: 22px 24px;
  }

  .consultation-modal-footer {
    display: none;
  }
}
