/* Kinfolk Partners — styles
   Colours and fonts are set once in :root below. */

:root { --navy:#142C42; --teal:#3A8079; --sans:'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; --head:'Schibsted Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif; --serif:'Marcellus', 'Cormorant Garamond', 'Times New Roman', Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--navy); background: #111; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* Page 1 */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.85) 100%) center / cover no-repeat, url('../images/hero.jpg') center 30% / cover no-repeat #1A1A1A;
}
.top { width: 100%; max-width: 1100px; margin: 0 auto; padding: 32px 24px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; }
.top .logo { width: 200px; height: auto; display: block; }
.top .contact-link { justify-self: end; font-size: 15px; text-decoration: none; color: #fff; padding: 12px 0; }
.hero-body { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 96px 24px 72px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; }
.hero h1 { font-family: var(--head); font-weight: 500; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.18; letter-spacing: -0.02em; margin: 0; max-width: 900px; text-wrap: balance; }
.hero .sub { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; line-height: 1.3; margin: 32px 0 0; }
.hero .loc { font-size: 15px; letter-spacing: .04em; color: #CFCFCF; margin: 10px 0 0; }

/* Language menu */
.lang { position: relative; justify-self: start; z-index: 5; margin-left: -10px; }
.lang-btn { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
.lang-btn svg.flag { width: 27px; height: 18px; display: block; }
.lang-menu { position: absolute; top: 100%; left: 10px; margin-top: 4px; background: #fff; min-width: 170px; padding: 6px 0; box-shadow: 0 8px 24px rgba(0,0,0,.25); display: none; }
.lang.open .lang-menu { display: grid; }
.lang-menu button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; background: none; border: 0; color: var(--navy); font: 15px var(--sans); text-align: left; cursor: pointer; }
.lang-menu button:hover { background: #F0F3F5; }
.lang-menu svg { width: 24px; height: 16px; flex: none; }

/* Page 2 */
.contact {
  min-height: 100vh; min-height: 100svh;
  background: linear-gradient(180deg, rgba(248,248,248,.94) 0%, rgba(248,248,248,.82) 55%, rgba(248,248,248,.55) 100%) center / cover no-repeat, url('../images/contact.jpg') center 35% / cover no-repeat #EDEDED;
}
.contact-inner { width: 100%; max-width: 640px; margin: 0 auto; padding: 96px 24px 96px; }
.contact .logo { width: 200px; height: auto; display: block; margin: 0 auto; }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: 18px; letter-spacing: .2em; text-transform: uppercase; margin: 72px 0 0; text-align: center; }
.pin { display: flex; justify-content: center; gap: 12px; align-items: flex-start; margin: 16px 0 0; font-size: 17px; line-height: 1.5; }
.pin svg { flex: none; margin-top: 3px; }
form { display: grid; gap: 32px; margin-top: 48px; }
label { display: grid; gap: 4px; font-size: 17px; }
input, textarea { font: inherit; color: var(--navy); padding: 14px 0; border: 0; border-bottom: 1.5px solid var(--navy); background: transparent; border-radius: 0; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--teal); }
.send { justify-self: center; background: var(--teal); color: #fff; border: 0; padding: 24px 68px; font: 600 16px var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.send:hover { background: #2F6B65; }

/* Footer */
footer { background: var(--navy); color: #E8EDF2; }
.foot { max-width: 1100px; margin: 0 auto; padding: 40px 24px 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 48px; font-size: 13px; line-height: 1.6; }
.foot p { margin: 0; }
.foot .h { font-weight: 600; margin-bottom: 4px; }

.note { text-align: center; font-size: 15px; margin: 0; min-height: 1.5em; }
@media (max-width: 600px) {
  .top { grid-template-columns: 1fr 1fr; row-gap: 20px; padding-top: 20px; }
  .top .logo { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .top .logo, .contact .logo { width: 160px; }
  .hero-body { padding-top: 64px; }
  .contact h2 { margin-top: 72px; }
  .send { justify-self: stretch; }
}
