
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');
:root{--g:#173f2c;--g2:#355f45;--cream:#fbf8f2;--sage:#edf1ea;--beige:#efe7d8;--text:#1f2520;--muted:#666f68;--gold:#b38a4c;--shadow:0 18px 50px rgba(27,37,31,.08);--border:1px solid rgba(31,37,32,.11)}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--cream);color:var(--text);line-height:1.6}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}h1,h2,h3{font-family:'Libre Baskerville',Georgia,serif;color:var(--g);line-height:1.12;margin:0}.site-header{height:76px;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;background:rgba(251,248,242,.94);border-bottom:var(--border);position:sticky;top:0;z-index:9;backdrop-filter:blur(12px)}.brand,.footer-brand{display:flex;align-items:center;gap:10px;font-family:'Libre Baskerville',serif;font-size:30px;font-weight:700;color:var(--g)}.brand img,.footer-brand img{width:34px;height:34px;object-fit:contain}.nav-links{display:flex;gap:32px;font-weight:600;font-size:14px}.menu-toggle{display:none}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-weight:700;font-size:12px;color:var(--g2)}.hero{display:grid;grid-template-columns:1.05fr .95fr;min-height:calc(100vh - 76px);background:#fffdf8}.hero-img img{height:100%;width:100%;object-fit:cover}.hero-copy{padding:7vw;display:flex;flex-direction:column;justify-content:center;gap:26px}.hero h1{font-size:clamp(42px,5.5vw,76px)}.hero p{max-width:590px;color:#4f5851}.btn-row{display:flex;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;padding:14px 24px;font-weight:700;border:var(--border)}.primary{background:var(--g);color:white;border-color:var(--g)}.secondary{color:var(--g);background:transparent}.light{background:white;color:var(--g);border:0}.trust{display:flex;gap:16px;flex-wrap:wrap;color:var(--g);font-weight:700;font-size:13px}.about{display:grid;grid-template-columns:1fr 1fr;gap:8vw;padding:60px 7vw;background:linear-gradient(90deg,#f2ecdf,#fbf8f2);border-block:var(--border)}.about h2{font-size:38px;margin:10px 0 14px}.section{padding:90px 7vw}.section h2,.center{ text-align:center}.section>h2{font-size:42px;margin:10px 0 36px}.product-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:22px}.feature-product{grid-row:span 2;min-height:440px;position:relative;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);color:white;background:var(--g)}.feature-product img{height:100%;width:100%;object-fit:cover;opacity:.72}.feature-product h3,.feature-product p{position:absolute;left:34px;right:34px}.feature-product h3{bottom:105px;color:white;font-size:38px}.feature-product p{bottom:34px}.product{background:white;border:var(--border);border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(27,37,31,.05)}.product img{height:180px;width:100%;object-fit:cover}.product span{display:block;padding:18px;font-weight:800;color:var(--g)}.intern-preview{padding:90px 7vw;background:var(--sage);display:grid;grid-template-columns:.8fr 1.55fr;gap:70px;align-items:center}.intern-preview h2{font-size:64px;margin:14px 0 22px}.intern-preview p{color:#4f5851;max-width:430px}.preview-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.preview-cards a{background:white;border:var(--border);box-shadow:var(--shadow);border-radius:20px;padding:36px;min-height:265px;display:flex;flex-direction:column;justify-content:space-between}.preview-cards strong{font-family:'Libre Baskerville',serif;color:var(--g);font-size:25px}.preview-cards span{font-weight:800;color:var(--g)}.people{display:grid;grid-template-columns:.7fr 1.55fr;gap:70px;padding:95px 7vw}.people h2{font-size:62px;margin:12px 0 20px}.story-card{background:white;box-shadow:var(--shadow);border:var(--border);border-radius:24px;padding:28px;display:grid;grid-template-columns:1fr 260px;gap:24px}.carousel{position:relative;overflow:hidden;border-radius:18px;background:#f3eee5;min-height:340px}.carousel img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;opacity:0;transition:.4s}.carousel img.active{opacity:1}.carousel button{position:absolute;top:50%;transform:translateY(-50%);border:0;border-radius:50%;height:42px;width:42px;background:white;color:var(--g);font-size:26px}.prev{left:14px}.next{right:14px}.story-card>div:nth-child(2){grid-column:1/2}.story-card aside{grid-row:1/3;grid-column:2/3;background:var(--cream);border-radius:18px;padding:30px;display:grid;place-content:center;text-align:center}.cta{margin:50px 7vw;padding:54px;border-radius:22px;background:linear-gradient(90deg,rgba(23,63,44,.9),rgba(23,63,44,.7)),url('images/background-banner.png') center/cover;color:white;display:flex;justify-content:space-between;gap:25px;align-items:center}.cta h2{color:white;font-size:45px}.cta p{color:rgba(255,255,255,.86)}.site-footer{padding:60px 7vw;display:grid;grid-template-columns:1.3fr .6fr .6fr 1fr;gap:38px;background:#fffdf8;border-top:var(--border)}.site-footer a:not(.footer-brand){display:block;margin:9px 0;color:var(--muted)}.site-footer p,.site-footer small{color:var(--muted)}.newsletter{display:flex}.newsletter input{padding:12px 16px;border:var(--border);border-radius:999px 0 0 999px;min-width:0}.newsletter button{border:0;background:var(--g);color:white;border-radius:0 999px 999px 0;width:48px}.page-hero{padding:90px 7vw;background:linear-gradient(90deg,rgba(251,248,242,.97),rgba(251,248,242,.75)),url('images/background-banner.png') center/cover}.page-hero h1,.job-hero h1,.article h1{font-size:clamp(46px,6vw,80px)}.page-hero p:not(.eyebrow){font-size:18px;max-width:650px;color:#4f5851}.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.role-card,.empty-slot{min-height:180px;background:white;border:var(--border);box-shadow:0 10px 28px rgba(27,37,31,.05);border-radius:18px;padding:28px;display:grid;grid-template-columns:62px 1fr;gap:20px}.role-icon{width:58px;height:58px;border-radius:50%;background:var(--g);color:white;display:grid;place-items:center;font-size:25px}.role-card h3{font-size:23px}.role-card p{color:var(--muted);font-size:14px}.role-card span{color:var(--g);font-weight:800}.empty-slot{display:grid;place-items:center;border-style:dashed;color:rgba(23,63,44,.25);font-size:32px}.job-hero{display:grid;grid-template-columns:1fr .9fr;background:white}.job-hero>div{padding:75px 7vw;display:flex;flex-direction:column;gap:20px;justify-content:center}.job-hero img{height:100%;width:100%;object-fit:cover}.back{font-weight:800;color:var(--g)}.jd{padding:80px 7vw;display:grid;grid-template-columns:1.35fr .55fr;gap:42px}.jd article,.jd aside,.letter{background:white;border:var(--border);box-shadow:var(--shadow);border-radius:22px;padding:40px}.jd h2{font-size:34px;margin:28px 0 12px}.jd h2:first-child{margin-top:0}.two{display:grid;grid-template-columns:1fr 1fr;gap:30px}.jd li{margin:10px 0}.article-carousel{height:560px;border-radius:0;background:#f3eee5}.article{max-width:930px;margin:auto;padding:75px 24px;text-align:center}.article .lead{font-size:20px;color:var(--muted);margin:20px auto 36px}.article>p:not(.lead):not(.eyebrow){text-align:left;color:#4f5851;margin:18px auto;max-width:760px}.letter{text-align:left;margin:50px 0;background:#fffaf0;border-color:rgba(179,138,76,.25)}.letter h2{color:var(--gold);font-size:34px}.letter p{margin:16px 0}.article .btn-row{justify-content:center}@media(max-width:950px){.hero,.about,.product-grid,.intern-preview,.people,.job-hero,.jd,.site-footer{grid-template-columns:1fr}.preview-cards,.role-grid{grid-template-columns:1fr}.story-card{grid-template-columns:1fr}.story-card aside{grid-column:auto;grid-row:auto}.two{grid-template-columns:1fr}.cta{flex-direction:column;align-items:flex-start}}@media(max-width:680px){.nav-links{display:none;position:absolute;top:70px;left:20px;right:20px;background:white;padding:18px;border-radius:16px;box-shadow:var(--shadow);flex-direction:column}.nav-links.open{display:flex}.menu-toggle{display:block;background:transparent;border:0;font-size:26px}.site-header{padding:0 22px}.hero-copy,.section,.intern-preview,.people,.jd{padding-inline:24px}.hero h1,.intern-preview h2,.people h2{font-size:42px}.site-footer{padding-bottom:80px}}


/* --- Fixes added: square product images, cleaner product cards, contact form page --- */
.product-section > .eyebrow.center,
.product-section > h2.center { text-align: center; }
.product-square-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(150px,1fr));
  gap:24px;
  margin-top:36px;
}
.product-square-card{
  background:#fff;
  border:var(--border);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(27,37,31,.05);
  padding-bottom:20px;
}
.product-image-box{
  aspect-ratio:1/1;
  width:100%;
  background:#f5f0e8;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.product-image-box img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:0;
}
.product-square-card h3{
  font-family:Inter,Arial,sans-serif;
  font-size:16px;
  line-height:1.25;
  color:var(--g);
  margin:18px 18px 8px;
}
.product-square-card p{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
  margin:0 18px;
}
.hero-img{
  background:#f3eee5;
  min-height:420px;
}
.hero-img img{
  display:block;
  height:100%;
  width:100%;
  object-fit:cover;
}
.contact-page{
  min-height:calc(100vh - 76px);
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:6vw;
  padding:90px 7vw;
  background:linear-gradient(120deg,#fbf8f2,#f2ecdf);
}
.contact-intro h1{
  font-size:clamp(42px,5vw,74px);
  margin:14px 0 20px;
}
.contact-intro p:not(.eyebrow){
  color:#4f5851;
  max-width:560px;
  font-size:17px;
}
.contact-form{
  background:#fff;
  border:var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:clamp(28px,4vw,50px);
  display:grid;
  gap:18px;
}
.contact-form label{
  display:grid;
  gap:8px;
  color:var(--g);
  font-weight:800;
  font-size:14px;
}
.contact-form input,.contact-form select,.contact-form textarea{
  width:100%;
  border:var(--border);
  border-radius:10px;
  padding:14px 16px;
  font:inherit;
  color:var(--text);
  background:#fffdf8;
}
.contact-form textarea{resize:vertical;}
.hidden{display:none;}
@media(max-width:1100px){.product-square-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.product-square-grid{grid-template-columns:1fr}.contact-page{grid-template-columns:1fr;padding:58px 24px}}


/* --- Regenerated fixes: prevent group photos from awkward cropping --- */
.article-carousel img{
  object-fit:contain !important;
  object-position:center !important;
  background:#f3eee5;
}
.story-card .carousel{
  min-height:340px;
}
.story-card .carousel img{
  object-fit:contain !important;
  object-position:center !important;
  background:#f3eee5;
}
@media(max-width:720px){
  .story-card .carousel{min-height:240px;}
  .article-carousel{height:340px;}
}

/* === Dark green header update === */
.site-header {
  background: #0f3d2e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 28px rgba(15, 61, 46, 0.18);
}

.brand,
.brand span,
.nav-links a,
.menu-toggle {
  color: #fffdf8 !important;
}

.brand img {
  background: #fffdf8;
  border-radius: 10px;
  padding: 4px;
}

.nav-links a:hover,
.nav-links .active {
  color: #f1dfbd !important;
}

@media (max-width: 720px) {
  .nav-links {
    background: #0f3d2e !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
  }
}

/* === Final CTA and contact button polish === */
.site-cta {
  background:
    linear-gradient(90deg, rgba(23,63,44,0.72), rgba(23,63,44,0.44)),
    url("images/wide-background-banner.png") center center / cover no-repeat !important;
}

.site-cta .btn,
.site-cta .btn-light {
  white-space: nowrap;
  min-width: 148px;
  height: 54px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1;
}

.site-cta .btn-light {
  background: #fffdf8;
  color: #0f3d2e;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

/* === Clean footer: newsletter removed, spacing improved === */
.site-footer {
  grid-template-columns: minmax(280px, 1.4fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr) !important;
  justify-content: space-between;
  align-items: start;
  column-gap: clamp(56px, 10vw, 160px);
  row-gap: 34px;
}

.site-footer > div:first-child {
  max-width: 430px;
}

.site-footer h4 {
  margin-bottom: 18px;
}

.site-footer a:not(.footer-brand) {
  margin: 12px 0;
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: 1fr 1fr !important;
  }

  .site-footer > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-footer {
    grid-template-columns: 1fr !important;
  }
}

/* === Header logo removed + CTA button fixed === */
.site-header .brand img {
  display: none !important;
}

.site-header .brand {
  gap: 0 !important;
}

.site-cta .btn,
.site-cta .btn-light {
  white-space: nowrap !important;
  min-width: 190px !important;
  width: auto !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 32px !important;
  border-radius: 9px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.site-cta .btn-light {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* === Logo fully removed + Award story card === */
.brand,
.footer-brand {
  gap: 0 !important;
}

.brand img,
.footer-brand img,
.site-header .brand img {
  display: none !important;
}

.brand span,
.footer-brand span {
  display: inline-block;
}

.award-story-card {
  background: var(--cream);
  border-radius: 18px;
  border: var(--border);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 10px 28px rgba(27,37,31,0.05);
  min-height: 100%;
}

.award-story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 10px 0;
}

.award-story-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: #f5efe5;
}

.award-story-content {
  padding: 22px;
}

.award-story-content h3 {
  font-size: 26px;
  margin: 10px 0 10px;
}

.award-story-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.award-story-content span {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

@media (max-width: 980px) {
  .award-story-card {
    min-height: auto;
  }
}

/* === Final consolidated updates: no logo, clean footer, award article === */
.brand,
.footer-brand {
  gap: 0 !important;
}

.brand img,
.footer-brand img,
.site-header .brand img {
  display: none !important;
}

.site-footer {
  grid-template-columns: minmax(280px, 1.4fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr) !important;
  justify-content: space-between;
  align-items: start;
  column-gap: clamp(56px, 10vw, 160px);
  row-gap: 34px;
}

.site-footer > div:first-child {
  max-width: 430px;
}

.newsletter,
.site-footer h4:has(+ .newsletter) {
  display: none !important;
}

.site-cta {
  background:
    linear-gradient(90deg, rgba(23,63,44,0.72), rgba(23,63,44,0.44)),
    url("images/wide-background-banner.png") center center / cover no-repeat !important;
}

.site-cta .btn,
.site-cta .btn-light {
  white-space: nowrap !important;
  min-width: 190px !important;
  width: auto !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 32px !important;
  border-radius: 9px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.award-story-card {
  background: var(--cream);
  border-radius: 18px;
  border: var(--border);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 10px 28px rgba(27,37,31,0.05);
  min-height: 100%;
}

.award-story-single-image {
  padding: 12px 12px 0;
}

.award-story-single-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 12px;
  background: #fffdf8;
  border: 1px solid rgba(31, 37, 32, 0.08);
}

.award-story-images {
  display: none !important;
}

.award-story-content {
  padding: 22px;
}

.award-story-content h3 {
  font-size: 24px;
  margin: 10px 0 10px;
}

.award-story-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.award-story-content span {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.award-article {
  padding: clamp(54px, 7vw, 96px) clamp(24px, 7vw, 92px);
}

.award-article-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  margin-top: 28px;
}

.award-article-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
}

.award-article .article-subtitle {
  color: var(--muted);
  font-size: 18px;
  margin-top: 20px;
  max-width: 620px;
}

.award-image-frame {
  background: white;
  border-radius: 22px;
  border: var(--border);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 34px);
}

