/* Harbour & Hale - main stylesheet
   started 2016, tidied 2019, extra bits added 2022 */

:root { --navy: #1f3a5f; --cream: #f6f0e4; --rust: #b5532d; --gap: 24px; }

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  padding: 0;
  background: #f6f0e4;
  color: #222222;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

a { color: #1f3a5f; text-decoration: underline; }

a:hover { color: #b5532d; }

h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: #1f3a5f; line-height: 1.25; margin: 0 0 12px 0; }

h1 { font-size: 42px; font-weight: normal; }

h2 { font-size: 30px; font-weight: normal; }

h3 { font-size: 21px; }

h4 { font-size: 17px; font-family: "Helvetica Neue", Arial, sans-serif; text-transform: uppercase; letter-spacing: 1px; }

p { margin: 0 0 14px 0; }

ul { margin: 0 0 14px 0; padding-left: 20px; }

hr { border: 0; border-top: 1px solid #c9d6e3; margin: 30px 0; }

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

.wrap { width: 100%; max-width: 1020px; margin: 0 auto; padding: 0 20px; }

.section { padding: 48px 0; }

.section-alt { background: #ffffff; border-top: 1px solid #e8dfcc; border-bottom: 1px solid #e8dfcc; }

.section h2 { margin-bottom: 24px; }

.section-intro { max-width: 640px; font-size: 18px; color: #555555; }

.page-title { background: #dce8f2; border-bottom: 4px solid #b5532d; padding: 36px 0 28px 0; }

.page-title h1 { margin: 0; font-size: 36px; }

.page-title p { margin: 8px 0 0 0; color: #555555; font-family: "Helvetica Neue", Arial, sans-serif; }

.cols { display: flex; flex-wrap: wrap; margin: 0 -12px; }

.cols > div { padding: 0 12px; }

.col-half { width: 50%; }

.col-third { width: 33.333%; }

.col-two-thirds { width: 66.666%; }

/* ---------- header and nav ---------- */

.site-header { background: var(--navy); color: #ffffff; border-bottom: 4px solid #b5532d; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo:hover { color: #f6f0e4; }

.logo span { color: #e39a76; font-style: italic; }

.logo small {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c9d6e3;
}

.nav { list-style: none; margin: 0; padding: 0; display: flex; }

.nav li { margin-left: 6px; }

.nav a {
  display: block;
  padding: 8px 14px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: #ffffff; border-bottom: 2px solid #b5532d; }

.nav a.current { border-bottom: 2px solid #e39a76; }

/* ---------- hero ---------- */

.hero { background: #1f3a5f; color: #ffffff; padding: 72px 0 80px 0; border-bottom: 1px solid #222222; }

.hero .wrap { display: flex; align-items: center; }

.hero-text { width: 62%; }

.hero h1 { color: #ffffff; font-size: 50px; margin-bottom: 18px; }

.hero p { font-size: 19px; color: #dce8f2; max-width: 520px; }

.hero-art { width: 38%; display: flex; justify-content: center; }

/* a chair-ish thing made of borders, no images on this site */
.hero-frame {
  width: 220px;
  height: 260px;
  border: 10px solid #e39a76;
  border-bottom-width: 40px;
  border-radius: 110px 110px 6px 6px;
  position: relative;
}

.hero-frame:after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 40px;
  bottom: 20px;
  border: 3px solid #dce8f2;
  border-radius: 80px 80px 0 0;
}

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--rust);
  color: #ffffff;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  border: 2px solid #b5532d;
  border-radius: 3px;
  cursor: pointer;
}

.btn:hover { background: #8a3c1c; border-color: #8a3c1c; color: #ffffff; }

.btn-outline { background: transparent; color: #1f3a5f; border: 2px solid #1f3a5f; }

.btn-outline:hover { background: #1f3a5f; border-color: #1f3a5f; color: #ffffff; }

.btn-small { padding: 6px 14px; font-size: 14px; }

.hero .btn { margin-top: 8px; }

/* ---------- cards ---------- */

.cards { display: flex; flex-wrap: wrap; margin: 0 -12px; }

.card { width: 33.333%; padding: 0 12px; margin-bottom: 24px; }

.card-inner {
  background: #ffffff;
  border: 1px solid #e8dfcc;
  border-top: 4px solid #1f3a5f;
  padding: 24px;
  height: 100%;
}

.card-inner h3 { font-family: Georgia, "Times New Roman", serif; margin-bottom: 8px; }

.card-inner p { color: #555555; font-size: 15px; }

.card-price { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: #b5532d; font-weight: bold; }

.card-wide { width: 50%; }

.card-wide .card-inner { border-top-color: #b5532d; }

.card-link { font-size: 14px; font-weight: bold; }

.badge {
  display: inline-block;
  background: #dce8f2;
  color: #1f3a5f;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.badge-green { background: #f6f0e4; color: #2e7d4f; }

/* ---------- quote ---------- */

.quote { background: #ffffff; border-left: 6px solid #b5532d; padding: 28px 32px; margin: 0 0 var(--gap) 0; }

.quote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  color: #1f3a5f;
  margin-bottom: 12px;
}

.quote cite { font-family: "Helvetica Neue", Arial, sans-serif; font-style: normal; font-size: 14px; color: #888888; }

.quote-small { border-left-width: 3px; padding: 16px 20px; }

.quote-small p { font-size: 17px; }

/* ---------- opening hours strip ---------- */

.hours-strip { background: #dce8f2; border-top: 1px solid #c9d6e3; border-bottom: 1px solid #c9d6e3; padding: 22px 0; }

.hours-strip .wrap { display: flex; align-items: center; justify-content: space-between; }

.hours-strip h3 { margin: 0; font-size: 20px; }

.hours-strip ul { list-style: none; margin: 0; padding: 0; display: flex; }

.hours-strip li { margin-left: 32px; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 15px; color: #222222; }

.hours-strip li strong { color: #1f3a5f; }

.hours-table { border-collapse: collapse; width: 100%; max-width: 420px; }

.hours-table td { padding: 8px 0; border-bottom: 1px solid #e8dfcc; font-family: "Helvetica Neue", Arial, sans-serif; }

.hours-table td + td { text-align: right; color: #1f3a5f; }

/* ---------- lists of things ---------- */

.service-list { list-style: none; padding: 0; margin: 0; }

.service-list li {
  background: #ffffff;
  border: 1px solid #e8dfcc;
  padding: 24px 28px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
}

.service-list li > div:first-child { width: 75%; }

.service-list h3 { font-size: 22px; }

.service-list p { color: #555555; margin-bottom: 0; }

.price { font-family: Georgia, "Times New Roman", serif; font-size: 22px; color: #b5532d; text-align: right; }

.price small {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project { background: #ffffff; border: 1px solid #e8dfcc; margin-bottom: 24px; display: flex; }

.project-mark {
  width: 120px;
  background: #1f3a5f;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 4px solid #b5532d;
}

.project-body { padding: 20px 26px; width: 100%; }

.project-body h3 { margin-bottom: 4px; }

.project-body p { margin: 0; color: #555555; }

.project:target { border-color: #b5532d; box-shadow: 0 0 0 3px #c9d6e3; }

/* ---------- timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 3px solid #1f3a5f; }

.timeline li { position: relative; margin-bottom: 26px; padding-left: 8px; }

.timeline li:before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #b5532d;
  border: 3px solid #f6f0e4;
  border-radius: 50%;
}

.timeline strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; color: #1f3a5f; display: block; }

.timeline p { margin: 0; color: #555555; }

/* ---------- forms ---------- */

form { background: #ffffff; border: 1px solid #e8dfcc; padding: 28px; }

label {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #1f3a5f;
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1px solid #c9d6e3;
  border-radius: 3px;
  background: #ffffff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #222222;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus { outline: none; border-color: #1f3a5f; background: #ffffff; }

textarea { height: 140px; }

.notice {
  background: #f6f0e4;
  border: 1px solid #2e7d4f;
  color: #2e7d4f;
  padding: 12px 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  margin-bottom: 18px;
}

.details { font-family: "Helvetica Neue", Arial, sans-serif; }

.details dt { font-weight: bold; color: #1f3a5f; margin-top: 14px; }

.details dd { margin: 0; color: #555555; }

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

.site-footer {
  background: #1f3a5f;
  color: #c9d6e3;
  border-top: 4px solid #b5532d;
  padding: 40px 0 0 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
}

.site-footer .cols > div { padding-bottom: 28px; }

.site-footer h4 { color: #ffffff; margin-bottom: 10px; }

.site-footer a { color: #dce8f2; }

.site-footer a:hover { color: #e39a76; }

.site-footer ul { list-style: none; padding: 0; margin: 0; }

.site-footer li { margin-bottom: 4px; }

.footer-base {
  background: #222222;
  color: #888888;
  padding: 12px 0;
  font-size: 13px;
  text-align: center;
}

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

@media (max-width: 900px) {
  h1 { font-size: 34px; }

  .hero h1 { font-size: 38px; }

  .hero-art { display: none; }

  .hero-text { width: 100%; }

  .card,
  .card-wide { width: 50%; }

  .col-third { width: 50%; }

  .col-two-thirds { width: 100%; }

  .hours-strip .wrap { display: block; }

  .hours-strip ul { margin-top: 10px; }

  .hours-strip li { margin-left: 0; margin-right: 24px; }

  .service-list li > div:first-child { width: 68%; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }

  h1,
  .hero h1 { font-size: 28px; }

  h2 { font-size: 24px; }

  .site-header .wrap { display: block; text-align: center; }

  .nav { flex-wrap: wrap; justify-content: center; margin-top: 10px; }

  .nav li { margin: 0; }

  .nav a { padding: 6px 10px; font-size: 14px; }

  .hero { padding: 40px 0; }

  .section { padding: 32px 0; }

  .card,
  .card-wide,
  .col-half,
  .col-third { width: 100%; }

  .quote { padding: 20px; }

  .quote p { font-size: 18px; }

  .hours-strip ul { display: block; }

  .hours-strip li { margin-bottom: 4px; }

  .service-list li { display: block; }

  .service-list li > div:first-child { width: 100%; }

  .price { text-align: left; margin-top: 10px; }

  .project { display: block; }

  .project-mark { width: 100%; padding: 8px 0; border-right: 0; border-bottom: 4px solid #b5532d; }

  form { padding: 18px; }
}
