/* Mulberry House — warm, hand-made, Portuguese. Arched frames, dashed rules,
   a tile strip along the top. Terracotta and sky sampled from the photographs
   (#996E4B wood, #D7A465 sun, #606C91 sky). */

:root {
  --cream: #fbf3e4;
  --cream-2: #f3e8d3;
  --ink: #3a2c1f;
  --ink-2: #6f5c48;
  --terra: #a8542c;
  --terra-dark: #8a4423;
  --azul: #4a668f;
  --gold: #dac480;
  --line: #ddc9a8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.125rem/1.8 Lora, Georgia, serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip { position: absolute; left: -9999px; background: var(--terra); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ---------- tile strip (a plain azulejo-ish rhythm, drawn in CSS) ---------- */

.tile-strip {
  height: 12px;
  background:
    repeating-linear-gradient(45deg, var(--azul) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, var(--azul) 0 6px, transparent 6px 12px),
    var(--cream-2);
  opacity: .55;
}

/* ---------- header ---------- */

.top {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
}
.mark { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.mark img { width: 2.3rem; height: auto; }
.mark span { font-family: "Bogart", Fraunces, Georgia, serif; font-weight: 600; font-size: 1.25rem; line-height: 1.1; }
.mark i { font-weight: 300; font-size: .78em; }

.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover, .top nav a[aria-current] { color: var(--terra); }

.btn {
  display: inline-block; background: var(--terra); color: #fff !important;
  text-decoration: none; padding: .85rem 1.7rem; border-radius: 100px;
  font-family: "Bogart", Fraunces, Georgia, serif; font-size: 1rem;
}
.btn:hover { background: var(--terra-dark); }
.btn.small { padding: .5rem 1.2rem; font-size: .9rem; }

/* ---------- layout ---------- */

.inner { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.narrow { max-width: 44rem; }
.inner.narrow { max-width: 72rem; }
.inner.narrow > * { max-width: 44rem; }
section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }

h1, h2, h3 { font-family: "Bogart", Fraunces, Georgia, serif; margin: 0 0 1.1rem; line-height: 1.08; font-weight: 300; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1.2rem; }
.lede { font-size: 1.2rem; line-height: 1.7; color: var(--ink-2); }
.dim { color: var(--ink-2); }

.eyebrow {
  font-family: "Bogart", Fraunces, Georgia, serif; font-style: italic; font-weight: 300;
  font-size: 1.05rem; color: var(--terra); margin: 0 0 .8rem;
}

.dashed { border: 0; border-top: 2px dashed var(--line); margin: 0; }

/* ---------- arch frames ---------- */

.arch { border-radius: 999px 999px 12px 12px / 45% 45% 12px 12px; overflow: hidden; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.round { border-radius: 14px; overflow: hidden; }
.round img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- hero ---------- */

.hero { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-top: clamp(1rem, 3vw, 2.5rem); }
@media (min-width: 56rem) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero h1 { max-width: 14ch; }

/* ---------- split ---------- */

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip > :first-child { order: 2; }
}

/* ---------- number cards ---------- */

.counts { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 56rem) { .counts { grid-template-columns: repeat(3, 1fr); } }
.counts div {
  background: var(--cream-2); border-radius: 14px; padding: 1.5rem 1.6rem;
}
.counts .v { font-family: "Bogart", Fraunces, Georgia, serif; font-weight: 300; font-size: 2.3rem; line-height: 1; display: block; color: var(--terra); }
.counts .u { display: block; font-size: .9rem; color: var(--ink-2); margin: .5rem 0 .2rem; }
.counts .k { font-size: .92rem; color: var(--ink-2); font-style: italic; }

/* ---------- cards ---------- */

.cards { display: grid; gap: 1.5rem; }
@media (min-width: 50rem) { .cards.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--cream-2); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.2rem); }
.card p:last-child { margin-bottom: 0; }

.tint { background: var(--cream-2); }

/* ---------- fruit chips ---------- */

.chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: .45rem 1.1rem; font-size: .95rem; color: var(--ink-2);
}

/* ---------- quote ---------- */

blockquote {
  margin: 0; font-family: "Bogart", Fraunces, Georgia, serif; font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.2; max-width: 20ch;
  color: var(--terra);
}

/* ---------- forms ---------- */

form { max-width: 34rem; }
label { display: block; margin-bottom: 1.3rem; }
label span { display: block; font-size: .9rem; color: var(--ink-2); margin-bottom: .4rem; }
input, textarea {
  width: 100%; font: inherit; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem 1rem;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, textarea:focus { border-color: var(--terra); }
button {
  font-family: "Bogart", Fraunces, Georgia, serif; font-size: 1rem;
  background: var(--terra); color: #fff; border: 0; border-radius: 100px;
  padding: .9rem 2rem; cursor: pointer;
}
button:hover { background: var(--terra-dark); }
.sent { margin-top: 1rem; color: var(--terra); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { border-bottom: 2px dashed var(--line); padding: 1.1rem 0; }
.contact-list small { display: block; font-size: .85rem; color: var(--terra); font-style: italic; margin-bottom: .2rem; }
.contact-list a { text-decoration: none; font-family: "Bogart", Fraunces, Georgia, serif; font-size: 1.15rem; }
.contact-list a:hover { color: var(--terra); }

.link-more { display: inline-block; margin-top: .8rem; color: var(--terra); text-decoration: none; border-bottom: 2px dotted currentColor; padding-bottom: .2rem; }

/* ---------- helpers ---------- */
.stack { margin-top: 2.2rem; }
.stack-sm { margin-top: 1.4rem; }
.top-align { align-items: start; }

/* ---------- footer ---------- */

.foot { background: var(--cream-2); margin-top: 2rem; }
.foot .tile-strip { opacity: .45; }
.foot-grid { display: grid; gap: 2rem; padding-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.foot p { margin: 0 0 .4rem; font-size: .95rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--terra); }
.foot-mark { font-family: "Bogart", Fraunces, Georgia, serif; font-size: 1.3rem; }
.foot-mark i { font-weight: 300; font-size: .78em; }
.colophon { padding-top: 2.5rem; padding-bottom: 2rem; font-size: .85rem; color: var(--ink-2); font-style: italic; }

.mark img.mark-tree { width: auto; height: 46px; }
.mark img.brand-lockup { height: 42px; width: auto; }

/* three-slot sensory block — REFERENCES.md §3 */
.tasting { margin: 2rem 0 0; }
.tasting div { display: grid; grid-template-columns: 8rem 1fr; gap: 1.4rem; padding: 1rem 0; border-bottom: 2px dashed var(--line); }
.tasting dt { font-family: "Bogart", Georgia, serif; font-style: italic; color: var(--terra); }
.tasting dd { margin: 0; color: var(--ink-2); }
