/* Ostia Consultancy — prototype site styles (colours taken from the logo) */
:root {
  --brown: #44251A;      /* logo wordmark */
  --brown-deep: #2B1610; /* dark sections */
  --rust: #7B4426;       /* Africa mark: the one accent */
  --rust-light: #C48054;
  --stone: #E3E3E3;      /* logo background */
  --paper: #F6F5F3;
  --white: #FFFFFF;
  --ink: #2A1A14;
  --muted: #6E5A51;
  --rule: #D9D3CF;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header: clean, white, logo left, four links right */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 36px; }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: 0.02em; color: var(--brown); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--rust); }
.menu-btn { display: none; }

/* Hero: full-bleed photo, oversized serif statement — the one bold moment */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: var(--white);
  background: var(--brown-deep) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,22,16,0.25) 0%, rgba(43,22,16,0.55) 45%, rgba(43,22,16,0.92) 100%); }
.hero .wrap { position: relative; width: 100%; padding-bottom: 88px; padding-top: 120px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 9vw, 128px); line-height: 0.95; letter-spacing: -0.01em; margin: 0 0 28px; max-width: 11ch; }
.hero p { font-size: clamp(18px, 1.6vw, 21px); max-width: 36em; margin: 0 0 36px; color: #EFE6DF; }

.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 16px; letter-spacing: 0.02em; padding: 15px 30px; background: var(--rust); color: var(--white); border: 1px solid var(--rust); }
.btn:hover { background: #683820; }
.btn.light { background: transparent; border-color: rgba(255,255,255,0.7); margin-left: 12px; }
.btn.light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.text-link { color: var(--rust); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Sections */
section.block { padding: 104px 0; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; margin: 0 0 22px; max-width: 16ch; color: var(--brown); }
h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; margin: 0 0 10px; color: var(--brown); }
.intro { color: var(--muted); font-size: 19px; max-width: 38em; margin: 0 0 56px; }

/* Big statement band */
.statement { background: var(--stone); }
.statement .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.statement p.big { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; color: var(--brown); margin: 0; }
.statement p.small { color: var(--muted); margin: 0 0 8px; }

/* Offering tiles: photo tiles of different weights, not identical cards */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; min-height: 380px; color: var(--white); text-decoration: none; display: flex; align-items: flex-end; overflow: hidden; background: var(--brown) center / cover no-repeat; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,22,16,0.05) 30%, rgba(43,22,16,0.88) 100%); transition: background 0.3s ease; }
.tile:hover::before { background: linear-gradient(180deg, rgba(123,68,38,0.35) 0%, rgba(43,22,16,0.92) 100%); }
.tile .inner { position: relative; padding: 32px; }
.tile h3 { color: var(--white); font-size: 32px; }
.tile p { margin: 0; color: #EFE6DF; max-width: 30em; }
.tile.wide { grid-column: span 4; }
.tile.narrow { grid-column: span 2; }
.tile.half { grid-column: span 3; }
.tile.plain { background: var(--rust); }
.tile.plain::before { background: none; }

/* Numbers band — real figures only */
.facts { background: var(--brown-deep); color: var(--white); }
.facts h2 { color: var(--white); }
.facts .grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.2); }
.facts .grid div { padding: 32px 32px 0 0; }
.facts .grid div + div { padding-left: 32px; border-left: 1px solid rgba(255,255,255,0.2); }
.facts strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 56px; line-height: 1; color: var(--rust-light); margin-bottom: 10px; }
.facts span { color: #D9CBC2; }

/* Closing CTA */
.cta { background: var(--rust); color: var(--white); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0; max-width: 18ch; }
.cta .btn { background: var(--white); color: var(--rust); border-color: var(--white); }
.cta .btn:hover { background: var(--stone); }

/* Inner page header */
.page-hero { position: relative; color: var(--white); background: var(--brown-deep) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,22,16,0.92) 0%, rgba(43,22,16,0.55) 100%); }
.page-hero .wrap { position: relative; padding-top: 112px; padding-bottom: 96px; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7vw, 96px); line-height: 1; margin: 0 0 18px; }
.page-hero p { font-size: 19px; max-width: 34em; margin: 0; color: #EFE6DF; }

/* Offering detail rows */
.offering { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--rule); }
.offering:last-child { border-bottom: 0; }
.offering .photo { min-height: 360px; background: var(--stone) center / cover no-repeat; }
.offering.flip .photo { order: 2; }
.offering ul { padding-left: 18px; color: var(--muted); margin: 18px 0 0; }
.offering li { margin-bottom: 6px; }
.offering p { color: var(--muted); }

/* Story */
.prose { max-width: 42em; }
.prose p { margin: 0 0 20px; font-size: 18px; }
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.founders article { border-top: 2px solid var(--rust); padding-top: 20px; }
.founders .where { color: var(--rust); font-weight: 500; margin: 0 0 10px; font-size: 15px; letter-spacing: 0.04em; }
.founders p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 64px; align-items: start; }
.form-slot { background: var(--paper); border: 1px solid var(--rule); padding: 36px; min-height: 340px; }
.form-slot .placeholder { color: var(--muted); border: 1px dashed var(--rule); padding: 28px; }
.contact-aside dt { font-weight: 500; color: var(--brown); margin-top: 22px; }
.contact-aside dd { margin: 4px 0 0; color: var(--muted); }

/* Footer (UK company details are a legal requirement) */
.site-footer { background: var(--brown-deep); color: #CDBDB3; font-size: 14px; padding: 64px 0 40px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.site-footer img { height: 54px; width: auto; }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { padding-top: 28px; }
.site-footer .legal p { margin: 0 0 6px; }

/* Mobile */
@media (max-width: 900px) {
  .statement .wrap, .offering, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .offering.flip .photo { order: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile.wide, .tile.narrow, .tile.half { grid-column: auto; min-height: 300px; }
  .facts .grid, .founders { grid-template-columns: 1fr; }
  .facts .grid div, .facts .grid div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
  section.block { padding: 72px 0; }
}
@media (max-width: 720px) {
  .site-header .wrap { min-height: 68px; }
  .brand img { height: 36px; }
  .menu-btn { display: block; background: none; border: 1px solid var(--rule); color: var(--brown); font: inherit; font-size: 15px; padding: 8px 14px; cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--rust); }
  .btn.light { margin: 12px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .tile::before { transition: none; } }

/* News */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.news-item { display: flex; flex-direction: column; border-top: 2px solid var(--rust); padding-top: 20px; }
.news-item .photo { height: 200px; margin-bottom: 20px; background: var(--stone) center / cover no-repeat; }
.news-item time { color: var(--rust); font-size: 14px; letter-spacing: 0.04em; margin-bottom: 8px; }
.news-item h3 { font-size: 26px; margin-bottom: 10px; }
.news-item p { color: var(--muted); margin: 0 0 16px; }
.news-item .text-link { margin-top: auto; align-self: flex-start; }
.home-intro { padding: 72px 0 0; }
.home-intro p { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; color: var(--brown); max-width: 28em; margin: 0; }
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr; } }
