/* October 20 portal only. The shared collection-panel rules remain untouched. */
@font-face {
 font-family:'Cactus Stone Mixed Case';
 src:url('/assets/fonts/CactusStoneMixedCase-Light.woff2') format('woff2');
 font-weight:300; font-style:normal; font-display:swap;
}
body.portal-home { --portal-edge:1.5%; --portal-label-scale:1.1; background:#22201e!important; }
body.portal-home #page { display:flex; flex-direction:column; min-height:100svh; background:#22201e; }
body.portal-home #page #masthead {
 position:relative; inset:auto; flex:none; width:100%; height:auto; min-height:0;
 padding:23px 0; border:0; background:#22201e;
}
body.portal-home #page #masthead > .container {
 display:flex; justify-content:center; align-items:center; width:100%; max-width:none;
 height:auto; min-height:0; padding:0; margin:0;
}
body.portal-home #page #masthead .site-branding,
body.portal-home #page #masthead .custom-logo-link {
 display:block; position:static; inset:auto; width:auto; height:auto; aspect-ratio:auto; padding:0; margin:0; transform:none;
}
body.portal-home #page #masthead .container .site-branding img {
 display:block; position:static; inset:auto; width:clamp(252px,21.42vw,369px);
 max-width:none; height:auto; padding:0; margin:0; transform:none; filter:none;
}
body.portal-home #page .portal-established {
 position:absolute; top:50%; right:var(--portal-edge); margin:0; transform:translateY(-50%);
 text-box-trim:trim-both; text-box-edge:cap alphabetic;
 font:400 16px/1 'Manrope',sans-serif; font-style:normal; color:#fff;
}
body.portal-home #page .portal-home-grid { display:block; flex:none; width:96%; max-width:1600px; padding:0; }
body.portal-home .portal-home-grid picture { display:contents; }
body.portal-home #page .portal-campus-window {
 height:auto; aspect-ratio:1600 / 342; clip-path:none; overflow:hidden;
}
body.portal-home #page .portal-campus { object-position:50% 31.2%; filter:sepia(.28) saturate(1.08); }
body.portal-home #page .portal-slabs img { object-position:50% 16.5%; }
body.portal-home #page .portal-campus-window::after { content:none; }
body.portal-home #page .portal-browse-heading {
 position:static; inset:auto; transform:none; width:auto; max-width:none;
 margin:clamp(26px,2.35vw,40px) 0 var(--portal-gap); padding:0;
 background:transparent; font-size:clamp(20px,1.465vw,25.3px);
 line-height:1.2; letter-spacing:.03em!important;
 text-box-trim:trim-both; text-box-edge:cap alphabetic;
}
body.portal-home #page .portal-browse-heading::before,
body.portal-home #page .portal-browse-heading::after { content:none; }
body.portal-home #page .portal-collections {
 display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--portal-gap);
 margin-top:calc(2 * var(--portal-gap));
}
/* Cap-trimmed first rows put the main letter bodies one panel gap below
   the images. The phone parentheses rise about 2px above their cap box;
   include that optical allowance in the shared second-row gap. */
body.portal-home #page .portal-information {
 display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
 grid-template-rows:auto auto; column-gap:24px; row-gap:calc(var(--portal-gap) + 2px);
 margin:var(--portal-gap) 0 28px;
}
body.portal-home #page .portal-information > div {
 display:grid; grid-template-rows:subgrid; grid-row:1/3; gap:inherit;
 min-width:0; padding:0; transform:none; align-self:auto;
}
body.portal-home #page .portal-tile-info { grid-column:1; text-align:left; }
body.portal-home #page .portal-address-hours { grid-column:2; text-align:center; }
body.portal-home #page .portal-slabs-info { grid-column:3; text-align:left; justify-self:end; }
body.portal-home #page .portal-business h2 {
 margin:0; font:300 clamp(16px,1.32vw,22px)/1.3 'Cactus Stone Mixed Case',sans-serif!important;
 letter-spacing:.03em!important; font-kerning:normal!important; font-synthesis:none;
 text-transform:none; color:#fff;
}
body.portal-home #page .portal-information p {
 margin:0; font:400 clamp(13px,1.025vw,16px)/1.4 'Manrope',sans-serif;
 color:#eeeae3; text-transform:none;
}
body.portal-home #page .portal-information :is(h2,p) {
 text-box-trim:trim-both; text-box-edge:cap alphabetic;
}
body.portal-home #page .portal-footer { margin-top:auto; background:#22201e; padding-inline:var(--portal-edge); }
@media(max-width:1279px) {
 body.portal-home { --portal-edge:4%; }
 body.portal-home #page .portal-information { column-gap:18px; }
 body.portal-home #page .portal-business h2 { font-size:16px!important; }
 body.portal-home #page .portal-information p { font-size:13px; }
}
@media(max-width:1000px) {
 body.portal-home #page .portal-information {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr); row-gap:calc(var(--portal-gap) + 2px);
 }
 body.portal-home #page .portal-slabs-info { grid-column:2; justify-self:end; }
 body.portal-home #page .portal-information > .portal-address-hours { grid-column:1/-1; grid-row:3/5; margin-top:14px; }
 body.portal-home #page .portal-business h2 { font-size:18px!important; }
 body.portal-home #page .portal-information p { font-size:15px; }
}
@media(max-width:599px) {
 body.portal-home { --portal-edge:16px; }
 body.portal-home #page #masthead { padding:36px 0; }
 body.portal-home #page #masthead .container .site-branding img { width:min(68.4vw,292.5px); }
 body.portal-home #page .portal-campus-window { aspect-ratio:2.6; }
 body.portal-home #page .portal-campus { object-position:50% 30%; }
 body.portal-home #page .portal-slabs img { object-position:50% 12.6%; }
 body.portal-home #page .portal-browse-heading {
  font-size:clamp(13.5px,3.48vw,20px); margin-top:26px; line-height:1.35;
 }
 body.portal-home #page .portal-collections { grid-template-columns:minmax(0,1fr); }
 body.portal-home #page .portal-information { display:flex; flex-direction:column; gap:24px; margin-bottom:26px; }
 body.portal-home #page .portal-information > div { display:flex; flex-direction:column; gap:8px; margin:0; }
 body.portal-home #page .portal-business h2 { font-size:18px!important; }
 body.portal-home #page .portal-information p { font-size:15px; }
 body.portal-home #page .portal-information > .portal-address-hours { text-align:left; order:3; margin-top:0; }
}