.award-image-frame img {
  width: 100%;
  border-radius: 14px;
  object-fit: contain;
}

.award-article-body {
  max-width: 900px;
  margin: clamp(46px, 6vw, 76px) auto 0;
  background: white;
  border: var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(27,37,31,0.05);
  padding: clamp(32px, 5vw, 64px);
}

.award-article-body p {
  color: #4f5851;
  margin: 0 0 20px;
  font-size: 17px;
}

@media (max-width: 980px) {
  .award-article-hero {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr !important;
  }

  .site-footer > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-footer {
    grid-template-columns: 1fr !important;
  }
}



/* === Matching story card layout on homepage === */
.story-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.story-post-card {
  background: var(--cream);
  border-radius: 18px;
  border: var(--border);
  box-shadow: 0 10px 28px rgba(27,37,31,0.05);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.story-post-media {
  margin: 12px 12px 0;
  border-radius: 14px;
  background: #fffdf8;
  border: 1px solid rgba(31, 37, 32, 0.08);
  overflow: hidden;
}

.story-post-card .carousel {
  min-height: 270px;
}

.story-post-card .carousel img {
  object-fit: contain !important;
  object-position: center !important;
  background: #fffdf8;
}

.story-post-content {
  padding: 22px;
}

.story-post-content h3 {
  font-size: 24px;
  margin: 10px 0 10px;
}

.story-post-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.story-post-content span {
  color: var(--g);
  font-weight: 800;
  font-size: 14px;
}

.story-card,
.award-story-aside {
  display: contents;
}

@media (max-width: 980px) {
  .story-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .story-post-card .carousel {
    min-height: 230px;
  }
}


/* === Internship card alignment and clickability refinement === */
.preview-cards {
  align-items: stretch !important;
}

.preview-cards a.preview-card {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 382px !important;
  padding: 40px 36px 34px !important;
  border-radius: 22px !important;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.preview-cards a.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(27,37,31,.12) !important;
  border-color: rgba(23,63,44,.24) !important;
}

.preview-icon {
  display: none !important;
}

.preview-cards a.preview-card strong {
  display: block !important;
  min-height: 104px;
  margin: 0;
  font-size: clamp(25px, 2.2vw, 31px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  color: var(--g) !important;
}

.preview-cards a.preview-card p {
  min-height: 92px;
  margin: 22px 0 26px !important;
  color: #3f4a43 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  max-width: 100% !important;
}

.preview-cards a.preview-card span {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--g);
  color: #fffdf8 !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(23,63,44,.18);
}

.preview-cards a.preview-card:focus-visible,
.role-card:focus-visible {
  outline: 3px solid rgba(179,138,76,.55);
  outline-offset: 4px;
}

/* Full internship positions grid: no emoji icons, consistent alignment, whole card clickable */
.role-grid {
  align-items: stretch !important;
}

.role-card {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  min-height: 240px !important;
  padding: 30px !important;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(27,37,31,.09) !important;
  border-color: rgba(23,63,44,.22) !important;
}

.role-icon {
  display: none !important;
}

.role-card h3 {
  min-height: 62px;
  margin: 0 0 16px;
  font-size: 24px !important;
  line-height: 1.22 !important;
}

.role-card p {
  min-height: 68px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.role-card span {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--g);
  color: #fffdf8 !important;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 950px) {
  .preview-cards a.preview-card,
  .role-card {
    min-height: auto !important;
  }

  .preview-cards a.preview-card strong,
  .preview-cards a.preview-card p,
  .role-card h3,
  .role-card p {
    min-height: 0;
  }
}


/* === CTA banner layout refinement: remove eyebrow-style CTAs and place buttons bottom-left === */
.site-cta {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  min-height: 260px;
  padding: clamp(38px, 5vw, 54px) clamp(28px, 5vw, 54px) !important;
}

.site-cta .site-cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 720px;
  min-height: 100%;
}

