/* Responsive refinements. Desktop styling stays in styles.css. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:900px){
 .section{padding:64px 28px}
 .about{gap:36px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 .about-copy,.section-heading>div{min-width:0}
 .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .post-grid.diary-gallery-list{grid-template-columns:minmax(0,1fr)}
 .brands-heading{flex-wrap:wrap}
 .brands-heading .subtitle{transform:none}
}
@media(max-width:700px){
 header{height:auto;min-height:112px;padding:16px 20px 10px;flex-direction:column;gap:12px}
 .header-brand{width:100%;justify-content:space-between;gap:12px}
 header .wordmark{font-size:30px}
 .header-year{font-size:11px}
 header nav{width:100%;justify-content:space-between;gap:8px;font-size:11px}
 header nav>a,header nav>a:first-child{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 6px}
 header nav .nav-contact{padding:8px 12px;white-space:nowrap}
 .hero{padding:34px 20px 0}
 .hero .eyebrow{font-size:10px;line-height:1.7;max-width:310px;margin:auto}
 .hero-title{width:100%;max-width:540px}
 .hero h1{font-size:clamp(36px,11.8vw,76px);line-height:1.08;margin:22px 0 18px;letter-spacing:.005em}
 .hero-description{max-width:360px;margin:auto;font-size:14px;line-height:1.7;text-wrap:pretty}
 .button{min-height:46px;font-size:12px;padding:12px 20px;gap:14px}
 .star-one,.star-two{display:none}
 .doodle-matcha{width:32px;height:32px;top:12px;right:8px;opacity:.5}
 .scrapbook{width:100%;max-width:520px;height:auto;left:auto;transform:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:60px auto 0;padding:0 4px 28px}
 .polaroid{width:100%;min-width:0;padding:7px 7px 3px}
 .polaroid img{height:auto;aspect-ratio:3/4;object-fit:cover}
 .polaroid figcaption{font-size:clamp(15px,3.7vw,23px);line-height:1.8;white-space:nowrap}
 .polaroid:before{width:42%;height:18px;left:30%;top:-9px}
 .p-one{transform:rotate(-5deg);margin-top:12px}
 .p-two{transform:rotate(3deg)}
 .p-three{transform:rotate(-3deg);margin-top:14px}
 .note-one{left:8px;top:-39px;font-size:24px;transform:rotate(-4deg)}
 .ticker{font-size:10px;letter-spacing:1px;padding:10px 0}
 .section{padding:52px 20px}
 .about{grid-template-columns:minmax(0,1fr);gap:36px}
 .portrait-paper{width:min(78%,290px);max-width:290px;margin:0 auto;padding:12px 12px 8px;transform:rotate(-3deg)}
 .corner-heart{font-size:56px;right:-16px;bottom:-20px}
 .about-copy h2,.section-heading h2,.brands-heading h2,.press h2{font-size:clamp(42px,11vw,64px);line-height:1.08}
 .about-copy>p:not(.subtitle),.name-note-body p:not(.name-note-greeting):not(.name-note-signature){font-size:14px;line-height:1.8}
 .eyebrow{font-size:10px;line-height:1.6}
 .name-note{max-width:100%;transform:none}
 .name-note summary{min-height:48px;font-size:12px}
 .journey{gap:10px;font-size:12px}
 .journey small{font-size:11px}
 .section-heading{display:block}
 .filter-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:24px 0}
 .filter{min-height:44px;padding:10px 8px;font-size:11px;line-height:1.5}
 .insights-updated{font-size:11px;line-height:1.6}
 .portfolio-group{margin-top:34px}
 .group-title{font-size:36px;line-height:1.15}
 .group-description{font-size:13px;margin:10px 0 20px}
 .post-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .post-card{width:100%;max-width:430px;justify-self:center;padding:12px}
 .post-card h4,.diary-toolbar h4{font-size:28px;line-height:1.2;min-height:0;margin:4px 0 14px;overflow-wrap:break-word}
 .post-media.native-video{width:100%;max-height:70svh}
 .diary-gallery-card{max-width:none;padding:12px}
 .diary-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:12px}
 .diary-toolbar h4{flex:1 1 200px;margin:0}
 .diary-controls{margin-left:auto}
 .diary-controls button{width:44px;height:44px}
 .diary-strip{max-width:100%;-webkit-overflow-scrolling:touch}
 .diary-strip img{height:clamp(260px,80vw,360px)}
 .diary-scroll-hint{font-size:11px;text-align:left}
 .diary-insights,.video-insights{padding:12px;margin-top:12px}
 .insight-metrics,.video-insights .insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .insight-metrics dd,.video-insights .insight-metrics dd{font-size:clamp(28px,8vw,36px);white-space:nowrap;line-height:1.15}
 .insight-metrics dt,.video-insights .insight-metrics dt{font-size:11px}
 #brands,#restaurant-collaborations{padding:36px 20px}
 #brands .brands-heading,#restaurant-collaborations .brands-heading{display:block;margin:16px 0 24px}
 .brands-heading .subtitle{max-width:none;font-size:25px;margin-top:12px;transform:none}
 #brands .brand-cloud,#restaurant-collaborations .brand-cloud{gap:10px 12px}
 #brands .brand-tile,#brands .brand-medium,#restaurant-collaborations .brand-tile,#restaurant-collaborations .brand-medium{flex-basis:calc((100% - 24px)/3);min-height:58px}
 #brands .brand-large,#brands .brand-large:first-child{flex-basis:calc((100% - 12px)/2);min-height:72px}
 #brands .brand-logo-frame,#brands .brand-medium .brand-logo-frame,#restaurant-collaborations .brand-logo-frame,#restaurant-collaborations .brand-medium .brand-logo-frame{height:50px}
 #brands .brand-large .brand-logo-frame{height:64px}
 #brands .brand-tile:nth-child(n),#restaurant-collaborations .brand-tile:nth-child(n){--brand-offset:0px}
 .brand-tooltip{max-width:120px;white-space:normal;overflow-wrap:break-word;font-size:10px;padding:7px 9px}
 #brands .brand-text,#restaurant-collaborations .brand-text{font-size:15px;overflow-wrap:break-word;min-height:48px}
 .press-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .press h2{margin:16px 0 24px}
 .press-clipping{padding:20px}
 .press-clipping h3{font-size:17px;line-height:1.5}
 .press-meta,.press-read{font-size:11px}
 .contact{padding:48px 20px}
 .contact h2{font-size:clamp(39px,10.3vw,68px);line-height:1.08}
 .contact>p:not(.subtitle){font-size:14px;max-width:440px;margin:20px auto 0;line-height:1.7}
 .contact>p br{display:none}
 .contact .contact-email{font-size:14px;margin:20px auto;overflow-wrap:anywhere}
 .contact-star{display:none}
 .contact-buttons,.professional-links{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;max-width:360px;margin:24px auto 0}
 .contact-buttons .button,.professional-links .button{width:100%;margin:0;min-height:48px;font-size:12px}
 .socials{gap:18px;margin-top:20px;font-size:12px;flex-wrap:wrap}
 .socials a{display:inline-flex;align-items:center;min-height:44px}
 .professional-work{padding:40px 20px}
 .professional-work h2{font-size:clamp(32px,8.8vw,48px);line-height:1.15;max-width:460px;margin:18px auto}
 .professional-work>p{font-size:14px;line-height:1.8}
 footer{padding:24px 20px;gap:12px;flex-wrap:wrap}
 footer .wordmark{font-size:28px}
 footer>a:last-child{font-size:11px;min-height:44px;display:inline-flex;align-items:center}
}
@media(max-width:360px){
 header nav{font-size:10px;gap:4px}
 header nav .nav-contact{padding-inline:8px}
 .hero,.section{padding-left:16px;padding-right:16px}
 .scrapbook{gap:7px}
 .polaroid{padding:5px 5px 2px}
 #brands .brand-tile,#brands .brand-medium,#restaurant-collaborations .brand-tile,#restaurant-collaborations .brand-medium{flex-basis:calc((100% - 12px)/2)}
}
@media(hover:none){
 .polaroid:hover{z-index:auto}
 .button:hover{transform:none}
 .brand-cloud .brand-tile:hover{transform:none}
}

/* Slightly denser logo clouds across screen sizes. */
#brands .brand-cloud,#restaurant-collaborations .brand-cloud{gap:6px 12px;padding-bottom:6px}
#brands .brand-tile,#restaurant-collaborations .brand-tile{flex-basis:108px;min-height:56px;padding:2px 0}
#brands .brand-medium,#restaurant-collaborations .brand-medium{flex-basis:140px;min-height:60px}
#brands .brand-large{flex-basis:190px;min-height:76px}
#brands .brand-logo-frame,#restaurant-collaborations .brand-logo-frame{height:52px}
#brands .brand-medium .brand-logo-frame,#restaurant-collaborations .brand-medium .brand-logo-frame{height:56px}
#brands .brand-large .brand-logo-frame{height:70px}
#brands .brands-heading,#restaurant-collaborations .brands-heading{margin-bottom:16px}
@media(max-width:700px){
 #brands .brand-cloud,#restaurant-collaborations .brand-cloud{gap:6px 10px}
 #brands .brand-tile,#brands .brand-medium,#restaurant-collaborations .brand-tile,#restaurant-collaborations .brand-medium{flex-basis:calc((100% - 20px)/3);min-height:52px}
 #brands .brand-large,#brands .brand-large:first-child{flex-basis:calc((100% - 10px)/2);min-height:66px}
 #brands .brand-logo-frame,#brands .brand-medium .brand-logo-frame,#restaurant-collaborations .brand-logo-frame,#restaurant-collaborations .brand-medium .brand-logo-frame{height:48px}
 #brands .brand-large .brand-logo-frame{height:60px}
}
@media(max-width:360px){
 #brands .brand-tile,#brands .brand-medium,#restaurant-collaborations .brand-tile,#restaurant-collaborations .brand-medium{flex-basis:calc((100% - 10px)/2)}
}

/* Confine artwork to its tile; tooltip bubbles remain outside the image frame. */
#brands .brand-logo-frame,#restaurant-collaborations .brand-logo-frame{width:100%;max-width:100%!important;min-width:0;overflow:hidden}
#brands .brand-tile:nth-child(n),#restaurant-collaborations .brand-tile:nth-child(n){--brand-offset:0px}
#brands .brand-cloud,#restaurant-collaborations .brand-cloud{row-gap:10px}
/* Scale this banner crop with its tile instead of using a 170px fixed frame. */
#brands .brand-greenhouse{height:52px!important}
#brands .brand-greenhouse img{position:absolute;width:235.294%;max-width:none;height:auto;max-height:none;left:-120.588%;top:50%;transform:translateY(-50%)}
#brands .brand-hercampus img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transform:none}
@media(max-width:700px){#brands .brand-greenhouse{height:48px!important}}
