:root {
  --paper: #f5ecd9;
  --panel: rgba(252, 246, 232, 0.94);
  --panel-2: rgba(247, 239, 223, 0.96);
  --ink: #241b12;
  --muted: #65594a;
  --line: rgba(36, 27, 18, 0.18);
  --accent: #a3382c;
  --accent-dark: #7f281f;
  --shadow: 0 8px 18px rgba(36, 27, 18, 0.16);
  --shadow-soft: 0 18px 40px rgba(36, 27, 18, 0.12);
  --tape: rgba(232, 214, 166, 0.65);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  background-color: #e9dcc5;
  background-image: url("images/paper-bg.png");
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 248, 232, 0.18), rgba(233, 220, 197, 0.24)),
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0,0,0,0.04), transparent 35%);
  opacity: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 34.5%,
      rgba(90, 72, 48, 0.00) 35.2%,
      rgba(90, 72, 48, 0.15) 35.5%,
      rgba(255,255,255,0.10) 35.8%,
      rgba(90, 72, 48, 0.08) 36.2%,
      transparent 37%
    ),
    linear-gradient(
      112deg,
      transparent 0%,
      transparent 63%,
      rgba(90, 72, 48, 0.00) 64.2%,
      rgba(90, 72, 48, 0.12) 64.8%,
      rgba(255,255,255,0.08) 65.2%,
      rgba(90, 72, 48, 0.06) 65.7%,
      transparent 67%
    ),
    linear-gradient(
      2deg,
      transparent 0%,
      transparent 76%,
      rgba(90, 72, 48, 0.00) 77%,
      rgba(90, 72, 48, 0.08) 77.4%,
      rgba(255,255,255,0.05) 77.8%,
      rgba(90, 72, 48, 0.04) 78.2%,
      transparent 79%
    );
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
}

.brand-block {
  max-width: 560px;
}

.logo {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-subtitle,
.brand-location {
  margin: 0.15rem 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.2rem;
}

.nav a {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(252, 246, 232, 0.75);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 2px 2px 0 rgba(36, 27, 18, 0.08);
}

.nav a:hover {
  background: rgba(255, 250, 240, 0.95);
  color: var(--accent-dark);
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1rem 3rem;
}

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.intro-panel,
.note-panel,
.contact-panel,
.work-card {
  padding: 1.35rem;
}

.intro-panel {
  max-width: 920px;
  margin: 0 0 2rem;
}

.tape-left::before,
.tape-right::before {
  content: "";
  position: absolute;
  top: -12px;
  width: 90px;
  height: 26px;
  background: var(--tape);
  border: 1px solid rgba(136, 118, 80, 0.18);
  box-shadow: 0 2px 4px rgba(36, 27, 18, 0.08);
  transform: rotate(-3deg);
}

.tape-left::before {
  left: 18px;
}

.tape-right::before {
  right: 18px;
  transform: rotate(4deg);
}

.kicker,
.section-label,
.contact-label,
.small-note {
  font-family: Arial, Helvetica, sans-serif;
}

.kicker,
.section-label {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.55rem, 3.4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.intro-text,
.note-panel p,
.contact-panel > p,
.work-card p {
  color: var(--muted);
  font-size: 1rem;
}

.intro-meta {
  display: grid;
  gap: 0.15rem;
  margin: 1rem 0 0;
}

.intro-meta p {
  margin-bottom: 0.1rem;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--ink);
  background: rgba(255, 250, 240, 0.88);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 3px 3px 0 rgba(36, 27, 18, 0.18);
}

.button:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(36, 27, 18, 0.18);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-dark);
}

.section-block {
  margin-bottom: 2rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.work-card {
  background: var(--panel-2);
}

.rotate-left {
  transform: rotate(-1deg);
}

.rotate-right {
  transform: rotate(1deg);
}

.work-image {
  width: 100%;
  min-height: 205px;
  margin-bottom: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 251, 242, 0.88);
  box-shadow: inset 0 0 0 1px rgba(36, 27, 18, 0.04);
}

.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-list {
  list-style: square;
  padding-left: 1.2rem;
  margin-bottom: 0;
  color: var(--muted);
}

.service-list li {
  margin-bottom: 0.55rem;
}

.small-note {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-label {
  margin-bottom: 0.3rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

.site-footer p {
  margin: 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(36, 27, 18, 0.14);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
  }

  .work-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .rotate-left,
  .rotate-right {
    transform: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 0.35rem;
  }

  .intro-panel,
  .note-panel,
  .contact-panel,
  .work-card {
    padding: 1rem;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 2.2rem);
  }

  .nav {
    gap: 0.45rem;
  }

  .nav a,
  .button {
    width: 100%;
    justify-content: center;
  }

  .work-image {
    min-height: 180px;
  }
}