.site-cta .site-cta-content h2 {
  margin: 0;
  max-width: 680px;
}

.site-cta .site-cta-content p {
  max-width: 690px;
  margin: 18px 0 0;
}

.site-cta .site-cta-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.site-cta.application-cta {
  min-height: 260px;
}

@media (max-width: 950px) {
  .site-cta {
    min-height: auto;
  }

  .site-cta .site-cta-content {
    min-height: 0;
  }

  .site-cta .site-cta-content .btn {
    margin-top: 28px;
  }
}


/* === Final typography and footer system === */
:root {
  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: Inter, Arial, sans-serif;
  --footer-cream: #fffdf8;
  --footer-cream-2: #f6f0e6;
  --footer-line: rgba(31, 37, 32, 0.11);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.brand,
.footer-brand,
.footer-explore h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

p,
li,
a,
small,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

.hero h1,
.page-hero h1,
.job-hero h1,
.article h1,
.award-article-hero h1 {
  font-size: clamp(44px, 5.2vw, 72px) !important;
  line-height: 1.08 !important;
}

.section > h2,
.about h2,
.intern-preview h2,
.people h2,
.cta h2,
.site-cta h2 {
  font-size: clamp(34px, 4.2vw, 56px) !important;
  line-height: 1.12 !important;
}

p,
.hero p,
.about p,
.intern-preview p,
.people p,
.page-hero p:not(.eyebrow),
.jd li,
.article p,
.award-article-body p {
  font-size: 16px;
  line-height: 1.65;
}

.eyebrow {
  font-size: 12px !important;
  line-height: 1.2;
  letter-spacing: .105em;
  font-weight: 800;
}

.nav-links,
.btn,
.preview-cards a.preview-card span,
.role-card span,
.story-post-content span,
.award-story-content span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .005em;
}

