@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("../fonts/IBMPlexSansCondensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("../fonts/IBMPlexSansCondensed-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f5f2;
  --header: #121212;
  --accent: #e8a317;
  --text: #1a1a1a;
  --muted: #555;
  --line: #d8d8d0;
  --white: #fff;
  --max: 1080px;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-head: "IBM Plex Sans Condensed", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: #8a5f00;
}

a:hover,
a:focus-visible {
  color: #5c4000;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: var(--header);
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  background: var(--header);
  color: var(--white);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.78rem;
  color: #c8c8c0;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #555;
  color: var(--white);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.site-nav a {
  color: #e8e8e2;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header-meta {
  background: #1c1c1c;
  border-top: 1px solid #2a2a2a;
  color: #c8c8c0;
  font-size: 0.88rem;
}

.header-meta-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.header-meta a {
  color: #e8e8e2;
  text-decoration: none;
}

.header-meta a:hover,
.header-meta a:focus-visible {
  color: var(--accent);
}

main {
  min-height: 55vh;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-intro {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.55rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: 1.55rem;
}

h3 {
  font-size: 1.2rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0;
}

.hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-copy {
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border: 2px solid var(--header);
  background: var(--header);
  color: var(--white);
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: #2a2a2a;
  color: var(--white);
  border-color: #2a2a2a;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--header);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: #d09210;
  border-color: #d09210;
  color: var(--header);
}

.btn-ghost {
  background: transparent;
  color: var(--header);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--header);
  color: var(--white);
}

.img-ph {
  background: linear-gradient(145deg, #d9d9d0 0%, #c4c4ba 55%, #b0b0a6 100%);
  border: 1px solid #b8b8ae;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 0.85rem 1rem;
  color: #3a3a35;
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.img-ph-tall {
  min-height: 280px;
}

.img-ph-wide {
  min-height: 240px;
}

.section {
  margin: 2.5rem 0;
}

.section-head {
  margin-bottom: 1.25rem;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
}

.panel {
  border-top: 3px solid var(--accent);
  background: var(--white);
  padding: 1.25rem 1.25rem 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

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

.facts {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fact {
  border-left: 3px solid var(--accent);
  padding: 0.35rem 0 0.35rem 0.9rem;
  background: transparent;
}

.fact-value {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.1;
}

.fact-label {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.price-note,
.demo-note,
.callout {
  background: #efefe8;
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1rem;
  margin: 1.25rem 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  margin: 1rem 0 1.5rem;
}

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

.price-table th {
  font-family: var(--font-head);
  font-weight: 600;
  background: #ebebe4;
  width: 38%;
}

.ref-card .img-ph {
  margin-bottom: 0.9rem;
}

.meta-line {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.25rem 0 0.75rem;
}

.job {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 1.4rem 1.35rem;
}

.job ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  font-family: var(--font-head);
  margin-bottom: 0.15rem;
}

label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.field {
  margin-bottom: 1.1rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid #b8b8ae;
  background: var(--white);
  color: var(--text);
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #e8f0df;
  border-left: 3px solid #5a8a2e;
}

.form-status.is-visible {
  display: block;
}

.site-footer {
  background: var(--header);
  color: #c8c8c0;
  margin-top: 2rem;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: #e8e8e2;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.footer-demo {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: #9a9a92;
  border-top: 1px solid #2a2a2a;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .site-nav {
    display: none;
    width: 100%;
  }

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

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.25rem;
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid #2a2a2a;
  }

  .site-nav a[aria-current="page"] {
    border-bottom-color: var(--accent);
  }
}

/* Generated demo photos */
.content-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
}
.content-img.portrait {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.content-img.hero-img,
.content-img.tall {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  max-height: 28rem;
}
figure:has(.content-img) {
  margin: 0;
}
