/* =========================================================
   AWARDS & CERTIFICATIONS — awards-certifications.html only.

   Loads AFTER style.css + home-alt.css. It does NOT load pages.css:
   that file repaints the nav navy for its light hero, and this page
   opens on a dark full-bleed band, so the nav keeps style.css's
   white-on-transparent treatment.

   Recognition pages live or die on presentation, so this one carries
   a single restrained gold accent used ONLY on award furniture —
   years, ribbons, rules. Certifications stay in the brand green,
   because they are audits rather than accolades and the two should
   not read as the same thing. Namespaced .aw-*.
========================================================= */

:root{
  /* Deep enough to clear WCAG AA (4.7:1) on white as small caps and as a
     button ground with white text. A brighter gold is used on dark only. */
  --aw-gold:#856527;
  --aw-gold-lift:#9c7a33;
  --aw-gold-bright:#e5c877; /* on dark grounds only */
  /* --muted clears AA on white but not on this page's warm paper ground,
     so secondary lines use a slightly darker grey throughout */
  --aw-muted:#56616f;
  --aw-serif:Georgia,"Iowan Old Style","Palatino Linotype","Times New Roman",serif;
}

body{padding-top:0;background:#fff}

/* =========================================================
   1. HERO
========================================================= */
.aw-hero{position:relative;overflow:hidden;background:#0b1524;color:#fff;
  min-height:560px;display:flex;align-items:flex-end}
.aw-hero-img{position:absolute;inset:0}
.aw-hero-img img{width:100%;height:100%;object-fit:cover;display:block}
.aw-hero-img::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,16,30,.78) 0%,rgba(8,16,30,.34) 26%,
    rgba(8,16,30,.62) 62%,rgba(8,16,30,.93) 100%)}