/* Refinements: keep layout geometry intact; only the actual logo footprint
   shrinks. Uniform campus warmth includes the sky, with no masks/overlays. */
body.portal-home #page .portal-business a[href^='tel:'] { color:#eeeae3; }
body.portal-home #page .portal-business a[href^='tel:']:is(:hover,:focus-visible) {
 color:#d2c8ae; text-decoration:underline; text-underline-offset:3px;
}
/* Muted ink, never container opacity: hover and focus remain full strength. */
body.portal-home #page .portal-footer,
body.portal-home #page .portal-footer :is(p,a,span,i) { color:#a7a39e; }
body.portal-home #page .portal-footer a:is(:hover,:focus-visible),
body.portal-home #page .portal-footer a:is(:hover,:focus-visible) i {
 color:#d2c8ae; opacity:1;
}
body.portal-home #page .portal-footer a:not(.portal-social a):is(:hover,:focus-visible) {
 text-decoration:underline; text-underline-offset:3px;
}
body.portal-home #page .portal-footer a:focus-visible { outline:2px solid #d2c8ae; outline-offset:3px; }
@media(max-width:479px) {
 /* The date uses the existing upper gap when there is no safe space beside
    the independently centered logo. Header padding remains unchanged. */
 body.portal-home #page .portal-established { top:10px; transform:none; font-size:12px; }
}

/* Separate hours into two readable groups with a real, wrapping layout gap. */
body.portal-home #page .portal-information .portal-hours {
 display:flex; flex-wrap:wrap; justify-content:center; align-content:start;
 column-gap:.75em; row-gap:.5em;
}
body.portal-home #page .portal-hours > span {
 white-space:nowrap; text-box-trim:trim-both; text-box-edge:cap alphabetic;
}
/* Center the smaller cap box, then account for Manrope optical overshoot. */
@media(min-width:1001px) {
 body.portal-home #page .portal-address-hours > p:first-child { align-self:center; transform:translateY(-.05em); }
}

@media(max-width:599px) {
 body.portal-home #page .portal-information > .portal-business { gap:calc(var(--portal-gap) + 2px); }
}

/* Anchor the Gallery block to the second collection panel, independently of
   the older three-column information grid. Keep its shared row heights. */
@media(min-width:600px) {
 body.portal-home #page .portal-information > .portal-slabs-info {
  grid-column:1/-1; justify-self:start;
  margin-left:calc((100% + var(--portal-gap)) / 2);
 }
}

@media(min-width:600px) {
 /* Use the photo group's width for all side-by-side proportions. Keep each
    panel image at its previous scale and trim its two side edges equally. */
 body.portal-home #page .portal-collections { column-gap:2.875%; margin-top:2.875%; }
 body.portal-home #page .portal-panel { height:auto; aspect-ratio:777 / 333; }
 body.portal-home #page .portal-panel img {
  width:calc(100% * 793 / 777); max-width:none; left:calc(-800% / 777); right:auto;
 }
 body.portal-home #page .portal-tile img { object-position:50% 59.92%; }
 body.portal-home #page .portal-slabs img { object-position:50% 22.25%; }
 body.portal-home #page .portal-panel-label { top:-1px; }
}
