:root { color: #242720; background: #f3f0e9; font-family: 'Noto Sans SC', sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f3f0e9; }
button, input { font: inherit; }
[hidden] { display: none !important; }
button { color: inherit; }
.nav { height: 86px; padding: 0 clamp(24px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(41,45,35,.14); }
.brand { color: #243126; font: 500 19px 'Noto Serif SC', serif; letter-spacing: .14em; text-decoration: none; display: flex; flex-direction: column; gap: 3px; }
.brand span { font: 400 8px 'Noto Sans SC'; letter-spacing: .3em; color: #8b725d; }
.nav-note { color: #6d6c64; font-size: 12px; letter-spacing: .16em; display: flex; align-items: center; gap: 11px; }
.nav-note i { width: 5px; height: 5px; background: #af633f; border-radius: 50%; }
.hero { min-height: 590px; padding: 112px clamp(24px, 12vw, 185px) 85px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(170,104,70,.13); border-radius: 50%; right: -100px; top: 35px; box-shadow: 0 0 0 78px rgba(170,104,70,.025), 0 0 0 150px rgba(170,104,70,.018); }
.eyebrow, section small, .result-title small { font-size: 10px; letter-spacing: .24em; color: #976448; text-transform: uppercase; }
.eyebrow span { border-right: 1px solid #bdad9d; padding-right: 17px; margin-right: 17px; }
h1 { font: 500 clamp(48px, 6.7vw, 86px)/1.22 'Noto Serif SC', serif; letter-spacing: .04em; margin: 25px 0 26px; }
h1 span, .two-col-title h2 span { color: #ad603e; font-style: italic; }
.hero > p { color: #6c6b63; font: 300 15px/2 'Noto Sans SC'; letter-spacing: .08em; }
.down { display: inline-flex; align-items: center; gap: 12px; margin-top: 43px; color: #334135; text-decoration: none; font-size: 12px; letter-spacing: .12em; border-bottom: 1px solid #879083; padding-bottom: 9px; }
.upload-section, .home-section { max-width: 1120px; margin: auto; padding: 90px 40px 110px; }
.section-index { display: flex; align-items: center; gap: 13px; color: #9c674b; font-size: 10px; letter-spacing: .2em; margin-bottom: 28px; }
.section-index span { width: 35px; height: 1px; background: currentColor; opacity: .6; }
.section-heading, .two-col-title { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 45px; gap: 30px; }
h2 { font: 500 clamp(28px, 3.2vw, 42px)/1.45 'Noto Serif SC', serif; letter-spacing: .04em; margin: 9px 0 0; }
.section-heading > p, .two-col-title > p { color: #85837b; font-size: 12px; line-height: 2; letter-spacing: .08em; }
.dropzone { width: 100%; min-height: 330px; background: rgba(255,255,255,.35); border: 1px dashed #aca99f; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: .3s; }
.dropzone:hover, .dropzone.dragging { background: rgba(255,255,255,.72); border-color: #a45c3e; transform: translateY(-2px); }
.upload-icon { width: 65px; height: 65px; border: 1px solid #a55e42; color: #a55e42; border-radius: 50%; display: grid; place-items: center; margin-bottom: 23px; }
.dropzone strong { font: 500 17px 'Noto Serif SC', serif; letter-spacing: .06em; }
.dropzone em { font-style: normal; font-size: 12px; color: #929087; margin: 9px 0 26px; }
.dropzone small { color: #aaa79d; font-size: 9px; }
.preview-wrap { background: #ddd8cd; position: relative; overflow: hidden; }
.preview-wrap > img { width: 100%; height: min(63vw, 620px); object-fit: cover; display: block; }
.preview-bar { position: absolute; bottom: 0; inset-inline: 0; color: white; display: flex; justify-content: space-between; align-items: center; padding: 25px 28px; background: linear-gradient(transparent,rgba(15,19,14,.65)); font-size: 12px; }
.preview-bar span, .preview-bar button { display: flex; align-items: center; gap: 8px; }
.preview-bar button { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.55); color: white; padding: 9px 14px; cursor: pointer; }
.analyze-button { margin: 33px auto 0; width: 252px; height: 55px; border: 0; background: #314333; color: #fff; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; letter-spacing: .08em; cursor: pointer; transition: .2s; }
.analyze-button:hover:not(:disabled) { background: #a45d3f; transform: translateY(-2px); }
.analyze-button:disabled { opacity: .38; cursor: not-allowed; }
.button-hint { text-align: center; color: #9b9990; font-size: 10px; }
.loader { width: 16px; height: 16px; border: 1px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results { animation: reveal .7s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(20px); } }
.analysis-section { background: #26372b; color: #f4f0e7; padding: 95px max(40px, calc((100vw - 1040px)/2)) 110px; }
.section-index.light { color: #d39a78; }
.result-title { text-align: center; margin-bottom: 56px; }
.result-title h2 { font-size: clamp(28px, 3.2vw, 40px); }
.result-title p { color: #bbc0b8; font: 300 13px 'Noto Sans SC'; letter-spacing: .14em; }
.analysis-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.analysis-grid article { padding: 27px 25px 31px; min-width: 0; border-right: 1px solid rgba(255,255,255,.14); }
.analysis-grid article:last-child { border: 0; }
.card-top { display: flex; justify-content: space-between; color: #c58866; font-size: 9px; }
.card-top small { color: #d0cec6; }
.card-visual { height: 88px; margin: 23px 0 15px; display: flex; align-items: center; }
.swatches { width: 100%; display: flex; }
.swatches i { flex: 1; height: 56px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tags i { font-style: normal; border: 1px solid rgba(255,255,255,.24); padding: 7px 9px; color: #d6d5cf; font-size: 10px; }
.light-art { width: 100%; height: 70px; background: #354539; position: relative; overflow: hidden; }
.light-art span { position: absolute; width: 100px; height: 120px; background: linear-gradient(115deg, transparent 25%, rgba(235,196,140,.55)); transform: rotate(-14deg); left: 35px; top: -28px; }
.light-art i { position: absolute; inset: 0; box-shadow: inset 0 0 35px #29382d; }
.arch-art { height: 78px; width: 105px; margin: auto; border: 1px solid rgba(239,221,198,.5); border-radius: 55px 55px 0 0; padding: 12px; }
.arch-art i { display: block; width: 100%; height: 100%; border-radius: 45px 45px 0 0; background: #c98560; opacity: .7; }
.analysis-grid h3 { font: 500 18px 'Noto Serif SC'; margin: 10px 0; }
.analysis-grid p { font-size: 11px; line-height: 1.8; color: #b7bcb5; margin: 0; }
.home-section { padding-block: 110px 120px; }
.suggestions { margin-top: 55px; border-top: 1px solid #ccc7bb; }
.suggestions article { display: grid; grid-template-columns: 70px 1fr 30px; gap: 20px; align-items: center; min-height: 145px; border-bottom: 1px solid #ccc7bb; }
.suggestions > article > span { color: #ad6848; font: italic 18px Georgia, serif; }
.suggestions h3 { font: 500 19px 'Noto Serif SC'; margin: 0 0 10px; }
.suggestions p { color: #77766e; font-size: 12px; line-height: 1.9; max-width: 620px; margin: 0; }
.suggestions svg { color: #9b745f; }
.redbook-section { background: #ded6ca; padding: 100px max(40px, calc((100vw - 1040px)/2)); }
.redbook-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 38px; border-bottom: 1px solid rgba(76,65,55,.25); }
.redbook-head svg { color: #aa6545; }
.redbook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-top: 45px; }
.redbook-grid label { color: #9d664a; font-size: 10px; letter-spacing: .18em; }
.redbook-grid ol { list-style: none; padding: 0; margin: 18px 0 0; }
.redbook-grid li { font: 500 15px/1.7 'Noto Serif SC'; border-bottom: 1px solid rgba(76,65,55,.18); padding: 17px 0; }
.redbook-grid li span { color: #a97053; font: italic 11px Georgia; margin-right: 14px; }
.copy-card { background: #f5f1ea; padding: 35px 38px; box-shadow: 0 20px 50px rgba(59,47,37,.06); }
.copy-card p { color: #64645e; font-size: 12px; line-height: 2; }
.copy-card .hashtags { color: #9c684d; }
.copy-card button { float: right; border: 0; border-bottom: 1px solid #596558; background: transparent; padding: 7px 0; color: #465346; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 11px; }
.again { text-align: center; background: #f3f0e9; padding: 70px; }
.again p { font: 500 20px 'Noto Serif SC'; }
.again button { background: transparent; border: 1px solid #59675a; padding: 13px 22px; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-size: 11px; }
footer { min-height: 170px; padding: 45px clamp(24px, 6vw, 92px); background: #1e2921; color: #e7e2d8; display: flex; align-items: center; justify-content: space-between; }
footer .brand { color: #e7e2d8; }
footer p { font: 400 13px 'Noto Serif SC'; letter-spacing: .1em; }
footer small { font-size: 8px; color: #899087; letter-spacing: .15em; }

@media (max-width: 800px) {
  .nav-note, .desktop { display: none; }
  .hero { min-height: 525px; padding-top: 90px; }
  h1 { font-size: clamp(43px, 12vw, 64px); }
  .section-heading, .two-col-title { align-items: flex-start; flex-direction: column; }
  .analysis-grid { grid-template-columns: 1fr 1fr; }
  .analysis-grid article:nth-child(2) { border-right: 0; }
  .analysis-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .redbook-grid { grid-template-columns: 1fr; gap: 40px; }
  footer { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 500px) {
  .nav { height: 74px; }
  .hero { padding-inline: 23px; min-height: 500px; }
  .hero::after { width: 260px; height: 260px; }
  .upload-section, .home-section { padding: 70px 22px 85px; }
  .dropzone { min-height: 285px; }
  .analysis-section, .redbook-section { padding: 72px 22px 82px; }
  .analysis-grid { grid-template-columns: 1fr; }
  .analysis-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .suggestions article { grid-template-columns: 42px 1fr; padding: 25px 0; }
  .suggestions svg { display: none; }
  .copy-card { padding: 28px 24px 45px; }
  .again { padding: 55px 20px; }
}
