:root {
  --page-bg: #ffffff;
  --section-bg: #f2ece3;
  --section-bg-soft: #f8f4ee;
  --text: #111111;
  --muted: #7a736e;
  --line: rgba(24, 24, 24, 0.1);
  --accent: #d94a40;
  --header-glass: rgba(246, 240, 245, 0.72);
  --shadow-soft: 0 18px 40px rgba(24, 20, 16, 0.08);
  --shadow-card: 0 16px 34px rgba(26, 18, 12, 0.09);
  --shadow-hover: 0 26px 52px rgba(26, 18, 12, 0.14);
  --radius-hero: 10px;
  --radius-section: 36px;
  --radius-card: 24px;
  --content-width: 1240px;
  --content-width-shell: 1200px;
  --content-width-narrow: 1200px;
  --content-width-contact: 1200px;
  --section-title-inset: 24px;
  --header-offset: 18px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

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

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

button,
a,
input,
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid rgba(217, 74, 64, 0.35);
  outline-offset: 4px;
}

.page-shell {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
}

.section-shell {
  width: min(var(--content-width-shell), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: var(--header-offset) 0 auto;
  z-index: 100;
  pointer-events: none;
}

.header-inner {
  width: min(var(--content-width-shell), calc(100% - 64px));
  margin: 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: var(--header-glass);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 28px rgba(32, 26, 22, 0.08);
  pointer-events: auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-meta {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #d63d33;
  line-height: 1;
}

.brand-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3b322d;
  line-height: 1.1;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.site-nav a,
.menu-toggle {
  border-radius: 999px;
}

.site-nav a {
  padding: 9px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #4e4944;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.site-nav a:hover {
  color: #1d1a17;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  color: #d03e35;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 18px rgba(255, 255, 255, 0.38);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  min-height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.84);
  color: #24201d;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.hero-shell {
  padding: 10px 0 52px;
  background: #ffffff;
}

.hero-shell-inner {
  width: calc(100% - 16px);
  margin: 0 auto;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  background: #ffffff;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.12) 0%, rgba(12, 11, 10, 0.04) 34%, rgba(12, 11, 10, 0) 62%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.03) 0%, rgba(12, 11, 10, 0) 58%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-frame::after {
  content: none;
}

.hero-image {
  width: 100%;
  height: auto;
}

.hero-copy-shell {
  position: absolute;
  inset: 0;
  width: min(var(--content-width-narrow), calc(100% - 64px));
  margin: 0 auto;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 20px;
  max-width: 640px;
  padding: clamp(126px, 14vw, 170px) 0 clamp(88px, 11vw, 118px) var(--section-title-inset);
}

.hero-copy h1,
.section-heading h2,
.method-card h3,
.product-card h3 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 10.6ch;
  font-size: clamp(4rem, 5.6vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.hero-break-desktop {
  display: block;
}

.hero-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 142px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(152, 163, 130, 0.54);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 24px rgba(34, 28, 22, 0.16);
  backdrop-filter: blur(14px) saturate(140%);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

main {
  padding-bottom: 18px;
}

.section-block,
.section-band {
  scroll-margin-top: 112px;
}

.section-band {
  margin: 0;
  padding: 76px 0 82px;
  background: var(--section-bg);
}

.products-section,
.studio-section {
  background: #ffffff;
}

.method-section,
.contact-section {
  background: var(--section-bg);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.products-panel .section-heading,
.studio-panel .section-heading,
.method-section .section-heading,
.contact-section .section-heading {
  width: min(var(--content-width-narrow), 100%);
  margin-left: auto;
  margin-right: auto;
  padding-inline: var(--section-title-inset);
}

.section-tag,
.method-index,
.contact-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading h2 {
  font-size: clamp(2rem, 2.2vw, 2.4rem);
  line-height: 1.02;
  white-space: nowrap;
}

.section-note {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.products-section {
  padding-top: 52px;
}

.products-panel {
  width: min(var(--content-width-narrow), 100%);
  margin: 0 auto;
  padding: 58px var(--section-title-inset) 34px;
  border-radius: var(--radius-section);
  background: var(--section-bg);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: grid;
  gap: 14px;
  padding: 10px 10px 18px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbf6f1 0%, #f3ece3 100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-lineart {
  filter: grayscale(1) brightness(0.94) contrast(1.1);
  transition:
    opacity 1400ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-image-color-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0 round 22px);
  transition:
    clip-path 1700ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1300ms ease;
}

.product-image-color {
  transform: scale(1.01);
  transition: transform 1700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card h3 {
  text-align: center;
  font-size: 1.24rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.product-scene.is-active .product-image-color-wrap,
.product-scene:hover .product-image-color-wrap,
.product-scene:focus-visible .product-image-color-wrap {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 22px);
}

.product-scene.is-active .product-image-color,
.product-scene:hover .product-image-color,
.product-scene:focus-visible .product-image-color {
  transform: scale(1);
}

.product-scene.is-active .product-image-lineart,
.product-scene:hover .product-image-lineart,
.product-scene:focus-visible .product-image-lineart {
  opacity: 0.14;
  filter: grayscale(0.18) brightness(1.04);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: min(var(--content-width-narrow), 100%);
  margin: 0 auto;
}

.contact-inner {
  width: min(var(--content-width-shell), calc(100% - 64px));
  margin: 0 auto;
}

.method-card {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 246, 0.92)),
    #ffffff;
  box-shadow: 0 10px 28px rgba(31, 22, 16, 0.06);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.method-card h3 {
  max-width: 7ch;
  font-size: clamp(1.82rem, 2vw, 2.18rem);
  line-height: 0.94;
}

.method-card p {
  max-width: 18ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.studio-section {
  padding-top: 52px;
}

.studio-panel {
  width: min(var(--content-width-narrow), 100%);
  margin: 0 auto;
  display: grid;
  align-content: stretch;
  padding: 34px 0 0;
  border-radius: var(--radius-section);
  background: var(--section-bg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.studio-frame {
  position: relative;
  width: 100%;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #ddd4ca;
}

.studio-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-frame figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(32, 22, 16, 0.08);
  color: #3f3935;
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-card {
  width: min(var(--content-width-contact), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 36px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contact-art {
  position: relative;
  min-height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, #542421 0%, #351819 100%);
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-art-glow {
  position: absolute;
  width: 84%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 236, 226, 1) 0%, rgba(244, 229, 216, 0.94) 48%, rgba(244, 229, 216, 0.08) 78%, rgba(244, 229, 216, 0) 100%);
}

.contact-art-logo {
  position: relative;
  z-index: 1;
  width: 74%;
  object-fit: contain;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-list {
  display: grid;
  align-content: start;
}

.contact-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #ece6df;
}

.contact-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-label {
  color: #8b847e;
}

.contact-value {
  font-size: 1rem;
  line-height: 1.42;
  color: #56504b;
}

.contact-row a.contact-value {
  transition: color 180ms ease;
}

.contact-row a.contact-value:hover {
  color: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 38px;
  font-size: 0.92rem;
  color: #beb6af;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  transition: color 180ms ease;
}

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

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }

  .method-card:hover,
  .method-card:focus-visible {
    transform: translateY(-8px) scale(1.035);
    box-shadow: 0 22px 42px rgba(24, 18, 14, 0.12);
  }

  .studio-frame:hover {
    box-shadow: 0 28px 56px rgba(24, 18, 14, 0.14);
  }

  .studio-frame:hover img,
  .studio-frame:focus-within img {
    transform: scale(1.035);
  }

  .hero-contact-button:hover,
  .hero-contact-button:focus-visible {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      0 14px 28px rgba(34, 28, 22, 0.2);
    background: rgba(152, 163, 130, 0.62);
  }

  .contact-art:hover .contact-art-logo,
  .contact-art:focus-within .contact-art-logo {
    transform: scale(1.028);
    filter: brightness(1.03);
  }

  .contact-art:hover,
  .contact-art:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(24, 18, 14, 0.12);
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .page-shell,
  .section-shell,
  .contact-inner,
  .header-inner {
    width: min(var(--content-width), calc(100% - 32px));
  }

  .hero-copy-shell {
    width: min(var(--content-width-narrow), calc(100% - 32px));
  }

  .site-header {
    inset: 12px 0 auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 214px;
    padding: 10px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background: rgba(45, 34, 33, 0.82);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 20px 40px rgba(20, 14, 12, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 220ms ease,
      visibility 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    color: rgba(255, 247, 242, 0.88);
    padding: 12px 14px;
  }

  .site-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
  }

  .site-nav a.is-active {
    color: #221c19;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
  }

  .hero-shell {
    padding-top: 12px;
  }

  .hero-frame::after {
    height: 110px;
  }

  .hero-copy {
    max-width: 480px;
    padding: 124px 0 86px 18px;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 8.8vw, 4.9rem);
  }

  .hero-contact-button {
    min-width: 136px;
    min-height: 50px;
    padding: 0 20px;
  }

  .product-gallery,
  .method-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .studio-panel {
    width: 100%;
  }

  .studio-frame {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .section-shell,
  .contact-inner,
  .header-inner {
    width: calc(100% - 24px);
  }

  .hero-copy-shell {
    width: min(var(--content-width-narrow), calc(100% - 24px));
  }

  .hero-frame {
    min-height: 252px;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .header-inner {
    min-height: 60px;
    padding: 8px 12px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .brand-eyebrow {
    font-size: 0.66rem;
  }

  .hero-copy {
    align-content: start;
    max-width: 248px;
    padding: 86px 0 20px 16px;
  }

  .hero-copy h1 {
    max-width: 9.2ch;
    font-size: clamp(1.48rem, 6.4vw, 1.88rem);
    line-height: 0.92;
  }

  .hero-break-desktop {
    display: none;
  }

  .hero-contact-button {
    display: none;
  }

  .hero-shell-inner {
    width: calc(100% - 12px);
  }

  .section-band {
    padding: 46px 0 52px;
  }

  .section-heading {
    gap: 6px;
    margin-bottom: 18px;
  }

  .products-panel .section-heading,
  .studio-panel .section-heading,
  .method-section .section-heading,
  .contact-section .section-heading {
    width: 100%;
    padding-inline: 12px;
  }

  .products-panel {
    padding: 26px 12px 14px;
    border-radius: 28px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    white-space: normal;
  }

  .section-note {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .product-gallery {
    gap: 10px;
  }

  .product-card {
    gap: 8px;
    padding: 6px 6px 10px;
    border-radius: 22px;
  }

  .product-media {
    border-radius: 18px;
  }

  .product-image-color-wrap {
    clip-path: inset(0 0 100% 0 round 18px);
  }

  .product-scene.is-active .product-image-color-wrap,
  .product-scene:hover .product-image-color-wrap,
  .product-scene:focus-visible .product-image-color-wrap {
    clip-path: inset(0 0 0 0 round 18px);
  }

  .method-card {
    min-height: auto;
    gap: 10px;
    padding: 18px 16px;
  }

  .method-card h3 {
    font-size: 1.55rem;
  }

  .method-card p {
    font-size: 0.86rem;
  }

  .studio-panel {
    padding: 20px 0 0;
    border-radius: 24px;
  }

  .studio-frame {
    width: 100%;
    min-height: 300px;
    border-radius: 18px 18px 0 0;
  }

  .studio-frame figcaption {
    left: 14px;
    bottom: 14px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .contact-card {
    gap: 18px;
    padding: 14px;
    border-radius: 18px;
  }

  .contact-art {
    min-height: 180px;
    border-radius: 16px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .contact-value {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 18px;
    font-size: 0.82rem;
  }
}
