/* Rafter K2 Farms website - Highland Bold (Photos)
   The main colours and fonts are in the ":root" block of the version styles further down. */

/* ===== Shared layout (same in all three versions) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--heading); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 28px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-btn, var(--font-body)); font-size: 16px; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Topbar */
.topbar { font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { text-decoration: none; margin-left: 20px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }

/* Header + navigation */
.site-header { position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--heading); white-space: nowrap; }
.brand em { font-style: normal; color: var(--accent-text); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a { display: block; text-decoration: none; padding: 10px 14px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: none; width: 46px; height: 46px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 6px; }
.nav-button span { display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; background-size: cover; background-position: center; }
.hero h1 { margin-bottom: .35em; }

/* Sections */
.section { padding: 90px 0; }
.section-head { margin-bottom: 40px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--accent-text); }
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-text .btn { margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.ticks .icon { color: var(--accent-text); margin-top: 4px; }

.feature h3, .card h3, .step h3, .cut-group h3 { font-size: 21px; }
.feature-num { display: none; }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media { overflow: hidden; }
.card-body { padding: 24px; flex: 1; }
.card-link { font-weight: 700; color: var(--accent-text); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { padding: 10px 2px; font-size: 15px; }

.cut-group ul { list-style: none; padding: 0; margin: 0; }
.cut-group li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.note { margin-top: 30px; font-style: italic; }

.step-list { list-style: none; padding: 0; margin: 0; }
.step { position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 700; font-size: 22px; margin-bottom: 16px; font-family: var(--font-head); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-head); color: var(--heading); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--accent-text); }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; }

.cta { padding: 70px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta h2 { margin-bottom: .25em; }
.cta p { margin: 0; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; }
.contact-list strong { display: block; font-family: var(--font-head); }
.contact-list a { word-break: break-word; }
.contact-form { padding: 36px; }
.contact-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; border: 1px solid var(--line); background: #fff; color: #222; }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 14px; margin: 14px 0 0; opacity: .8; }
.map { position: relative; }
.map-link { margin: 0; text-align: center; padding: 14px 18px; font-weight: 700; }
.map-link a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; background: var(--line); }