.product-square-card h3,
.role-card h3,
.preview-cards a.preview-card strong,
.story-post-content h3,
.award-story-content h3 {
  font-family: var(--font-heading) !important;
}

/* Premium footer matching the approved typography direction */
.site-footer.refined-footer {
  display: block !important;
  position: relative;
  padding: 0 !important;
  margin: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(239, 231, 216, 0.38), transparent 38%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%);
  border-top: 1px solid rgba(179, 138, 76, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 -12px 34px rgba(27,37,31,.035);
  color: var(--text);
}

.site-footer.refined-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(28px, 7vw, 110px);
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
}

.footer-inner {
  width: min(1160px, calc(100% - 14vw));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 108px) 0 clamp(72px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(260px, 0.72fr);
  column-gap: clamp(70px, 10vw, 140px);
  align-items: start;
}

.footer-intro {
  max-width: 560px !important;
}

.footer-brand {
  display: inline-flex;
  color: var(--g) !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(48px, 6vw, 74px) !important;
  font-weight: 400 !important;
  line-height: .96 !important;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
}

.footer-tagline {
  margin: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
  color: #937348 !important;
}

.footer-accent-line {
  display: block;
  width: 54px;
  height: 2px;
  margin: 28px 0 28px;
  background: var(--gold);
  border-radius: 999px;
}

