:root {
  --black: #030303;
  --ink: #111;
  --charcoal: #1b1b1b;
  --mid: #777;
  --line: #d8d8d8;
  --paper: #f7f7f4;
  --white: #fff;
  --max: 1180px;
}

* {box-sizing: border-box;}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--white);
  position: relative;
  overflow: hidden;
}

.site-header::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: auto -70px -130px auto;
  width: 360px;
  height: 360px;
  opacity: .11;
  background:
    linear-gradient(45deg, transparent 42%, var(--white) 43%, var(--white) 48%, transparent 49%),
    linear-gradient(-45deg, transparent 42%, var(--white) 43%, var(--white) 48%, transparent 49%);
  pointer-events: none;
}

.utility-bar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 13px 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  letter-spacing: .04em;
}

.utility-bar span {
  width: 1px;
  height: 15px;
  background: rgba(255,255,255,.5);
}

.text-medium { font-size: 1rem; }
.text-large { font-size: 1.15rem; }

.brand-row {
  min-height: 118px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 325px;
}

.brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.brand-rule {
  width: 1px;
  height: 78px;
  background: var(--white);
  opacity: .65;
}

.brand strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .9;
  font-weight: 700;
}

.brand small {
  display: block;
  margin-top: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .82rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 10px 16px;
  border-left: 1px solid rgba(255,255,255,.35);
}

.main-nav a:first-child { border-left: 0; }

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 3px;
  background: var(--white);
}

.flag-rule {
  height: 18px;
  border-top: 2px solid var(--white);
  border-bottom: 1px solid rgba(255,255,255,.6);
  position: relative;
}

.hero {
  min-height: 385px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.84) 37%, rgba(0,0,0,.52) 70%, rgba(0,0,0,.8) 100%),
    url("assets/winterbourne-flag.png") center/cover no-repeat;
  color: var(--white);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -4%;
  top: -20%;
  width: 62%;
  height: 140%;
  opacity: .18;
  background:
  
}

.hero-content { position: relative; z-index: 1; padding: 78px 0; }

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .78rem;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
}

.hero h1,
.services h2,
.spotlight h2,
.notice-panel h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
.hero-text { max-width: 610px; font-size: 1.08rem; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  padding: 13px 22px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
  font-size: .78rem;
  border: 2px solid currentColor;
}

.button span { font-size: 1.5rem; line-height: 0; }
.button-light:hover { background: var(--white); color: var(--black); }
.button-dark:hover { background: var(--black); color: var(--white); }

.announcement-strip {
  background: var(--white);
  border-top: 8px solid var(--black);
  border-bottom: 1px solid var(--line);
}

.announcement-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1.1fr 1.1fr .95fr;
  align-items: stretch;
}

.announcement-title,
.announcement-strip article,
.view-all {
  min-height: 112px;
  border-left: 1px solid var(--line);
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px 24px;
}

.announcement-title { flex-direction: row; align-items: center; gap: 18px; border-left: 0; justify-content: flex-start; }
.announcement-title img { width: 56px; height: 56px; padding: 8px; background: var(--black); object-fit: contain; }
.announcement-title h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin: 0; }
.announcement-strip time { text-transform: uppercase; font-size: .72rem; color: #444; }
.announcement-strip h3 { margin: 2px 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; line-height: 1.15; }
.announcement-strip a { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.view-all { align-items: center; text-align: center; }

.services {
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(0,0,0,.03) 48% 52%, transparent 52%),
    var(--paper);
  padding: 58px 0 0;
}

.services h2,
.notice-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 28px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.service-card {
  min-height: 225px;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -75%;
  width: 70%;
  transform: skewX(-42deg);
  background: rgba(0,0,0,.05);
  transition: .25s ease;
}

.service-card:hover::before { left: -38%; }
.service-icon { display: block; min-height: 46px; font-size: 2.2rem; font-weight: 900; }
.service-card h3 { margin: 8px 0; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.service-card p { font-size: .92rem; margin: 0 auto 14px; max-width: 180px; }
.arrow { display: inline-block; transform: rotate(90deg); font-size: 1.35rem; }

.spotlight {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.spotlight::before,
.spotlight::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  opacity: .2;
  background:
    linear-gradient(45deg, transparent 35%, var(--white) 36%, var(--white) 43%, transparent 44%),
    linear-gradient(-45deg, transparent 35%, var(--white) 36%, var(--white) 43%, transparent 44%);
}
.spotlight::before { left: -40px; }
.spotlight::after { right: -40px; }

.spotlight-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 300px;
  position: relative;
  z-index: 1;
}

.spotlight-copy { padding: 52px 48px 52px 0; }
.spotlight h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.spotlight-image {
  background:
    linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.25)),
    url("assets/winterbourne-flag.png") center/cover no-repeat;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
  min-height: 300px;
  filter: grayscale(1) contrast(1.1);
}

.notice-panel {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.notice-grid p:last-child { font-size: 1.1rem; color: #333; }

.site-footer {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr .75fr .75fr 1.2fr;
  gap: 42px;
  padding: 44px 0 34px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  position: relative;
  z-index: 1;
}

.footer-brand { display: flex; gap: 20px; align-items: center; }
.footer-brand img { width: 88px; height: 88px; object-fit: contain; }
.footer-brand strong { display: block; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-brand p { margin: 3px 0; }
.footer-brand small { text-transform: uppercase; letter-spacing: .1em; }
.site-footer h2 { margin: 0 0 10px; font-size: .9rem; text-transform: uppercase; letter-spacing: .11em; }
.site-footer a { display: block; color: rgba(255,255,255,.86); margin: 6px 0; }
.socials { display: flex; gap: 10px; margin: 0 0 12px; }
.socials a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; margin: 0; font-weight: 900; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 18px;
  font-size: .86rem;
  color: rgba(255,255,255,.82);
  position: relative;
  z-index: 1;
}

@media (max-width: 1060px) {
  .brand-row { align-items: flex-start; flex-direction: column; }
  .main-nav { justify-content: flex-start; }
  .announcement-grid { grid-template-columns: 1fr 1fr; }
  .view-all { align-items: flex-start; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container, .utility-bar { width: min(100% - 24px, var(--max)); }
  .utility-bar { justify-content: flex-start; flex-wrap: wrap; }
  .brand { min-width: 0; }
  .brand img { width: 66px; height: 66px; }
  .brand-rule { height: 60px; }
  .main-nav a { padding: 9px 10px; font-size: .72rem; }
  .hero { min-height: 420px; }
  .announcement-grid, .spotlight-grid, .notice-grid, .footer-grid { grid-template-columns: 1fr; }
  .announcement-title, .announcement-strip article, .view-all { border-left: 0; border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .spotlight-copy { padding-right: 0; }
  .spotlight-image { clip-path: none; }
  .footer-bottom { flex-direction: column; }
}
