:root {
  --ink: #181a1d;
  --ink-soft: #4d535a;
  --charcoal: #222426;
  --charcoal-2: #2f3337;
  --steel: #68717a;
  --silver: #f0f2f3;
  --paper: #ffffff;
  --gold: #d9b24c;
  --gold-dark: #b98d24;
  --red: #b5262e;
  --line: #dfe3e6;
  --shadow: 0 22px 50px rgba(21, 24, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(24, 26, 29, 0.1);
  backdrop-filter: blur(16px);
}

.topbar {
  background: var(--charcoal);
  color: #d9dde0;
  font-size: 0.86rem;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
}

.navbar {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  width: 245px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--charcoal);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 0.4rem 0;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--red);
}

.nav-links a[aria-current="page"] {
  color: var(--red);
}

.muted {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.nav-cta {
  border: 1px solid var(--charcoal);
  border-radius: 4px;
  padding: 0.72rem 1rem !important;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: var(--paper);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 16, 18, 0.92) 0%, rgba(20, 22, 24, 0.76) 43%, rgba(20, 22, 24, 0.18) 100%),
    linear-gradient(0deg, rgba(15, 16, 18, 0.86) 0%, rgba(15, 16, 18, 0) 38%);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  align-items: end;
  gap: 4rem;
  padding: 8rem 0 4.5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow", "Open Sans", sans-serif;
  line-height: 1.02;
}

h1 {
  max-width: 770px;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  font-weight: 800;
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 800;
}

h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-subhead {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: #e7ebee;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0.85rem 1.25rem;
  font-family: "Barlow", "Open Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.button-primary:hover,
.button-primary:focus {
  background: #e5c262;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--paper);
}

.hero-proof {
  display: grid;
  gap: 0.85rem;
}

.hero-proof div {
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.1);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-proof span {
  margin-top: 0.35rem;
  color: #e8ecef;
  font-size: 0.94rem;
}

.section {
  padding: 6.5rem 0;
}

.trust {
  background: var(--charcoal);
  color: #dce0e2;
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.trust h2,
.contact-cta h2 {
  color: var(--paper);
}

.trust p:last-child {
  margin: 0;
  color: #c7cdd1;
  font-size: 1.1rem;
}

.section-heading {
  display: grid;
  max-width: 920px;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.section-heading p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.products-preview {
  padding: 5rem 0;
}

.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-preview-grid .product-card {
  min-height: 170px;
}

.product-preview-grid .product-card img {
  min-height: 170px;
}

.product-preview-grid .product-card span {
  font-size: 1rem;
}

.section-action {
  display: flex;
  margin-top: 1.5rem;
}

.product-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 12px 30px rgba(20, 24, 28, 0.12);
}

.product-card-large,
.product-card-wide {
  grid-column: span 2;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 220ms ease, opacity 220ms ease;
}

.product-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  content: "";
  background: linear-gradient(0deg, rgba(15, 16, 18, 0.88) 0%, rgba(15, 16, 18, 0) 100%);
}

.product-card span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: var(--paper);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.product-card:hover img,
.product-card:focus img {
  opacity: 1;
  transform: scale(1.05);
}

.process {
  background: var(--silver);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  min-height: 270px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--paper);
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(21, 24, 28, 0.06);
}

.step {
  display: inline-block;
  margin-bottom: 2.1rem;
  color: var(--red);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.process-card p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::before {
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  z-index: -1;
  content: "";
  background: var(--gold);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-copy p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--red);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.history-details {
  margin-top: 1.4rem;
}

.history-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--red);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-weight: 800;
  list-style-position: outside;
  text-transform: uppercase;
}

.history-details summary:hover,
.history-details summary:focus {
  color: var(--gold-dark);
}

.history-details p {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 26, 29, 0.98), rgba(47, 51, 55, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 38px);
  color: var(--paper);
  padding: 4.5rem 0 5.25rem;
}

.about-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 22%, rgba(217, 178, 76, 0.2), transparent 28%),
    linear-gradient(115deg, transparent 0 47%, rgba(217, 178, 76, 0.18) 47% 48%, transparent 48% 100%);
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(310px, 0.7fr) minmax(560px, 1.3fr);
  gap: 3rem;
  align-items: center;
}

.about-hero h1 {
  max-width: 620px;
  font-size: clamp(2.7rem, 4.5vw, 4.5rem);
}

.about-hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 1.3rem 0 0;
  color: #e4e8eb;
  font-size: 1.08rem;
}

.founder-photo {
  position: relative;
  margin: 0;
}

.founder-photo::before {
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  content: "";
  background: var(--gold);
}

