
:root{--ink:#34271e;--brown:#6e513c;--gold:#a68a65;--cream:#f8f5ef;--sand:#eee5d8;--line:#ded2c3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,'Noto Sans Thai',Tahoma,sans-serif;line-height:1.7}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}.wrap{max-width:1160px;margin:auto;padding:0 24px}header{position:sticky;top:0;background:#faf8f3f2;backdrop-filter:blur(12px);z-index:20;border-bottom:1px solid #e8dfd3}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px}.brand{font-family:Georgia,serif;font-size:22px;letter-spacing:2px;font-weight:bold;line-height:1}.brand small{display:block;font:10px Arial,sans-serif;letter-spacing:4px;text-align:center;margin-top:8px}.links{display:flex;align-items:center;gap:26px;font-size:13px}.links a:hover{color:var(--gold)}.lang{display:flex;gap:3px;border:1px solid var(--line);border-radius:30px;padding:3px}.lang button{border:0;background:none;border-radius:20px;padding:4px 10px;color:var(--brown)}.lang button.active{background:var(--brown);color:white}.hero{min-height:570px;display:grid;grid-template-columns:1fr 1fr;background:#e9ded0}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:70px max(32px,calc((100vw - 1160px)/2)) 70px max(32px,calc((100vw - 1160px)/2));padding-right:36px}.eyebrow{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--brown);font-weight:700}.hero h1{font:normal clamp(45px,5.5vw,78px)/1.07 Georgia,serif;margin:18px 0;color:#422f21}.hero p{max-width:480px;font-size:17px;color:#675748}.hero-photo{background:linear-gradient(90deg,#e9ded0 0%,transparent 22%),url('../assets/roller.png') center 34%/cover no-repeat}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.btn{display:inline-block;padding:13px 25px;border:1px solid var(--brown);font-size:13px;letter-spacing:.5px;transition:.2s}.btn.primary{background:var(--brown);color:white}.btn:hover{transform:translateY(-2px)}section{padding:86px 0}.section-head{max-width:650px;margin-bottom:36px}.section-head h2{font:normal clamp(32px,4vw,48px)/1.2 Georgia,serif;margin:8px 0 12px}.muted{color:#74675a}.products{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.product{background:white;border:1px solid #e8ded1;overflow:hidden}.product img{width:100%;height:330px;object-fit:cover;object-position:center 30%;display:block}.product .body{padding:26px}.product h3{font:normal 27px Georgia,serif;margin:0 0 8px}.product p{margin:0;color:#74675a}.note{font-size:12px;color:#897969;margin-top:16px}.services{background:#efe7db}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.step{padding-top:22px;border-top:1px solid #bba78f}.step b{font:normal 35px Georgia,serif;color:var(--gold)}.step h3{font-size:19px;margin:12px 0 8px}.step p{color:#716252}.about{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.about-art{min-height:330px;background:linear-gradient(135deg,#d9c7b2,#f7efe3 55%,#ae9479);display:flex;align-items:center;justify-content:center;text-align:center;padding:30px}.about-art span{font:normal clamp(30px,4vw,53px) Georgia,serif;line-height:1.15;color:#4c3625}.contact{background:#3e2f24;color:#fff9ef}.contact .muted{color:#e2d4c5}.contact-actions{display:flex;gap:14px;flex-wrap:wrap}.contact .btn{border-color:#d7c3aa;color:white}.contact .btn.primary{background:#f1e5d5;color:#3e2f24}footer{background:#2c211a;color:#d6c8b7;padding:22px 0;font-size:12px}.foot{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}@media(max-width:800px){.nav{min-height:70px}.links{gap:12px}.links a{display:none}.hero{grid-template-columns:1fr}.hero-copy{padding:70px 24px}.hero-photo{height:320px;background: url('../assets/roller.png') center 32%/cover}.products,.about{grid-template-columns:1fr}.steps{grid-template-columns:1fr}.product img{height:290px}section{padding:62px 0}}

/* Added product categories while preserving original palette and layout */
.product-placeholder{height:330px;display:flex;align-items:center;justify-content:center;padding:30px;text-align:center;background:linear-gradient(135deg,#e8ded0,#cbb79d 60%,#f5ede1);color:#6e513c}.product-placeholder span{font:normal 22px Georgia,serif;letter-spacing:3px;border:1px solid #a68a65;padding:30px 18px}.home-visual{background:linear-gradient(135deg,#e6d8c8,#bda68d 60%,#f0e5d7)}.steps{grid-template-columns:repeat(4,1fr)}@media(max-width:800px){.product-placeholder{height:290px}.steps{grid-template-columns:1fr}}

.category-breadcrumb{margin-bottom:20px;font-size:13px;color:var(--brown)}.category-lead{max-width:760px}.item-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.item-card{background:white;border:1px solid #e8ded1;overflow:hidden}.item-card img{width:100%;height:220px;object-fit:cover;display:block}.item-card .body{padding:22px}.item-card h3{font:normal 24px Georgia,serif;margin:0 0 8px}.item-card p{margin:0;color:#74675a}.item-placeholder{height:220px;background:linear-gradient(135deg,#e1d2bf,#f7efe3 55%,#bca58c);display:flex;align-items:center;justify-content:center;padding:25px;text-align:center;color:#4c3625;font:normal 24px Georgia,serif}.category-hero{background:var(--sand);padding:75px 0 60px}.category-hero h1{font:normal clamp(38px,5vw,65px)/1.15 Georgia,serif;margin:12px 0}.category-hero p{max-width:760px}.category-nav{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.category-nav a{border:1px solid var(--line);padding:8px 14px;font-size:13px}.category-nav a.active{background:var(--brown);color:white}.category-cta{margin-top:38px}@media(max-width:800px){.item-grid{grid-template-columns:1fr}.category-hero{padding:52px 0}.item-card img,.item-placeholder{height:240px}}

/* A2 category cover: matches the two-column home hero and keeps the existing colors. */
.category-hero{display:grid;grid-template-columns:1fr 1fr;min-height:570px;padding:0;background:#e9ded0}
.category-hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:70px 36px 70px max(32px,calc((100vw - 1160px)/2))}
.category-hero h1{font:normal clamp(45px,5.5vw,78px)/1.07 Georgia,serif;color:#422f21;margin:18px 0;overflow-wrap:anywhere}
.category-hero .category-lead{font-size:17px;color:#675748;max-width:490px}
.category-hero-photo{min-height:570px;background:linear-gradient(90deg,#e9ded0 0%,transparent 22%),url('../assets/roller.png') center 34%/cover no-repeat}
.category-hero .category-nav{margin-top:28px}
@media(max-width:800px){.category-hero{grid-template-columns:1fr;min-height:0}.category-hero-copy{padding:65px 24px 45px}.category-hero-photo{height:320px;min-height:0;background:url('../assets/roller.png') center 32%/cover no-repeat}.category-hero h1{font-size:clamp(39px,9vw,60px)}}

/* PU Stone product selector, using the original CHAYADA palette */
.item-link{display:block;color:inherit;text-decoration:none;transition:transform .2s,box-shadow .2s}.item-link:hover{transform:translateY(-3px);box-shadow:0 12px 28px #34271e20}.item-link img{object-fit:cover}
.pu-heading{padding-top:54px;padding-bottom:28px}.pu-heading h1{font:normal clamp(38px,5vw,65px)/1.15 Georgia,serif;margin:12px 0;color:#422f21}.pu-back{display:inline-block;font-size:13px;color:var(--brown);margin-bottom:22px}.pu-banner{display:block;width:100%;height:auto;border:1px solid var(--line)}
.pu-choose{padding-top:70px}.pu-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.pu-option{text-align:left;display:flex;flex-direction:column;gap:9px;background:white;border:2px solid #e8ded1;padding:0 0 20px;color:var(--ink);transition:border-color .2s,transform .2s}.pu-option:hover{transform:translateY(-3px)}.pu-option.selected{border-color:var(--brown)}.pu-option img{width:100%;height:275px;object-fit:cover;display:block}.pu-option strong{font:normal 27px Georgia,serif;padding:0 20px}.pu-option span{font-size:14px;color:#74675a;padding:0 20px}.pu-preview{margin-top:35px;display:grid;grid-template-columns:1.1fr .9fr;background:#efe7db}.pu-preview-photo{background:white;display:flex;align-items:center;justify-content:center;padding:18px}.pu-preview-photo img{display:block;max-width:100%;max-height:680px;object-fit:contain}.pu-preview-info{padding:42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.pu-preview-info h2{font:normal 48px Georgia,serif;margin:12px 0}.pu-preview-info .btn{margin-top:25px}
@media(max-width:800px){.pu-options{grid-template-columns:1fr;gap:14px}.pu-option img{height:250px}.pu-preview{grid-template-columns:1fr}.pu-preview-info{padding:28px}.pu-heading{padding-top:36px}.pu-choose{padding-top:50px}}

/* PU Stone catalogue: original colors, source-accurate product photos */
.stone-hero{background:#e9ded0;padding:0}.stone-hero-inner{display:grid;grid-template-columns:1fr 1fr;max-width:none;padding:0;min-height:370px}.stone-hero-copy{padding:52px 36px 52px max(32px,calc((100vw - 1160px)/2));display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.stone-hero-copy h1{font:italic clamp(54px,6vw,86px)/1 Georgia,serif;margin:10px 0 2px;color:#422f21}.stone-hero-copy h2{font:normal clamp(25px,3vw,37px) Georgia,serif;margin:0 0 14px}.stone-hero-copy p{color:#675748;max-width:470px}.stone-hero-image{min-height:370px;background:linear-gradient(90deg,#e9ded0,transparent 28%),url('../assets/stone-s3.jpg') center 55%/cover no-repeat}.pu-choose{padding:72px 0;background:#f8f5ef}.pu-options{gap:24px}.pu-option{border:1px solid #e3d7c8;border-radius:16px;overflow:hidden;box-shadow:0 7px 24px #34271e12;background:#fffaf4;padding-bottom:22px;transition:transform .2s,box-shadow .2s,border-color .2s}.pu-option:hover{box-shadow:0 13px 30px #34271e22}.pu-option.selected{border:2px solid #6e513c}.pu-option img{height:290px;object-fit:cover;object-position:center 42%}.pu-option strong{font:normal 30px Georgia,serif}.pu-option span{line-height:1.5}.pu-preview{border:1px solid #ded2c3;border-radius:14px;overflow:hidden;margin-top:40px}.pu-preview-photo{border:0;cursor:zoom-in;position:relative;padding:18px;min-width:0}.pu-preview-photo img{max-height:590px}.zoom-hint{position:absolute;right:24px;bottom:24px;background:#fff9efe8;color:#422f21;font-size:13px;padding:7px 12px;border-radius:30px}.stone-swatches{display:flex;gap:10px;margin-top:12px}.stone-swatches span{width:25px;height:25px;border-radius:50%;border:1px solid #d1c7ba;background:#77726e}.stone-swatches span+span{background:#eeeae0}.stone-lightbox[hidden]{display:none}.stone-lightbox{position:fixed;inset:0;z-index:100;background:#211912ed;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px 24px;color:white}.stone-lightbox img{max-width:100%;max-height:82vh;object-fit:contain}.stone-lightbox p{margin:10px 0 0}.stone-close{position:absolute;top:12px;right:22px;border:0;background:transparent;color:white;font-size:44px;line-height:1;cursor:pointer}@media(max-width:800px){.stone-hero-inner{grid-template-columns:1fr}.stone-hero-copy{padding:42px 24px}.stone-hero-image{min-height:230px;background:url('../assets/stone-s3.jpg') center 55%/cover no-repeat}.pu-options{grid-template-columns:1fr}.pu-option img{height:260px}.pu-preview{grid-template-columns:1fr}}

/* PU Stone: dark editorial imagery; original product colors retained */
.product img[src$="pu-stone-dark-cover.jpg"]{object-position:center center}
.category-hero.interiors-category .category-hero-photo{background:linear-gradient(90deg,#e9ded0 0%,transparent 12%),url('../assets/pu-stone-dark-cover.jpg') center center/cover no-repeat}
.stone-hero-image{background:linear-gradient(90deg,#e9ded0 0%,transparent 18%),url('../assets/pu-stone-dark-cover.jpg') center/cover no-repeat}
@media(max-width:800px){.category-hero.interiors-category .category-hero-photo{background:url('../assets/pu-stone-dark-cover.jpg') center/cover no-repeat}.stone-hero-image{background:url('../assets/pu-stone-dark-cover.jpg') center/cover no-repeat}}

/* Warm PU Stone collection: same palette as CHAYADA curtain promotions */
.product img[src$="pu-stone-warm-cover.jpg"]{object-position:center center}
.category-hero.interiors-category .category-hero-photo{background:linear-gradient(90deg,#e9ded0 0%,transparent 18%),url("../assets/pu-stone-warm-cover.jpg") center/cover no-repeat}
.stone-hero-image{background:linear-gradient(90deg,#e9ded0 0%,transparent 18%),url("../assets/pu-stone-warm-cover.jpg") center/cover no-repeat}
@media(max-width:800px){.category-hero.interiors-category .category-hero-photo,.stone-hero-image{background:url("../assets/pu-stone-warm-cover.jpg") center/cover no-repeat}}

/* Step 1: approved curtain photograph, without embedded text */
.hero-photo,.category-hero.curtains-category .category-hero-photo{background:#e9ded0 url('../assets/curtain-hero.jpg') center/contain no-repeat;min-height:0;}
@media(max-width:760px){.hero-photo,.category-hero.curtains-category .category-hero-photo{height:auto;aspect-ratio:849/515;}}

/* Step 1.2: centered homepage hero; category pages remain unchanged. */
#home.hero{grid-template-columns:minmax(0, 1fr) minmax(0, 1.25fr);gap:40px;align-items:center;padding:64px max(24px,calc((100% - 1112px)/2));min-height:0}
#home .hero-copy{padding:0;min-width:0}
#home h1{font-size:clamp(32px,3.5vw,49px);line-height:1.2;overflow-wrap:normal}
#home .hero-photo{width:100%;height:auto;aspect-ratio:849/515;background-size:contain;min-height:0}
@media(max-width:800px){#home.hero{grid-template-columns:1fr;gap:28px;padding:48px 24px}#home h1{font-size:clamp(32px,6vw,45px)}}

/* Step 2: editorial collection, scoped to homepage */
#products .section-head{max-width:900px}#products .editorial-grid{gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}#products .editorial{display:block;border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s}#products .editorial:hover{transform:translateY(-3px);box-shadow:0 10px 24px #34271e26}#products .editorial:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.editorial-card{position:relative;isolation:isolate;min-height:300px;aspect-ratio:1.85;overflow:hidden;background:#e8d8c5;color:#34271e}.editorial-card img{position:absolute;right:0;top:0;width:65%;height:100%;object-fit:cover;z-index:-2}.editorial-card:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f3e7d8 0%,#f3e7d8 29%,#f3e7d8e8 40%,transparent 67%);z-index:-1}.editorial.interior .editorial-card,.editorial.home .editorial-card{background:#453326;color:#fff8ee}.editorial.interior .editorial-card:before,.editorial.home .editorial-card:before{background:linear-gradient(90deg,#453326 0%,#453326 29%,#453326e8 42%,transparent 69%)}.editorial-card:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#9b6a32,#f5d68d,#b78949,transparent)}.editorial-copy{padding:23px 20px;width:66%;position:relative}.editorial-brand{font: bold 17px Georgia,serif;letter-spacing:1.5px;line-height:1.15}.editorial-brand small{display:block;font:7px Arial,sans-serif;letter-spacing:1.7px;margin-top:5px}.editorial-copy h3{font-size:clamp(19px,2vw,29px);line-height:1.25;margin:20px 0 3px;font-weight:600}.editorial-sub{font-size:15px;line-height:1.3}.editorial-rule{width:32px;height:2px;background:#b08a50;margin:13px 0}.editorial-copy p{font-size:14px;line-height:1.65;margin:0}html[lang=en] .editorial-sub{display:none}@media(max-width:800px){#products .editorial-grid{grid-template-columns:1fr}.editorial-card{min-height:290px}.editorial-copy h3{font-size:25px}}@media(max-width:380px){.editorial-copy{padding:17px 12px;width:72%}.editorial-copy h3{font-size:21px}.editorial-copy p{font-size:12px}}

/* Step 3: preserve complete curtain product images */
.curtain-items .item-card > img { width:100%; height:auto; aspect-ratio:3 / 2; object-fit:contain; display:block; background:#f5efe7; }

/* Step 3.1: balanced curtain category only */
.category-hero.curtains-category{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:40px;align-items:center;padding:64px max(24px,calc((100% - 1112px)/2));min-height:0}
.category-hero.curtains-category .category-hero-copy{padding:0;min-width:0}
.category-hero.curtains-category h1{font-size:clamp(32px,3.5vw,49px);line-height:1.2;overflow-wrap:normal}
.category-hero.curtains-category .category-hero-photo{width:100%;height:auto;aspect-ratio:849/515;min-height:0;background-size:contain}
.item-grid.curtain-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.curtain-items .item-card .body{padding:18px}
.curtain-items ~ .category-cta,.curtain-items ~ .note{text-align:center}
@media(max-width:1000px){.item-grid.curtain-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.category-hero.curtains-category{grid-template-columns:1fr;gap:28px;padding:48px 24px}.category-hero.curtains-category h1{font-size:clamp(32px,6vw,45px)}}
@media(max-width:480px){.item-grid.curtain-items{grid-template-columns:1fr}}

.curtain-zoom{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;line-height:0}.curtain-zoom:focus-visible{outline:3px solid #947353;outline-offset:2px}.curtain-lightbox{border:0;padding:0;background:transparent;max-width:94vw;max-height:94vh;overflow:visible;margin:auto}.curtain-lightbox::backdrop{background:rgba(24,18,13,.85)}.curtain-lightbox img{display:block;width:auto;height:auto;max-width:90vw;max-height:85vh;object-fit:contain}.curtain-lightbox button{position:absolute;right:0;top:0;transform:translate(20%,-20%);width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#493322;font-size:28px;cursor:pointer;z-index:1;line-height:1}

/* Step 4: PU Stone page only */
.stone-hero-inner{max-width:1160px;padding:64px 24px;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:40px;align-items:center}
.stone-hero-copy{padding:0;min-width:0}
.stone-hero-image{width:100%;height:auto;min-height:0;aspect-ratio:739/405;background:#e9ded0 url('../assets/pu-stone-hero.jpg') center/contain no-repeat}
.pu-preview-photo:focus{outline:none}.pu-preview-photo:focus-visible,.pu-option:focus-visible{outline:3px solid #947353;outline-offset:-3px}
.stone-swatches{align-items:center;flex-wrap:wrap;gap:8px}.stone-swatches .swatch-label{font-size:13px;color:#74675a}.stone-swatches .swatch-white{background:#eeeae0}.stone-swatches .swatch-gray{background:#77726e}
@media(max-width:800px){.stone-hero-inner{grid-template-columns:1fr;gap:28px;padding:48px 24px}.stone-hero-copy{padding:0}}

/* Step 5: shared collection hero alignment */
.category-hero,.category-hero.curtains-category{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:40px;align-items:center;padding:64px max(24px,calc((100% - 1112px)/2));min-height:0}
.category-hero .category-hero-copy{padding:0;min-width:0}
.category-hero h1{font-size:clamp(32px,3.5vw,49px);line-height:1.2;overflow-wrap:normal}
.category-hero .category-hero-photo,.category-hero.curtains-category .category-hero-photo{width:100%;height:auto;min-height:0;aspect-ratio:849/515;background-size:contain}
.stone-hero-image{aspect-ratio:849/515}
.stone-hero-copy .category-nav{margin-top:28px}
@media(max-width:800px){.category-hero,.category-hero.curtains-category{grid-template-columns:1fr;gap:28px;padding:48px 24px}.category-hero h1{font-size:clamp(32px,6vw,45px)}}

/* Step 6: partition imagery only */
.category-hero.partitions-category .category-hero-photo{background:#e9ded0 url('../assets/partition-hero.jpg') center/contain no-repeat;aspect-ratio:849/515}
.item-card img[src$="partition-pvc.jpg"]{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;display:block;background:#e9ded0}

.partition-detail{padding:55px 0 70px}.partition-detail h1{font-size:clamp(32px,4vw,56px);margin:12px 0}.partition-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.partition-gallery button{border:1px solid #ded2c3;background:#fffaf4;padding:0 0 12px;color:inherit;cursor:pointer;text-align:left;overflow:hidden;border-radius:8px}.partition-gallery button[aria-pressed=true]{outline:2px solid #6e513c;outline-offset:2px}.partition-gallery img{width:100%;aspect-ratio:1;object-fit:contain;display:block;background:#eee8de}.partition-gallery span{display:block;padding:10px;font-size:14px}.partition-detail .pu-preview-info h2{font-size:32px}.partition-detail .pu-preview-photo img{width:100%;height:auto;max-height:540px}.partition-detail .pu-preview{scroll-margin-top:100px}@media(max-width:800px){.partition-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

.category-hero.improvements-category .category-hero-photo{background:#e9ded0 url('../assets/renovation-hero.jpg') center/contain no-repeat;aspect-ratio:16/9}.renovation-gallery{background:#eee5d9}.renovation-gallery[hidden]{display:none}.renovation-gallery .section-head{text-align:center;margin-bottom:28px}.renovation-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.renovation-thumb{overflow:hidden;border:1px solid #e8ded1;background:white;color:#493322;text-align:left}.renovation-thumb img{width:100%;aspect-ratio:3/2;object-fit:contain;background:#e9ded0;display:block}.renovation-thumb span{display:block;padding:12px;line-height:1.4;font:inherit;line-height:1.4}@media(max-width:800px){.renovation-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.renovation-photos{grid-template-columns:1fr}}

/* Selected projects */
.links a[aria-current=page]{border-bottom:2px solid var(--brown)}.portfolio-hero{padding:65px 0;background:linear-gradient(90deg,#eee5d8 35%,#eee5d8d9 55%,#eee5d822),url('../assets/curtain-wave.jpg') center right/cover no-repeat}.portfolio-hero h1{font-size:clamp(32px,4vw,54px);line-height:1.2;margin:12px 0}.portfolio-hero p{max-width:570px;color:var(--brown)}.portfolio-section{padding:42px 0 70px}.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.portfolio-card{display:block;text-align:left;color:var(--ink);background:#fffaf4;border:1px solid var(--line);border-radius:12px;overflow:hidden;padding:0;box-shadow:0 3px 10px #34271e0b}.portfolio-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:var(--sand)}.portfolio-cover{position:relative}.portfolio-cover>span{position:absolute;bottom:10px;right:10px;background:#34271edb;color:white;border-radius:5px;padding:3px 9px;font-size:12px}.portfolio-copy{position:relative;padding:16px 48px 16px 16px}.portfolio-copy strong,.portfolio-copy small{display:block}.portfolio-copy small{color:var(--brown)}.portfolio-arrow{position:absolute;right:12px;top:18px;border:1px solid var(--line);border-radius:50%;width:30px;height:30px;text-align:center}.portfolio-dialog{width:min(1000px,94vw);max-height:90vh;border:1px solid var(--line);border-radius:12px;background:var(--cream);color:var(--ink);padding:20px}.portfolio-dialog::backdrop{background:#21170ec9}.portfolio-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.portfolio-dialog button:not(.album-photo){border:0;background:var(--sand);font-size:24px;border-radius:50%;width:40px;height:40px}.album-photo{padding:0;border:0;background:var(--sand);border-radius:8px;overflow:hidden}.album-photo img{width:100%;aspect-ratio:1;object-fit:contain;display:block}.portfolio-photo-dialog{width:auto;max-width:94vw;padding:12px}.portfolio-photo-dialog img{display:block;max-width:85vw;max-height:78vh;object-fit:contain}.portfolio-photo-dialog button{display:block;margin-left:auto;margin-bottom:8px}@media(max-width:800px){.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-hero{background:var(--sand)}}@media(max-width:480px){.portfolio-grid{grid-template-columns:1fr}.portfolio-hero{padding:36px 0}.links{flex-wrap:wrap;gap:10px}}