.footer-description {
  max-width: 520px;
  margin: 0 !important;
  color: #42524a !important;
  font-size: clamp(16px, 1.6vw, 18px) !important;
  line-height: 1.8 !important;
}

.footer-soft-rule {
  display: block;
  width: min(100%, 410px);
  height: 1px;
  margin: 34px 0 24px;
  background: rgba(31,37,32,.11);
}

.footer-intro small {
  display: block;
  color: #4f5b54 !important;
  font-size: 14px !important;
  line-height: 1.5;
}

.footer-explore {
  position: relative;
  min-height: 100%;
  padding-left: clamp(54px, 7vw, 84px);
  border-left: 1px solid rgba(31,37,32,.14);
}

.footer-explore h4 {
  margin: 0 0 30px !important;
  color: var(--g);
  font-size: clamp(28px, 3vw, 38px) !important;
  font-weight: 400;
  line-height: 1.15;
}

.footer-nav-links {
  display: grid;
  gap: 20px;
}

.site-footer.refined-footer .footer-nav-links a {
  display: inline-flex !important;
  width: max-content;
  margin: 0 !important;
  color: #31423a !important;
  font-size: clamp(16px, 1.5vw, 18px) !important;
  line-height: 1.35;
  font-weight: 500;
  transition: color .2s ease, transform .2s ease;
}

