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

:root {
  --mustard: #E8A317;
  --sienna: #A0522D;
  --olive: #6B8E23;
  --cream: #FFFDD0;
  --cream-deep: #F5ECC5;
  --ink: #3A2E1C;
  --paper: #FAF5E1;
  --shadow: rgba(58, 46, 28, 0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Rubik', sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1.5px;
  line-height: 1.1;
  color: var(--sienna);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p { margin-bottom: 1.2rem; }

a {
  color: var(--sienna);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--cream);
  border-bottom: 4px double var(--sienna);
  padding: 1rem 1.5rem;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  justify-content: flex-end;
  align-items: center;
}

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

.nav-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--mustard);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover, .nav-link:focus {
  color: var(--sienna);
  transform: translateY(-2px);
}

.nav-link:hover::after, .nav-link:focus::after {
  width: 100%;
  left: 0;
}

.nav-link.active, .nav-link[aria-current="page"] {
  color: var(--sienna);
  font-weight: bold;
}

.nav-link.active::after, .nav-link[aria-current="page"]::after {
  width: 100%;
  left: 0;
  background-color: var(--sienna);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.85rem;
  color: var(--sienna);
  text-align: center;
  letter-spacing: 1px;
  line-height: 1;
  text-decoration: none;
  padding: 0.25rem 1rem;
  border: 3px solid var(--mustard);
  border-radius: 4px;
  background: var(--cream-deep);
  white-space: nowrap;
}

.logo small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--olive);
  margin-top: 2px;
}

.nav-toggle {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  background: linear-gradient(rgba(58, 46, 28, 0.65), rgba(58, 46, 28, 0.75)),
              url('https://images.unsplash.com/photo-1540541338207-2de865d83bd8?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  padding: 4rem 1.5rem 8rem;
}

.hero-content { max-width: 900px; }

.hero h1 {
  color: var(--cream);
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 0 var(--sienna);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1px;
  padding: 0.75rem 1.75rem;
  background-color: var(--mustard);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-shadow: 4px 4px 0 var(--sienna);
}

.btn::after {
  content: '→';
  font-family: 'Rubik', sans-serif;
  font-weight: bold;
  transition: transform 0.25s ease;
}

.btn:hover, .btn:focus {
  background-color: var(--cream);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--sienna);
}

.btn:hover::after, .btn:focus::after {
  transform: translateX(4px);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--sienna);
}

.btn-secondary {
  background-color: transparent;
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: 4px 4px 0 var(--cream);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--cream);
  color: var(--ink);
}

/* Sections & Dividers */
.section {
  padding: 4rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-bg-alt {
  background-color: var(--cream);
  max-width: none;
}

.section-bg-alt .section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-bg-olive {
  background-color: var(--olive);
  color: var(--cream);
  max-width: none;
}

.section-bg-olive .section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-bg-olive h2, .section-bg-olive h3 {
  color: var(--cream);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  max-width: 200px;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background-color: var(--sienna);
}

.divider-icon {
  margin: 0 1rem;
  color: var(--mustard);
  font-size: 1.5rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--sienna);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--olive);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid var(--ink);
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  color: var(--sienna);
  margin-bottom: 0.5rem;
}

.card-body p {
  flex-grow: 1;
}

.card-body .btn {
  align-self: flex-start;
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  box-shadow: 3px 3px 0 var(--sienna);
}

/* Content Layouts */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--mustard);
}

/* Contact Block */
.contact-block {
  background-color: var(--cream);
  padding: 2.5rem;
  border: 3px solid var(--sienna);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--olive);
  max-width: 600px;
  margin: 0 auto;
}

.contact-block h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 2;
  text-align: center;
}

address strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--sienna);
  display: block;
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--ink);
  color: var(--cream);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
  border-top: 6px solid var(--mustard);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--mustard);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col a {
  color: var(--cream);
  font-size: 0.95rem;
}

.footer-col a:hover { color: var(--mustard); }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(255, 253, 208, 0.3);
  font-size: 0.85rem;
  color: rgba(255, 253, 208, 0.7);
}

/* Responsive */
@media (max-width: 900px) {
  .content-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--cream);
    border-bottom: 4px double var(--sienna);
    padding: 1rem 1.5rem;
    gap: 1rem;
    justify-content: flex-start;
  }

  .nav-list.left {
    order: 3;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list.right {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 2px solid var(--sienna);
    border-radius: 4px;
    cursor: pointer;
    padding: 0.4rem;
  }

  .nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--sienna);
    border-radius: 2px;
  }

  .logo { grid-column: 2; }

  .hero {
    min-height: 70vh;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
  }

  .contact-block { padding: 1.5rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 3rem 1rem; }
  .btn { font-size: 1rem; padding: 0.6rem 1.4rem; }
}