/* Additive visual layer. Keep original styles.css in the repository. */
.architecture-gallery-hint{font-family:inherit;max-width:56rem;margin:1rem 0 1.75rem;opacity:.72;font-size:.95rem;line-height:1.6}
.architecture-spotlight{padding:clamp(4rem,7vw,7rem) clamp(1.25rem,5vw,5rem);background:#f1f1ed;color:#1c1b1a}
.architecture-spotlight .section-kicker{font-size:.77rem;letter-spacing:.16em;font-weight:700;text-transform:uppercase;margin-bottom:1.5rem}
.architecture-spotlight-head{display:flex;gap:3rem;align-items:end;justify-content:space-between;margin-bottom:2.5rem}
.architecture-spotlight-head h2{font-family:'Space Grotesk',sans-serif;font-size:clamp(2.8rem,5.8vw,5.8rem);letter-spacing:-.055em;line-height:.98;margin:0}
.architecture-spotlight-head h2 em{font-style:normal;color:#ae5c43}
.architecture-spotlight-head p{max-width:27rem;font-size:1rem;line-height:1.65;margin:0}
.architecture-spotlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.architecture-spotlight-tile{min-height:16rem;display:flex;flex-direction:column;gap:1.2rem;padding:clamp(1.2rem,2.5vw,2.3rem);background:#fff;color:#24201f;text-decoration:none;border:1px solid rgba(0,0,0,.08);border-radius:1rem;transition:transform .2s ease,box-shadow .2s ease}
.architecture-spotlight-tile:hover,.architecture-spotlight-tile:focus-visible{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.07)}
.architecture-tile-no{font-size:.72rem;letter-spacing:.1em;font-weight:700;color:#a05a45}
.architecture-spotlight-tile strong{font-family:'Space Grotesk',sans-serif;font-size:clamp(1.45rem,2.3vw,2rem);letter-spacing:-.04em}
.architecture-spotlight-tile>span:nth-of-type(2){max-width:29ch;line-height:1.5;color:#555}
.architecture-tile-arrow{margin-top:auto;font-weight:700;letter-spacing:.06em;font-size:.7rem}
/* Exactly two rows for six cards on wide screens; expands slightly relative to four-column layouts. */
#beyond-screen .hobbies-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.85rem,1.7vw,1.5rem);align-items:stretch}
#beyond-screen .hobby-card{min-width:0;width:100%;max-width:none}
#beyond-screen .hobby-photo{display:block;width:100%;aspect-ratio:4/3;position:relative;overflow:hidden}
#beyond-screen .hobby-photo img,#beyond-screen .hobby-photo video{width:100%;height:100%;object-fit:cover}
/* Architecture inside the existing case-study dialog. */
#case-dialog .architecture-impact{display:flex;align-items:baseline;gap:.85rem;flex-wrap:wrap;margin:1rem 0 1.8rem;padding:1.05rem 1.3rem;background:rgba(176,92,67,.09);border-left:3px solid #b05c43;border-radius:.35rem}
#case-dialog .architecture-impact-number{font-family:'Space Grotesk',sans-serif;font-size:clamp(1.7rem,3.5vw,2.5rem);letter-spacing:-.05em;line-height:1;font-weight:700;color:#9d4e3b}
#case-dialog .architecture-impact-label{font-size:.88rem;font-weight:600}
#case-dialog .architecture-details{margin-top:1.9rem;border:1px solid rgba(0,0,0,.17);border-radius:.8rem;overflow:hidden;background:#faf9f6;color:#222}
#case-dialog .architecture-details-trigger{padding:1.15rem 1.3rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;list-style:none;font-size:.82rem;letter-spacing:.1em;font-weight:800}
#case-dialog .architecture-details-trigger::-webkit-details-marker{display:none}
#case-dialog .architecture-details-trigger:focus-visible{outline:3px solid #ba7559;outline-offset:-3px}
#case-dialog .architecture-chevron{font-size:1.4rem;transition:transform .2s ease}
#case-dialog details[open] .architecture-chevron{transform:rotate(90deg)}
#case-dialog .architecture-details-content{padding:0 1.3rem 1.5rem}
#case-dialog .architecture-status{display:inline-block;margin:.25rem 0 1rem;border:1px solid #bd9b82;border-radius:99px;padding:.35rem .75rem;font-size:.71rem;font-weight:700;letter-spacing:.03em;color:#80503d}
#case-dialog .architecture-heading{font-family:'Space Grotesk',sans-serif;font-size:1.12rem;letter-spacing:-.02em;margin:1.25rem 0 1rem}
#case-dialog .architecture-flow{display:flex;flex-direction:column;align-items:stretch;gap:0;max-width:520px;margin:0 auto}
#case-dialog .architecture-flow-node{background:#fff;border:1px solid #dad6d0;border-radius:.6rem;display:flex;flex-direction:column;gap:.3rem;align-items:center;text-align:center;padding:1rem 1.2rem}
#case-dialog .architecture-flow-node strong{font-size:.9rem}
#case-dialog .architecture-flow-node span{font-size:.78rem;color:#5a5550;line-height:1.45}
#case-dialog .architecture-flow-arrow{text-align:center;padding:.28rem;font-size:1.25rem;color:#af6a51;font-weight:bold}
#case-dialog .architecture-note{font-size:.76rem;line-height:1.5;color:#6a625c;margin:1rem 0 1.3rem}
#case-dialog .architecture-decisions{display:grid;gap:.7rem}
#case-dialog .architecture-decision{border-left:2px solid #d2b2a3;padding:.35rem .8rem}
#case-dialog .architecture-decision strong{font-size:.88rem}
#case-dialog .architecture-decision p{font-size:.83rem;line-height:1.55;margin:.35rem 0 0}
#case-dialog .architecture-chips{display:flex;flex-wrap:wrap;gap:.5rem}
#case-dialog .architecture-chip{background:#eee9e3;border-radius:3rem;padding:.45rem .7rem;font-size:.72rem;font-weight:600}
@media(max-width:800px){.architecture-spotlight-head{display:block}.architecture-spotlight-head p{margin-top:1.4rem}.architecture-spotlight-grid{grid-template-columns:1fr}.architecture-spotlight-tile{min-height:12rem}#beyond-screen .hobbies-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#beyond-screen .hobbies-grid{grid-template-columns:1fr}#case-dialog .architecture-details-content{padding:0 .85rem 1.2rem}#case-dialog .architecture-details-trigger{padding:1rem}}
@media(prefers-reduced-motion:reduce){.architecture-spotlight-tile,.architecture-chevron{transition:none!important}}

#case-dialog .architecture-chevron .site-arrow { width: 1em; height: 1em; display:block; }
#case-dialog .architecture-flow-arrow .site-arrow { width: 1.1em; height: 1.1em; display:inline-block; vertical-align:middle; }