.site-footer.refined-footer .footer-nav-links a:hover {
  color: var(--g) !important;
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .footer-inner {
    width: min(100% - 48px, 760px);
    grid-template-columns: 1fr;
    row-gap: 46px;
    padding-block: 64px;
  }

  .footer-explore {
    padding-left: 0;
    padding-top: 34px;
    border-left: 0;
    border-top: 1px solid rgba(31,37,32,.12);
  }

  .footer-nav-links {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-inner {
    width: calc(100% - 40px);
    padding-block: 52px;
  }

  .footer-brand {
    font-size: 44px !important;
  }

  .footer-tagline {
    letter-spacing: .18em;
    font-size: 11px !important;
  }

  .footer-nav-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* === Final cleanup: plaque image frame, unified CTA spacing, compact left-aligned footer === */
/* Remove the extra inner border/frame around the award plaque image on story cards. */
.story-post-card.award-story-card .story-post-media,
.story-post-card.award-story-card .award-story-single-image {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.story-post-card.award-story-card .story-post-media img,
.story-post-card.award-story-card .award-story-single-image img {
  border: 0 !important;
  box-shadow: none !important;
}

/* Standardise all wide CTA banners: no eyebrow, consistent line height, button bottom-left with breathing room. */
.site-cta .eyebrow {
  display: none !important;
}

.site-cta {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  min-height: 330px !important;
  padding: clamp(44px, 4.6vw, 56px) clamp(30px, 5vw, 58px) !important;
}

.site-cta .site-cta-content {
  display: grid !important;
  grid-template-rows: auto auto 1fr auto;
  align-items: start !important;
  justify-items: start !important;
  max-width: 720px !important;
  min-height: 218px !important;
}

.site-cta .site-cta-content h2 {
  margin: 0 !important;
  max-width: 680px !important;
  line-height: 1.1 !important;
}

.site-cta .site-cta-content p {
  margin: 22px 0 0 !important;
  max-width: 700px !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.site-cta .site-cta-content .btn {
  grid-row: 4 !important;
  margin-top: 34px !important;
  align-self: end !important;
  justify-self: start !important;
}

@media (max-width: 760px) {
  .site-cta {
    min-height: auto !important;
    padding: 38px 28px !important;
  }

  .site-cta .site-cta-content {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  .site-cta .site-cta-content .btn {
    margin-top: 30px !important;
  }
}

/* Compact, left-aligned footer. */
.site-footer.refined-footer {
  text-align: left !important;
  background:
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 -8px 24px rgba(27,37,31,.025) !important;
}

.site-footer.refined-footer::before {
  left: clamp(24px, 7vw, 96px) !important;
  width: 54px !important;
  height: 3px !important;
}

.footer-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 46px 7vw 48px !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 0.72fr) minmax(220px, 0.28fr) !important;
  column-gap: clamp(48px, 7vw, 94px) !important;
  align-items: start !important;
  justify-items: start !important;
}

.footer-intro {
  max-width: 500px !important;
  text-align: left !important;
}

.footer-brand {
  font-size: clamp(40px, 4vw, 52px) !important;
  line-height: 1 !important;
  margin: 0 0 16px !important;
  text-align: left !important;
}

.footer-tagline,
.footer-accent-line {
  display: none !important;
}

.footer-description {
  max-width: 460px !important;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  text-align: left !important;
}

.footer-soft-rule {
  width: min(100%, 340px) !important;
  margin: 22px 0 16px !important;
}

.footer-intro small {
  font-size: 13px !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.footer-explore {
  min-height: auto !important;
  padding-left: clamp(34px, 5vw, 60px) !important;
  border-left: 1px solid rgba(31,37,32,.13) !important;
  text-align: left !important;
  justify-self: start !important;
}

.footer-explore h4 {
  margin: 0 0 18px !important;
  font-size: clamp(26px, 2.5vw, 34px) !important;
  line-height: 1.15 !important;
  text-align: left !important;
}

.footer-nav-links {
  display: grid !important;
  gap: 12px !important;
  justify-items: start !important;
}

.site-footer.refined-footer .footer-nav-links a {
  font-size: 15px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
    row-gap: 30px !important;
    padding: 42px 24px 44px !important;
  }

  .footer-explore {
    padding-left: 0 !important;
    padding-top: 26px !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(31,37,32,.12) !important;
  }
}


/* === Internship grid final text alignment + Human Resource update === */
.role-grid {
  align-items: stretch !important;
}

.role-card {
  display: grid !important;
  grid-template-rows: 76px 18px auto 1fr 46px !important;
  min-height: 230px !important;
  padding: 34px 32px 30px !important;
  gap: 0 !important;
}

.role-card h3 {
  grid-row: 1 !important;
  min-height: 0 !important;
  margin: 0 !important;
  font-size: clamp(25px, 2.05vw, 32px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  max-width: 94%;
}

.role-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 22px;
  border-radius: 999px;
  background: rgba(23, 63, 44, 0.22);
}

.role-card p {
  grid-row: 3 !important;
  min-height: 0 !important;
  margin: 0 !important;
  align-self: start !important;
  color: #31423a !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  max-width: 92%;
}

.role-card span {
  grid-row: 5 !important;
  align-self: end !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  border: 1px solid rgba(23, 63, 44, 0.55) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--g) !important;
  box-shadow: none !important;
}

.role-card:hover span {
  background: var(--g) !important;
  color: #fffdf8 !important;
}

@media (max-width: 950px) {
  .role-card {
    grid-template-rows: auto 18px auto 28px 46px !important;
    min-height: 0 !important;
  }
}

/* === Header alignment and typography refinement === */
.site-header {
  padding-left: clamp(30px, 4vw, 78px) !important;
  padding-right: clamp(30px, 6vw, 112px) !important;
}

.site-header .brand,
.site-header .brand span {
  font-size: clamp(34px, 2.25vw, 42px) !important;
  line-height: 1 !important;
  letter-spacing: -0.035em !important;
}

.site-header .nav-links {
  gap: clamp(30px, 2.8vw, 46px) !important;
  align-items: center !important;
}

.site-header .nav-links a {
  font-size: clamp(15px, 0.92vw, 17px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

@media (max-width: 680px) {
  .site-header {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .site-header .brand,
  .site-header .brand span {
    font-size: 32px !important;
  }

  .site-header .nav-links a {
    font-size: 16px !important;
  }
}

/* === Final internship card balance pass: natural content flow, no clutter/sparse mismatch === */
.role-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

.role-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 278px !important;
  padding: 34px 34px 30px !important;
  gap: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

.role-card h3 {
  margin: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  font-size: clamp(24px, 1.7vw, 29px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.role-card h3::after {
  content: "" !important;
  display: block !important;
  width: 42px !important;
  height: 3px !important;
  margin: 20px 0 0 !important;
  border-radius: 999px !important;
  background: rgba(23, 63, 44, 0.22) !important;
}

.role-card p {
  margin: 26px 0 28px !important;
  min-height: 0 !important;
  max-width: 96% !important;
  color: #31423a !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
  align-self: stretch !important;
}

.role-card span {
  margin-top: auto !important;
  align-self: stretch !important;
  justify-self: auto !important;
  width: 100% !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(23, 63, 44, 0.58) !important;
  border-radius: 999px !important;
  color: var(--g) !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease !important;
}

.role-card:hover span {
  background: var(--g) !important;
  color: #fffdf8 !important;
  border-color: var(--g) !important;
}

.role-card:hover {
  transform: translateY(-3px) !important;
}

@media (min-width: 951px) and (max-width: 1280px) {
  .role-card {
    min-height: 292px !important;
    padding: 32px 30px 28px !important;
  }

  .role-card h3 {
    font-size: clamp(23px, 2.15vw, 27px) !important;
  }
}

@media (max-width: 950px) {
  .role-grid {
    grid-template-columns: 1fr !important;
  }

  .role-card {
    min-height: 0 !important;
    padding: 30px 28px 28px !important;
  }

  .role-card p {
    margin-bottom: 28px !important;
  }
}

/* === Restored final build + taller internship cards === */
@media (min-width: 951px) {
  .role-grid {
    gap: 34px !important;
  }

  .role-card {
    min-height: 340px !important;
    padding: 38px 34px 32px !important;
  }

  .role-card h3 {
    line-height: 1.18 !important;
  }

  .role-card p {
    margin-top: 30px !important;
    margin-bottom: 34px !important;
  }
}

@media (min-width: 951px) and (max-width: 1280px) {
  .role-card {
    min-height: 335px !important;
    padding: 36px 32px 30px !important;
  }
}


/* === Internship page final alignment polish ===
   Fixes remaining slight misalignment by giving every role card the same internal rhythm:
   fixed title/divider row, aligned description row, and bottom-aligned CTA. */
@media (min-width: 951px) {
  .role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    align-items: stretch !important;
  }

  .role-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 146px auto 1fr auto !important;
    min-height: 360px !important;
    padding: 36px 34px 32px !important;
    gap: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .role-card h3 {
    grid-row: 1 !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 0 26px !important;
    min-height: 0 !important;
    max-width: 96% !important;
    font-size: clamp(23px, 1.5vw, 29px) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.026em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .role-card h3::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 42px !important;
    height: 3px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: rgba(23, 63, 44, 0.22) !important;
  }

  .role-card p {
    grid-row: 2 !important;
    align-self: start !important;
    margin: 26px 0 0 !important;
    min-height: 76px !important;
    max-width: 96% !important;
    color: #31423a !important;
    font-size: 15px !important;
    line-height: 1.58 !important;
  }

  .role-card span {
    grid-row: 4 !important;
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 30px 0 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(23, 63, 44, 0.58) !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--g) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .005em !important;
  }

  .role-card:hover span {
    background: var(--g) !important;
    color: #fffdf8 !important;
    border-color: var(--g) !important;
  }

  .empty-slot {
    min-height: 360px !important;
  }
}

@media (max-width: 950px) {
  .role-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 30px 28px 28px !important;
  }

  .role-card h3 {
    padding: 0 !important;
    font-size: 27px !important;
    line-height: 1.16 !important;
  }

  .role-card h3::after {
    position: static !important;
    display: block !important;
    margin-top: 18px !important;
  }

  .role-card p {
    margin: 24px 0 28px !important;
    min-height: 0 !important;
  }

  .role-card span {
    margin-top: auto !important;
  }
}


/* === Stories carousel: show two story cards, allow more stories to rotate === */
.story-carousel-wrap {
  position: relative;
  min-width: 0;
}

.story-carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
}

.story-carousel-track {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 2);
  grid-template-columns: none !important;
  gap: 24px;
  align-items: stretch;
  transition: transform .38s ease;
  will-change: transform;
}

.story-carousel-track .story-post-card {
  min-width: 0;
}

.story-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23,63,44,.16);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--g);
  box-shadow: 0 14px 34px rgba(27,37,31,.10);
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.story-carousel-btn:hover {
  background: var(--g);
  color: #fffdf8;
}