.founder-photo img {
  position: relative;
  width: 100%;
  max-height: 680px;
  border: 8px solid rgba(255, 255, 255, 0.92);
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.founder-photo figcaption {
  position: relative;
  margin-top: 0.8rem;
  color: #d9dde0;
  font-size: 0.94rem;
}

.story-section {
  background:
    linear-gradient(90deg, rgba(240, 242, 243, 0.78), rgba(255, 255, 255, 0.96)),
    var(--paper);
}

.story-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.story-aside {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 0.85rem;
}

.story-aside div {
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--paper);
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 28px rgba(21, 24, 28, 0.08);
}

.story-aside strong,
.story-aside span {
  display: block;
}

.story-aside strong {
  color: var(--red);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.story-aside span {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.story-content {
  display: grid;
  gap: 3.5rem;
}

.story-block {
  max-width: 820px;
}

.story-block h2 {
  max-width: 740px;
}

.story-block p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.story-card {
  max-width: none;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--paper);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.gallery {
  background: var(--charcoal);
}

.gallery h2 {
  color: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0;
  background: var(--charcoal-2);
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-item::after {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  content: "";
  background: linear-gradient(0deg, rgba(15, 16, 18, 0.82) 0%, rgba(15, 16, 18, 0) 100%);
}

.gallery-item figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: var(--paper);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  padding: 1.4rem;
  color: #d7dce0;
  text-align: center;
}

.gallery-placeholder::after {
  display: none;
}

.gallery-cta {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 1.4rem;
}

.gallery-cta::after {
  display: none;
}

.gallery-cta span {
  position: static;
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
}

.contact-cta {
  background:
    linear-gradient(135deg, rgba(24, 26, 29, 0.98), rgba(47, 51, 55, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px);
  color: #dce0e2;
  padding: 5.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
}

.contact-grid p:not(.eyebrow) {
  max-width: 650px;
  margin: 1rem 0 0;
  font-size: 1.1rem;
}

.contact-card {
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-line {
  display: block;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-phone {
  color: var(--red);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

address {
  margin: 1rem 0 1.3rem;
  color: var(--ink-soft);
  font-style: normal;
}

.site-footer {
  background: #17191b;
  color: #c9ced2;
  padding: 1.35rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 26, 29, 0.98), rgba(47, 51, 55, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px);
  color: var(--paper);
  padding: 5rem 0;
}

.page-hero::before,
.detail-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 22%, rgba(217, 178, 76, 0.18), transparent 30%),
    linear-gradient(115deg, transparent 0 50%, rgba(217, 178, 76, 0.16) 50% 51%, transparent 51% 100%);
}

.page-hero-grid,
.detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 3rem;
  align-items: center;
}

.page-hero h1,
.detail-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
}

.page-hero p:not(.eyebrow),
.detail-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 1.2rem 0 0;
  color: #e4e8eb;
  font-size: 1.16rem;
}

.page-hero-card {
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.35rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.page-hero-card strong,
.page-hero-card span {
  display: block;
}

.page-hero-card strong {
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 1.35rem;
}

.page-hero-card span {
  margin: 0.55rem 0 1.1rem;
  color: #e4e8eb;
}

.detail-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.1fr);
}

.detail-image {
  position: relative;
}

.detail-image::before {
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  content: "";
  background: var(--gold);
}

.detail-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 8px solid rgba(255, 255, 255, 0.92);
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.detail-placeholder {
  position: relative;
  display: grid;
  min-height: 420px;
  align-content: end;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(135deg, rgba(18, 20, 22, 0.96), rgba(47, 51, 55, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 32px);
  padding: 2rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.detail-placeholder::before {
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  z-index: -1;
  content: "";
  background: var(--gold);
}

.detail-placeholder::after {
  position: absolute;
  inset: 14% -12% auto auto;
  width: 72%;
  height: 42%;
  content: "";
  transform: rotate(-8deg);
  border: 2px solid rgba(217, 178, 76, 0.5);
  background: rgba(217, 178, 76, 0.1);
}

.detail-placeholder > * {
  position: relative;
  z-index: 1;
}

.placeholder-kicker {
  color: var(--gold);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-placeholder strong {
  margin-top: 0.35rem;
  color: var(--paper);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
}

.detail-placeholder p {
  max-width: 460px;
  margin: 1rem 0 0;
  color: #dce0e2;
}

.dark-button {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--paper);
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 4rem;
  align-items: start;
}

.split-content p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--silver);
  padding: 1rem 1.1rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.linked-card {
  min-height: 340px;
}

.related-section {
  background: var(--silver);
}

.portfolio-section {
  background: var(--paper);
}

.portfolio-carousel {
  display: grid;
  gap: 1rem;
}

.carousel-stage {
  position: relative;
  display: grid;
  height: min(52vw, 480px);
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: #111315;
  box-shadow: var(--shadow);
}

.carousel-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 64px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(24, 26, 29, 0.72);
  color: var(--paper);
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
}

