/* Tiia Näsman — Naturopaatti · Vaasa */

* { box-sizing: border-box; }

:root {
  --bg: #f7f4ec;
  --ink: #25332a;
  --ink-soft: #3f4a3a;
  --body: #5a6353;
  --green: #2e5a44;
  --green-dark: #22422f;
  --sage: #7c8a6d;
  --sand: #9a9078;
  --band: #e7ebdf;
  --band-teaser: #eef1e8;
  --band-order: #e5ecdf;
  --card: #fbf8f2;
  --hairline: rgba(47, 58, 44, 0.1);
  --hairline-mid: rgba(47, 58, 44, 0.12);
  --hairline-strong: rgba(47, 58, 44, 0.14);
}

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Mulish', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: #c9d1bd; color: var(--ink); }
input, textarea, select, button { font-family: 'Mulish', sans-serif; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: block; }

.brand-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
}

.brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 0;
  color: var(--sage);
  font-weight: 400;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 600; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.lang-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.1em;
  padding: 2px;
  color: #a4a48c;
  font-weight: 400;
  transition: color 0.2s;
}

.lang-toggle button.active { color: var(--ink); font-weight: 600; }
.lang-sep { color: rgba(47, 58, 44, 0.3); }

.header-controls { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  flex-direction: column;
  gap: 5px;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

.site-main { max-width: 1160px; margin: 0 auto; }

.page { display: none; }
.page.visible { display: block; animation: fadeUp 0.45s ease both; }

.page-pad { padding: 80px 32px 90px; }

.kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.kicker.muted { color: var(--sage); }
.kicker.accent { color: var(--green); letter-spacing: 0.32em; }

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.06;
  margin: 0 0 48px;
  max-width: 720px;
}
.page-title.tight { margin-bottom: 14px; }

.page-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  max-width: 560px;
  margin: 0 0 54px;
  font-weight: 300;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  margin: 0 0 20px;
  font-weight: 300;
}
.body-text.last { margin-bottom: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-dark {
  background: var(--ink);
  color: var(--bg);
  padding: 17px 34px;
}
.btn-dark:hover { background: var(--ink-soft); color: var(--bg); }

.btn-outline {
  background: none;
  border: 1px solid var(--green);
  color: var(--green);
  padding: 15px 28px;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--green); color: var(--bg); }

.btn-green {
  background: var(--green);
  color: #fff;
  padding: 16px 30px;
  white-space: nowrap;
}
.btn-green:hover { background: var(--green-dark); color: #fff; }

/* ---------- home: hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: 68px;
  align-items: center;
  padding: 100px 32px 80px;
}

.kicker-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 32px;
}

.kicker-line { width: 42px; height: 1px; background: var(--green); display: block; }

.kicker-row .kicker { margin-bottom: 0; letter-spacing: 0.34em; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 0.97;
  margin: 0 0 34px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-title em { font-style: italic; color: var(--green); }

.hero-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--body);
  max-width: 428px;
  margin: 0 0 44px;
  font-weight: 300;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--sand);
}

.hero-photo { position: relative; }

.photo-offset-frame {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--green);
  opacity: 0.5;
  pointer-events: none;
}

.photo-frame {
  border: 1px solid var(--hairline-mid);
  overflow: hidden;
  position: relative;
}
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---------- home: pillars ---------- */

.pillars-band {
  background: var(--band);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 74px 44px;
}

.pillars-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(46, 90, 68, 0.22);
  padding-bottom: 24px;
  margin-bottom: 52px;
}

.pillars-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 23px;
  color: var(--green);
}

.pillars-sub {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.pillar-line { display: block; width: 26px; height: 1px; background: var(--green); margin-bottom: 22px; }

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-style: italic;
  color: var(--green);
  line-height: 1;
  margin-bottom: 18px;
}

.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 13px;
}

.pillar-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin: 0;
  font-weight: 300;
  text-wrap: pretty;
}

/* ---------- home: quote ---------- */

.quote-section { padding: 104px 32px; text-align: center; }

.quote-line { display: block; width: 46px; height: 1px; background: var(--green); margin: 0 auto 38px; }

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.3;
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink-soft);
  text-wrap: balance;
}

.quote-attrib {
  margin-top: 34px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---------- home: cakes teaser ---------- */

.cakes-teaser {
  background: var(--band-teaser);
  border-top: 1px solid rgba(46, 90, 68, 0.18);
  padding: 60px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.teaser-kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.teaser-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink-soft);
  margin: 0;
  max-width: 560px;
  text-wrap: pretty;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: start;
}

.about-balance {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 30px;
}

.about-photo {
  position: sticky;
  top: 96px;
  margin-top: -118px;
}

/* ---------- services ---------- */

.services-list { border-top: 1px solid var(--hairline-strong); }

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--hairline-strong);
  align-items: baseline;
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--green);
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 27px;
  margin: 0;
  line-height: 1.15;
}

.service-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin: 0;
  font-weight: 300;
}