.story-carousel-prev {
  left: -22px;
}

.story-carousel-next {
  right: -22px;
}

.story-carousel-btn.is-disabled {
  opacity: .35;
  pointer-events: none;
}

.story-post-card {
  min-height: 100%;
}

.story-post-card .award-story-single-image img {
  border: 0 !important;
  box-shadow: none !important;
}

/* Prevent image carousel buttons inside story cards from opening the story link. */
.story-post-card .carousel button {
  z-index: 5;
}

@media (max-width: 980px) {
  .story-carousel-track {
    grid-auto-columns: 100%;
  }

  .story-carousel-prev {
    left: 12px;
  }

  .story-carousel-next {
    right: 12px;
  }
}


/* === Contact page locations section with embedded map === */
.locations-section {
  padding: clamp(64px, 7vw, 96px) 7vw;
  background: #fffdf8;
  border-top: 1px solid rgba(31,37,32,.08);
}

.locations-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.locations-copy h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.12;
  margin: 10px 0 16px;
}

.locations-copy p:not(.eyebrow) {
  color: #4f5851;
  font-size: 16px;
  line-height: 1.7;
}

.locations-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: stretch;
}

.location-cards {
  display: grid;
  gap: 18px;
}

.location-card {
  background: var(--cream);
  border: var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(27,37,31,.045);
}