.aw-hero .container{position:relative;z-index:2;width:100%;padding-top:9rem;padding-bottom:4.5rem}
.aw-hero-inner{max-width:60ch}
.aw-crumb{font-size:.78rem;color:rgba(255,255,255,.62);margin:0 0 1.5rem;letter-spacing:.3px}
.aw-crumb a{color:rgba(255,255,255,.62)}
.aw-crumb a:hover{color:#fff}
.aw-crumb b{color:#fff;font-weight:600}
.aw-kicker{display:inline-block;font-size:.68rem;font-weight:800;letter-spacing:3px;text-transform:uppercase;
  color:var(--aw-gold-bright);margin:0 0 1.2rem;padding-bottom:.7rem;
  border-bottom:2px solid var(--aw-gold)}
.aw-hero h1{font-family:var(--aw-serif);font-weight:400;font-size:clamp(2.3rem,5vw,3.9rem);
  line-height:1.04;letter-spacing:-.5px;margin:0 0 1.2rem;color:#fff}
.aw-lead{color:rgba(255,255,255,.86);font-size:1.06rem;line-height:1.8;margin:0;max-width:56ch}


/* =========================================================
   2. SECTIONS
========================================================= */
.aw-sec{padding:4.6rem 0;scroll-margin-top:100px}
.aw-sec.soft{background:var(--paper)}
.aw-sec.paper{background:#faf8f3}
.aw-head{max-width:64ch;margin:0 0 3rem}
.aw-head.mid{margin-left:auto;margin-right:auto;text-align:center}
.aw-head .k{display:block;font-size:.69rem;font-weight:800;letter-spacing:2.8px;text-transform:uppercase;
  color:var(--blue);margin:0 0 1rem}
.aw-head.gold .k{color:var(--aw-gold)}
.aw-head h2{font-family:var(--aw-serif);font-weight:400;font-size:clamp(1.7rem,3vw,2.5rem);
  line-height:1.14;letter-spacing:-.3px;color:var(--navy);margin:0 0 1rem}
.aw-head p{margin:0;color:var(--muted);line-height:1.85;font-size:1rem}

/* =========================================================
   3. THE YEAR — set as type, not enclosed in a device
========================================================= */
.aw-year{flex:0 0 auto;font-family:var(--aw-serif);font-size:2.1rem;line-height:1;color:var(--aw-gold);
  letter-spacing:-.5px}
.aw-year small{display:block;font-family:-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:.62rem;letter-spacing:1.8px;text-transform:uppercase;color:var(--aw-muted);
  margin-top:.5rem;font-weight:800}

/* =========================================================
   4. FEATURED AWARD
========================================================= */
.aw-feature{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:0;
  align-items:stretch;background:#fff;border:1px solid var(--line);
  box-shadow:0 24px 60px rgba(16,36,63,.09);overflow:hidden}
.aw-feature.no-media{grid-template-columns:1fr}
.aw-feature-media{position:relative;background:#f4f1e8;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:1.2rem;padding:3.2rem 2rem;min-height:300px}
.aw-emblem{display:block;width:auto;height:auto;max-width:210px;max-height:230px;object-fit:contain}
/* The featured award now carries its own photograph. Contained, never cropped:
   a cropped trophy loses the plaque that says what it was for. */
.aw-feature-media picture{display:block;max-width:100%;max-height:340px}
.aw-feature-media img{display:block;max-width:100%;max-height:340px;width:auto;height:auto;
  object-fit:contain}
.aw-feature-body{padding:3.2rem}
.aw-ribbon{display:inline-block;font-size:.63rem;font-weight:800;letter-spacing:2px;text-transform:uppercase;
  color:#fff;background:var(--aw-gold);padding:.36rem .9rem;margin-bottom:1.3rem}
.aw-feature-body h3{font-family:var(--aw-serif);font-weight:400;font-size:clamp(1.5rem,2.6vw,2.1rem);
  line-height:1.2;color:var(--navy);margin:0 0 .7rem}
.aw-by{display:block;font-size:.71rem;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;
  color:var(--aw-muted);margin-bottom:1.3rem}
.aw-feature-body p{margin:0;color:var(--ink);line-height:1.9;font-size:1.02rem}

/* =========================================================
   5. AWARD ROWS
========================================================= */
.aw-list{list-style:none;margin:0;padding:0;border-top:2px solid var(--navy)}
.aw-list li{border-bottom:1px solid var(--line)}
.aw-item{display:grid;grid-template-columns:120px minmax(0,1fr) 130px;gap:0 2.6rem;align-items:center;
  padding:2.2rem .2rem;transition:background .25s,padding-left .25s}
.aw-item:hover{background:#f6f2e9;padding-left:1rem}
.aw-item h3{font-family:var(--aw-serif);font-weight:400;font-size:clamp(1.15rem,2vw,1.5rem);
  line-height:1.25;color:var(--navy);margin:0}
/* a touch darker than --muted so the row copy still clears AA on the warm
   paper ground and on the hover tint */
.aw-item p{margin:.75rem 0 0;color:var(--aw-muted);line-height:1.8;font-size:.96rem;max-width:64ch}
/* the awarding body's own mark, where we hold it */
.aw-mark{display:flex;align-items:center;justify-content:flex-end}
.aw-mark img{max-width:110px;max-height:52px;width:auto;height:auto;object-fit:contain;
  filter:grayscale(1);opacity:.55;transition:filter .3s,opacity .3s}
.aw-item:hover .aw-mark img{filter:grayscale(0);opacity:1}

/* =========================================================
   6. CERTIFICATION CARDS
========================================================= */
.aw-certs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.aw-cert{background:#fff;border:1px solid var(--line);padding:1.9rem 1.5rem;height:100%;
  display:flex;flex-direction:column;text-align:center;
  transition:transform .25s,box-shadow .25s,border-color .25s}
.aw-cert:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(16,36,63,.11);border-color:#d7dee6}
.aw-cert-logo{height:60px;display:flex;align-items:center;justify-content:center;margin-bottom:1.3rem}
.aw-cert-logo img{max-width:132px;max-height:56px;width:auto;height:auto;object-fit:contain}
.aw-cert-logo .txt{font-family:var(--aw-serif);font-size:1.35rem;color:var(--acc);letter-spacing:.5px}
.aw-cert h3{font-size:.94rem;color:var(--navy);margin:0 0 .45rem;font-weight:700;line-height:1.35}
.aw-cert p{margin:0;color:var(--muted);font-size:.85rem;line-height:1.6}

/* =========================================================
   7. MEMBERSHIP
========================================================= */
.aw-members{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);
  gap:0 3.5rem}
.aw-members li{border-bottom:1px solid var(--line)}
.aw-member{display:flex;align-items:baseline;justify-content:space-between;gap:1.5rem;padding:1.1rem .2rem;
  color:var(--ink);font-size:.97rem;line-height:1.5;transition:padding-left .22s,color .2s}
.aw-member:hover{padding-left:.6rem;color:var(--blue-deep)}
.aw-member i{font-style:normal;font-size:.71rem;letter-spacing:1.2px;text-transform:uppercase;
  font-weight:800;color:var(--blue-deep);white-space:nowrap}

/* =========================================================
   8. CLOSING BAND
========================================================= */
.aw-cta{position:relative;overflow:hidden;background:var(--navy);color:#fff}
.aw-cta-img{position:absolute;inset:0}
.aw-cta-img img{width:100%;height:100%;object-fit:cover;display:block;opacity:.2}
.aw-cta .container{position:relative;z-index:2;padding-top:4.4rem;padding-bottom:4.6rem}
/* style.css sets h1,h2,h3{color:var(--navy)} as an element rule, which beats
   the white inherited from the dark parent - so it must be stated here */
.aw-cta h2{font-family:var(--aw-serif);font-weight:400;font-size:clamp(1.6rem,2.9vw,2.3rem);
  margin:0 0 1rem;line-height:1.18;color:#fff}
.aw-cta p{color:rgba(255,255,255,.84);max-width:58ch;margin:0 0 2rem;line-height:1.85}
.aw-btns{display:flex;flex-wrap:wrap;gap:1rem 1.4rem;align-items:center}
.aw-btn{display:inline-flex;align-items:center;gap:.6rem;background:var(--aw-gold);color:#fff;
  padding:.95rem 1.9rem;font-size:.81rem;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;
  transition:transform .2s,background .2s}
.aw-btn:hover{transform:translateY(-2px);background:var(--aw-gold-lift)}
.aw-btn.ghost{background:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)}
.aw-btn.ghost:hover{background:rgba(255,255,255,.12)}
.aw-btn i{font-style:normal;transition:transform .25s}
.aw-btn:hover i{transform:translateX(4px)}


/* =========================================================
   8b. AWARD GALLERY

   Sixty-six awards is far too many for one undifferentiated
   list, so the gallery filters by category and every card sits
   in the same footprint whatever shape its photograph is.

   That last point matters more than it sounds. The archive
   mixes tall trophies with landscape certificates; cropping
   them to a common ratio would cut the plaque off a trophy and
   make a certificate unreadable. So the shot box is a fixed
   4:3 well and the picture is CONTAINED inside it, centred on
   a soft ground. Nothing is cropped, and the grid still lines
   up row to row.
========================================================= */
/* .site-header is fixed at 86px tall with z-index 1000, so the bar sticks
   BELOW it - at top:0 the pills would slide under the nav and disappear. */
.aw-filterbar{position:sticky;top:86px;z-index:20;background:rgba(255,255,255,.94);
  backdrop-filter:blur(9px);border-bottom:1px solid #e6e2d9;padding:.9rem 0;
  margin-bottom:2.6rem}
.aw-filter{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.aw-pill{appearance:none;border:1px solid #ded8cc;background:#fff;color:#3d4657;
  font:inherit;font-size:.78rem;font-weight:700;letter-spacing:.4px;
  padding:.52rem 1rem;border-radius:999px;cursor:pointer;white-space:nowrap;
  transition:background .2s,border-color .2s,color .2s}
.aw-pill:hover{border-color:var(--aw-gold);color:var(--aw-gold)}
.aw-pill b{font-weight:700;opacity:.55;margin-left:.4rem}
.aw-pill[aria-pressed="true"]{background:var(--aw-gold);border-color:var(--aw-gold);color:#fff}
.aw-pill[aria-pressed="true"] b{opacity:.75}

.aw-grid{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem 1.8rem}
.aw-grid li{min-width:0}

.aw-card{display:flex;flex-direction:column;height:100%;background:#fff;
  border:1px solid #e8e4db;border-radius:3px;overflow:hidden;
  transition:border-color .25s,box-shadow .25s,transform .25s}
.aw-card:hover{border-color:#d6cdb9;box-shadow:0 14px 34px rgba(20,26,40,.10);
  transform:translateY(-3px)}

/* The well. place-items centres a photo of any shape; max-width/max-height
   with auto on the other axis is what keeps it contained rather than cropped. */
/* 4:5, because 46 of the 66 photographs are portrait: a landscape well would
   shrink every trophy to a sliver. The picture is absolutely positioned inside
   the well - left in normal flow its intrinsic height overrides aspect-ratio
   and the boxes stop lining up. */
.aw-shot{position:relative;aspect-ratio:4/5;
  background:linear-gradient(160deg,#f7f5f0 0%,#efece4 100%);
  border-bottom:1px solid #ece8df;cursor:zoom-in}
/* The picture box is absolutely positioned, so it has a definite size; the img
   then fills it and object-fit:contain scales the photograph down inside it.
   max-height on an auto-sized track does NOT work here - the track grows to the
   image's intrinsic height and the wells stop matching. */
.aw-shot picture{position:absolute;inset:1rem;display:block}
.aw-shot img{width:100%;height:100%;object-fit:contain;object-position:center;
  display:block;transition:transform .4s ease}
.aw-card:hover .aw-shot img{transform:scale(1.035)}
.aw-shot .n{position:absolute;right:.6rem;bottom:.6rem;background:rgba(11,21,36,.78);
  color:#fff;font-size:.66rem;font-weight:800;letter-spacing:.6px;
  padding:.28rem .55rem;border-radius:2px}

.aw-body{padding:1.15rem 1.25rem 1.35rem;display:flex;flex-direction:column;gap:.45rem;flex:1}
.aw-tag{display:flex;align-items:center;gap:.6rem;font-size:.68rem;font-weight:800;
  letter-spacing:1.3px;text-transform:uppercase;color:var(--aw-gold)}
.aw-tag .cat{color:var(--aw-muted);font-weight:700;letter-spacing:1px}
.aw-tag .cat::before{content:"/";margin-right:.6rem;opacity:.5}
/* With no year in front of it, that separator would open the line with a
   stray slash. */
.aw-tag.nodate .cat::before{content:none}
.aw-card h3{font-family:var(--aw-serif);font-weight:400;font-size:1.06rem;
  line-height:1.34;color:var(--navy);margin:.1rem 0 0}
.aw-card .who{font-size:.79rem;font-weight:700;color:#2f3a4d;line-height:1.45}
.aw-card .what{font-size:.83rem;line-height:1.62;color:var(--aw-muted);margin:0}

.aw-empty{padding:3rem 0;text-align:center;color:var(--aw-muted)}

/* ---- viewer ---- */
.aw-lb{position:fixed;inset:0;z-index:9000;background:rgba(8,12,20,.94);
  display:none;align-items:center;justify-content:center;padding:3.5rem 1.2rem}
.aw-lb.open{display:flex}
.aw-lb img{max-width:min(1200px,94vw);max-height:84vh;width:auto;height:auto;
  display:block;background:#fff}
.aw-lb .cap{position:absolute;left:0;right:0;bottom:1.1rem;text-align:center;
  color:#cfd6e2;font-size:.82rem;padding:0 1.2rem;line-height:1.5}
.aw-lb button{position:absolute;appearance:none;border:0;background:rgba(255,255,255,.12);
  color:#fff;width:44px;height:44px;border-radius:50%;cursor:pointer;font-size:1.2rem;
  line-height:1;display:grid;place-items:center;transition:background .2s}
.aw-lb button:hover{background:rgba(255,255,255,.26)}
.aw-lb .x{top:1.1rem;right:1.1rem}
.aw-lb .p{left:1.1rem;top:50%;transform:translateY(-50%)}
.aw-lb .n{right:1.1rem;top:50%;transform:translateY(-50%)}
.aw-lb.single .p,.aw-lb.single .n{display:none}

/* ---- awards on record without a photograph ---- */
.aw-register{list-style:none;margin:2.4rem 0 0;padding:1.6rem 0 0;
  border-top:1px solid #e6e2d9}
.aw-register li{display:grid;grid-template-columns:5.5rem minmax(0,1fr);gap:0 1.6rem;
  padding:1rem 0;border-bottom:1px solid #f0ece3}
.aw-register .y{font-family:var(--aw-serif);font-size:1.15rem;color:var(--aw-gold)}
.aw-register h4{margin:0 0 .2rem;font-family:var(--aw-serif);font-weight:400;
  font-size:1rem;color:var(--navy)}
.aw-register .who{font-size:.75rem;font-weight:700;color:#2f3a4d}
.aw-register p{margin:.4rem 0 0;font-size:.83rem;line-height:1.6;color:var(--aw-muted)}

/* =========================================================
   9. RESPONSIVE
========================================================= */
@media (max-width:1100px){
  .aw-certs{grid-template-columns:repeat(3,1fr)}
  .aw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:992px){
  .aw-hero{min-height:0}
  .aw-hero .container{padding-top:7.5rem;padding-bottom:3rem}
  .aw-sec{padding:3.2rem 0}
  .aw-feature{grid-template-columns:1fr}
  .aw-feature-media{padding:2.6rem 2rem;min-height:220px}
    .aw-feature-body{padding:2.4rem 2rem}
  .aw-certs{grid-template-columns:repeat(2,1fr)}
  .aw-members{grid-template-columns:1fr;gap:0}
  /* the mark drops under the copy rather than squeezing the headline */
  .aw-item{grid-template-columns:88px minmax(0,1fr);gap:0 1.6rem}
  .aw-year{font-size:1.7rem}
  .aw-mark{grid-column:2;justify-content:flex-start;margin-top:1rem}
}
@media (max-width:620px){
  .aw-certs{grid-template-columns:1fr}
  .aw-grid{grid-template-columns:1fr;gap:1.4rem}
  .aw-filterbar{padding:.7rem 0}
  .aw-pill{font-size:.72rem;padding:.45rem .8rem}
  .aw-register li{grid-template-columns:1fr;gap:0}
  .aw-register .y{margin-bottom:.4rem}
  .aw-btns{flex-direction:column;align-items:stretch}
  .aw-btn{justify-content:center}
  .aw-item{grid-template-columns:1fr;gap:0;padding:1.8rem .2rem}
  .aw-year{margin-bottom:.9rem}
  .aw-year small{display:inline;margin-left:.6rem}
  .aw-mark{grid-column:1}
}
