:root {
  --bg: #faf7f1;
  --paper: #fffdf9;
  --ink: #171614;
  --muted: #6e675f;
  --line: #e6e0d7;
  --sea: #244d67;
  --sea-soft: #edf4f7;
  --sand: #f2ebe2;
  --accent: #8aa6b3;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  font-size: 16px;
}

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

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

a:hover {
  color: var(--sea);
}

main,
.site-header,
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  padding: 28px 0 22px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img {
  width: min(100%, 480px);
  height: auto;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.hero {
  padding: clamp(42px, 8vw, 96px) 0 36px;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  font-weight: bold;
  margin-bottom: 16px;
}

h1, h2, h3 {
  margin: 0;
  font-weight: normal;
  line-height: 1.03;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.08rem;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

.button-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 0.92rem;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button:hover {
  border-color: var(--sea);
  background: var(--sea);
  color: white;
}

.section {
  padding: clamp(52px, 7vw, 90px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1fr);
  gap: 24px;
  margin-bottom: 34px;
  align-items: end;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 64ch;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.about-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy p:first-child {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.9vw, 1.5rem);
  line-height: 1.42;
}

.image-slot {
  background:
    linear-gradient(135deg, rgba(36, 77, 103, 0.07), rgba(242, 235, 226, 0.95)),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.03) 0 10px, transparent 10px 20px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  min-height: 280px;
  color: var(--muted);
}

.image-slot strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  color: var(--sea);
  letter-spacing: -0.02em;
}

.image-slot small {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.work-card {
  display: block;
  grid-column: span 4;
}

.work-card.wide {
  grid-column: span 8;
}

.work-card.tall .image-slot {
  aspect-ratio: 4 / 5;
}

.work-card.wide .image-slot {
  aspect-ratio: 16 / 10;
}

.work-card.square .image-slot {
  aspect-ratio: 1 / 1;
}

.work-card .image-slot {
  min-height: 220px;
  aspect-ratio: 4 / 3;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.work-card:hover .image-slot,
.product-card:hover .image-slot {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}

.caption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.caption b {
  color: var(--ink);
  font-weight: normal;
}

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

.product-card .image-slot {
  min-height: 200px;
  aspect-ratio: 4 / 4.6;
}

.product-info {
  margin-top: 12px;
}

.product-info h3 {
  margin-bottom: 4px;
}

.product-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  margin-top: 6px;
  color: var(--sea);
  font-size: 0.98rem;
}

.note-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 38px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
}

.commission-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(320px, 1.2fr);
  gap: 40px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-step {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.process-step b {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.page-title {
  padding: clamp(42px, 7vw, 78px) 0 30px;
}

.page-title .lede {
  margin-top: 16px;
}

.footer {
  margin-top: 52px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .section-head,
  .about-grid,
  .commission-layout {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .work-card,
  .work-card.wide {
    grid-column: span 6;
  }

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

@media (max-width: 620px) {
  main,
  .site-header,
  .footer {
    width: min(var(--max), calc(100% - 24px));
  }

  .work-card,
  .work-card.wide {
    grid-column: span 12;
  }

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

  .brand img {
    width: 320px;
  }
}
