/* Make_Shift – one stylesheet for the whole site. */

/* ---------- Fonts (Noto Sans, carried by the site itself) ---------- */
@font-face { font-family: "Noto Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url(fonts/noto-sans-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/noto-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/noto-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/noto-sans-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url(fonts/noto-sans-latin-ext-300-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/noto-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/noto-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/noto-sans-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Colours and measures ---------- */
:root {
  --coral: #fa5f55;   /* Projects, Contact, footer */
  --teal: #7eb6b0;    /* What we do */
  --yellow: #dfc100;  /* Clients & Partners */
  --frame: 5vw;       /* left and right page margin */
  --navbar: 80px;     /* height of the fixed header */
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "Noto Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 600; }
img { max-width: 100%; height: auto; }

/* ---------- Text styles ---------- */
.headline-1 { font-size: 100px; font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.headline-2 { font-size: 48px; font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; }
.headline-2.light { font-weight: 300; }
.text-1 { font-size: 20px; font-weight: 400; line-height: 1.4; letter-spacing: -0.02em; }
.text-2 { font-size: 16px; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.text-1.bold, .text-2.bold { font-weight: 600; }

/* ---------- Header ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  box-sizing: border-box;
  width: 100%;
  height: var(--navbar);
  background: #fff;
}
.navbar nav { position: absolute; left: var(--frame); top: 29px; display: flex; gap: 15px; line-height: 1; white-space: nowrap; }
.navbar nav a { font-weight: 600; }
.navbar nav a:hover, .navbar nav a.current { color: var(--coral); }
.navbar .logo { position: absolute; right: var(--frame); top: 34px; font-size: 0; }
.navbar .logo img { width: 117px; }
.burger { display: none; }

/* ---------- Page grid: 7 columns ---------- */
main { padding-top: var(--navbar); }
.row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: var(--gutter, 5vw);
  padding: 0 var(--frame);
  margin-bottom: var(--gap, 60px);   /* space below each row */
}
.col { min-width: 0; }
.col img { display: block; width: 100%; }
/* several small pictures stacked in steps, each one shifted to the right */
.col.steps { align-self: start; }
.col.steps img { width: 60%; aspect-ratio: 3 / 2; object-fit: cover; }
.col.steps img:nth-child(2) { margin-left: 20%; }
.col.steps img:nth-child(3) { margin-left: 40%; }
.col a:hover { opacity: 0.6; }
hr { width: 100%; height: 1px; margin: 0; border: 0; background: #000; }

/* ---------- Footer ---------- */
.footer { margin-top: 120px; margin-bottom: 0; }
.hyperlink-footer:hover { opacity: 0.5; }

/* ---------- Big underlined page links ---------- */
.underline, .underline-2 {
  text-shadow: -2px -2px white, -2px 2px white, 2px -2px white, 2px 2px white;
  background-image: linear-gradient(#000, #000);
  background-size: 100% 4px;
  background-position: 0 81%;
  background-repeat: no-repeat;
}
.underline-2 { background-size: 100% 2px; }
.underline:hover, .underline-2:hover { background-image: linear-gradient(#808080, #808080); }
.underline a:hover, .underline-2 a:hover { opacity: 1; }

/* ---------- Lists set as tables ---------- */
table { width: 100%; border: none; border-collapse: collapse; }
td { padding: 0; }
.whatwedo td { width: 50%; padding: 15px 0; border-top: 1px solid var(--teal); border-bottom: 1px solid var(--teal); vertical-align: top; }
.clientspartners td { padding: 15px 0; border-top: 1px solid var(--yellow); border-bottom: 1px solid var(--yellow); vertical-align: top; }

/* ---------- Tablets and small laptops ---------- */
@media (max-width: 1024px) {
  body, .text-1 { font-size: 18px; }
  .headline-1 { font-size: 60px; }
  .headline-2 { font-size: 36px; }
  .text-2 { font-size: 15px; }
}

/* ---------- Phones ---------- */
@media (max-width: 700px) {
  :root { --navbar: 56px; }
  body, .text-1 { font-size: 16px; }
  .headline-1 { font-size: 36px; }
  .headline-2 { font-size: 24px; }

  .navbar { border-bottom: 1px solid #ccc; }
  .navbar .logo { left: var(--frame); right: auto; top: 20px; }
  .navbar .logo img { width: auto; height: 15px; }
  .burger {
    display: block;
    position: absolute;
    right: var(--frame);
    top: 18px;
    width: 25px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 0; width: 100%; height: 2px; background: #000; content: ""; }
  .burger span { top: 9px; }
  .burger span::before { top: -8px; }
  .burger span::after { top: 8px; }
  .navbar nav { display: none; }
  .navbar.open nav {
    display: block;
    left: 0;
    top: var(--navbar);
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
  }
  .navbar.open nav a { display: block; padding: 16px var(--frame); border-bottom: 1px solid #ccc; }

  /* columns stack */
  .row { display: block; margin-bottom: calc(var(--gap, 60px) / 2); }
  .row > * + * { margin-top: 30px; }
  .footer { display: flex; justify-content: space-between; margin-top: 60px; }
  .footer > * + * { margin-top: 0; }
  .underline, .underline-2 {
    text-shadow: -1px -1px white, -1px 1px white, 1px -1px white, 1px 1px white;
    background-size: 100% 2px;
  }
  .underline-2 { background-size: 100% 1px; }
  .whatwedo td { display: block; width: 100%; padding-left: 0 !important; padding-right: 0 !important; }
  .whatwedo td:empty, .whatwedo td:has(> p:only-child:empty) { display: none; }
}
