@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

body {
  color: var(--ink);
  background: var(--paper);
}

:root {
  font-family: Inter,Arial,sans-serif;
  --ink: #172737;
  --muted: #4c5d6b;
  --paper: white;
  --line: #cdd5dc;
  --soft: #f1f4f6;
  --accent: #174fbb;
  --on-accent: white;
  --radius: 2px;
  --gutter: clamp(22px,5.3vw,88px);
  --max: 1460px;
  --headline: Inter,Arial,sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 18px;
}

body {
  margin: 0;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,input,select,textarea {
  font: inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

button,a {
  touch-action: manipulation;
}

p,h1,h2,h3,figure,dl,dd {
  margin: 0;
}

h1,h2,h3 {
  font-family: var(--headline);
  font-weight: 700;
  line-height: 1.04;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(3.15rem,6.1vw,6.35rem);
}

h2 {
  font-size: clamp(2.25rem,4.1vw,4.25rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,legend:focus-visible {
  outline: 3px solid var(--focus,#1b70cd);
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.frame {
  width: min(calc(100% - 2 * var(--gutter)),var(--max));
  margin-inline: auto;
}

.block {
  padding-block: clamp(58px,6.5vw,100px);
}

.skip {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 12px 16px;
  background: white;
  color: #142538;
}

.skip:focus {
  transform: none;
}

.mast {
  position: relative;
  z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mast-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: clamp(24px,4vw,68px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  height: 49px;
  width: auto;
  max-width: 110px;
}

.mast nav {
  display: flex;
  align-items: center;
  gap: clamp(21px,2.6vw,44px);
  margin-left: auto;
}

.mast nav>a,.mast-contact {
  font-size: .92rem;
  font-weight: 600;
}

.mast nav>a {
  padding: 12px 0;
}

.mast nav>a:hover,.mast nav>a[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: .35em;
}

.mast-contact,.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: .74rem 1.23rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 650;
  text-align: center;
  line-height: 1.25;
}

.mast-contact,.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-light {
  background: white;
  color: #153562;
}

.btn:hover,.mast-contact:hover {
  filter: brightness(.92);
}

.text-link,.plain-link,.card-action {
  font: inherit;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.35;
  text-underline-offset: .32em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.plain-link {
  padding: .48rem 0;
  border: 0;
  background: transparent;
  color: var(--accent);
}

.text-link:hover,.plain-link:hover,.card-action:hover {
  text-decoration-thickness: 2px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.menu-trigger {
  display: none;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 33px;
}

.section-heading p {
  margin-top: 12px;
  max-width: 700px;
}

.section-heading>.text-link {
  flex: none;
}

.foot {
  background: var(--footer,#102338);
  color: white;
}

.foot-grid {
  padding-block: 49px 57px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1fr;
  gap: 32px;
}

.foot .brand {
  align-self: flex-start;
}

.foot .brand img {
  height: 45px;
  filter: brightness(0) invert(1);
}

.foot a:not(.brand) {
  display: block;
  margin-top: 6px;
  font-size: .93rem;
  color: #ecf0f1;
  width: fit-content;
  overflow-wrap: anywhere;
}

.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot h2 {
  font: 650 .95rem/1.4 Inter,Arial,sans-serif;
  margin: 0 0 13px;
  text-transform: none;
  letter-spacing: 0;
}

.foot p {
  font-size: .93rem;
  color: #cdd5d6;
  max-width: 245px;
  margin-top: 13px;
}

.subhead {
  padding-bottom: clamp(30px,4vw,58px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  padding-block: 23px;
  font-size: .84rem;
  color: var(--muted);
}

.crumb>:not(:first-child)::before {
  content: "/";
  margin-right: 10px;
  color: var(--muted);
}

.crumb a:hover {
  text-decoration: underline;
}

.subhead h1 {
  max-width: 16ch;
}

.subhead p {
  max-width: 700px;
  margin-top: 17px;
  font-size: 1.08rem;
}

.catalog-section {
  padding-block: 32px 72px;
}

.catalog-filter {
  display: grid;
  grid-template-columns: 1.45fr 1.1fr 1fr .88fr auto;
  gap: 13px;
  align-items: end;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

label:has(>input),label:has(>select),label:has(>textarea) {
  min-width: 0;
}

label:not(.use-choice)>span {
  display: block;
  margin-bottom: 7px;
  font-size: .9rem;
  font-weight: 650;
}

input:not([type=radio]),select,textarea {
  color: var(--ink);
  width: 100%;
  min-height: 45px;
  padding: .63rem .8rem;
  border: 1px solid var(--input-line,#a4afb6);
  border-radius: var(--radius);
  background: var(--paper);
  line-height: 1.35;
  min-width: 0;
}

input::placeholder,textarea::placeholder {
  color: var(--muted);
  opacity: .88;
}

select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position: calc(100% - 17px) 52%,calc(100% - 12px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

textarea {
  resize: vertical;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.result-row p {
  font-size: .95rem;
  font-weight: 650;
  color: var(--ink);
}

.product {
  border: 1px solid var(--line);
  background: var(--paper);
  min-width: 0;
}

.product:hover {
  border-color: var(--accent);
}

.product-img {
  overflow: hidden;
  background: var(--soft);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product h2 {
  font-size: 1.42rem;
  margin: 5px 0 8px;
}

.product-copy p,.meta {
  font-size: .88rem;
}

.meta,.gauge {
  color: var(--muted);
}

.product .card-action {
  color: var(--accent);
}

.empty,.detail-note {
  background: var(--soft);
  padding: 28px;
}

.empty p {
  margin: 10px 0 18px;
}

.catalog-help {
  margin-top: 35px;
}

.catalog-help a,.detail-note a,.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty h2,.detail-note h2,.related h2 {
  font-size: 1.8rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.86fr);
  align-items: start;
  gap: clamp(28px,5vw,80px);
  padding-block: 10px 42px;
}

.detail-main-img {
  aspect-ratio: 1.2;
  background: var(--gallery-bg,#edf0f0);
  border: 1px solid var(--line);
  overflow: hidden;
}

.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbs {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}

.thumbs button {
  padding: 2px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.thumbs button[aria-pressed=true] {
  border: 2px solid var(--accent);
  padding: 1px;
}

.thumbs img {
  height: 54px;
  width: 65px;
  object-fit: cover;
}

.detail-info h1 {
  font-size: clamp(2.5rem,4vw,4.4rem);
  margin: 10px 0 15px;
}

.family-link {
  color: var(--accent);
  font-weight: 650;
  font-size: .9rem;
}

.detail-spec>div,.contact-list>div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.detail-spec {
  margin: 22px 0;
}

.detail-spec dt,.contact-list dt {
  color: var(--muted);
}

.detail-spec dd,.contact-list dd {
  font-weight: 600;
}

.quote-form {
  margin-bottom: 14px;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
  font-weight: 700;
  font-size: 1.22rem;
  margin: 0 0 15px;
}

.form-grid,.dimensions {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.wide-btn {
  width: 100%;
  margin-top: 17px;
}

.detail-note {
  margin: 12px 0 40px;
}

.detail-note p {
  margin-top: 8px;
}

.related {
  padding-bottom: 48px;
}

.related>div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.related a {
  border: 1px solid var(--line);
  padding: 10px 14px;
}

.related a:hover {
  border-color: var(--accent);
}

.fab-request,.project-layout,.contact-page {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(0,.85fr);
  gap: clamp(34px,6vw,92px);
  align-items: start;
}

.brief-form {
  min-width: 0;
}

.brief-form fieldset {
  margin: 0 0 26px;
}

.brief-form fieldset>legend {
  font-family: var(--headline);
  font-size: clamp(1.6rem,2.2vw,2.2rem);
  line-height: 1.12;
}

.brief-form label:not(.use-choice) {
  display: block;
}

.brief-form fieldset>label,.brief-form fieldset>.form-grid,.brief-form fieldset>.dimensions {
  margin-bottom: 16px;
}

.brief-form .field-note {
  font-size: .94rem;
  margin: 0 0 15px;
}

.brief-form>p.field-note,.brief-form .actions+p {
  margin: 12px 0 0;
}

.dimensions {
  grid-template-columns: 1fr 1fr .72fr 1.1fr;
}

.selected-material {
  background: var(--soft);
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  margin-bottom: 20px;
}

.selected-material a {
  text-decoration: underline;
}

.fab-aside,.project-aside {
  background: var(--soft);
  padding: clamp(22px,2.5vw,40px);
}

.fab-aside h2,.project-aside h2 {
  font-size: clamp(1.9rem,2.7vw,2.8rem);
}

.fab-aside>div {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.fab-aside h3 {
  font-size: 1.28rem;
}

.fab-aside p,.project-aside p {
  margin-top: 7px;
}

.fab-aside .text-link,.project-aside .text-link {
  display: inline-block;
  margin-top: 20px;
}

.contact-page {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.contact-page>img {
  aspect-ratio: 1.55;
  width: 100%;
  object-fit: cover;
}

.contact-page h2 {
  font-size: clamp(2rem,3.3vw,3.2rem);
}

.contact-list {
  margin: 16px 0 24px;
}

.missing h1 {
  margin-bottom: 25px;
}

@media(max-width:900px) {
  .catalog-filter {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .catalog-filter .search-label {
    grid-column: span 2;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fab-request,.project-layout {
    gap: 28px;
    grid-template-columns: 1.4fr .9fr;
  }
  .dimensions {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:760px) {
  :root {
    --gutter: clamp(18px,5vw,34px);
  }
  .mast-row {
    min-height: 65px;
    gap: 12px;
  }
  .mast .brand img {
    height: 39px;
  }
  .mast-contact {
    font-size: .85rem;
    min-height: 40px;
    padding: .55rem .82rem;
    order: 1;
    margin-left: auto;
  }
  .menu-trigger {
    display: inline-flex;
    order: 2;
    align-items: center;
    gap: 7px;
    border: 1px solid currentColor;
    color: inherit;
    background: transparent;
    border-radius: var(--radius);
    height: 40px;
    padding: 0 .7rem;
    font-size: .88rem;
    font-weight: 650;
  }
  .hamb {
    width: 13px;
    height: 9px;
    border-top: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
  }
  .mast nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 4;
    background: var(--nav-bg,var(--paper));
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
  }
  .mast nav.is-open {
    display: grid;
    gap: 0;
  }
  .mast nav>a {
    min-height: 44px;
    border-top: 1px solid var(--nav-line,var(--line));
  }
  .block {
    padding-block: 50px;
  }
  .section-heading {
    display: block;
    margin-bottom: 23px;
  }
  .section-heading>.text-link {
    display: inline-block;
    margin-top: 12px;
  }
  .product-detail,.fab-request,.project-layout,.contact-page {
    grid-template-columns: 1fr;
  }
  .detail-main-img {
    max-height: 400px;
  }
  .product-detail {
    gap: 23px;
  }
  .catalog-filter {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-filter .search-label {
    grid-column: span 2;
  }
  .catalog-filter .filter-go {
    grid-column: span 2;
  }
  .foot-grid {
    gap: 27px 22px;
    padding-block: 38px;
  }
  .crumb {
    padding-block: 16px;
  }
  .result-row {
    min-height: 60px;
  }
  .detail-info h1 {
    margin-top: 7px;
  }
  .fab-aside,.project-aside {
    padding: 24px;
  }
}

@media(max-width:480px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .foot .brand img {
    height: 39px;
  }
  .foot h2 {
    margin-bottom: 7px;
  }
  .foot-identity p {
    max-width: none;
  }
  .form-grid,.dimensions {
    gap: 12px;
  }
  .brief-form .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-list>div {
    grid-template-columns: 82px 1fr;
  }
  .actions {
    gap: 15px;
  }
  .mast-row {
    gap: 8px;
  }
  .btn {
    min-height: 45px;
  }
  .crumb {
    gap: 3px 6px;
  }
  .crumb>:not(:first-child)::before {
    margin-right: 6px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}
