:root{
  --parch:#f5ede1; --paper:#fffaf3; --ink:#2a2018; --muted:#6f5a47; --accent:#8a5a44;
  --gold:#caa169; --gold-d:#6f4e2e; --thread:#d2b596; --sep:#e7ddcf;
  --mark-size: 60px;
}
*{box-sizing:border-box}
html, body{height:100%}
body{margin:0; background: radial-gradient(1000px 500px at 80% -10%, #f0e6d9, transparent 60%), var(--parch); color:var(--ink);
  font-family: "Palatino Linotype", Palatino, Garamond, Georgia, serif}

/* Accessibility helpers */
.skip-link{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip-link:focus{left:16px; top:10px; width:auto; height:auto; padding:8px 12px; background:#000; color:#fff; border-radius:8px; z-index:1000}

/* Strong, consistent focus indicators */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce){
  *{animation: none !important; transition: none !important; scroll-behavior: auto !important}
}

/* High contrast/forced colors support */
@media (forced-colors: active){
  a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
  input:focus-visible, select:focus-visible, textarea:focus-visible,
  [tabindex]:not([tabindex="-1"]):focus-visible{ outline: 2px solid CanvasText }
}

/* Signage header */
header.sign{position:sticky; top:0; z-index:10; background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0)); border-bottom: 1px solid var(--sep)}
.sign .wrap{position:relative; max-width:1100px; margin:0 auto; padding: 22px 24px 10px; text-align:center}
.sign h1{margin:0; font-size:clamp(2rem,5vw,3rem); letter-spacing:8px; color: var(--gold); text-shadow: 0 2px 0 var(--gold-d), 0 0 30px rgba(202,161,105,0.25)}
.sign .sub{color:#8b745f; letter-spacing:2px}
/* Nav layout: left mark, centered links */
nav.bar{display:grid; grid-template-columns: var(--mark-size) 1fr var(--mark-size); align-items:center; border-top:1px solid var(--sep); padding: 10px 0 16px}
.sign .mark{justify-self:start; margin-left:24px; width:var(--mark-size); height:var(--mark-size); border-radius:12px; display:block; box-shadow: 0 6px 18px rgba(0,0,0,0.08); border:1px solid var(--sep); background:#fff}
.sign .mark img{width:100%; height:100%; display:block; border-radius:inherit}
.nav-links{grid-column:2; display:flex; justify-content:center; gap:18px}
.nav-links a{color:#6e5846; text-decoration:none; position:relative; padding:6px 10px; font-weight:600}
.nav-links a::after{content:"•"; color:#b89a79; position:absolute; right:-12px}
.nav-links a:last-child::after{display:none}

.container{max-width:1000px; margin: 24px auto; padding: 0 24px}

/* Modern-1 layout structure */
.hero{display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items:center}
.hero h2{font-size: clamp(2rem, 4.4vw, 3rem); line-height:1.06; margin:0 0 10px}
.hero p.lead{color:var(--muted); margin:0 0 16px}
.btn{appearance:none; border:none; border-radius:12px; padding:12px 16px; font-weight:700; cursor:pointer}
.btn.primary{background: var(--accent); color:#fff; box-shadow: 0 10px 20px rgba(138,90,68,0.2)}
.btn.ghost{background:#fff; border:1px solid var(--sep); color:#4a3a2f}

/* Stitched elements */
.stitched{position:relative; background: var(--paper); border-radius: 14px; border:2px dashed var(--thread);
  box-shadow: inset 0 0 0 1px var(--sep), 0 10px 24px rgba(0,0,0,0.05)}
.stitched::before, .stitched::after{content:""; position:absolute; left:14px; right:14px; height:2px;
  background: repeating-linear-gradient(90deg, var(--thread) 0 8px, transparent 8px 16px)}
.stitched::before{top:12px}
.stitched::after{bottom:12px}

.visual{height:320px; display:grid; place-items:center; color:#9f8168; letter-spacing:6px; font-weight:700}

.features{margin: 22px 0}
.features h3{margin:0 0 12px}
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px}
.card{background: var(--paper); border:1px solid var(--sep); border-radius:12px; padding:14px}
.card.stitch{border:2px dashed var(--thread)}
.card h4{margin:0 0 6px}
.card p{margin:0; color:var(--muted)}

/* Craft section */
.craft{margin: 28px 0}
.craft h3{margin: 0 0 12px}
.craft .lead{color: var(--muted); font-size: 1.1rem; margin: 0 0 14px}
.craft p{margin: 0 0 12px; line-height: 1.6}

.gallery{margin: 8px 0 36px}
.masonry{display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px}
.tile{height: 180px; border-radius: 12px; border:2px dashed var(--thread); background: #f7efe6; overflow:hidden}
.tile img{width:100%; height:100%; object-fit: cover; display:block; border-radius: inherit}

footer{border-top:1px solid var(--sep); text-align:center; padding:18px 0; color:#7b6a58}

@media(max-width: 940px){ .hero{grid-template-columns:1fr} .grid3{grid-template-columns:1fr 1fr} .masonry{grid-template-columns:1fr 1fr} }
