:root {
  --cream: #f7f4ef;
  --cream-deep: #efe9e0;
  --white: #ffffff;
  --ink: #1c1a17;
  --muted: #6a645c;
  --coral: #ff5a32;
  --coral-deep: #e64520;
  --line: rgba(28, 26, 23, 0.12);
  --header-h: 80px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-display: "Bebas Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
  --max: 1080px;
  --gutter: clamp(1.5rem, 5.5vw, 4.5rem);
  --img-inset: clamp(0.75rem, 2.4vw, 1.5rem);
  --img-ratio: 3508 / 2480;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--coral);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header-inner {
  width: 100%;
  margin-inline: 0;
  padding: 0 var(--gutter) 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.brand img {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav a {
  padding: 0.55rem 0.75rem;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--coral);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.header-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 90, 50, 0.28);
}

.btn-accent:hover {
  background: var(--coral-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.eyebrow {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Brochure photos — modest side inset so they don’t hug the edges */
.full-bleed {
  margin: 0 auto;
  width: calc(100% - (2 * var(--img-inset)));
  background: #d8dbe0;
}

.full-bleed img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: var(--img-ratio);
  object-fit: contain;
  object-position: center;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.25rem var(--gutter) 3.5rem;
  background: var(--cream);
  position: relative;
  animation: fadeUp 0.8s var(--ease) 0.15s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral);
}

.squiggle {
  width: 110px;
  height: 18px;
  margin-top: 1.25rem;
  color: var(--coral);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
}

.section-intro {
  width: min(100% - (2 * var(--gutter)), 720px);
  margin: 0 auto 2.5rem;
  text-align: center;
  padding: 0;
}

.section-label {
  margin: 0 0 1rem;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 3px solid var(--coral);
  padding-bottom: 0.15rem;
  line-height: 1;
}

.intro-lead {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.point-row {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}

.point h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.point p {
  margin: 0;
  color: var(--muted);
}

.point .btn {
  margin-top: 1rem;
}

.stack-copy {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin: 0 auto 2rem;
}

.stack-copy .panel-title {
  text-align: center;
}

.panel-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--coral);
}

.split-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 36rem;
}

.split-copy p:last-child {
  margin-bottom: 0;
}

/* Products */
.products {
  background: var(--white);
}

.product-tabs {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tab {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.tab.is-active {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

.price-list,
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spec-table,
.size-table,
.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.spec-table th,
.spec-table td,
.size-table th,
.size-table td,
.mini-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.spec-table th,
.size-table th {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 2px solid var(--line);
}

.spec-table td:last-child,
.size-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.spec-table.prices td:last-child,
.size-table td:not(:first-child) {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--coral);
}

.spec-table.prices th:last-child,
.size-table th:not(:first-child) {
  text-align: right;
}

.spec-table.copy th:last-child,
.spec-table.fabrics-table th:last-child {
  text-align: left;
}

.spec-table.copy td:last-child,
.spec-table.fabrics-table td:last-child {
  text-align: left;
  font-family: var(--font-serif);
  color: var(--muted);
  white-space: normal;
}

.spec-table.fabrics-table td:first-child {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  width: 28%;
}

.mini-table td {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ink);
  width: 50%;
  padding: 0.55rem 0.4rem;
}

.tech-blocks h4 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.tech-blocks p {
  margin: 0;
  color: var(--muted);
}

/* Fabrics */
.fabrics {
  background: var(--white);
}

.fabric-pills {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.fabric-pills span {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sizing */
.table-wrap {
  width: min(100% - (2 * var(--gutter)), 760px);
  margin: 0 auto 2.5rem;
}

.stack-copy .spec-table {
  width: 100%;
}

.size-table {
  table-layout: fixed;
}

.size-table td:first-child {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  color: var(--coral);
  width: 22%;
}

/* Partners */
.clients {
  background: var(--cream-deep);
}

.clients .full-bleed {
  background: #c5c8cc;
}

/* Contact */
.contact {
  background: var(--white);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.contact-grid {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.split-copy {
  min-width: 0;
}

.steps {
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.1rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.contact-details {
  font-style: normal;
  margin-top: 1.5rem;
}

.contact-details p {
  margin: 0 0 0.55rem;
}

.contact-details a {
  color: var(--coral);
  font-weight: 700;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--cream);
  border-radius: 18px;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-width: 0;
}

.form-title {
  grid-column: 1 / -1;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

.contact-form label.full,
.contact-form .btn.full,
.form-status {
  grid-column: 1 / -1;
}

.contact-form span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 90, 50, 0.15);
}

.form-status {
  margin: 0;
  min-height: 1.3em;
  color: var(--coral-deep);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.75rem 0;
}

.footer-inner {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer .brand img {
  height: 42px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-panel {
    padding: 2.5rem var(--gutter) 3rem;
  }

  .point-row,
  .contact-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(247, 244, 239, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav.is-open a {
    color: var(--ink);
    text-shadow: none;
  }

  .header-cta {
    display: none;
  }

  .nav a {
    padding: 0.85rem 0.25rem;
  }
}

@media (max-width: 540px) {
  .hero-title {
    white-space: normal;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-panel,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