.location-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.location-card h3 {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.16;
  margin: 0 0 14px;
}

.location-card p {
  color: #42524a;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.location-card a,
.location-placeholder {
  display: inline-flex;
  align-items: center;
  color: var(--g);
  font-size: 14px;
  font-weight: 800;
}

.placeholder-location-card {
  background:
    linear-gradient(135deg, rgba(237,241,234,.76), rgba(251,248,242,.9));
  border-style: dashed;
}

.map-panel {
  background: var(--cream);
  border: var(--border);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow);
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.map-panel iframe {
  width: 100%;
  min-height: 410px;
  flex: 1;
  border: 0;
  border-radius: 16px;
  background: #edf1ea;
}

.map-note {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .locations-layout {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 380px;
  }

  .map-panel iframe {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .locations-section {
    padding-inline: 24px;
  }

  .location-card {
    padding: 24px;
  }
}


/* === Two-location contact section update === */
.location-card-with-photo .location-photo {
  margin: 2px 0 18px;
  border-radius: 16px;
  overflow: hidden;
  border: var(--border);
  background: #edf1ea;
}

.location-card-with-photo .location-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.map-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.map-switch {
  appearance: none;
  border: 1px solid rgba(23,63,44,.16);
  background: #fffdf8;
  color: var(--g);
  border-radius: 999px;
  padding: 11px 16px;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.map-switch:hover {
  transform: translateY(-1px);
  border-color: rgba(23,63,44,.35);
}

.map-switch.is-active {
  background: var(--g);
  color: #fffdf8;
  border-color: var(--g);
}


/* === Bao'an location image placeholder === */
.location-photo-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(237,241,234,.88), rgba(251,248,242,.96));
  border: 1px dashed rgba(23,63,44,.24);
}

.location-photo-placeholder span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 18px;
}


/* === Stories carousel corner clipping fix ===
   The carousel viewport needs overflow hidden for sliding, but the track was flush to the
   viewport edge, so rounded card corners/shadows could look cropped. This gives the cards
   breathing room inside the clipping area while keeping two visible cards on desktop. */
.story-carousel-wrap {
  padding-inline: 26px !important;
}

.story-carousel-viewport {
  overflow: hidden !important;
  border-radius: 28px !important;
  padding: 18px !important;
  margin: -18px !important;
}

.story-carousel-track {
  grid-auto-columns: calc((100% - 24px) / 2) !important;
}

.story-carousel-track .story-post-card {
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 34px rgba(27,37,31,0.075) !important;
}

.story-carousel-prev {
  left: 0 !important;
}

.story-carousel-next {
  right: 0 !important;
}

@media (max-width: 980px) {
  .story-carousel-wrap {
    padding-inline: 0 !important;
  }

  .story-carousel-viewport {
    padding: 14px !important;
    margin: -14px !important;
  }

  .story-carousel-track {
    grid-auto-columns: 100% !important;
  }

  .story-carousel-prev {
    left: 10px !important;
  }

  .story-carousel-next {
    right: 10px !important;
  }
}


/* === Netlify form success page === */
.thank-you-page {
  min-height: calc(100vh - 76px);
  padding: clamp(72px, 8vw, 120px) 7vw;
  display: grid;
  place-items: center;
  background:
    linear-gradient(120deg, rgba(251,248,242,.95), rgba(242,236,223,.9)),
    url("images/wide-background-banner.png") center/cover no-repeat;
}

.thank-you-card {
  width: min(780px, 100%);
  background: #fffdf8;
  border: var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(34px, 5vw, 64px);
  text-align: left;
}

.thank-you-card h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.thank-you-card p:not(.eyebrow) {
  color: #4f5851;
  font-size: 17px;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 30px;
}


/* === Language toggle and bilingual typography === */
.site-header {
  gap: 24px;
}

.site-header .brand {
  order: 1;
  margin-right: auto;
}

.site-header .nav-links {
  order: 2;
  margin-left: auto;
}

.language-toggle {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}

.language-option {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: rgba(255,253,248,.72);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.language-option.is-active {
  background: #fffdf8;
  color: #0f3d2e;
}

.menu-toggle {
  order: 4;
}

body.lang-zh {
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

body.lang-zh h1,
body.lang-zh h2,
body.lang-zh h3,
body.lang-zh .brand,
body.lang-zh .footer-brand,
body.lang-zh .footer-explore h4,
body.lang-zh .preview-cards a.preview-card strong,
body.lang-zh .role-card h3,
body.lang-zh .story-post-content h3,
body.lang-zh .award-story-content h3 {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", "Microsoft YaHei", serif !important;
  letter-spacing: -0.015em;
}

body.lang-zh .eyebrow,
body.lang-zh .footer-tagline {
  letter-spacing: .08em;
}

body.lang-zh .role-card h3 {
  line-height: 1.2 !important;
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
  }

  .site-header .brand {
    margin-right: auto;
  }

  .language-toggle {
    padding: 3px;
  }

  .language-option {
    padding: 7px 9px;
    font-size: 11px;
  }
}
