/* DiVARAS case. Portfolio navigation and shared case styles are unchanged. */
.divaras-case section[id]{scroll-margin-top:110px}
.divaras-case .pw-hero-foot a{color:inherit;font-size:11px;line-height:1.6;text-underline-offset:5px}
.divaras-case button:focus-visible,.divaras-case a:focus-visible,.dv-summary-dialog button:focus-visible{outline:2px solid #637860;outline-offset:5px}

/* The real project photograph and the brand now form one opening composition. */
.divaras-case .dv-case-cover{display:block;min-height:0;padding-top:clamp(170px,17vh,230px);padding-bottom:55px;overflow:visible}
.dv-case-cover .pw-hero-meta{display:flex;justify-content:space-between;gap:12px;line-height:1.5}
.dv-hero-heading{min-width:0}
.divaras-case .dv-hero-heading .pw-case-script{position:relative;display:block;inset:auto;transform:rotate(-7deg);text-align:center;white-space:normal;font-size:clamp(46px,7vw,110px);line-height:1.1;margin:30px 0 -4px}
.divaras-case .dv-hero-heading .pw-case-title{font-size:clamp(78px,17vw,242px);line-height:1;margin:0 0 24px;overflow-wrap:normal}
.dv-hero-heading .pw-hero-foot{border-top:1px solid #1f202445;padding-top:15px;display:flex;justify-content:space-between;align-items:start;gap:20px}
.dv-hero-heading .pw-hero-foot>*{min-width:0;max-width:42ch}
.dv-hero-photo{position:relative;margin:42px 0 0;background:#e9e5dc}
.dv-hero-photo>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.dv-photo-logo{position:absolute;top:5%;right:5%;width:clamp(125px,19%,260px);padding:clamp(10px,1.4vw,20px);background:rgba(238,234,225,.86);backdrop-filter:blur(4px);box-shadow:0 2px 15px #20201e12}
.dv-photo-logo img{display:block;width:100%;height:auto;object-fit:contain}
.dv-hero-photo figcaption{font-size:11px;line-height:1.5;letter-spacing:.08em;padding:12px 0;background:#efefef}
.dv-hero-end{display:flex;justify-content:space-between;align-items:start;gap:22px;border-top:1px solid #1f202445;padding-top:19px;margin-top:5px}
.dv-hero-end p{font-size:clamp(15px,1.4vw,19px);line-height:1.65;max-width:650px;margin:0}
.dv-hero-end a{flex:none;color:inherit;text-decoration:none;border-bottom:1px solid currentColor;font-size:11px;letter-spacing:.08em;line-height:1.5;padding-bottom:5px}

/* Brand sample: the mark can be explored, but source files are not offered for download. */
.dv-brand-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px 30px;flex-wrap:wrap;padding:18px 0;border-top:1px solid #b8b8b8}
.dv-brand-toolbar button{font:500 12px/1.5 var(--f-body);color:inherit;min-height:44px;background:none;border:0;padding:10px 0;cursor:pointer}
.dv-brand-toolbar button[aria-pressed=true]{border-bottom:2px solid #1c211c}
.dv-brand-stage{background:#e9e5dc;min-height:clamp(260px,40vw,650px);display:flex;align-items:center;justify-content:center;padding:60px 20px;transition:background .35s}
.dv-brand-stage[data-surface=ink]{background:#151914}
.dv-brand-stage img{display:block;width:min(62%,540px);height:auto;max-height:380px;object-fit:contain}
.dv-brand-stage[data-mark=symbol] img{width:min(35%,230px)}
.dv-palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:35px 0 70px}
.dv-palette>div{background:var(--swatch);padding:20px 14px;min-height:150px;min-width:0;display:flex;flex-direction:column;justify-content:end;color:#1c211c;font:400 13px/1.6 Manrope,Arial,sans-serif}
.dv-palette small{font-size:11px;line-height:1.5;letter-spacing:.06em;overflow-wrap:anywhere}
.dv-palette .is-dark{color:#f4f1e9}
.dv-type{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr);border-top:1px solid #b8b8b8;border-bottom:1px solid #b8b8b8;margin-bottom:70px}
.dv-type article{padding:30px 20px 40px;min-width:0}
.dv-type small{font-size:11px;line-height:1.5;letter-spacing:.1em;overflow-wrap:anywhere}
.dv-type p{margin:40px 0 25px}
.dv-type span{font-size:12px;line-height:1.7;color:#626269}
.dv-type-display{font:400 clamp(40px,5vw,75px)/1.05 Spectral,Georgia,serif;color:#1c211c}
.dv-type-body{font:400 clamp(20px,2.5vw,36px)/1.5 Manrope,Arial,sans-serif}
.dv-type-mono{font:400 clamp(12px,1.1vw,16px)/2 'JetBrains Mono',monospace;letter-spacing:.03em;overflow-wrap:anywhere}
.dv-reference img{display:block;width:100%;height:auto;background:#e9e5dc}
.dv-reference figcaption{font-size:11px;line-height:1.5;letter-spacing:.07em;overflow-wrap:anywhere}

/* The configurator is the principal interaction of this case. */
.dv-calculator{padding:clamp(70px,8vw,130px) var(--gut);background:#151914;color:#e9e5dc}
.dv-calc-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.78fr);gap:clamp(28px,6vw,100px);align-items:end}
.dv-calc-head>div{min-width:0}
.dv-calc-head h2{font:800 clamp(60px,7vw,115px)/.97 var(--f-display);margin:30px 0 0;letter-spacing:-.025em}
.dv-calc-head p{font-size:clamp(14px,1.2vw,18px);line-height:1.75;margin:0 0 20px}
.dv-calc-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:60px 0 35px;padding:25px 0;border-top:1px solid #e9e5dc44;border-bottom:1px solid #e9e5dc44}
.dv-calc-points>div{min-width:0;display:flex;gap:16px}
.dv-calc-points span{flex:none;font-size:11px;line-height:1.7;color:#c4bbaa}
.dv-calc-points p{font-size:13px;line-height:1.7;margin:0}
.dv-calc-workspace{min-width:0}
.dv-calc-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px 28px;flex-wrap:wrap;margin-bottom:20px}
.dv-calc-toolbar .cc-segment{min-width:0;gap:10px 22px}
.dv-calc-toolbar button{font:500 12px/1.5 var(--f-body);color:inherit;background:none;border:0;padding:12px 0;min-height:44px;cursor:pointer}
.dv-calc-toolbar button[aria-pressed=true]{border-bottom:2px solid #e9e5dc;color:#e9e5dc}
.dv-calc-toolbar button[aria-pressed=false]{color:#d9d4c9}
#dv-calc{display:block;width:100%;height:min(920px,calc(100svh - 90px));min-height:560px;border:0;background:#e9e5dc;border-radius:3px}
.dv-calc-footnote{font-size:11px;line-height:1.75;margin:18px 0 0;max-width:850px;color:#d9d4c9}
.dv-calc-dialog{width:calc(100vw - 20px);height:calc(100svh - 20px);max-width:1600px;max-height:none;border:0;padding:20px;background:#151914;color:#e9e5dc}
.dv-calc-dialog::backdrop,.dv-summary-dialog::backdrop{background:#141416c0;backdrop-filter:blur(5px)}
.dv-calc-dialog .dv-calc-workspace{height:100%;display:flex;flex-direction:column}
.dv-calc-dialog #dv-calc{flex:1;min-height:0;max-height:none;height:auto}
.dv-calc-dialog .dv-calc-toolbar,.dv-calc-dialog .dv-calc-footnote{flex:none}

/* Browser and phone are real iframes with independent scrolling. */
#dv-stage{background:#e6e5e1;min-width:0;overflow:hidden}
#dv-stage .cc-device-space{max-width:100%}
#dv-stage .cc-device[data-mode=mobile]{background:#202023}
#dv-stage .cc-viewport iframe{display:block;width:100%;height:100%;border:0}
.divaras-case .cc-live-head>*{min-width:0}
.divaras-case .cc-live-head h2{overflow-wrap:normal}

/* Leave enough room for the English display headings even before web fonts load. */
.divaras-case .pw-case-copy>div{min-width:0}
.divaras-case .pw-case-copy h2{font-size:clamp(44px,5vw,95px);line-height:1.03;text-wrap:balance;overflow-wrap:break-word}

.dv-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.dv-journey article{min-width:0;border-top:1px solid #b8b8b8;padding-top:25px}
.dv-journey small{font-size:11px;line-height:1.5;letter-spacing:.1em}
.dv-journey h3{font:500 clamp(19px,2vw,28px)/1.4 var(--f-body);margin:30px 0 16px}
.dv-journey p{font-size:13px;line-height:1.8;margin:0}
.dv-summary-dialog{border:0;background:#e9e5dc;color:#1c211c;width:min(800px,calc(100% - 24px));max-width:none;max-height:calc(100svh - 24px);padding:clamp(20px,4vw,40px)}
.dv-summary-top{display:flex;gap:20px;align-items:start;justify-content:space-between}
.dv-summary-top h2{font:400 clamp(30px,4vw,46px)/1.15 Spectral,Georgia,serif;margin:0}
.dv-summary-dialog button{color:inherit;background:none;border:0;min-height:44px;padding:10px 0;font:500 12px/1.5 var(--f-body);cursor:pointer}
.dv-summary-top button{flex-shrink:0}
.dv-summary-dialog p{font-size:13px;line-height:1.8;margin:25px 0}
.dv-summary-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid #1c211c30;border-bottom:1px solid #1c211c30;padding:24px 0;max-height:48svh;overflow:auto;font:400 13px/1.8 Manrope,Arial,sans-serif}
.dv-summary-dialog #dv-copy{border-bottom:1px solid #1c211c}
#dv-copy-status{display:block;font-size:12px;margin-top:12px}

@media(max-width:900px){
 .dv-palette{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dv-type{grid-template-columns:1fr 1fr}
 .dv-type article:last-child{grid-column:1/-1}
 .dv-calc-head{grid-template-columns:minmax(0,1fr);gap:20px}
 .dv-calc-head h2{font-size:clamp(62px,8vw,95px)}
 .dv-calc-points{gap:20px}
}
@media(max-width:760px){
 .divaras-case .dv-case-cover{padding-top:175px;padding-bottom:55px}
 .dv-case-cover .pw-hero-meta,.dv-hero-heading .pw-hero-foot{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
 .divaras-case .dv-hero-heading .pw-case-script{font-size:clamp(34px,9vw,65px);margin:25px 0 5px}
 .divaras-case .dv-hero-heading .pw-case-title{font-size:clamp(60px,16vw,115px);margin:0 0 20px}
 .dv-hero-heading .pw-hero-foot>*{max-width:none;overflow-wrap:anywhere}
 .dv-hero-photo{margin-top:30px}
 .dv-photo-logo{width:clamp(115px,32%,180px);top:5%;right:5%;padding:8px 10px}
 .dv-hero-photo figcaption{font-size:11px;letter-spacing:.04em;overflow-wrap:anywhere}
 .dv-hero-end{display:block}
 .dv-hero-end p{font-size:15px;margin-bottom:15px}
 .dv-hero-end a{display:inline-block}
 .divaras-case .pw-case-copy h2{font-size:clamp(43px,10.5vw,75px);line-height:1.03}
 .dv-brand-toolbar{align-items:flex-start;gap:8px 18px}
 .dv-brand-toolbar .cc-segment{flex-wrap:wrap;gap:6px 16px}
 .dv-brand-toolbar button{font-size:12px;line-height:1.5}
 .dv-brand-stage{min-height:280px;padding:40px 15px}
 .dv-brand-stage img{width:75%}
 .dv-palette{margin-bottom:40px}
 .dv-palette>div{padding:16px 10px;min-height:110px;font-size:12px;overflow-wrap:anywhere}
 .dv-type{grid-template-columns:1fr;margin-bottom:40px}
 .dv-type article,.dv-type article:last-child{grid-column:auto;padding:25px 0;border-bottom:1px solid #b8b8b8}
 .dv-type article:last-child{border:0}
 .dv-type p{margin:24px 0 15px}
 .dv-type-display{font-size:clamp(40px,10vw,54px)}
 .dv-type-body{font-size:25px}
 .dv-type-mono{font-size:14px}
 .dv-calc-head{grid-template-columns:minmax(0,1fr);gap:20px}
 .dv-calc-head h2{font-size:clamp(52px,15vw,95px);line-height:1.02;margin:20px 0 0}
 .dv-calc-head p{font-size:15px;line-height:1.7}
 .dv-calc-points{grid-template-columns:minmax(0,1fr);margin:35px 0;gap:0;padding:0}
 .dv-calc-points>div{border-bottom:1px solid #e9e5dc28;padding:16px 0;gap:20px}
 .dv-calc-points>div:last-child{border:0}
 .dv-calc-points p{font-size:13px}
 .dv-calc-points p br{display:none}
 .dv-calc-toolbar .cc-segment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:4px 15px}
 .dv-calc-toolbar button{font-size:12px;line-height:1.45;white-space:normal;text-align:left;min-width:0}
 #dv-calc{height:min(760px,max(570px,78svh));min-height:0}
 .dv-calc-footnote{font-size:12px;line-height:1.6}
 .dv-calc-dialog{padding:16px 12px}
 .dv-journey{grid-template-columns:1fr;gap:30px}
 .dv-summary-dialog pre{font-size:12px;line-height:1.65}
 .divaras-case .pw-exit h2{font-size:clamp(55px,15vw,100px)}
 #dv-stage{padding:14px 10px 20px}
 #dv-stage .cc-device-space{flex:0 1 390px;max-width:100%}
 #dv-stage .cc-device[data-mode=mobile]{width:100%;height:100%;transform:none;border-radius:32px;padding:19px 9px 22px}
 #dv-stage .cc-device[data-mode=mobile] .cc-viewport{border-radius:17px}
 #dv-stage.is-desktop{display:block;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:thin}
 #dv-stage.is-desktop .cc-device-space{max-width:none;flex:none}
 .divaras-case .cc-live-head h2{font-size:clamp(28px,7.5vw,46px)}
 .divaras-case .cc-demo-notes{min-width:0}
}
@media(max-width:390px){
 .divaras-case .dv-hero-heading .pw-case-title{font-size:clamp(52px,15.5vw,64px)}
 .dv-calc-head h2{font-size:14.5vw}
}
@media(prefers-reduced-motion:reduce){.dv-brand-stage{transition:none}}
