/* ===== Theme ===== */
:root{
  --bg: #F7EBD3;
  --surface: #fff;
  --ink: #4B2E1E;
  --muted: #806653;
  --primary: #8B5E3C;
  --primary-ink: #fff;
  --radius: 18px;
  --shadow: 0 10px 28px rgba(0,0,0,.08);
}

/* ===== Reset & Base ===== */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

/* ===== Layout ===== */
.container{ width:min(100%, 1100px); margin-inline:auto; padding-inline:16px; }
.section{ padding: 28px 0; }
.section-title{ font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0 0 14px; color: var(--primary); }
.card{
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(14px, 3vw, 24px);
}

/* ===== Header / Nav ===== */
.site-header{
  background: #f3e2c1;
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid #edd6ad;
}
.header-inner{
  display:flex; align-items:center; gap:12px;
  padding-block: 10px;
}
.brand{display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit}
.brand-mark{width:48px; height:48px; object-fit:contain; border-radius:12px}
.brand-text{display:flex; flex-direction:column; font-size: clamp(1rem, 2.3vw, 1.25rem); line-height:1.1}

.nav{
  margin-left:auto;
  display:flex; align-items:center; gap:10px;
}
.nav-link{
  text-decoration:none; color: var(--primary); font-weight:600;
  padding:8px 10px; border-radius:10px;
}
.nav-link:hover{ background: rgba(139,94,60,.1) }
.nav-cta{ margin-left:4px }

/* Mobile menu button */
.nav-toggle{
  display:inline-flex; margin-left:auto; background:transparent; border:none; cursor:pointer;
}
.nav-toggle span{ display:block; width:24px; height:2px; background:#7a5b45; margin:4px 0; border-radius:2px }
@media (min-width: 800px){
  .nav-toggle{ display:none }
}

/* Mobile nav dropdown */
@media (max-width: 799px){
  .nav{ display:none; position:absolute; top:60px; right:16px; left:16px; background:var(--surface);
        border-radius:14px; box-shadow:var(--shadow); padding:10px; flex-direction:column; }
  .nav.open{ display:flex }
  .nav-cta{ width:100%; text-align:center }
}

/* ===== Hero with embedded linen pattern ===== */
.hero {
  /* tiny seamless linen texture as data-URI */
  background-color: #f5e9d3;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeNpi/P//PwMlgImB4T8GQzQxQFQwMDA8QGQGg0gA0sQkA8QvQDcGgYgkGg0jA1h9QAxg0gYg1g2gFjC0gYgWw2wE1mA0gAAAwA8Ew7J7b5v2QAAAABJRU5ErkJggg==");
  background-repeat: repeat;
  background-size: auto;
  padding: clamp(32px, 6vw, 60px) 0;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}

.hero-title{
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  margin:0 0 8px;
  color:var(--primary);
}

.hero-tagline{
  color: var(--muted);
  margin: 6px 0 14px;
}

.hero-actions{
  display:grid;
  gap:10px;
  grid-template-columns: 1fr 1fr;
}
.button--block-sm{ grid-column: span 2; }

@media (min-width: 560px){
  .button--block-sm{ grid-column: auto; }
}

.hero-media img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  background:#f0e8d7; /* graceful fallback tint if image missing */
}

@media (min-width: 900px){
  .hero-inner{
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
  }
}

/* ===== Buttons ===== */
.button{
  display:inline-block;
  text-decoration:none;
  font-weight:700;
  padding:.8rem 1rem;
  border-radius:12px;
  transition:transform .03s ease;
  text-align:center;
}
.button:active{ transform: translateY(1px); }
.button--primary{
  background: var(--primary);
  color: var(--primary-ink);
}
.button--primary:hover{ filter: brightness(0.97); }
.button--ghost{
  border:2px solid var(--primary);
  color: var(--primary);
  background:transparent;
}
.button--ghost:hover{ background: rgba(139,94,60,.08); }

/* ===== Gallery ===== */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.gallery-item{
  border-radius:12px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background:#fff;
}
.gallery-item img{
  display:block;
  width:100%;
  height:auto;
}

/* ===== Footer ===== */
.site-footer{
  margin-top: 30px;
  padding: 18px 0;
  background:#f3e2c1;
  border-top: 1px solid #edd6ad;
  color:#6b4e3a;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
@media (max-width: 640px){
  .footer-inner{ flex-direction:column; text-align:center; }
}

/* ===== Utilities ===== */
.muted{ color: var(--muted); }

/* Never let images overflow on iOS */
img{ max-width:100%; height:auto; }
