@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { font-family: 'DM Sans', system-ui, sans-serif; color: #252724; background: #f7f6f3; font-synthesis: none; }
* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100vh; margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid #9b7d55; outline-offset: 4px; }
.eyebrow { margin: 0; color: #9a8164; font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
h1 { font-family: 'Manrope', system-ui, sans-serif; letter-spacing: -.062em; font-weight: 600; }
.title-period, .brand span, .mark-period { color: #ad8d65; }
.button { min-height: 60px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; border: 1px solid #282a28; border-radius: 8px; font-size: .9rem; font-weight: 700; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease; }
.button span { font-size: 1.25rem; font-weight: 400; }
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31,33,30,.12); }
.button-primary { background: #292b28; color: #fff; }
.button-primary:hover { background: #393d38; }
.button-secondary { background: transparent; color: #292b28; }
.button-secondary:hover { background: #eeece7; }
.home-page { background: radial-gradient(circle at 85% 25%, rgba(199,183,157,.15), transparent 34%), #f7f6f3; }
.home-shell { min-height: 100vh; min-height: 100svh; max-width: 1450px; margin: auto; padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; }
.home-mark { font-family: 'Manrope', system-ui, sans-serif; font-size: 1.12rem; font-weight: 800; letter-spacing: -.08em; }
.home-content { margin: 5vh 0 8vh; max-width: 810px; animation: rise .65s ease both; }
.home-content h1 { margin: 22px 0 18px; font-size: clamp(4rem, 10vw, 9.4rem); line-height: 1.025; }
.home-intro { margin: 0; color: #71736e; font-size: clamp(.98rem, 1.35vw, 1.15rem); line-height: 1.65; }
.home-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 46px; }
.home-actions .button { min-width: 188px; }
.home-foot { display: flex; justify-content: space-between; color: #aaa9a3; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.listing-page { background: #f7f6f3; }
.page-shell { max-width: 1120px; margin: auto; padding: 0 clamp(24px, 5vw, 72px) 80px; }
.page-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e4e1da; }
.brand { font-family: 'Manrope', system-ui, sans-serif; font-size: 1.12rem; font-weight: 800; letter-spacing: -.08em; text-decoration: none; }
.back-link { color: #70716b; font-size: .8rem; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.back-link:hover { color: #252724; }
.section-heading { padding: clamp(68px, 9vw, 116px) 0 50px; }
.section-heading h1 { margin: 18px 0 13px; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1.1; }
.section-heading > p:last-child { margin: 0; color: #757771; font-size: 1rem; line-height: 1.6; }
.model-list, .forma-list { border-top: 1px solid #dedbd4; }
.model-card { width: 100%; min-height: 93px; padding: 20px 16px 20px 2px; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #dedbd4; text-decoration: none; transition: background .22s ease, padding .22s ease; }
.model-card:hover { background: #edebe5; padding-left: 16px; }
.card-index { color: #aaa49a; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.card-title { font-family: 'Manrope', system-ui, sans-serif; font-size: clamp(1.12rem, 2.1vw, 1.55rem); font-weight: 600; letter-spacing: -.035em; }
.card-arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d2cfc7; border-radius: 50%; font-size: 1.1rem; transition: color .22s ease, background .22s ease, border-color .22s ease; }
.model-card:hover .card-arrow { color: #fff; background: #292b28; border-color: #292b28; }
.list-hint { margin-top: 28px; color: #8b8d86; font-size: .8rem; line-height: 1.6; }
.viewer-dialog { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #f7f6f3; color: #252724; }
.viewer-dialog::backdrop { background: rgba(26,28,25,.75); }
.dialog-top { height: 60px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e4e1da; font-size: .88rem; font-weight: 700; }
.dialog-close { min-height: 42px; display: inline-flex; align-items: center; gap: 14px; padding: 0 13px; border: 1px solid #d9d6cf; border-radius: 5px; background: #fff; color: #252724; cursor: pointer; }
.dialog-close span { font-size: 1.4rem; line-height: 1; }
.dialog-close:hover { background: #ebe8e2; }
.viewer-dialog iframe { display: block; width: 100%; height: calc(100% - 60px); border: 0; }
.error-page { display: grid; place-items: center; padding: 28px; }
.error-shell { width: min(100%, 650px); }
.error-shell .eyebrow { margin-top: 80px; }
.error-shell h1 { margin: 14px 0; font-size: clamp(3.2rem, 8vw, 5.5rem); line-height: 1.08; }
.error-shell p:not(.eyebrow) { color: #757771; line-height: 1.6; }
.error-shell .button { margin-top: 24px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) {
  .home-shell { padding: 28px 24px 30px; }
  .home-content { margin: auto 0; padding: 65px 0 80px; }
  .home-content h1 { font-size: clamp(3.55rem, 13.3vw, 5.5rem); }
  .home-actions { margin-top: 35px; display: grid; }
  .home-actions .button { width: 100%; min-height: 62px; }
  .page-header { min-height: 78px; }
  .section-heading { padding: 65px 0 36px; }
  .model-card { min-height: 84px; grid-template-columns: 35px 1fr auto; gap: 8px; }
  .card-arrow { width: 34px; height: 34px; }
  .dialog-top { padding: 0 12px 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
