:root {
  color-scheme: light;
  --navy: #092e49;
  --blue: #094268;
  --yellow: #fecc08;
  --paper: #fffdf6;
  --ink: #102d3f;
  --muted: #476071;
  --line: #d7e0e5;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid #356aaa; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { background: var(--navy); color: white; border-bottom: 1px solid #ffffff29; }
.header-inner, .footer-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand, .site-header nav a { text-decoration: none; }
.brand { font-weight: 750; display: inline-flex; align-items: center; gap: .65rem; }
.flag { width: 1.7rem; height: 1.05rem; background: linear-gradient(transparent 43%, var(--yellow) 43% 59%, transparent 59%), linear-gradient(90deg, #397ea9 30%, var(--yellow) 30% 40%, #397ea9 40%); border-radius: 2px; }
.site-header nav { display: flex; gap: 1.5rem; font-size: .9rem; }
.site-header nav a:hover { text-decoration: underline; }
.hero { background: var(--navy); color: white; padding-block: clamp(2.2rem, 6vw, 5.4rem); }
.hero-inner { display: grid; grid-template-columns: 1.16fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.hero h1 { font-size: clamp(2.8rem, 6.55vw, 6rem); line-height: .99; letter-spacing: -.065em; font-weight: 800; }
.hero h1 span { color: var(--yellow); }
.hero p { margin-top: 1.6rem; max-width: 34ch; font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.55; color: #e5edf2; }
.hero p.deadline { margin-top: .75rem; font-size: 1rem; font-weight: 700; }
.hero-image { display: block; width: 100%; height: auto; border-radius: .85rem; background: #f5e5a1; }
.button { display: inline-flex; align-items: center; gap: 1.25rem; text-decoration: none; background: var(--yellow); color: var(--navy); padding: .86rem 1.2rem; border: 0; border-radius: .45rem; font: inherit; font-weight: 750; cursor: pointer; }
.button:hover { background: #ffda48; }
.hero .button { margin-top: 1.7rem; }

.catalogue { padding-block: 3.7rem 4rem; }
.section-heading, .collection-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section-heading { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.06; letter-spacing: -.045em; }
.collection-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.collection-links a { padding: .4rem .9rem; border: 1px solid #bfcdd6; border-radius: 2rem; text-decoration: none; font-size: .9rem; font-weight: 700; }
.collection-links a:hover { background: #edf3f6; }
.collection { margin-top: 2.35rem; scroll-margin: 1.25rem; }
.collection-heading { margin-bottom: 1rem; }
.collection-heading h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.collection-heading a { color: var(--blue); font-size: .88rem; }
.products { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: white; }
.product a { display: block; }
.product a:focus-visible { outline-offset: -4px; }
.product img { display: block; width: 100%; height: auto; background: #efe6ba; }
.product-info { padding: .85rem .85rem 1rem; flex: 1; display: flex; align-items: flex-start; flex-direction: column; }
.product-info h4 { font-size: 1.06rem; }
.product-info p { color: var(--muted); margin-block: .35rem .85rem; font-size: .8rem; }
.secondary, .remove { font: inherit; cursor: pointer; }
.secondary { border: 1px solid #bacbd6; background: white; color: var(--blue); border-radius: .35rem; font-size: .88rem; font-weight: 700; padding: .5rem .72rem; }
.secondary:hover { background: #edf3f6; }
.secondary:disabled { opacity: .5; cursor: default; }
.choose-product { margin-top: auto; }
.order-section { background: #eaf0f4; padding-block: 4rem 4.5rem; }
.order-layout { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(1.4rem, 5vw, 4.2rem); align-items: start; }
.order-intro p, .confirmation p { margin-top: 1rem; line-height: 1.6; color: var(--muted); }
.order-form { background: white; border: 1px solid var(--line); padding: clamp(1.1rem, 3vw, 2rem); border-radius: .75rem; }
fieldset { padding: 0; margin: 0 0 1.6rem; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .65rem; font-weight: 800; }
.item-row, .contact-grid { display: grid; gap: .55rem; }
.item-row { grid-template-columns: minmax(7rem, 2.2fr) minmax(4.5rem, 1fr) minmax(3.3rem, .65fr) auto; align-items: start; margin-bottom: .75rem; }
.contact-grid { grid-template-columns: 1fr 1fr; }
.contact-grid .field:first-child { grid-column: 1 / -1; }
.field label { display: inline-block; margin-bottom: .28rem; font-size: .86rem; font-weight: 650; }
.field input, .field select { border-radius: .35rem; border: 1px solid #b6c6d2; background: white; color: var(--ink); min-height: 2.55rem; padding: .45rem .5rem; width: 100%; font: inherit; }
.remove { align-self: start; margin-top: 1.43rem; width: 2.1rem; height: 2.55rem; border: 0; background: #edf2f6; color: var(--navy); border-radius: .35rem; font-size: 1.15rem; }
.remove:hover { background: #dfe9f0; }
.errorlist, .form-alert { color: #a62d23; font-size: .86rem; }
.errorlist { padding-left: 1rem; margin-block: .35rem; }
.form-alert { margin-bottom: 1rem; padding: .65rem; background: #fff0ed; border-radius: .35rem; }
.privacy { margin-bottom: 1rem; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.confirmation { min-height: 67vh; padding-block: 5rem; }
.confirmation h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.05em; }
.confirmation p { max-width: 49ch; margin-bottom: 1.4rem; }
.site-footer { background: var(--navy); color: white; font-size: .9rem; }
.footer-inner { flex-wrap: wrap; }

@media (max-width: 850px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .order-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.6rem; }
  .brand { font-size: .84rem; }
  .site-header nav { gap: .6rem; font-size: .78rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero p { margin-top: .9rem; }
  .hero .button { margin-top: 1.1rem; }
  .hero-image { max-height: 19rem; object-fit: cover; }
  .catalogue, .order-section { padding-block: 2.55rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .item-row { grid-template-columns: minmax(4rem, 1fr) minmax(3.5rem, .55fr) auto; }
  .item-row .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 350px) {
  .site-header nav a:first-child { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
