/* Fontit omalta palvelimelta (latinalaiset merkit, SIL Open Font License, ks. fonts/README.md) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-italic-400.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/jost.woff2") format("woff2");
}

:root {
  --ivory: #F8F3EE;
  --sand: #EFE6DC;
  --blush: #EBD5CD;
  --ink: #2E2522;
  --ink-soft: #5E524D;
  --rose: #A86B5C;
  --rose-deep: #8E5546;
  --line: rgba(46, 37, 34, .14);
  --line-light: rgba(248, 243, 238, .18);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.btn {
  display: inline-block;
  padding: 18px 34px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: var(--rose-deep); }

.text-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color .2s;
}
.text-link:hover { color: var(--rose-deep); }

/* Yläpalkki */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .flame { width: 34px; }
.brand .name { width: 108px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.nav a:hover { color: var(--rose-deep); }
.lang { display: flex; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--ink-soft); }
.lang [aria-current] { color: var(--ink); }
.lang a { text-decoration: none; }

/* Avausosio */
.hero { text-align: center; padding: 120px 0 132px; }
.hero .flame { width: 40px; margin: 0 auto 36px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 26px auto 0;
  max-width: 13em;
}
.hero h1 em { display: block; font-style: italic; font-weight: 400; color: var(--rose); }
.hero .lead { max-width: 34em; margin: 32px auto 0; font-size: 19px; color: var(--ink-soft); }
.hero .actions { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 48px; flex-wrap: wrap; }

.rule { display: flex; align-items: center; justify-content: center; gap: 18px; }
.rule::before, .rule::after { content: ""; width: 56px; height: 1px; background: var(--rose); }

/* Palvelut */
.section { padding: 128px 0; }
.section-head { text-align: center; margin-bottom: 72px; }
.section-head h2, .about h2, .contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.1;
  margin-top: 18px;
}
.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.service { border-top: 1px solid var(--ink); padding-top: 32px; }
.service .num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--rose); line-height: 1; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.15; margin: 18px 0 16px; }
.service p { color: var(--ink-soft); }
.service .meta { margin: 24px 0 30px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }

/* Tietoa minusta */
.about { background: var(--sand); }
.about .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
.about blockquote {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.25;
  color: var(--ink);
}
.about .text { padding-top: 46px; }
.about .text p + p { margin-top: 20px; }
.about .text p { color: var(--ink-soft); font-size: 18px; }

/* Yhteystiedot */
.contact { background: var(--ink); color: var(--ivory); text-align: center; }
.contact .eyebrow { color: var(--blush); }
.contact .intro { max-width: 34em; margin: 28px auto 0; color: rgba(248, 243, 238, .78); font-size: 18px; }
.contact .email {
  display: inline-block;
  margin-top: 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 44px);
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 6px;
  transition: color .2s;
}
.contact .email:hover { color: var(--blush); }
.contact .facts { margin-top: 52px; font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: rgba(248, 243, 238, .6); }
.contact .facts span { white-space: nowrap; }

/* Alatunniste */
.site-footer { background: var(--ink); color: rgba(248, 243, 238, .6); font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line-light); padding: 32px 0 40px; }
.site-footer .left { display: flex; align-items: center; gap: 14px; }
.site-footer .flame { width: 20px; }

@media (max-width: 860px) {
  .nav .nav-link { display: none; }
  .service-grid { grid-template-columns: 1fr; gap: 56px; }
  .about .wrap { grid-template-columns: 1fr; gap: 0; }
  .about .text { padding-top: 32px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .site-header .wrap { height: 76px; }
  .brand .flame { width: 29px; }
  .brand .name { width: 92px; }
  .hero { padding: 72px 0 88px; }
  .hero .flame { width: 32px; margin-bottom: 28px; }
  .hero .lead { font-size: 17px; }
  .hero .actions { flex-direction: column; gap: 28px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 48px; }
  .service h3 { font-size: 30px; }
  .about .text p, .contact .intro { font-size: 16px; }
  .contact .facts { line-height: 2.2; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
