/* Global Tokens and Base Styles */
:root {
  --ivory: #F9F4F5;
  --navy: #03256C;
  --ink: #03256C;
  --muted: #6e7278;
  --line: rgba(3,37,108,.16);
  --serif: 'Playfair Display',Georgia,serif;
  --sans: 'DM Sans',Arial,sans-serif;
  --sage: #E7EEF0;
  --sand: #EEE8EB;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 15px/1.65 var(--sans);
  -webkit-font-smoothing:antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input,textarea,select {
  font: inherit;
}
.container {
  width: min(1160px,calc(100% - 48px));
  margin: auto;
}
/* Announcement Bar and Navigation */
.announcement {
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 10px;
  letter-spacing: .055em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #F9F4F5f2;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--navy);
  font: 700 14px/.96 var(--serif);
  letter-spacing: -.025em;
}
.brand-emblem {
  display: block;
  width: 68px;
  max-height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-logo {
  display: block;
  width: 192px;
  max-height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #43474e;
  font-size: 12px;
  font-weight: 600;
}
.nav-links>a:hover,.text-link:hover {
  color: #658E9C;
}
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
}
.language-button {
  min-width: 34px;
  height: 27px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.language-button.active {
  background: var(--navy);
  color: #fff;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 20px;
  color: var(--navy);
}
/* Buttons */
.button {
  min-height: 45px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
  transition: transform .2s,background .2s;
}
.button:hover {
  transform: translateY(-2px);
  background: #163B80;
}
.button-small {
  min-height: 37px;
  padding: 0 13px;
}
.button-dark {
  background: var(--navy);
}
.button-light {
  background: transparent;
  color: var(--navy);
}
.button-light:hover {
  background: #fff;
  color: var(--navy);
}
/* Home Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 650px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #24354f;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(13,25,43,.75), rgba(13,25,43,.48) 55%, rgba(13,25,43,.32));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  align-items: center;
  justify-items: center;
  padding-top: 80px;
  padding-bottom: 90px;
  text-align: center;
}
.hero-copy {
  max-width: 780px;
}
.hero .eyebrow {
  color: rgba(255,255,255,.9);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  color: #fff;
  font: 600 clamp(55px,7vw,86px)/.99 var(--serif);
  letter-spacing: -.065em;
}
.hero h1 em {
  font-weight: 500;
  color: #a9d2df;
}
.lead {
  max-width: 640px;
  margin: 25px auto 27px;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero .button {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--navy);
}
.hero .button:hover {
  background: #fff;
}
.quiet-note {
  color: rgba(255,255,255,.78);
  font-size: 10px;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  background: #24354f;
}
.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}
/* Collection and Prototype Cards */
.section {
  padding: 91px 0;
}
.collection {
  background: #fff;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-head h2,.about h2 {
  margin: 0;
  color: var(--navy);
  font: 600 clamp(36px,4.5vw,51px)/1.1 var(--serif);
  letter-spacing: -.045em;
}
.section-copy {
  max-width: 470px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 33px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.search {
  position: relative;
  flex: 0 1 310px;
}
.search span {
  position: absolute;
  top: 2px;
  left: 12px;
  color: #858a8d;
  font-size: 24px;
  line-height: 30px;
}
.search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 39px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  outline: none;
  font-size: 12px;
}
.search input:focus {
  border-color: #658E9C;
  box-shadow: 0 0 0 3px #03256C12;
}
.filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid transparent;
  border-radius: 30px;
  background: transparent;
  padding: 7px 11px;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}
.filter.active {
  background: #E7EEF0;
  color: var(--navy);
  font-weight: 700;
}
.result-count {
  margin-left: auto;
  color: #888b90;
  white-space: nowrap;
  font-size: 10px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin-top: 25px;
}
.prototype-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
  transition: transform .2s,box-shadow .2s;
}
.prototype-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px #03256C13;
}
.card-cover {
  height: 170px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #E7EEF0;
}
.cover-window {
  width: 70%;
  height: 68%;
  padding: 13px;
  border: 1px solid white;
  background: #ffffffc9;
  box-shadow: 0 10px 25px #03256C15;
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 10px;
}
.cover-side {
  background: #DCE8EB;
}
.cover-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cover-main i {
  height: 9px;
  width: 65%;
  background: #DCE8EB;
}
.cover-main i:nth-child(2) {
  width: 40%;
  height: 6px;
  background: #EEE8EB;
}
.cover-tiles {
  display: flex;
  gap: 5px;
  flex: 1;
}
.cover-tiles b {
  flex: 1;
  background: #DCE8EB;
}
.cover-tiles b:nth-child(2) {
  background: #EEE8EB;
}
.cover-tiles b:nth-child(3) {
  background: #E4EAEC;
}
.card-cover img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-cover.has-image .cover-window {
  display: none;
}
.card-body {
  padding: 16px 17px 14px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tag {
  padding: 4px 8px;
  background: #E7EEF0;
  color: #527987;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
}
.date {
  color: #92959a;
  font-size: 9px;
}
.card-body h3 {
  margin: 12px 0 5px;
  color: var(--navy);
  font: 600 19px/1.3 var(--serif);
}
.card-body p {
  min-height: 41px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow: hidden;
}
.card-footer {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.open-link,.delete-link {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
}
.open-link span {
  margin-left: 5px;
}
.delete-link {
  color: #658E9C;
  font-weight: 500;
}
.empty-state {
  grid-column: 1/-1;
  padding: 56px 18px;
  text-align: center;
  border: 1px dashed var(--line);
}
.empty-state h3 {
  margin: 0;
  color: var(--navy);
  font: 600 25px var(--serif);
}
.empty-state p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12px;
}
/* About Section and Footer */
.about {
  background: #F1EBEE;
}
.about-inner {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 25px;
  align-items: center;
}
.about-mark {
  align-self: start;
  color: #9BB5BD;
  font: 100px/.8 var(--serif);
}
.text-link {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.footer {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #888b90;
  font-size: 10px;
}
.footer .brand-logo {
  width: 170px;
  max-height: 64px;
}
.skip-link {
  position: absolute;
  top: -50px;
  left: 12px;
  z-index: 50;
  padding: 9px;
  background: #fff;
  color: var(--navy);
}
.skip-link:focus {
  top: 10px;
}
/* Responsive Layout */
@media(max-width:800px) {
  .hero-grid {
    min-height: 600px;
    padding-top: 70px;
    padding-bottom: 80px;
  }
  .toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .search {
    flex-basis: 100%;
  }
  .result-count {
    margin-left: auto;
  }
  .card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .about-inner {
    grid-template-columns: 65px 1fr;
  }
  .about-inner .text-link {
    grid-column: 2;
  }
  .about-mark {
    font-size: 80px;
  }
}
@media(max-width:560px) {
  .container {
    width: calc(100% - 32px);
  }
  .announcement {
    font-size: 9px;
  }
  .nav {
    height: 68px;
  }
  .brand-logo {
    width: 154px;
    max-height: 58px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 15px 16px 20px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links>a {
    text-align: center;
  }
  .language-toggle {
    align-self: center;
  }
  .hero-grid {
    min-height: 590px;
    padding-top: 56px;
    padding-bottom: 70px;
  }
  .hero h1 {
    font-size: 61px;
  }
  .lead {
    font-size: 13px;
  }
  .hero-actions {
    align-items: center;
    flex-direction: column;
    gap: 11px;
  }
  .section {
    padding: 65px 0;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-head h2,.about h2 {
    font-size: 39px;
  }
  .toolbar {
    margin-top: 23px;
    gap: 11px;
  }
  .filters {
    gap: 2px;
  }
  .filter {
    padding: 6px 8px;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card-cover {
    height: 185px;
  }
  .about-inner {
    grid-template-columns: 42px 1fr;
    gap: 13px;
  }
  .about-mark {
    font-size: 58px;
  }
  .about-inner .text-link {
    grid-column: 2;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 13px;
  }
}
