/* Craft Hereford: colours taken from the logo */
:root {
  --blue: #6894ae;
  --blue-dark: #4f7a92;
  --blue-deep: #2f5568;
  --cream: #f7e1b2;
  --cream-light: #fdf6e7;
  --white: #ffffff;
  --text: #2c3e48;
  --muted: #5c7280;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(47, 85, 104, 0.12);
  --font-display: "Comfortaa", "Quicksand", system-ui, sans-serif; /* the logo's typeface */
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Quicksand", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; color: var(--blue-deep); margin: 0 0 0.5em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e6eef3;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--blue-deep); }
.site-nav { display: flex; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--text); }
.site-nav a:hover { color: var(--blue-dark); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 3px; margin: 4px 0; border-radius: 2px; background: var(--blue-deep); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-dark); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border: 2px solid var(--blue-dark); color: var(--blue-dark); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream-light) 0%, var(--white) 100%); padding: 64px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; color: var(--blue-dark); }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-logo img { width: 100%; max-width: 440px; margin: 0 auto; filter: drop-shadow(0 12px 30px rgba(47, 85, 104, .18)); }

/* Sections */
.section { padding: 80px 0; }
.section-blue { background: var(--blue-dark); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.section-cream { background: var(--cream-light); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); text-align: center; }
.section-intro { text-align: center; max-width: 38em; margin: 0 auto 44px; color: var(--muted); font-size: 1.1rem; }
.section-blue .section-intro { color: #f2f7fa; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--cream-light); border-radius: var(--radius); padding: 32px 26px; text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px;
  background: var(--blue); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
}
.step p { color: var(--muted); margin: 0; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 36px; text-align: center; }
.value svg { width: 56px; height: 56px; fill: var(--cream); stroke: var(--cream); margin: 0 auto 14px; display: block; }
.value p { color: #f2f7fa; margin: 0; }

/* Crafts */
.crafts { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.crafts li {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; border-radius: var(--radius);
  border: 2px solid #e3edf3; font-weight: 600;
}
.craft-icon { font-size: 1.8rem; line-height: 1; }
.note { text-align: center; color: var(--muted); }

/* Locations */
.locations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.location { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 6px solid var(--blue); }
.location p { color: var(--muted); }
.location a { font-weight: 700; }
.location-soon { text-align: center; max-width: 560px; margin: 0 auto; border-top-color: var(--cream); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
.card { background: var(--cream-light); border-radius: var(--radius); padding: 36px 32px; }
.card p { color: var(--muted); }

/* Follow */
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  background: var(--white); color: var(--blue-deep);
  font-weight: 700; text-decoration: none; transition: transform .15s;
}
.social:hover { transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #dce8ef; padding: 40px 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-inner img { margin-bottom: 8px; }
.footer-inner p { margin: 0; }
.small { font-size: .9rem; opacity: .8; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 260px; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .steps, .values, .cards { grid-template-columns: 1fr; }
  .crafts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid #e6eef3; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 20px; border-top: 1px solid #eef3f6; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 56px; }
}

@media (max-width: 460px) {
  .crafts { grid-template-columns: 1fr; }
}