.carousel-button:hover,
.carousel-button:focus {
  background: var(--gold);
  color: var(--ink);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.carousel-meta strong {
  color: var(--ink);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 1.35rem;
}

.carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.65rem;
  max-height: 250px;
  overflow: auto;
  padding-right: 0.25rem;
}

.carousel-thumb {
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 6px;
  background: #111315;
  cursor: pointer;
  padding: 0;
}

.carousel-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.72;
}

.carousel-thumb.is-active {
  border-color: var(--gold);
}

.carousel-thumb.is-active img,
.carousel-thumb:hover img,
.carousel-thumb:focus img {
  opacity: 1;
}

.carousel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card {
  display: grid;
  min-height: 160px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(21, 24, 28, 0.08);
}

.mini-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.mini-card span {
  padding: 0.9rem 1rem;
  color: var(--ink);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.service-mini-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-mini-grid .mini-card {
  min-height: auto;
  border-top: 5px solid var(--gold);
}

.mini-card.is-active {
  outline: 3px solid var(--red);
}

.light-gallery {
  background: var(--paper);
}

.light-gallery h2 {
  color: var(--ink);
}

.form-layout {
  max-width: 940px;
}

.modern-form {
  display: grid;
  gap: 1rem;
  border-radius: 8px;
  background: var(--paper);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.modern-form h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.modern-form fieldset {
  display: grid;
  gap: 1rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.modern-form legend {
  padding: 0 0.5rem;
  color: var(--red);
  font-family: "Barlow", "Open Sans", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.modern-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 700;
}

.modern-form input,
.modern-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
  color: var(--ink);
  font: inherit;
  padding: 0.8rem 0.85rem;
}

.modern-form textarea {
  min-height: 160px;
  resize: vertical;
}

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

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.72rem;
  color: var(--ink-soft);
}

.checkbox-grid input {
  width: auto;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 3rem;
  align-items: start;
}

.contact-visual {
  display: grid;
  gap: 1rem;
}

.contact-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-panel {
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--silver);
  padding: 1.2rem;
}

.map-panel strong,
.map-panel span {
  display: block;
}

.map-panel strong {
  font-family: "Barlow", "Open Sans", sans-serif;
  font-size: 1.4rem;
}

.map-panel span {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

@media (max-width: 1040px) {
  .hero-grid,
  .trust-grid,
  .about-grid,
  .contact-grid,
  .about-hero-grid,
  .story-layout,
  .page-hero-grid,
  .detail-grid,
  .split-content,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: center;
    gap: 2rem;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-card-grid,
  .service-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-aside {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar-inner,
  .navbar,
  .nav-links,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-inner {
    padding: 0.6rem 0;
  }

  .navbar {
    min-height: auto;
    padding: 1rem 0;
    gap: 1rem;
  }

  .brand img {
    width: 210px;
  }

  .nav-links {
    width: 100%;
    gap: 0.65rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero,
  .hero-grid {
    min-height: 760px;
  }

  .hero-grid {
    padding: 4.5rem 0 3rem;
  }

  .hero-proof,
  .product-grid,
  .product-preview-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .product-card-large,
  .product-card-wide,
  .gallery-item-large {
    grid-column: auto;
    grid-row: auto;
  }

  .section {
    padding: 4rem 0;
  }

  .about-image::before {
    inset: 0.8rem -0.8rem -0.8rem 0.8rem;
  }

  .about-hero {
    padding: 4rem 0;
  }

  .story-aside {
    grid-template-columns: 1fr;
  }

  .story-card {
    padding: 1.35rem;
  }

  .page-hero,
  .detail-hero {
    padding: 4rem 0;
  }

  .form-row,
  .checkbox-grid,
  .mini-card-grid,
  .service-mini-grid {
    grid-template-columns: 1fr;
  }

  .modern-form {
    padding: 1.25rem;
  }

  .carousel-stage {
    height: 320px;
    min-height: 320px;
  }

  .detail-placeholder {
    min-height: 320px;
    padding: 1.35rem;
  }

  .carousel-button {
    width: 40px;
    height: 54px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 3rem;
  }

  .hero {
    min-height: 820px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-card,
  .product-card img,
  .gallery-item {
    min-height: 220px;
  }

  .contact-phone {
    font-size: 1.75rem;
  }

  .founder-photo::before {
    inset: 0.65rem -0.65rem -0.65rem 0.65rem;
  }
}
