/* marinelandpropertywatch.com: "Cinematic dark". Near-black, warm white and amber; Syne display type, a plan drawn from above, film frames. */
:root {
  --bg: #0e1214;
  --panel: #161c1f;
  --panel-2: #1d2529;
  --text: #ede8df;
  --muted: #b9b3a8;
  --amber: #e8a33d;
  --amber-hover: #f5b95c;
  --teal: #7fb7b0;
  --line: #2c363b;
  --display: 'Syne', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.06rem;
  line-height: 1.65;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.04;
  margin: 0 0 0.55em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.65rem, 5.4vw, 4.4rem);
  font-weight: 800;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  overflow-wrap: break-word;
  font-weight: 800;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--amber);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--amber-hover);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--amber);
  color: var(--bg);
  padding: 0.6rem 1rem;
}

.skip:focus {
  top: 1rem;
}

.dim {
  color: var(--muted);
}

/* Head */
.head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--amber);
  margin-left: 0.5rem;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding-block: 0.4rem;
}

.nav a:hover {
  color: var(--amber);
}

.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
}

.btn:hover {
  background: var(--amber-hover);
  color: var(--bg);
}

.ghost {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--line);
  border-radius: 999px;
}

.ghost:hover {
  border-color: var(--amber);
  color: var(--text);
}

.arrow::after {
  content: ' \2192';
}

/* Hero */
.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.hero > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 40rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.plan {
  margin: 0;
  justify-self: center;
  width: min(100%, 20rem);
}

.plan svg {
  border-radius: 18px;
  overflow: hidden;
}

.plan .river {
  fill: #1f4a52;
}

.plan .marsh {
  fill: #2c4a3a;
}

.plan .tarmac {
  fill: #33393d;
}

.plan .centerline {
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: 10 8;
}

.plan .land {
  fill: #3a4a32;
}

.plan .house {
  fill: #d9d2c4;
}

.plan .dune {
  fill: #b9a77f;
}

.plan .sea {
  fill: #16384a;
}

.plan .wave {
  fill: none;
  stroke: #5f93a8;
  stroke-width: 2;
}

.plan .orbit {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}

.plan .drone path {
  stroke: var(--text);
  stroke-width: 3;
}

.plan .drone circle {
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
}

.plan .tag {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  fill: var(--text);
}

.plan .road-tag {
  font-size: 13px;
  letter-spacing: 0.2em;
}

.plan figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.6rem;
  text-align: center;
}

/* Town */
.town {
  background: var(--panel);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.town-grid {
  display: grid;
  gap: 1rem 4rem;
}

@media (min-width: 900px) {
  .town-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.big {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.45;
}

/* Aerial */
.aerial {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.aerial-grid {
  display: grid;
  gap: 2rem 4rem;
  align-items: center;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 900px) {
  .aerial-grid {
    grid-template-columns: 20rem 1fr;
  }
}

.frame {
  margin: 0;
  justify-self: center;
  max-width: 20rem;
  padding: 1.1rem 0;
  background: #050708;
  border-inline: 1.4rem solid #050708;
  position: relative;
}

.frame::before,
.frame::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.6rem;
  background: repeating-linear-gradient(to bottom, transparent 0 0.5rem, #3a3f42 0.5rem 1.1rem);
}

.frame::before {
  left: -1rem;
}

.frame::after {
  right: -1rem;
}

/* Visits */
.visits {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.reel {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.reel li {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .reel li {
    grid-template-columns: 6rem 1fr 12rem;
    align-items: start;
  }
}

.reel-no {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--amber);
}

.reel h3 span {
  display: block;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 0.3rem;
}

.reel p {
  margin: 0;
  color: var(--muted);
}

.reel a {
  justify-self: start;
}

@media (min-width: 800px) {
  .reel a {
    justify-self: end;
  }
}

/* Booking */
.booking {
  background: var(--panel);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.cuts {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.cuts li {
  border-top: 3px solid var(--amber);
  padding-top: 1rem;
}

.cuts p {
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.faq {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.faq-inner {
  max-width: 50rem;
}

details {
  background: var(--panel-2);
  border-radius: 12px;
  padding: 0 1.25rem;
  margin-bottom: 0.75rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding-block: 1rem;
}

summary::marker {
  color: var(--amber);
}

details p {
  color: var(--muted);
}

/* Closing */
.closing {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.closing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.closing h2 {
  margin: 0;
}

/* Footer */
.footer {
  background: #080b0c;
  color: var(--muted);
  padding-block: 2.5rem;
  font-size: 0.97rem;
}

.footer a {
  color: var(--text);
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  padding-block: 0.3rem;
}

.area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Hover colours that read on their own background */
.skip:hover {
  color: var(--bg);
}

/* Blog: the home page's band, the index and the posts */
.blog-band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.blog-list,
.guide-list,
.post-index,
.post-links {
  list-style: none;
  padding: 0;
}

.blog-list {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
}

@media (min-width: 760px) {
  .blog-list {
    grid-template-columns: 1fr 1fr;
  }
}

.blog-list p,
.post-index p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.blog-more {
  margin: 0 0 2rem;
}

.guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin: 0.75rem 0 0;
}

.post-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 1.5rem) clamp(3rem, 7vw, 5rem);
}

.post-main h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.12;
}

.post-main h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-top: 2.25rem;
}

.post-crumb,
.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.post-crumb {
  margin: 0 0 1rem;
}

.post-meta {
  margin: 0 0 1.5rem;
}

.post-lead {
  font-size: 1.15rem;
}

.post ul:not(.post-links) {
  padding-left: 1.25rem;
}

.post li {
  margin-bottom: 0.4rem;
}

.post-more {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.post-more h2 {
  margin-top: 0;
}

.post-cta {
  margin-top: 2rem;
}

.post-index {
  margin: 2rem 0;
}

.post-index li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.post-index h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}