.services-cta {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.services-cta .btn-dark { padding: 16px 30px; }

.services-note { font-size: 15px; color: var(--sage); font-weight: 300; }

/* ---------- cakes ---------- */

.cakes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cake-photo {
  aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(45deg, #ece1d6, #ece1d6 11px, #f3ebe1 11px, #f3ebe1 22px);
  border: 1px solid var(--hairline-mid);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

.cake-card {
  background: var(--card);
  border: 1px solid var(--hairline-mid);
  display: flex;
  flex-direction: column;
}

.cake-card .cake-photo {
  border: none;
  border-bottom: 1px solid var(--hairline-mid);
  margin-bottom: 0;
}

.cake-card-body { padding: 22px 24px 26px; }

.cake-card .cake-title { margin: 0 0 8px; }
.cake-card .cake-desc { margin: 0; }

.cake-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cake-photo:hover img { transform: scale(1.04); }

.gallery-photo { margin-bottom: 0; }

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 64px 0 26px;
  border-top: 1px solid var(--hairline-strong);
  padding-top: 44px;
}

.gallery-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 32px;
  margin: 0;
}

.gallery-ig {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.gallery-ig:hover { color: var(--green-dark); }

.cake-ph-label {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: #9c8a76;
  background: rgba(247, 244, 236, 0.9);
  padding: 3px 7px;
}

.cake-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 23px;
  margin: 0 0 7px;
}

.cake-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  font-weight: 300;
}

.order-band {
  margin-top: 58px;
  background: var(--band-order);
  border: 1px solid rgba(46, 90, 68, 0.3);
  padding: 44px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.order-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 8px;
}

.order-text {
  font-size: 15px;
  color: var(--body);
  margin: 0;
  font-weight: 300;
  max-width: 440px;
  line-height: 1.6;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 26px;
}

.contact-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 40px;
  font-weight: 300;
  max-width: 380px;
}

.contact-rows { display: flex; flex-direction: column; gap: 22px; }

.contact-row-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 5px;
}

.contact-row-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  color: var(--ink);
}

.form-card {
  background: var(--card);
  border: 1px solid var(--hairline-mid);
  padding: 40px;
}

.form-card form { display: flex; flex-direction: column; gap: 20px; }

.form-card label { display: block; }

.form-card label > span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 58, 44, 0.2);
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.form-card textarea { resize: vertical; }

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus { border-color: var(--green); }

.form-card .btn-dark { margin-top: 4px; padding: 16px 30px; }

.form-thanks { padding: 40px 8px; text-align: center; }

.thanks-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  margin-bottom: 12px;
}

.thanks-sub { font-size: 15px; color: var(--body); font-weight: 300; margin: 0; }

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

.site-footer { border-top: 1px solid var(--hairline); margin-top: 20px; }

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 44px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
}

.footer-sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 4px;
}

.footer-links { display: flex; gap: 26px; font-size: 13px; letter-spacing: 0.06em; }

.footer-copy { font-size: 12px; color: #8a8672; font-weight: 300; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 64px 24px 56px; }
  .hero-title { font-size: 54px; }
  .hero-photo { max-width: 420px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars-band { padding: 56px 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; margin-top: 0; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cakes-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-desc { grid-column: 2; }
  .page-pad { padding: 56px 24px 64px; }
  .page-title { font-size: 40px; }
  .quote-text { font-size: 30px; }
  .cakes-teaser { padding: 48px 24px; }
}

@media (max-width: 680px) {
  /* compact header with hamburger menu */
  .header-inner { padding: 12px 20px; gap: 16px; }
  .brand-name { font-size: 21px; }
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 18px 30px -18px rgba(37, 51, 42, 0.25);
    padding: 8px 0 12px;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 24px;
    font-size: 14px;
  }
  .main-nav a.active { background: var(--band-teaser); }

  /* hero */
  .hero { padding: 44px 20px 56px; gap: 44px; }
  .kicker-row { margin-bottom: 24px; }
  .hero-title { font-size: 40px; margin-bottom: 26px; }
  .hero-lead { font-size: 16px; margin-bottom: 36px; }
  .hero-photo { max-width: none; margin-left: 10px; }
  .photo-offset-frame { top: -10px; left: -10px; right: 10px; bottom: 10px; }

  /* bands & sections */
  .page-pad { padding: 44px 20px 56px; }
  .page-title { font-size: 33px; margin-bottom: 36px; }
  .page-title.tight { margin-bottom: 12px; }
  .page-lead { font-size: 16px; margin-bottom: 40px; }
  .pillars-band { padding: 44px 20px; }
  .pillars-head { margin-bottom: 40px; }
  .pillars-sub { display: none; }
  .quote-section { padding: 72px 24px; }
  .quote-text { font-size: 26px; }
  .cakes-teaser { padding: 44px 20px; }
  .teaser-text { font-size: 22px; }

  /* full-width tap targets */
  .cakes-teaser .btn,
  .order-band .btn,
  .services-cta .btn,
  .hero-actions .btn,
  .form-card .btn { display: block; width: 100%; }
  .services-cta, .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .signature { text-align: center; }

  /* content grids */
  .cakes-grid { grid-template-columns: 1fr; gap: 34px; }
  .order-band { padding: 32px 24px; }
  .service-row { padding: 26px 0; gap: 8px 20px; }
  .service-title { font-size: 24px; }
  .contact-title { font-size: 36px; }
  .form-card { padding: 24px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 36px 20px; }

  /* prevent iOS zoom on focus: inputs must be >= 16px */
  .form-card input,
  .form-card select,
  .form-card textarea { font-size: 16px; }
}
