:root {
  --ink: #1c1b18;
  --muted: #686158;
  --paper: #f8f5ee;
  --surface: #ffffff;
  --line: #e2d8c8;
  --accent: #c28b2c;
  --accent-dark: #202622;
  --coral: #8f3d1f;
  --gold: #d9a441;
  --shadow: 0 24px 70px rgba(28, 27, 24, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(248, 245, 238, 0.9);
  border-bottom: 1px solid rgba(28, 27, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.brand-lockup,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-mark.large {
  width: 54px;
  height: 50px;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-text strong {
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1;
}

.brand-text small {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-lockup {
  gap: 12px;
}

.hero-logo,
.detail-logo {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 8px;
}

.hero-logo {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(247, 196, 106, 0.48);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.detail-logo {
  background: #fff8ed;
  border: 1px solid var(--line);
}

.footer-logo .brand-text strong {
  font-size: 1rem;
}

.site-nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
  padding: 128px clamp(18px, 4vw, 56px) 54px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 27, 24, 0.94), rgba(32, 38, 34, 0.78) 52%, rgba(56, 44, 26, 0.48)),
    url("wall-hook-5.jpg") center / cover;
  transform: scale(1.02);
  filter: saturate(0.75);
}

.hero-content,
.hero-product {
  position: relative;
}

.hero-content {
  width: min(760px, 100%);
  color: #fff;
}

.hero-product {
  align-self: center;
  justify-self: end;
  width: min(430px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: clamp(14px, 2vw, 24px);
  box-shadow: var(--shadow);
}

.hero-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5c76d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #1c1b18;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.button.outline {
  color: var(--accent-dark);
  border-color: var(--line);
  background: #fffaf1;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: clamp(22px, 4vw, 42px) clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.process,
.contact {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 4vw, 56px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: end;
}

.split > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(72px, 10vw, 132px);
}

.project-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(27, 31, 34, 0.08);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.project-card div {
  padding: 22px;
}

.project-card span,
.service-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.project-card p,
.service-list p,
.contact p {
  margin: 10px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
}

.product-meta {
  display: block;
  margin-top: 14px;
  color: var(--accent-dark);
  font-weight: 800;
}

.services {
  background: #fffaf1;
}

.featured-product {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 4vw, 56px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.featured-image {
  background: #fbf8f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(14px, 3vw, 28px);
}

.featured-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.featured-copy p {
  max-width: 620px;
  color: var(--muted);
}

.featured-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 700;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: 86vh;
  padding: 128px clamp(18px, 4vw, 56px) 64px;
  background: #fffaf1;
}

.detail-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.15rem;
}

.detail-image {
  background: #fbf8f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 30px);
  box-shadow: 0 14px 40px rgba(27, 31, 34, 0.09);
}

.detail-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.product-info article {
  padding: clamp(24px, 4vw, 44px);
  background: #f8f5ee;
}

.product-info span {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.product-info p,
.detail-list p,
.detail-list li {
  color: var(--muted);
}

.detail-list ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
  font-weight: 700;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 38px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-list article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(32px, 7vw, 92px);
  background: linear-gradient(135deg, #202622, #373026);
  color: #fff;
}

.process ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.process strong {
  font-size: 1.5rem;
}

.process span {
  color: rgba(255, 255, 255, 0.76);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 15px 16px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(194, 139, 44, 0.2);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.admin-body {
  background: #f8f5ee;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(255, 250, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.admin-topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.nav-button {
  min-height: 34px;
  padding: 0 12px;
  color: #991b1b;
  background: #fff1f2;
  border: 1px solid #fecaca;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-shell {
  display: grid;
  gap: 24px;
  padding: 42px clamp(18px, 4vw, 48px) 72px;
}

.admin-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.admin-title h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
}

.admin-stats,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.admin-stats article,
.admin-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 12px 30px rgba(27, 31, 34, 0.07);
}

.admin-stats span {
  color: var(--accent);
  font-weight: 800;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.admin-card h2 {
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-product {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-product img {
  width: 90px;
  height: 76px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.admin-product span,
.admin-product small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-product strong {
  display: block;
  margin: 3px 0;
}

.admin-product p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.small-danger {
  min-height: 38px;
  border: 1px solid #fecaca;
  border-radius: 7px;
  color: #991b1b;
  background: #fff1f2;
  font-weight: 800;
  cursor: pointer;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: auto;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 18px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--accent-dark);
  background: #fffaf1;
  font-size: 0.82rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-size: 0.92rem;
}

.login-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(32, 38, 34, 0.92), rgba(56, 44, 26, 0.74)),
    url("wall-hook-5.jpg") center / cover;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(480px, 100%);
  display: grid;
  gap: 24px;
  padding: clamp(24px, 5vw, 42px);
  background: rgba(255, 250, 241, 0.96);
  border: 1px solid rgba(217, 164, 65, 0.38);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card h1 {
  max-width: 10ch;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
}

.login-logo {
  color: var(--ink);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero,
  .metrics,
  .work-grid,
  .service-list,
  .featured-product,
  .detail-hero,
  .product-info,
  .split,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-product {
    justify-self: start;
    width: min(360px, 100%);
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }

  .process li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    flex-direction: column;
  }

  .admin-header,
  .admin-title {
    align-items: start;
    flex-direction: column;
  }

  .admin-stats,
  .admin-grid,
  .admin-product {
    grid-template-columns: 1fr;
  }

  .admin-product img {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .brand {
    max-width: calc(100% - 56px);
  }

  .brand-text strong {
    font-size: 0.94rem;
  }

  .brand-text small {
    max-width: 176px;
    white-space: normal;
  }

  h1 {
    font-size: clamp(3.5rem, 20vw, 5.8rem);
  }

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