/* Warm frosted glass skin. Original palette and interactions are retained. */
:root {
  --glass: linear-gradient(135deg, #efe6d816, #29231e99 48%, #201c18b8);
  --glass-border: #efe6d82e;
  --glass-shadow: 0 18px 48px #100c0838, inset 0 1px 0 #efe6d81c;
}
body { position: relative; isolation: isolate; }
body::before {
  content: ''; position: fixed; inset: -14px; z-index: -1; pointer-events: none;
  background: linear-gradient(#201c1890, #201c18b0), url('assets/mix-5.webp') center / cover;
  filter: blur(4px); opacity: .34;
}
.header, .button, .text-link, .image-label, .project, .future-work,
.empty-state, .about-copy, .service-grid > a, .process > div, .faq details,
.brief-form, .contact-placeholder, .dialog-toolbar, .detail-intro,
.model-controls > button, .model-status, .lightbox-bar, .photo-prev, .photo-next {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(110%);
  backdrop-filter: blur(22px) saturate(110%);
}
.header {
  top: 18px; left: 4vw; width: 92vw; height: 78px;
  padding: 0 28px; border-radius: 10px;
  background: linear-gradient(115deg, #efe6d819, #29231e72 65%, #201c187d);
}
.header.scrolled { background: var(--glass); border-color: var(--glass-border); }
.header nav { gap: 8px; }
.header nav a { padding: 10px 20px; border-radius: 8px; transition: background .25s; }
.header nav a:last-child { margin-left: 8px; }
.header nav a.active, .header nav a:hover { background: #efe6d81b; box-shadow: inset 0 1px 0 #efe6d81a; }
.header nav a::after { display: none; }
.button, .text-link { border-radius: 8px; }
.button:hover, .text-link:hover { background-color: #efe6d814; }
.light {
  background: linear-gradient(135deg, #e9dfcfe6, #e9dfcfba);
  color: #211c16; border-color: #efe6d86b;
  box-shadow: 0 8px 28px #100c0833, inset 0 1px 0 #fff7;
}
.orange {
  background: linear-gradient(135deg, #c36b45ed, #c36b45b8);
  color: #fff; border: 1px solid #e9dfcf40;
  box-shadow: 0 10px 28px #201c1838, inset 0 1px 0 #efe6d833;
}
.text-link { padding: 11px 18px; }
.hero-actions { gap: 16px; }
.card-front, .card-back {
  border-radius: 8px; background: linear-gradient(135deg, #e5dac8ed, #e5dac8c9);
  border: 1px solid #efe6d8b3; box-shadow: 0 14px 35px #100c0855, inset 0 1px 0 #fff9;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.hero-bottom > a { padding: 0 18px; border: 1px solid #efe6d82e; border-radius: 8px; background: #29231e69; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.filters {
  display: inline-flex; gap: 5px; padding: 6px; border: 1px solid var(--glass-border);
  border-radius: 8px; background: #29231e80;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.filters button { padding: 10px 22px; border-radius: 6px; }
.filters button.selected { background: #efe6d81c; box-shadow: inset 0 1px 0 #efe6d82e; }
.filters button.selected::after { display: none; }
.project { border-radius: 10px; padding: 12px; overflow: hidden; }
.project-cover { border-radius: 10px; }
.project-caption { padding: 25px 20px 15px; gap: 18px; flex-wrap: wrap; }
.image-label { border-radius: 8px; }
.future-work { margin-top: 22px; padding: 23px 26px; border-radius: 10px; }
.empty-state { border-radius: 10px; }
.about-art img { border-radius: 10px; border: 1px solid var(--glass-border); }
.about-copy { border-radius: 10px; padding: 38px; }
.about-copy > .eyebrow { margin-top: 0; }
.about-copy .quote { border-color: #efe6d82e; }
.services { background: linear-gradient(145deg, #26201bdc, #26201b94); }
.service-grid > a { border-radius: 10px; }
.service-grid > a:hover { background: linear-gradient(135deg, #efe6d823, #29231eaa); }
.process { gap: 18px; }
.process > div { border-radius: 10px; padding: 23px; }
.faq { border-top: 0; display: grid; gap: 14px; }
.faq details { border-radius: 10px; padding: 0 25px; }
.faq details p { line-height: 2; }
.contact-bg { inset: -16px; filter: blur(5px); opacity: .65; background: linear-gradient(90deg, #201c18b0, #201c1870), url('assets/mix-6.webp') center / cover; }
.contact-placeholder { padding: 18px 22px; border-radius: 8px; }
.contact-details p { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; }
.contact-details p + p { margin-top: 12px; padding-top: 12px; border-top: 1px solid #efe6d81c; }
.contact-details p > span { font-size: 11px; color: var(--muted); }
.contact-details strong, .contact-details a { font: 14px/1.8 Arial, sans-serif; letter-spacing: .7px; }
.contact-details a:hover { color: #d89b75; }
.contact-details a > span { margin-left: 6px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.project-grid .project { min-width: 0; }
.project-grid .project-cover { aspect-ratio: 1.42; }
.project-grid .project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-kind { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 4px; border: 1px solid #efe6d82e; background: #201c189e; color: var(--text); font-size: 9px; letter-spacing: 1px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.project-grid .image-label { bottom: 14px; right: 14px; padding: 10px 12px; gap: 25px; font-size: 8px; }
.project-grid .project-caption { padding: 22px 12px 12px; align-items: flex-start; gap: 8px; }
.project-grid .project-caption > div { width: 100%; }
.project-grid .project-caption h3 { font-size: 23px; margin: 7px 0; }
.project-grid .project-caption h3 button { width: 100%; display: flex; justify-content: space-between; gap: 10px; }
.project-grid .project-caption h3 span { font-size: 19px; margin-left: 0; }
.project-grid .project-caption .project-tagline { font-size: 12px; text-align: left; margin: 4px 0 10px; color: #d2c4b3; }
.project-grid .project-meta { font-size: 10px; text-align: left; margin: 0; line-height: 1.9; }
@media (max-width: 700px) {
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-grid .project-caption h3 { font-size: 22px; }
  .project-grid .project-caption { padding: 17px 10px 10px; }
  .project-kind { top: 10px; left: 10px; font-size: 8px; }
}
.brief-form { border-radius: 10px; background: linear-gradient(135deg, #efe6d824, #29231e94 50%, #201c18a8); }
.brief-form input, .brief-form select, .brief-form textarea {
  background: #201c183b; border: 1px solid #efe6d82e; border-radius: 6px;
  padding: 12px 14px; margin-top: 8px; box-shadow: inset 0 1px 0 #efe6d809;
}
.brief-form input:focus, .brief-form select:focus, .brief-form textarea:focus { background: #201c1869; }
footer { background: #201c18a8; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
dialog::backdrop { background: #080705a6; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
#project-dialog {
  border: 1px solid #efe6d840; border-radius: 10px;
  background: linear-gradient(140deg, #29231edb, #201c18e0);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: 0 30px 100px #08070580, inset 0 1px 0 #efe6d826;
}
.dialog-toolbar { background: linear-gradient(115deg, #efe6d816, #29231ed9); border-width: 0 0 1px; box-shadow: inset 0 1px 0 #efe6d819; }
.dialog-toolbar button, .lightbox-bar button { border-radius: 6px; padding: 9px 16px; background: #efe6d813; border: 1px solid #efe6d826; }
.detail-hero { border-radius: 10px; overflow: hidden; }
.detail-intro { margin-top: 24px; padding: 30px; border-radius: 10px; }
.detail-gallery img { border-radius: 10px; }
.detail-gallery .portrait img { background: #201c1855; }
.model-section { border-color: #efe6d82e; }
.model-stage { border-radius: 10px; border-color: #efe6d83b; box-shadow: 0 14px 36px #100c0830, inset 0 1px 0 #efe6d829; }
.model-stage:not(.su-view) { background: radial-gradient(ellipse at top left, #efe6d81f, #29231eaa 65%, #201c18b8); }
.model-stage.su-view { background: #ccccc8; }
.model-placeholder img { border-radius: 8px; }
.model-controls > button { border-radius: 8px; padding: 11px 18px; }
.model-controls > button:hover:not(:disabled) { background: #efe6d825; }
.model-controls > button[aria-pressed='true'] { border-color: #c36b4599; background: #c36b453b; }
.model-status { border-radius: 8px; background: #201c18b8; }
#lightbox { background: #201c18b0; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox-bar { padding: 8px 16px; border-radius: 8px; }
.photo-prev, .photo-next { border-radius: 8px; padding: 12px 18px; }
#large-photo { border-radius: 8px; }
@media (max-width: 1100px) {
  .header nav a { padding: 10px 14px; }
  .about { gap: 5vw; }
  .about-copy { padding: 28px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 98px; }
  .header { top: 12px; left: 4vw; width: 92vw; height: 66px; padding: 0 18px; border-radius: 10px; }
  .menu-toggle { border-radius: 6px; padding: 6px 10px; background: #efe6d816; }
  .header nav { top: 76px; left: 0; right: 0; padding: 12px; gap: 6px; border: 1px solid var(--glass-border); border-radius: 10px; background: #29231eef; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
  .header nav a { padding: 12px 16px; }
  .header nav a:last-child { margin-left: 0; }
  .hero-actions { gap: 12px; }
  .hero-actions > .text-link { padding: 12px 14px; }
  .filters { gap: 2px; max-width: 100%; }
  .filters button { padding: 10px 15px; font-size: 11px; }
  .project { padding: 8px; border-radius: 10px; }
  .project-cover { border-radius: 8px; }
  .project-caption { padding: 20px 12px 12px; }
  .project-caption h3 { font-size: 23px; }
  .project-caption h3 span { margin-left: 10px; }
  .future-work { padding: 18px; gap: 12px; }
  .about-copy { padding: 26px; border-radius: 10px; }
  .service-grid > a { border-radius: 10px; }
  .process { gap: 14px; }
  .process > div { padding: 20px 16px; }
  .faq details { padding: 0 20px; }
  .brief-form { border-radius: 10px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  #project-dialog { border-radius: 10px; }
  .detail-intro { padding: 24px 20px; }
  .detail-hero, .detail-gallery img, .model-stage { border-radius: 8px; }
  .model-controls > button { padding: 10px 13px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header, .header.scrolled, .brief-form, #project-dialog, .dialog-toolbar { background-color: #29231eee; }
}

/* Project reading view, inspired by the supplied editorial gallery layout. */
#project-dialog {
  width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0;
  border: 0; border-radius: 0;
  background: linear-gradient(110deg, #201c18a8, #29231eac 50%, #201c18bf);
  box-shadow: none;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
#project-dialog::backdrop { background: #201c18b8; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.project-detail { max-width: 860px; margin: 0 auto; padding: 38px 40px 70px; }
.dialog-toolbar {
  position: fixed; top: 42px; right: max(26px, calc((100vw - 860px) / 2 + 40px));
  padding: 0; border: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.dialog-toolbar button { width: 34px; height: 34px; padding: 0; border-radius: 50%; font: 25px/1 Arial; color: var(--muted); background: #29231e50; border: 1px solid #efe6d81c; }
.dialog-toolbar button:hover { color: var(--text); background: #efe6d815; }
.detail-heading { padding-right: 48px; }
.detail-heading .eyebrow { margin-bottom: 8px; font-size: 9px; letter-spacing: 1.4px; color: #b9977d; }
.detail-heading h2 { font: italic 34px/1.5 var(--serif); letter-spacing: 1px; }
.detail-subtitle { font-size: 14px; line-height: 1.7; margin: 3px 0 16px; }
.detail-subtitle > span { display: block; font: italic 11px/1.8 Arial, sans-serif; color: var(--muted); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.detail-meta > span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; background: #efe6d80c; border: 1px solid #efe6d814; border-radius: 5px; font-size: 11px; color: #d0c3b4; }
.detail-meta i { font: normal 15px/1 var(--serif); color: #b9977d; }
.detail-meta small { font: italic 10px Arial, sans-serif; color: #a99a89; }
.detail-intro { display: block; margin: 22px 0 30px; padding: 20px 24px; border-radius: 8px; border-color: #efe6d85c; background: #29231e45; box-shadow: none; }
.detail-intro h3 { font: italic 15px/1.8 var(--serif); margin: 0 0 7px; }
.detail-intro p { font-size: 12px; line-height: 1.95; color: #c3b7a8; margin: 0; }
.detail-intro p + p { margin-top: 10px; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.gallery-heading h3 { font: italic 24px/1.5 var(--serif); margin: 0; }
.gallery-heading > span { font-size: 9px; letter-spacing: .6px; color: var(--muted); }
.detail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.detail-gallery button { position: relative; aspect-ratio: 1.32; overflow: hidden; border: 1px solid #efe6d840; border-radius: 8px; background: #29231e50; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: filter .3s, transform .6s; }
.detail-gallery button:hover img, .detail-gallery button:focus-visible img { filter: brightness(.6); transform: scale(1.025); }
.detail-gallery button > span { position: absolute; top: 9px; left: 9px; margin: 0; padding: 2px 7px; font: 9px/1.6 Arial, sans-serif; color: #efe6d8d0; background: #201c1880; border-radius: 3px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.detail-gallery em { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); text-align: center; font: 12px/1.8 'Microsoft YaHei', sans-serif; opacity: 0; transition: opacity .3s; }
.detail-gallery button:hover em, .detail-gallery button:focus-visible em { opacity: 1; }
.model-section { margin-top: 40px; padding-top: 30px; }
.model-heading h3 { font: italic 24px/1.5 var(--serif); }
.model-heading .eyebrow { font-size: 8px; margin-bottom: 7px; }
.model-stage { border-radius: 8px; }
.model-stage model-viewer { height: 440px; }
.detail-end { margin-top: 38px; }
@media (max-width: 700px) {
  .project-detail { padding: 28px 22px 45px; }
  .dialog-toolbar { top: 30px; right: 22px; }
  .detail-heading h2 { font-size: 27px; }
  .detail-heading { padding-right: 35px; }
  .detail-meta { margin-right: -35px; gap: 7px; }
  .detail-meta > span { font-size: 10px; padding: 7px 9px; }
  .detail-meta small { display: none; }
  .detail-intro { padding: 17px; margin-bottom: 25px; }
  .detail-intro h3 { font-size: 14px; }
  .detail-intro p { font-size: 11px; }
  .gallery-heading { display: block; }
  .gallery-heading h3 { font-size: 22px; }
  .gallery-heading > span { display: block; margin-top: 6px; }
  .detail-gallery { gap: 10px; }
  .detail-gallery button { aspect-ratio: 1.12; border-radius: 6px; }
  .detail-gallery button > span { top: 6px; left: 6px; font-size: 7px; padding: 2px 5px; }
  .detail-gallery img { height: 100%; border-radius: 0; }
  .model-stage model-viewer { height: 360px; }
}

/* Paper hang tags: fine cord, metal eyelets and a second printed tag. */
.identity { width: 166px; height: 264px; }
.identity .strap { width: 20px; height: 265px; top: -239px; bottom: auto; left: calc(50% - 10px); background: none; box-shadow: none; z-index: 5; pointer-events: none; }
.identity .strap::before, .identity .strap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: linear-gradient(90deg, #8b7c65, #d5c8b3 55%, #8b7c65); box-shadow: 1px 0 1px #100c0840; transform-origin: bottom; }
.identity .strap::before { left: 6px; transform: rotate(-2deg); }
.identity .strap::after { right: 6px; transform: rotate(2deg); }
.tag-loop { position: absolute; left: calc(50% - 5px); top: -13px; width: 10px; height: 44px; border: 2px solid #b9ac9d; border-radius: 50%; box-shadow: 1px 0 1px #201c1870; transform: rotate(-6deg); z-index: 6; pointer-events: none; }
.card-front, .card-back { padding: 49px 18px 18px; border-radius: 2px; background: url('assets/tag-paper.svg'), #e5dac8; border: 1px solid #efe6d862; box-shadow: 0 14px 28px #100c0850, inset 0 1px 0 #fff5; -webkit-backdrop-filter: none; backdrop-filter: none; }
.card-front::before, .card-back::before, .tag-eyelet { content: ''; position: absolute; top: 15px; left: calc(50% - 11px); width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #29231e 0 5px, #8b7c65 5px 6px, #e5dac8 6px 8px, #b3977b 8px 10px, #6d5c47 10px); box-shadow: 0 1px 2px #332b2240, inset 0 1px 1px #efe6d8aa; }
.identity .card-no { padding: 0 0 7px; border-top: 0; border-bottom: 1px solid #332b2250; font-size: 7px; }
.identity .monogram { font-size: 61px; line-height: 1.3; margin: 6px 0 3px; }
.identity .card-name { font-size: 16px; line-height: 1.5; }
.identity .card-name small { margin-top: 7px; }
.identity .card-bottom { font-size: 8px; border-top-color: #332b2250; padding-top: 10px; }
.identity .card-back strong { font: 25px/1.4 var(--serif); margin: 12px 0; }
.identity .card-back > span:nth-child(3) { font-size: 10px; line-height: 1.9; }
.tag-backing { position: absolute; inset: -10px 8px 15px -23px; border-radius: 2px; background: url('assets/tag-floral.svg') center top / 140px 180px repeat, #29231e; border: 1px solid #b9ac9d40; transform: rotate(-9deg); box-shadow: 0 12px 24px #100c0848; pointer-events: none; }
.tag-backing::before { content: ''; position: absolute; left: calc(50% - 4px); top: -235px; height: 257px; width: 8px; border-left: 1px solid #b9ac9d; border-right: 1px solid #b9ac9d; border-radius: 0 0 50% 50%; }
.tag-backing-name { position: absolute; bottom: 0; left: 0; right: 0; height: 57px; display: flex; align-items: center; padding-left: 13px; color: #332b22; font: italic 30px var(--serif); background: url('assets/tag-paper.svg'), #e5dac8; }
.tag-backing .tag-eyelet { width: 18px; height: 18px; left: calc(50% - 9px); top: 13px; }
.identity:hover .tag-backing { transform: rotate(-12deg); }
.tag-backing { transition: transform .6s; }
@media (max-width: 1100px) {
  .identity { width: 140px; height: 236px; }
  .card-front, .card-back { padding: 45px 15px 16px; }
  .identity .monogram { font-size: 51px; margin-top: 5px; }
  .identity .card-name { font-size: 14px; }
  .identity .card-back > span:nth-child(3) { font-size: 9px; }
  .tag-backing-name { font-size: 26px; height: 51px; }
}
@media (max-width: 700px) {
  .identity { width: 103px; height: 176px; right: 8%; top: 128px; }
  .identity .strap { height: 158px; top: -139px; }
  .identity .strap::before, .identity .strap::after { width: 1.5px; }
  .card-front, .card-back { padding: 34px 11px 11px; }
  .card-front::before, .card-back::before { top: 9px; width: 18px; height: 18px; left: calc(50% - 9px); }
  .tag-loop { height: 32px; top: -12px; width: 8px; left: calc(50% - 4px); border-width: 1.5px; }
  .identity .card-no { font-size: 5px; padding-bottom: 5px; letter-spacing: .5px; }
  .identity .monogram { font-size: 39px; line-height: 1.3; margin: 2px 0; }
  .identity .card-name { font-size: 11px; letter-spacing: 1px; }
  .identity .card-name small { font-size: 6px; margin-top: 4px; }
  .identity .card-bottom { font-size: 6px; padding-top: 7px; }
  .identity .card-back strong { font-size: 18px; margin: 7px 0; }
  .identity .card-back > span:nth-child(3) { font-size: 7px; line-height: 1.65; }
  .tag-backing { inset: -7px 6px 10px -16px; background-size: 100px 129px; }
  .tag-backing-name { font-size: 20px; height: 37px; padding-left: 9px; }
  .tag-backing .tag-eyelet { top: 8px; width: 16px; height: 16px; left: calc(50% - 8px); }
  .tag-backing::before { top: -144px; height: 162px; }
}
