@font-face {
  font-family: 'Neucha';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/neucha-normal-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fffffb;
  --text: #3a051a;
  --berry: #a04f6e;
  --apricot: #ffb56e;
  --sage: #8fb2b7;
  --link: #5f8a90;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 'Open Sans', Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); }
a:hover { color: var(--berry); }

h1, h2, h3 {
  font-family: 'Neucha', 'Comic Sans MS', cursive;
  font-weight: 400;
  line-height: 1.2;
  margin: 1.2em 0 .5em;
}
h1 { color: var(--apricot); font-size: clamp(2.2rem, 4vw, 3.2rem); margin-top: 0; }
h2 { color: var(--berry); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { color: var(--apricot); font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.05rem; margin: 1.2em 0 .4em; }

p, ul { margin: 0 0 1em; }
ul { padding-left: 1.3em; }
li { margin-bottom: .25em; }

/* Header: menu – logo – menu */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 10px;
}
.logo img { height: 170px; width: auto; }
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.6rem;
}
.menu-left ul { justify-content: flex-end; }
.menu-right ul { justify-content: flex-start; }
.menu li { margin: 0; }
.menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: .3em 0;
  border-bottom: 3px solid transparent;
}
.menu a:hover, .menu a[aria-current="page"] {
  color: var(--berry);
  border-bottom-color: var(--apricot);
}

.hero img {
  width: 100%;
  height: clamp(220px, 34vw, 480px);
  object-fit: cover;
  object-position: 40% 35%;
}

/* Content grid */
.content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 50px 20px 70px;
}
.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}
.col { min-width: 0; }
.w1-1 { grid-column: span 3; }
.w1-3 { grid-column: span 1; }
.w2-3 { grid-column: span 2; }

.box {
  border: 2px dotted var(--berry);
  padding: 20px 20px 0;
}
.box .img { margin-bottom: -5px; }

.img { margin: 0 0 1.5em; }
.img.round img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(58, 5, 26, .18);
}

.btn {
  display: inline-block;
  background: var(--berry);
  color: var(--bg);
  text-decoration: none;
  padding: .7em 1.6em;
  border-radius: 5px;
  font-weight: 600;
  margin-top: .5em;
}
.btn:hover { background: var(--text); color: var(--bg); }

/* Footer */
.site-footer {
  background: var(--berry);
  color: var(--bg);
  text-align: center;
  padding: 50px 20px 40px;
}
.site-footer a { color: var(--bg); }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 1.2em 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.footer-menu a { color: var(--apricot); font-weight: 600; text-decoration: none; }
.footer-menu a:hover, .footer-menu a[aria-current="page"] { text-decoration: underline; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 1.2em;
  margin: 0;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: .8rem;
    justify-items: center;
  }
  .logo { order: -1; }
  .logo img { height: 120px; }
  .menu-left ul, .menu-right ul { justify-content: center; }
  .row { grid-template-columns: 1fr; gap: 20px; }
  .w1-1, .w1-3, .w2-3 { grid-column: auto; }
  .img.round { max-width: 320px; margin-left: auto; margin-right: auto; }
  .content { padding-top: 30px; }
}
