:root {
  --hoc-color-pine: #123326;
  --hoc-color-cedar: #8a5428;
  --hoc-color-sand: #d3b993;
  --hoc-color-stone: #ebe4d7;
  --hoc-color-charcoal: #1f2320;
  --hoc-color-cream: #fbf7ef;
  --hoc-color-ink-soft: #4f534e;
  --hoc-radius-card: 8px;
  --hoc-radius-button: 999px;
  --hoc-shadow-soft: 0 22px 60px rgba(31, 35, 32, 0.13);
  --hoc-space-1: 0.25rem;
  --hoc-space-2: 0.5rem;
  --hoc-space-3: 0.75rem;
  --hoc-space-4: 1rem;
  --hoc-space-5: 1.5rem;
  --hoc-space-6: 2rem;
  --hoc-space-7: 3rem;
  --hoc-space-8: 4.5rem;
  --hoc-font-heading: Aptos, "Aptos Display", "Arial Narrow", Arial, sans-serif;
  --hoc-font-body: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --hoc-font-accent: "Segoe Script", "Brush Script MT", cursive;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hoc-color-charcoal);
  background: var(--hoc-color-cream);
  font-family: var(--hoc-font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--hoc-color-sand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--hoc-space-4);
  top: var(--hoc-space-4);
  z-index: 20;
  transform: translateY(-150%);
  padding: var(--hoc-space-2) var(--hoc-space-4);
  color: var(--hoc-color-cream);
  background: var(--hoc-color-pine);
  border-radius: var(--hoc-radius-button);
}

.skip-link:focus {
  transform: translateY(0);
}

.hoc-container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.hoc-section {
  padding-block: var(--hoc-space-8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid rgba(31, 35, 32, 0.09);
  backdrop-filter: blur(14px);
}

.site-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hoc-space-5);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--hoc-space-3);
  text-decoration: none;
}

.brand-monogram {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--hoc-color-cream);
  background: var(--hoc-color-pine);
  border: 2px solid var(--hoc-color-sand);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700;
}

.brand-name,
.eyebrow,
h1,
h2,
h3,
.footer-brand {
  font-family: var(--hoc-font-heading);
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--hoc-space-2) var(--hoc-space-5);
  color: var(--hoc-color-ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--hoc-color-pine);
}

.hero-section {
  padding-top: var(--hoc-space-7);
  background: var(--hoc-color-stone);
}

.hero-grid,
.split-layout,
.studio-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: var(--hoc-space-7);
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 var(--hoc-space-3);
  color: var(--hoc-color-cedar);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  line-height: 1.02;
  color: var(--hoc-color-pine);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin-bottom: var(--hoc-space-4);
  font-size: clamp(3.5rem, 4rem, 4rem);
}

h2 {
  margin-bottom: var(--hoc-space-4);
  font-size: clamp(2rem, 2.75rem, 2.75rem);
}

h3 {
  color: var(--hoc-color-charcoal);
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-subtitle,
.section-lede,
.narrow-copy p {
  color: var(--hoc-color-ink-soft);
  font-size: 1.12rem;
}

.hero-subtitle {
  max-width: 620px;
  color: var(--hoc-color-pine);
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-intro {
  max-width: 620px;
  color: var(--hoc-color-ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hoc-space-3);
  margin-top: var(--hoc-space-6);
}

.hoc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--hoc-radius-button);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.hoc-button-primary {
  color: var(--hoc-color-cream);
  background: var(--hoc-color-pine);
  box-shadow: 0 10px 24px rgba(18, 51, 38, 0.22);
}

.hoc-button-primary:hover {
  background: #0c271d;
}

.hoc-button-secondary {
  color: var(--hoc-color-pine);
  background: transparent;
  border-color: rgba(18, 51, 38, 0.26);
}

.hoc-button-secondary:hover {
  background: rgba(18, 51, 38, 0.07);
}

.hero-art {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 35, 32, 0.1);
  border-radius: var(--hoc-radius-card);
  background: var(--hoc-color-cream);
  box-shadow: var(--hoc-shadow-soft);
}

.hero-art img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-seal {
  position: absolute;
  right: var(--hoc-space-4);
  bottom: var(--hoc-space-4);
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: var(--hoc-color-cream);
  background: rgba(18, 51, 38, 0.94);
  border: 2px solid var(--hoc-color-sand);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 10px 32px rgba(31, 35, 32, 0.24);
}

.hero-seal span {
  font-family: Georgia, serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 0.9;
}