/* Footer */
.site-footer { font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer-grid h4 { font-size: 18px; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.site-footer a { text-decoration: none; }
.footer-brand p { margin-top: 18px; max-width: 380px; }
.footer-bottom { padding: 18px 0; font-size: 14px; }

/* ===== Tablet ===== */
@media (max-width: 1000px) {
  .nav-button { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .site-nav a { padding: 14px 4px; }
  .nav-toggle:checked ~ .site-nav { max-height: 520px; }
  .nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-button { outline: 2px solid var(--accent-text); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split-inner { gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; }
}

/* ===== Phone ===== */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .grid-3, .grid-4, .split-inner, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-inner > span:first-child { display: none; }
  .topbar a { margin: 0 8px; }
  .brand { font-size: 20px; }
  .brand img { width: 42px; height: 42px; }
  .contact-form { padding: 24px 18px; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 420px) {
  .topbar a:last-child { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
}


/* ===== Version 3: Highland Bold (dark, earthy and bold) ===== */
:root {
  --font-head: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Lato', 'Segoe UI', Arial, sans-serif;
  --font-btn: 'Oswald', 'Arial Narrow', sans-serif;
  --bg: #f3ede4;           /* bone */
  --charcoal: #1c1a17;
  --char-2: #2a2622;
  --text: #3d3832;
  --heading: #1c1a17;
  --rust: #c25b2a;         /* rust orange */
  --rust-dark: #a04820;
  --gold: #e0b04a;
  --stone: #8a8172;
  --link: #a04820;
  --accent-text: #c25b2a;
  --line: #d8cdbd;
  --max: 1200px;
}

h1, h2, h3, h4, .brand, summary { text-transform: uppercase; letter-spacing: .02em; }
h2 { font-weight: 600; }

.site-header { background: var(--charcoal); border-bottom: 1px solid #000; }
.header-inner { min-height: 88px; }
.brand { color: #fff; font-weight: 600; font-size: 26px; letter-spacing: .06em; }
.brand em { color: var(--rust); }
.site-nav a { color: #e9e1d4; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--rust); transform: scaleX(0); transition: transform .25s; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: #fff; }
.nav-button { color: #fff; border: 1px solid #4a443d; }

.btn { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--charcoal); }
.btn-accent { background: var(--charcoal); color: #fff; }
.btn-accent:hover { background: #000; }

.hero { color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 17, 14, .92) 0%, rgba(20, 17, 14, .7) 45%, rgba(20, 17, 14, .15) 100%); }
.hero-inner { position: relative; padding-top: 170px; padding-bottom: 170px; }
.hero-inner > * { max-width: 660px; }
.hero-page .hero-inner { padding-top: 100px; padding-bottom: 100px; }
.hero h1 { color: #fff; font-size: 72px; font-weight: 700; line-height: 1.02; }
.hero-page h1 { font-size: 60px; }
.hero h1::after { content: ""; display: block; width: 110px; height: 6px; background: var(--rust); margin-top: 26px; }
.hero .kicker { color: var(--gold); }
.hero-text { font-size: 19px; color: #e7dfd2; margin-bottom: 34px; }
.hero-strip { position: relative; background: var(--rust); color: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 18px; padding-bottom: 18px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner a { color: #fff; text-decoration: none; text-transform: none; letter-spacing: .02em; }

.section-head h2 { font-size: 46px; line-height: 1.05; }
.kicker { color: var(--rust); letter-spacing: .2em; }
.features .section-head, .cards .section-head, .gallery .section-head, .steps .section-head, .cuts .section-head { display: flex; flex-direction: column; border-left: 6px solid var(--rust); padding-left: 22px; }

.split-media { position: relative; }
.split-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--rust); }
.split.reverse .split-media::before { inset: 22px 22px -22px -22px; }
.split-media img { position: relative; }

.features { background: var(--charcoal); color: #cfc6b8; }
.features h2, .features h3 { color: #fff; }
.feature { padding: 34px 0 0; border-top: 2px solid #4a443d; position: relative; }
.feature-icon { color: var(--rust); margin-bottom: 14px; }
.feature-icon .icon { width: 38px; height: 38px; }
.feature-num { display: block; position: absolute; top: 20px; right: 0; font-family: var(--font-head); font-size: 64px; font-weight: 700; line-height: 1; color: #3a352f; }

.cards { background: #e9e0d2; }
.card { background: var(--charcoal); color: #cfc6b8; }
.card h3 { color: #fff; }
.card-link { color: var(--gold); text-transform: uppercase; font-family: var(--font-head); letter-spacing: .1em; font-weight: 500; }

.gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 6px; }
.gallery-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid figure:first-child img { height: 100%; aspect-ratio: auto; }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }

.cuts { background: var(--charcoal); color: #cfc6b8; }
.cuts h2 { color: #fff; }
.cut-group { border: 1px solid #4a443d; padding: 28px; }
.cut-group h3 { color: var(--rust); }
.cut-group li { border-bottom-color: #3a352f; }
.cuts .note { color: var(--stone); }

.step { border-top: 6px solid var(--rust); background: #fff; padding: 30px; }
.step-num { width: auto; height: auto; border-radius: 0; font-size: 54px; color: var(--rust); margin-bottom: 6px; }

.faq summary { font-size: 20px; }

.cta { background: var(--rust); color: #fff4ea; }
.cta h2 { color: #fff; font-size: 40px; }
.cta a:not(.btn) { color: #fff; font-weight: 700; }

.contact-list .icon { background: var(--rust); color: #fff; border-radius: 0; }
.contact-form { background: var(--charcoal); color: #e9e1d4; }
.contact-form h3 { color: #fff; }
.contact-form input, .contact-form select, .contact-form textarea { border-radius: 0; border-color: #4a443d; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid var(--rust); }
.map iframe { filter: grayscale(.6) sepia(.25); }

.site-footer { background: #11100e; color: #a99f90; }
.site-footer h4, .site-footer .brand { color: #fff; }
.site-footer h4 { color: var(--rust); }
.site-footer a { color: #e9e1d4; }
.site-footer a:hover { color: var(--rust); }
.footer-contact .icon { color: var(--rust); }
.footer-bottom { border-top: 1px solid #2a2622; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }

@media (max-width: 1000px) {
  .site-nav { background: var(--charcoal); border-top: 1px solid #333; }
  .site-nav a { border-bottom: 1px solid #2f2b27; }
  .site-nav a::after { display: none; }
  .site-nav a.active { color: var(--rust); }
  .hero h1 { font-size: 58px; }
}
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(rgba(20, 17, 14, .75), rgba(20, 17, 14, .85)); }
  .hero-inner { padding-top: 90px; padding-bottom: 90px; }
  .hero h1 { font-size: 40px; }
  .hero-page h1 { font-size: 38px; }
  .hero-text { font-size: 17px; }
  .strip-inner { flex-direction: column; gap: 10px; }
  .section-head h2 { font-size: 32px; }
  .split-media::before { inset: 12px -10px -12px 12px; }
  .split.reverse .split-media::before { inset: 12px -10px -12px 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta h2 { font-size: 30px; }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure:first-child { grid-column: auto; grid-row: auto; }
}


/* ===== Photo edition: real photographs instead of drawings ===== */
.photos .hero { background-position: center 60%; }
.photos .split-media img, .photos .card-media img, .photos .gallery-grid img { object-position: center; }

/* Each look gives the photos its own finish */
.v1.photos .split-media img, .v1.photos .card-media img, .v1.photos .gallery-grid img { filter: sepia(.18) saturate(1.08) contrast(1.02); }
.v1.photos .hero::before { background: linear-gradient(rgba(40, 24, 14, .45), rgba(40, 24, 14, .68)); }

.v2.photos .hero-media img { aspect-ratio: 4 / 3; }
.v2.photos .split-media img, .v2.photos .card-media img, .v2.photos .gallery-grid img { filter: saturate(1.08) brightness(1.03); }

.v3.photos .split-media img, .v3.photos .card-media img, .v3.photos .gallery-grid img { filter: contrast(1.08) saturate(.85); }
.v3.photos .card:hover .card-media img { filter: contrast(1.08) saturate(1); }

/* Photo credits page */
.credit-list { list-style: none; padding: 0; margin: 30px 0 0; }
.credit-list li { display: flex; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.credit-list img { width: 160px; height: 107px; object-fit: cover; flex: none; filter: none !important; }
.credit-list strong { display: block; font-family: var(--font-head); color: var(--heading); }
.credit-list span { display: block; font-size: 15px; }
.v3 .credit-list strong { text-transform: none; }
.footer-bottom a { text-decoration: underline; }

@media (max-width: 760px) {
  .photos .hero { background-position: center; }
  .credit-list li { align-items: flex-start; }
  .credit-list img { width: 96px; height: 72px; }
}
