/* A modest refresh of the Hut's existing mint and berry palette. */
:root {
  --ink: #283d35;
  --berry: #753e43;
  --mint: #b5c8c2;
  --paper: #fcfaf5;
  --line: #c9d2ca;
}
html { scroll-padding-top: 24px; }
body {
  max-width: none;
  margin: 0;
  color: var(--ink);
  background: var(--mint);
  font: 16px/1.65 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body .page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
img { max-width: 100%; height: auto; }
a, a:visited { color: var(--berry); text-underline-offset: 4px; }
a:hover { color: #382127; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #195b74;
  outline-offset: 4px;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.16; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.25; }
h3 { font-size: 1.4rem; line-height: 1.35; }
p, ul { margin-bottom: 1.25rem; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 20; }
.skip-link:focus { top: 16px; padding: 12px; background: white; }
body .banner {
  display: grid;
  grid-template-columns: minmax(34px, 1fr) minmax(0, 576px) minmax(34px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  background: var(--mint);
  border-bottom: 0;
}
.banner:before, .banner:after, .content:before, .content:after,
.main:before, .main:after, .footer:before, .footer:after { display: none; }
.banner > .unit, .banner > .lastUnit { float: none; width: auto; text-align: center; }
.banner > .unit:first-child { grid-column: 1; }
.banner .logo { width: 100%; margin: 0 auto; }
.banner > .unit:first-child img, .banner > .lastUnit img { width: 84px; }
body .nav-horiz { background: var(--paper); border-bottom: 1px solid var(--line); }
#topmenu { display: flex; justify-content: center; gap: 16px; margin: 0; padding: 8px 16px; }
#topmenu li { display: block; }
#topmenu a {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 10px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}
#topmenu a:hover { border-bottom-color: var(--berry); }
.home #home a, .classes #classes a, .contact #contact a {
  background: none;
  color: var(--berry);
  border-bottom-color: var(--berry);
}
body .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 40px;
  padding: 48px 40px;
}
body .main { display: block; grid-column: 1; grid-row: 1; min-width: 0; min-height: 0; padding: 0; }
body .rightCol {
  grid-column: 2;
  grid-row: 1;
  float: none;
  width: auto;
  min-width: 0;
  padding: 24px 16px;
  background: #edf1e9;
  align-self: start;
  font-size: 0.9rem;
}
.rightCol h2 { font-size: 1.4rem; }
.rightCol img { margin: 8px 0; box-shadow: none; }
body.home .content { display: block; padding: 0; }
.home .main > section { padding: 48px 40px; }
.welcome { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; }
.eyebrow { margin-bottom: 12px; color: #5d6a5d; font-size: 0.8rem; font-weight: bold; letter-spacing: 0.09em; text-transform: uppercase; }
.welcome h1 { color: var(--berry); }
.lead { font-size: 1.15rem; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.button, .button:visited {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--berry);
  border-radius: 4px;
  background: var(--berry);
  color: white;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #573035; color: white; }
.text-link { display: inline-block; padding: 8px 0; font-weight: bold; }
figure { margin: 0; }
figure img { display: block; margin: 0 auto; }
figure figcaption { margin-top: 12px; color: #526055; font: 0.85rem/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.welcome-photo { max-width: 480px; }
.welcome-photo img { border: 8px solid white; box-shadow: 0 2px 12px #283d3514; }
.examples { border-top: 1px solid var(--line); }
.section-heading { max-width: 700px; margin-bottom: 32px; }
.example-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; }
.example-photo { max-width: 300px; }
.example-photo img { border: 6px solid white; }
.example-copy { max-width: 540px; }
.class-intro { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; background: #e8eee7; }
.class-intro figure { max-width: 300px; }
.visit { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; }
.phone-link { display: inline-block; padding: 8px 0; font-weight: bold; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.photo-grid a { display: flex; align-items: center; justify-content: center; background: #e8eee7; padding: 6px; }
.photo-grid img { width: 100%; margin: 0; }
.class-details li { margin-bottom: 10px; }
.well { padding: 20px; background: #e8eee7; border: 1px solid var(--line); border-radius: 0; color: var(--ink); box-shadow: none; }
body .footer { padding: 32px 40px 16px; border-top: 1px solid var(--line); background: #e8eee7; color: var(--ink); font-size: 0.85rem; line-height: 1.7; text-align: left; }
.footer > .row:first-child { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 32px; }
.footer .unit, .footer .lastUnit { float: none; width: auto; }
.footer h3 { margin-bottom: 12px; font-size: 1.2rem; }
.footer li a { display: inline-block; padding: 4px 0; }
.footer a, .footer a:link, .footer a:visited { color: var(--berry); }
.footer .milli { margin: 16px 0 0; font-size: 0.8rem; }
.footer img { width: 44px; height: 44px; object-fit: contain; }
.contact .island { float: none; width: 100%; max-width: none; padding: 0; text-align: left; }
.contact iframe { display: block; width: 100%; max-width: 100%; margin-top: 32px; border: 0; }
.contact .contact-address { width: 100%; margin: 0; }
.contact .contact-address a { display: inline-block; padding: 6px 0; }
#contactForm { width: 100%; max-width: 580px; }
#contactForm fieldset { margin-bottom: 16px; padding: 0; border: 0; font: inherit; }
#contactForm legend { margin-bottom: 16px; color: var(--ink); font: 1.3rem Georgia, serif; }
#contactForm .form-group { margin: 0 0 20px; }
#contactForm .form-group > div { margin: 0; }
#contactForm label { display: block; width: auto; margin-bottom: 6px; padding: 0; color: var(--ink); font-weight: bold; }
#contactForm .form-control { display: block; width: 100%; max-width: 100%; min-height: 48px; height: auto; padding: 12px; border: 1px solid #8d9c90; border-radius: 3px; background: white; color: var(--ink); font: inherit; box-shadow: none; }
#contactForm textarea.form-control { min-height: 160px; resize: vertical; }
#contactForm .help-block { display: block; margin-top: 6px; color: #526055; font-size: 0.85rem; line-height: 1.5; }
#contactForm .d-none { display: none !important; }
#contactForm button { min-height: 48px; margin: 0 12px 8px 0; padding: 12px 20px; border: 1px solid var(--berry); border-radius: 3px; background: var(--berry); color: white; font: inherit; cursor: pointer; box-shadow: none; text-shadow: none; }
#contactForm button[type="reset"] { float: none; background: transparent; color: var(--berry); }
#contactForm label.error { color: #8c2020; }
@media (max-width: 850px) {
  body .content { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 24px; }
  body .rightCol { grid-column: 1; grid-row: 2; }
  .rightCol .center { max-width: 348px; margin: auto; }
  .home .main > section { padding: 36px 24px; }
  .welcome { grid-template-columns: 1fr; gap: 28px; }
  .welcome-copy { max-width: 620px; }
  .welcome-photo { justify-self: center; }
  .example-layout, .visit { grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr); gap: 28px; }
  .class-intro { grid-template-columns: minmax(0, 1fr) minmax(180px, 0.8fr); gap: 28px; }
}
@media (max-width: 580px) {
  body .banner { gap: 8px; padding: 18px 16px; }
  .banner > .unit:first-child img, .banner > .lastUnit img { width: 40px; }
  #topmenu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 4px 8px; }
  #topmenu a { padding: 12px 4px; font-size: 0.95rem; }
  body .content { padding: 28px 16px; }
  .home .main > section { padding: 32px 20px; }
  .welcome h1 { font-size: 2.5rem; }
  .actions { display: block; }
  .actions .button { display: block; margin-bottom: 12px; }
  .example-layout, .class-intro, .visit { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .example-photo, .class-intro figure { justify-self: center; }
  .visit > img { justify-self: center; max-width: 300px; width: 100%; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body .footer { padding: 28px 20px; }
  .footer > .row:first-child { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media print {
  body .page { background: white; }
  .skip-link, #navtop, #contactForm, .footer { display: none; }
  body .content, .welcome, .example-layout, .class-intro, .visit { display: block; }
}