.hero-seal small {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-bar {
  color: var(--hoc-color-cream);
  background: var(--hoc-color-pine);
}

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

.identity-grid span {
  padding: var(--hoc-space-5) var(--hoc-space-4);
  border-left: 1px solid rgba(251, 247, 239, 0.16);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.identity-grid span:first-child {
  border-left: 0;
}

.product-section {
  background: var(--hoc-color-cream);
}

.product-card,
.project-card,
.inquiry-form {
  border: 1px solid rgba(31, 35, 32, 0.1);
  border-radius: var(--hoc-radius-card);
  background: #fffdf8;
  box-shadow: var(--hoc-shadow-soft);
}

.product-card {
  padding: var(--hoc-space-6);
}

.status-pill {
  display: inline-flex;
  margin-bottom: var(--hoc-space-5);
  padding: 0.35rem 0.7rem;
  color: var(--hoc-color-pine);
  background: rgba(211, 185, 147, 0.42);
  border-radius: var(--hoc-radius-button);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: var(--hoc-space-3);
  margin: var(--hoc-space-5) 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.45rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  background: var(--hoc-color-cedar);
  border-radius: 50%;
}

.studio-section,
.about-section {
  background: var(--hoc-color-stone);
}

.studio-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hoc-space-3);
}

.studio-tile {
  min-height: 112px;
  display: flex;
  align-items: flex-end;
  padding: var(--hoc-space-4);
  color: var(--hoc-color-cream);
  background: var(--hoc-color-pine);
  border: 1px solid rgba(18, 51, 38, 0.1);
  border-radius: var(--hoc-radius-card);
  font-family: var(--hoc-font-heading);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-tile:nth-child(2),
.studio-tile:nth-child(5) {
  color: var(--hoc-color-charcoal);
  background: var(--hoc-color-sand);
}

.studio-tile:nth-child(3) {
  background: var(--hoc-color-cedar);
}

.projects-section {
  background: var(--hoc-color-cream);
}

.section-header {
  max-width: 680px;
  margin-bottom: var(--hoc-space-6);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--hoc-space-4);
}

.project-card {
  padding: var(--hoc-space-5);
}

.project-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--hoc-space-4);
  color: var(--hoc-color-cream);
  background: var(--hoc-color-pine);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 800;
}

.project-card p {
  margin-bottom: 0;
  color: var(--hoc-color-ink-soft);
}

.narrow-copy {
  max-width: 760px;
}

.contact-section {
  background: var(--hoc-color-pine);
}

.contact-section h2,
.contact-section .section-lede,
.contact-section .eyebrow {
  color: var(--hoc-color-cream);
}

.contact-section .eyebrow {
  color: var(--hoc-color-sand);
}

.inquiry-form {
  display: grid;
  gap: var(--hoc-space-4);
  padding: var(--hoc-space-6);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hoc-space-4);
}

label {
  display: grid;
  gap: var(--hoc-space-2);
  color: var(--hoc-color-charcoal);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  color: var(--hoc-color-charcoal);
  background: var(--hoc-color-cream);
  border: 1px solid rgba(31, 35, 32, 0.18);
  border-radius: var(--hoc-radius-card);
  font: inherit;
}

textarea {
  resize: vertical;
}

.field-validation,
.validation-summary {
  color: #9d2c1f;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-success {
  padding: var(--hoc-space-3) var(--hoc-space-4);
  color: var(--hoc-color-pine);
  background: rgba(211, 185, 147, 0.45);
  border-radius: var(--hoc-radius-card);
  font-weight: 850;
}

.form-note {
  margin-bottom: 0;
  color: var(--hoc-color-ink-soft);
  font-size: 0.92rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-enhancement {
  padding: var(--hoc-space-3) var(--hoc-space-4);
  color: var(--hoc-color-pine);
  background: rgba(18, 51, 38, 0.06);
  border-radius: var(--hoc-radius-card);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer {
  padding-block: var(--hoc-space-6);
  color: var(--hoc-color-cream);
  background: var(--hoc-color-charcoal);
}

.footer-grid {
  align-items: start;
}

.footer-brand {
  margin-bottom: var(--hoc-space-1);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--hoc-space-4);
}

.footer-links a {
  color: var(--hoc-color-stone);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-layout,
  .studio-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hoc-container {
    width: min(100% - 24px, 1120px);
  }

  .hoc-section {
    padding-block: var(--hoc-space-7);
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    padding-block: var(--hoc-space-4);
  }

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

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-seal {
    width: 88px;
    height: 88px;
  }

  .hero-seal span {
    font-size: 1.75rem;
  }

  .identity-grid,
  .project-grid,
  .studio-board,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .identity-grid span {
    border-left: 0;
    border-top: 1px solid rgba(251, 247, 239, 0.16);
  }

  .identity-grid span:first-child {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
