/* Topalvi Aussies — site styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --parchment: #f6f1e7;
  --oat: #ece4d4;
  --pine: #1f3b30;
  --pine-soft: #2f5444;
  --copper: #b5622d;
  --copper-dark: #964f22;
  --ink: #2a2a26;
  --muted: #6b675d;
  --rule: #d6cbb5;
  --white: #fffdf8;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(31, 59, 48, 0.08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: var(--copper-dark); }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; color: var(--pine); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-dark); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--pine); }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; }
.brand-name span { color: var(--copper); }
.nav-links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--pine); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--copper-dark); }
.nav-links .btn { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--pine); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Buttons */
.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: var(--radius);
  background: var(--copper); color: var(--white); text-decoration: none; font-weight: 600;
  border: 2px solid var(--copper); transition: background .15s, border-color .15s; cursor: pointer; font-size: 1rem;
  font-family: inherit;
}
.btn:hover { background: var(--copper-dark); border-color: var(--copper-dark); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--white); border-color: var(--pine); }
.btn-sm { padding: .5rem 1rem; font-size: .92rem; }
.btn-row { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* Photo frames: merle-patterned placeholders until real photos are added */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background-color: #8e98a1;
  background-image:
    radial-gradient(ellipse 18% 12% at 22% 30%, #2e3236 60%, transparent 62%),
    radial-gradient(ellipse 10% 14% at 70% 22%, #2e3236 60%, transparent 62%),
    radial-gradient(ellipse 14% 9% at 58% 68%, #3a3f44 60%, transparent 62%),
    radial-gradient(ellipse 8% 10% at 15% 78%, #2e3236 60%, transparent 62%),
    radial-gradient(ellipse 12% 8% at 88% 60%, #3a3f44 60%, transparent 62%),
    linear-gradient(160deg, #a7b0b8, #7e8891);
  aspect-ratio: 4 / 3;
}
.photo.red { background-color: #c08a63; background-image:
    radial-gradient(ellipse 18% 12% at 30% 35%, #7a3f1f 60%, transparent 62%),
    radial-gradient(ellipse 10% 14% at 72% 25%, #8a4a26 60%, transparent 62%),
    radial-gradient(ellipse 14% 9% at 55% 72%, #7a3f1f 60%, transparent 62%),
    radial-gradient(ellipse 9% 9% at 14% 70%, #8a4a26 60%, transparent 62%),
    linear-gradient(160deg, #d3a27c, #b07a52); }
.photo.tri { background-color: #2b2b2b; background-image:
    radial-gradient(ellipse 22% 14% at 25% 80%, #f3ece0 60%, transparent 62%),
    radial-gradient(ellipse 9% 7% at 70% 30%, #a8622e 60%, transparent 62%),
    radial-gradient(ellipse 7% 9% at 82% 72%, #a8622e 60%, transparent 62%),
    linear-gradient(160deg, #3a3a3a, #1f1f1f); }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.photo .tag {
  position: absolute; left: .8rem; bottom: .8rem;
  background: rgba(255, 253, 248, .92); color: var(--pine);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 4px;
}
.photo.tall { aspect-ratio: 4 / 5; }

/* Hero */
.hero { padding: 4.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero .photo { aspect-ratio: 5 / 6; box-shadow: var(--shadow); }
.page-hero { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--rule); }

/* Sections */
section { padding: 4.5rem 0; }
.section-alt { background: var(--oat); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { margin-bottom: 2.5rem; }

.rule-label { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.rule-label::before, .rule-label::after { content: ""; height: 1px; background: var(--rule); flex: 1; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: center; }

.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card .photo { margin: -1.6rem -1.6rem 1.3rem; border-radius: var(--radius) var(--radius) 0 0; }
.card h3 { margin-bottom: .35rem; }
.card p:last-child { margin-bottom: 0; }

.feature { padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.feature-num { font-family: 'Fraunces', serif; color: var(--copper); font-size: 1.1rem; font-weight: 600; }

.badge {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; background: #f3e3d6; color: var(--copper-dark);
  margin-bottom: .7rem;
}
.badge.green { background: #dfe9e2; color: var(--pine); }

.specs { list-style: none; padding: 0; margin: .8rem 0 0; font-size: .94rem; }
.specs li { display: flex; justify-content: space-between; padding: .4rem 0; border-top: 1px dashed var(--rule); }
.specs li span:first-child { color: var(--muted); }

.price { font-family: 'Fraunces', serif; font-size: 2.6rem; color: var(--copper); font-weight: 700; line-height: 1; }
.price small { font-family: 'Work Sans', sans-serif; font-size: .9rem; color: var(--muted); font-weight: 500; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.6rem 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1.5px solid var(--copper);
  color: var(--copper); font-family: 'Fraunces', serif; font-weight: 600;
  display: grid; place-items: center;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .2rem; }

.cta-band { background: var(--pine); color: #e8efe9; text-align: center; padding: 4rem 0; }
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: #c9d6cd; margin-inline: auto; }

details { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.3rem; margin-bottom: .8rem; }
summary { cursor: pointer; font-weight: 600; color: var(--pine); }
details p { margin: .8rem 0 0; color: var(--muted); }

/* Forms */
form .field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--pine); margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule); border-radius: 6px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; display: none; }
.notice.show { display: block; }
.notice.ok { background: #dfe9e2; color: var(--pine); border: 1px solid #b9cfc1; }
.notice.err { background: #f6e1d6; color: #7a3a15; border: 1px solid #e3bfa8; }

/* Footer */
.site-footer { background: #17291f; color: #b9c7bd; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { font-family: 'Work Sans', sans-serif; color: var(--white); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a { color: #dfe8e2; text-decoration: none; }
.site-footer a:hover { color: #f0b98f; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .brand { color: var(--white); margin-bottom: .8rem; }
.footer-bottom { border-top: 1px solid #2c4236; margin-top: 2.5rem; padding-top: 1.4rem; font-size: .85rem; color: #8ea193; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .hero .photo { aspect-ratio: 4 / 3; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--parchment); border-bottom: 1px solid var(--rule);
    padding: .5rem 1.25rem 1.2rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
  .nav-links li:last-child a { border: 0; margin-top: .8rem; text-align: center; }
  section { padding: 3.2rem 0; }
  .hero { padding: 2.5rem 0 3rem; }
  .grid-3, .form-row { grid-template-columns: 1fr; }
}
